Compare commits
88 Commits
CS-patch
...
cloudesl-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d689d06eb7 | ||
|
|
dcb1633973 | ||
|
|
a180b00ed8 | ||
|
|
0ccab36f2f | ||
|
|
cc8cf316cd | ||
|
|
1908e64fa6 | ||
|
|
8f6d6d4d1d | ||
|
|
e5ea19cdfb | ||
|
|
55c7cdde91 | ||
|
|
836913a2a9 | ||
|
|
b34cb31a9a | ||
|
|
8ef1e983c1 | ||
|
|
3845e06de3 | ||
|
|
a349057ec2 | ||
|
|
0cf373bc60 | ||
|
|
1309d87fdb | ||
|
|
a46f82a069 | ||
|
|
b7d2e0b4a6 | ||
|
|
6eacc742a1 | ||
|
|
3c4d33ab51 | ||
|
|
cf6cbae712 | ||
|
|
6dc38f165b | ||
|
|
6393d2204b | ||
|
|
f4138c76d6 | ||
|
|
d7a89ac3dc | ||
|
|
b98f01cab4 | ||
|
|
675ab8f60f | ||
|
|
9fd70bc2bf | ||
|
|
ee91c28732 | ||
|
|
ec9ecb41d2 | ||
|
|
272e447860 | ||
|
|
3af83f0124 | ||
|
|
2f31a44faf | ||
|
|
512b1bb5c5 | ||
|
|
564c05144a | ||
|
|
8aa1d22f90 | ||
|
|
14ebba9911 | ||
|
|
38438abdfb | ||
|
|
e72934f959 | ||
|
|
076ff65f85 | ||
|
|
1fb31c98d9 | ||
|
|
d704ed0f33 | ||
|
|
b0fe238f34 | ||
|
|
17022a6777 | ||
|
|
62a9619911 | ||
|
|
4da74afbab | ||
|
|
5c2b2e4afc | ||
|
|
72d59ded68 | ||
|
|
b5c0b83b02 | ||
|
|
1abc39e9d1 | ||
|
|
65262923e4 | ||
|
|
4830e8821e | ||
|
|
1a9c4d4d9c | ||
|
|
c707baa95b | ||
|
|
5d7d320deb | ||
|
|
96b3defcc9 | ||
|
|
134828d83c | ||
|
|
2f33b44e80 | ||
|
|
90802f9197 | ||
|
|
f5fe7fb428 | ||
|
|
f5057db511 | ||
|
|
897ff18471 | ||
|
|
a15ee90c20 | ||
|
|
11024b7871 | ||
|
|
37fea59cb0 | ||
|
|
05785cf5fd | ||
|
|
15b4e73175 | ||
|
|
e1f296f89d | ||
|
|
8615dbe002 | ||
|
|
8fd81bf1dd | ||
|
|
88f0753937 | ||
|
|
c93100c1b5 | ||
|
|
c5dd7f096e | ||
|
|
e3b1009a94 | ||
|
|
37c044aa31 | ||
|
|
5aead39d0e | ||
|
|
b9a7e15af4 | ||
|
|
60799e2b22 | ||
|
|
d4c20caaed | ||
|
|
f2caf37a92 | ||
|
|
b31d71fa81 | ||
|
|
7ee07b8331 | ||
|
|
cfb09d135f | ||
|
|
c1b1b41108 | ||
|
|
08b2ac884b | ||
|
|
84a2c24970 | ||
|
|
d088239972 | ||
|
|
f014392806 |
265
CHANGELOG
265
CHANGELOG
@@ -1,3 +1,268 @@
|
|||||||
|
2020-10-27 Version: patch
|
||||||
|
- Add role authority management.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Generated 2014-05-26 for `Ecs`.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Generated 2016-11-01 for `live`.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Supported PaymentType for DescribeDnsProductInstance.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Update ScalingConfig parameters.
|
||||||
|
|
||||||
|
2020-10-23 Version: patch
|
||||||
|
- Change Configuration.
|
||||||
|
|
||||||
|
2020-10-23 Version: patch
|
||||||
|
- Update DetectLungNodule.
|
||||||
|
|
||||||
|
2020-10-23 Version: patch
|
||||||
|
- Support feedback.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Add Pipeline Member api.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Update data API.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Update cert API.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Update data API.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- DescribeAvailableResource support AcceptLanguage.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Cloud Storage Gateway openapi sdk is released.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Release latest features.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Update cert API.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Add PHP sdk.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Update Scdn API.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Support modifyInstnaceType.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Add LivenessFaceVerify API.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Update Configuration.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Add isv interface.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Generated 2016-11-01 for `live`.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Add a new interface for asynchronous image translation.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Metering 1019.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Metering 1019.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Metering 1019.
|
||||||
|
|
||||||
|
2020-10-17 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-17 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Supported AndroidNotificationNotifyId for Push and MassPush.
|
||||||
|
- Supported iOSNotificationCollapseId for Push and MassPush.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Support create for serverlesshbase.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Update cert API.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Update cert API.
|
||||||
|
|
||||||
|
2020-10-15 Version: patch
|
||||||
|
- Supported TAG APIs.
|
||||||
|
|
||||||
|
2020-10-15 Version: patch
|
||||||
|
- Add SaveTraceAppConfig api.
|
||||||
|
|
||||||
|
2020-10-15 Version: patch
|
||||||
|
- Generated 2018-06-01 for `dataworks-public`.
|
||||||
|
|
||||||
|
2020-10-15 Version: patch
|
||||||
|
- Generated 2018-06-01 for `dataworks-public`.
|
||||||
|
|
||||||
|
2020-10-14 Version: patch
|
||||||
|
- Generated 2014-05-26 for `Ecs`.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- ListActionData add parameters.
|
||||||
|
- PullActionData add parameters.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Generated 2018-01-11 for `rtc`.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Release DetectSkinDisease RunMedQA.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Generated 2016-11-01 for `live`.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Generated 2018-01-11 for `rtc`.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Generated 2018-12-12 for `vs`.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Release PedestrianDetectAttribute.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Release GenerateDynamicImage.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Generated 2019-01-01 for `Cassandra`.
|
||||||
|
|
||||||
|
2020-10-13 Version: patch
|
||||||
|
- Release SegmentSkin.
|
||||||
|
|
||||||
|
2020-10-12 Version: patch
|
||||||
|
- Support add webhook, get repository info via id or path.
|
||||||
|
|
||||||
|
2020-10-12 Version: patch
|
||||||
|
- Public beta version.
|
||||||
|
- Add Api Overseas.
|
||||||
|
|
||||||
|
2020-10-12 Version: patch
|
||||||
|
- Public beta version.
|
||||||
|
- Add Api Overseas.
|
||||||
|
|
||||||
|
2020-10-12 Version: patch
|
||||||
|
- Supported ApproveOrder to add comment message.
|
||||||
|
|
||||||
|
2020-10-12 Version: patch
|
||||||
|
- Add list Organizations.
|
||||||
|
|
||||||
|
2020-10-12 Version: patch
|
||||||
|
- Init.
|
||||||
|
|
||||||
|
2020-10-12 Version: patch
|
||||||
|
- ChatApp third version.
|
||||||
|
- Add contack check api.
|
||||||
|
|
||||||
|
2020-10-09 Version: patch
|
||||||
|
- Update Scdn API.
|
||||||
|
|
||||||
|
2020-10-09 Version: patch
|
||||||
|
- Update DescribeCdnUserBillHistory API.
|
||||||
|
|
||||||
|
2020-10-09 Version: patch
|
||||||
|
- Update SetVideoSeekConfig API.
|
||||||
|
|
||||||
|
2020-09-29 Version: patch
|
||||||
|
- Add API OpenOnsService which can active ons service.
|
||||||
|
|
||||||
|
2020-09-29 Version: patch
|
||||||
|
- Add API OpenOnsService which can active ons service.
|
||||||
|
|
||||||
|
2020-09-29 Version: patch
|
||||||
|
- Update CalcCACS.
|
||||||
|
|
||||||
|
2020-09-29 Version: patch
|
||||||
|
- Add API OpenOnsService which can active ons service.
|
||||||
|
|
||||||
|
2020-09-29 Version: patch
|
||||||
|
- Add API OpenOnsService which can active ons service.
|
||||||
|
|
||||||
|
2020-09-29 Version: patch
|
||||||
|
- Supported regional API.
|
||||||
|
|
||||||
|
2020-09-28 Version: patch
|
||||||
|
- Update Scdn API.
|
||||||
|
|
||||||
|
2020-09-28 Version: patch
|
||||||
|
- Support for resize hbaseue multi-zone cluster.
|
||||||
|
|
||||||
|
2020-09-28 Version: patch
|
||||||
|
- Support filtering keys and secrets.
|
||||||
|
- Support opening KMS service and describing service status by API.
|
||||||
|
- Add a prefix limitation for SecretName.
|
||||||
|
|
||||||
|
2020-09-27 Version: patch
|
||||||
|
- Update domain API.
|
||||||
|
|
||||||
|
2020-09-27 Version: patch
|
||||||
|
- Update domain API.
|
||||||
|
|
||||||
|
2020-09-27 Version: patch
|
||||||
|
- Support Open Service API.
|
||||||
|
|
||||||
|
2020-09-27 Version: patch
|
||||||
|
- DescribeAvailableResource support list available resource for modify instance.
|
||||||
|
|
||||||
|
2020-09-25 Version: patch
|
||||||
|
- Public beta version.
|
||||||
|
- Add Api Overseas.
|
||||||
|
|
||||||
|
2020-09-25 Version: patch
|
||||||
|
- Public beta version.
|
||||||
|
- Add Api Overseas.
|
||||||
|
|
||||||
|
2020-09-24 Version: patch
|
||||||
|
- Support create for serverlesshbase.
|
||||||
|
|
||||||
|
2020-09-24 Version: patch
|
||||||
|
- ContrastFaceVerify API Add Model Parameter.
|
||||||
|
|
||||||
|
2020-09-24 Version: patch
|
||||||
|
- Add a new api named SubmitAIImageAuditJob to submit image ai detection job.
|
||||||
|
- Add a new api named CreateDNADB to create a DNA analysis library.
|
||||||
|
- Add a new api named ListDNADB to query the list of DNA analysis libraries.
|
||||||
|
- Add a new api named GetDNADB to query specified DNA analysis library.
|
||||||
|
- Add a new field DNADBId to the request parameter Config structure for SubmitAIJob api.
|
||||||
|
|
||||||
|
2020-09-23 Version: patch
|
||||||
|
- Add spotDuration support.
|
||||||
|
|
||||||
2020-09-23 Version: patch
|
2020-09-23 Version: patch
|
||||||
- Some new parameters are supported.
|
- Some new parameters are supported.
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
|
|||||||
|
|
||||||
如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
|
如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
|
||||||
|
|
||||||
|
## 使用诊断
|
||||||
|
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) 提供 OpenAPI 使用诊断服务,通过 `RequestID` 或 `报错信息` ,帮助开发者快速定位,为开发者提供解决方案。
|
||||||
|
|
||||||
## 环境要求
|
## 环境要求
|
||||||
|
|
||||||
在使用 Alibaba Cloud SDK for C++ 前,确保您已经:
|
在使用 Alibaba Cloud SDK for C++ 前,确保您已经:
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ This document introduces how to obtain and call this SDK.
|
|||||||
|
|
||||||
If you have any problem while using Alibaba Cloud SDK for C++, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
|
If you have any problem while using Alibaba Cloud SDK for C++, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
|
||||||
|
|
||||||
|
## Troubleshoot
|
||||||
|
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) Provide OpenAPI diagnosis service to help developers locate quickly and provide solutions for developers through `RequestID` or `error message`.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- To use this SDK, you must have an Alibaba Cloud account and an AccessKey.
|
- To use this SDK, you must have an Alibaba Cloud account and an AccessKey.
|
||||||
|
|||||||
@@ -77,6 +77,18 @@ set(alidns_public_header_model
|
|||||||
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
|
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
|
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
|
||||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
|
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohUserInfoRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohUserInfoResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
|
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
|
||||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
|
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
|
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
|
||||||
@@ -262,6 +274,18 @@ set(alidns_src
|
|||||||
src/model/DescribeDnsProductInstanceResult.cc
|
src/model/DescribeDnsProductInstanceResult.cc
|
||||||
src/model/DescribeDnsProductInstancesRequest.cc
|
src/model/DescribeDnsProductInstancesRequest.cc
|
||||||
src/model/DescribeDnsProductInstancesResult.cc
|
src/model/DescribeDnsProductInstancesResult.cc
|
||||||
|
src/model/DescribeDohAccountStatisticsRequest.cc
|
||||||
|
src/model/DescribeDohAccountStatisticsResult.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsRequest.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsResult.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsSummaryRequest.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsSummaryResult.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsRequest.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsResult.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
|
||||||
|
src/model/DescribeDohUserInfoRequest.cc
|
||||||
|
src/model/DescribeDohUserInfoResult.cc
|
||||||
src/model/DescribeDomainDnssecInfoRequest.cc
|
src/model/DescribeDomainDnssecInfoRequest.cc
|
||||||
src/model/DescribeDomainDnssecInfoResult.cc
|
src/model/DescribeDomainDnssecInfoResult.cc
|
||||||
src/model/DescribeDomainGroupsRequest.cc
|
src/model/DescribeDomainGroupsRequest.cc
|
||||||
|
|||||||
@@ -78,6 +78,18 @@
|
|||||||
#include "model/DescribeDnsProductInstanceResult.h"
|
#include "model/DescribeDnsProductInstanceResult.h"
|
||||||
#include "model/DescribeDnsProductInstancesRequest.h"
|
#include "model/DescribeDnsProductInstancesRequest.h"
|
||||||
#include "model/DescribeDnsProductInstancesResult.h"
|
#include "model/DescribeDnsProductInstancesResult.h"
|
||||||
|
#include "model/DescribeDohAccountStatisticsRequest.h"
|
||||||
|
#include "model/DescribeDohAccountStatisticsResult.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsRequest.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsResult.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsSummaryRequest.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsSummaryResult.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsRequest.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsResult.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsSummaryRequest.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsSummaryResult.h"
|
||||||
|
#include "model/DescribeDohUserInfoRequest.h"
|
||||||
|
#include "model/DescribeDohUserInfoResult.h"
|
||||||
#include "model/DescribeDomainDnssecInfoRequest.h"
|
#include "model/DescribeDomainDnssecInfoRequest.h"
|
||||||
#include "model/DescribeDomainDnssecInfoResult.h"
|
#include "model/DescribeDomainDnssecInfoResult.h"
|
||||||
#include "model/DescribeDomainGroupsRequest.h"
|
#include "model/DescribeDomainGroupsRequest.h"
|
||||||
@@ -297,6 +309,24 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
|
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
|
||||||
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
|
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohAccountStatisticsResult> DescribeDohAccountStatisticsOutcome;
|
||||||
|
typedef std::future<DescribeDohAccountStatisticsOutcome> DescribeDohAccountStatisticsOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohAccountStatisticsRequest&, const DescribeDohAccountStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohAccountStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohDomainStatisticsResult> DescribeDohDomainStatisticsOutcome;
|
||||||
|
typedef std::future<DescribeDohDomainStatisticsOutcome> DescribeDohDomainStatisticsOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsRequest&, const DescribeDohDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohDomainStatisticsSummaryResult> DescribeDohDomainStatisticsSummaryOutcome;
|
||||||
|
typedef std::future<DescribeDohDomainStatisticsSummaryOutcome> DescribeDohDomainStatisticsSummaryOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsSummaryRequest&, const DescribeDohDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsSummaryAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsResult> DescribeDohSubDomainStatisticsOutcome;
|
||||||
|
typedef std::future<DescribeDohSubDomainStatisticsOutcome> DescribeDohSubDomainStatisticsOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsRequest&, const DescribeDohSubDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsSummaryResult> DescribeDohSubDomainStatisticsSummaryOutcome;
|
||||||
|
typedef std::future<DescribeDohSubDomainStatisticsSummaryOutcome> DescribeDohSubDomainStatisticsSummaryOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsSummaryRequest&, const DescribeDohSubDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsSummaryAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohUserInfoResult> DescribeDohUserInfoOutcome;
|
||||||
|
typedef std::future<DescribeDohUserInfoOutcome> DescribeDohUserInfoOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohUserInfoRequest&, const DescribeDohUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohUserInfoAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
|
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
|
||||||
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
|
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
|
||||||
@@ -575,6 +605,24 @@ namespace AlibabaCloud
|
|||||||
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
|
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
|
||||||
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
|
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
|
||||||
|
DescribeDohAccountStatisticsOutcome describeDohAccountStatistics(const Model::DescribeDohAccountStatisticsRequest &request)const;
|
||||||
|
void describeDohAccountStatisticsAsync(const Model::DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohAccountStatisticsOutcomeCallable describeDohAccountStatisticsCallable(const Model::DescribeDohAccountStatisticsRequest& request) const;
|
||||||
|
DescribeDohDomainStatisticsOutcome describeDohDomainStatistics(const Model::DescribeDohDomainStatisticsRequest &request)const;
|
||||||
|
void describeDohDomainStatisticsAsync(const Model::DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohDomainStatisticsOutcomeCallable describeDohDomainStatisticsCallable(const Model::DescribeDohDomainStatisticsRequest& request) const;
|
||||||
|
DescribeDohDomainStatisticsSummaryOutcome describeDohDomainStatisticsSummary(const Model::DescribeDohDomainStatisticsSummaryRequest &request)const;
|
||||||
|
void describeDohDomainStatisticsSummaryAsync(const Model::DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohDomainStatisticsSummaryOutcomeCallable describeDohDomainStatisticsSummaryCallable(const Model::DescribeDohDomainStatisticsSummaryRequest& request) const;
|
||||||
|
DescribeDohSubDomainStatisticsOutcome describeDohSubDomainStatistics(const Model::DescribeDohSubDomainStatisticsRequest &request)const;
|
||||||
|
void describeDohSubDomainStatisticsAsync(const Model::DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohSubDomainStatisticsOutcomeCallable describeDohSubDomainStatisticsCallable(const Model::DescribeDohSubDomainStatisticsRequest& request) const;
|
||||||
|
DescribeDohSubDomainStatisticsSummaryOutcome describeDohSubDomainStatisticsSummary(const Model::DescribeDohSubDomainStatisticsSummaryRequest &request)const;
|
||||||
|
void describeDohSubDomainStatisticsSummaryAsync(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohSubDomainStatisticsSummaryOutcomeCallable describeDohSubDomainStatisticsSummaryCallable(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request) const;
|
||||||
|
DescribeDohUserInfoOutcome describeDohUserInfo(const Model::DescribeDohUserInfoRequest &request)const;
|
||||||
|
void describeDohUserInfoAsync(const Model::DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohUserInfoOutcomeCallable describeDohUserInfoCallable(const Model::DescribeDohUserInfoRequest& request) const;
|
||||||
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
|
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
|
||||||
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;
|
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ namespace AlibabaCloud
|
|||||||
std::string getDnsSecurity()const;
|
std::string getDnsSecurity()const;
|
||||||
long getURLForwardCount()const;
|
long getURLForwardCount()const;
|
||||||
long getTTLMinValue()const;
|
long getTTLMinValue()const;
|
||||||
|
std::string getPaymentType()const;
|
||||||
std::string getVersionName()const;
|
std::string getVersionName()const;
|
||||||
std::string getOverseaLine()const;
|
std::string getOverseaLine()const;
|
||||||
std::string getISPRegionLines()const;
|
std::string getISPRegionLines()const;
|
||||||
@@ -87,6 +88,7 @@ namespace AlibabaCloud
|
|||||||
std::string dnsSecurity_;
|
std::string dnsSecurity_;
|
||||||
long uRLForwardCount_;
|
long uRLForwardCount_;
|
||||||
long tTLMinValue_;
|
long tTLMinValue_;
|
||||||
|
std::string paymentType_;
|
||||||
std::string versionName_;
|
std::string versionName_;
|
||||||
std::string overseaLine_;
|
std::string overseaLine_;
|
||||||
std::string iSPRegionLines_;
|
std::string iSPRegionLines_;
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
|||||||
std::string dnsSecurity;
|
std::string dnsSecurity;
|
||||||
long uRLForwardCount;
|
long uRLForwardCount;
|
||||||
long tTLMinValue;
|
long tTLMinValue;
|
||||||
|
std::string paymentType;
|
||||||
std::string versionName;
|
std::string versionName;
|
||||||
std::string overseaLine;
|
std::string overseaLine;
|
||||||
std::string iSPRegionLines;
|
std::string iSPRegionLines;
|
||||||
|
|||||||
@@ -14,47 +14,41 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableOutputRequest : public RpcServiceRequest
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohAccountStatisticsRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GetMetaTableOutputRequest();
|
DescribeDohAccountStatisticsRequest();
|
||||||
~GetMetaTableOutputRequest();
|
~DescribeDohAccountStatisticsRequest();
|
||||||
|
|
||||||
std::string getEndDate()const;
|
|
||||||
void setEndDate(const std::string& endDate);
|
|
||||||
std::string getTableGuid()const;
|
|
||||||
void setTableGuid(const std::string& tableGuid);
|
|
||||||
int getPageSize()const;
|
|
||||||
void setPageSize(int pageSize);
|
|
||||||
std::string getStartDate()const;
|
std::string getStartDate()const;
|
||||||
void setStartDate(const std::string& startDate);
|
void setStartDate(const std::string& startDate);
|
||||||
int getPageNumber()const;
|
std::string getEndDate()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string endDate_;
|
|
||||||
std::string tableGuid_;
|
|
||||||
int pageSize_;
|
|
||||||
std::string startDate_;
|
std::string startDate_;
|
||||||
int pageNumber_;
|
std::string endDate_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_H_
|
||||||
@@ -14,46 +14,47 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYRESULT_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYRESULT_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_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/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaCategoryResult : public ServiceResult
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohAccountStatisticsResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long timestamp;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
UpdateMetaCategoryResult();
|
DescribeDohAccountStatisticsResult();
|
||||||
explicit UpdateMetaCategoryResult(const std::string &payload);
|
explicit DescribeDohAccountStatisticsResult(const std::string &payload);
|
||||||
~UpdateMetaCategoryResult();
|
~DescribeDohAccountStatisticsResult();
|
||||||
int getHttpStatusCode()const;
|
std::vector<Statistic> getStatistics()const;
|
||||||
bool getData()const;
|
|
||||||
std::string getErrorCode()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
bool getSuccess()const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
int httpStatusCode_;
|
std::vector<Statistic> statistics_;
|
||||||
bool data_;
|
|
||||||
std::string errorCode_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
bool success_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYRESULT_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_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_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohDomainStatisticsRequest();
|
||||||
|
~DescribeDohDomainStatisticsRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string startDate_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||||
@@ -14,46 +14,47 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULERESULT_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULERESULT_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_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/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateQualityRuleResult : public ServiceResult
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long timestamp;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
UpdateQualityRuleResult();
|
DescribeDohDomainStatisticsResult();
|
||||||
explicit UpdateQualityRuleResult(const std::string &payload);
|
explicit DescribeDohDomainStatisticsResult(const std::string &payload);
|
||||||
~UpdateQualityRuleResult();
|
~DescribeDohDomainStatisticsResult();
|
||||||
int getHttpStatusCode()const;
|
std::vector<Statistic> getStatistics()const;
|
||||||
bool getData()const;
|
|
||||||
std::string getErrorCode()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
bool getSuccess()const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
int httpStatusCode_;
|
std::vector<Statistic> statistics_;
|
||||||
bool data_;
|
|
||||||
std::string errorCode_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
bool success_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULERESULT_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||||
@@ -14,53 +14,56 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableChangeLogRequest : public RpcServiceRequest
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsSummaryRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GetMetaTableChangeLogRequest();
|
DescribeDohDomainStatisticsSummaryRequest();
|
||||||
~GetMetaTableChangeLogRequest();
|
~DescribeDohDomainStatisticsSummaryRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getOrderBy()const;
|
||||||
|
void setOrderBy(const std::string& orderBy);
|
||||||
std::string getStartDate()const;
|
std::string getStartDate()const;
|
||||||
void setStartDate(const std::string& startDate);
|
void setStartDate(const std::string& startDate);
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getEndDate()const;
|
std::string getEndDate()const;
|
||||||
void setEndDate(const std::string& endDate);
|
void setEndDate(const std::string& endDate);
|
||||||
std::string getTableGuid()const;
|
|
||||||
void setTableGuid(const std::string& tableGuid);
|
|
||||||
std::string getChangeType()const;
|
|
||||||
void setChangeType(const std::string& changeType);
|
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getObjectType()const;
|
std::string getLang()const;
|
||||||
void setObjectType(const std::string& objectType);
|
void setLang(const std::string& lang);
|
||||||
|
std::string getDirection()const;
|
||||||
|
void setDirection(const std::string& direction);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string orderBy_;
|
||||||
std::string startDate_;
|
std::string startDate_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string endDate_;
|
std::string endDate_;
|
||||||
std::string tableGuid_;
|
|
||||||
std::string changeType_;
|
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string objectType_;
|
std::string lang_;
|
||||||
|
std::string direction_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsSummaryResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long ipCount;
|
||||||
|
std::string domainName;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long httpCount;
|
||||||
|
long httpsCount;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult();
|
||||||
|
explicit DescribeDohDomainStatisticsSummaryResult(const std::string &payload);
|
||||||
|
~DescribeDohDomainStatisticsSummaryResult();
|
||||||
|
int getPageSize()const;
|
||||||
|
int getPageNumber()const;
|
||||||
|
int getTotalPages()const;
|
||||||
|
int getTotalItems()const;
|
||||||
|
std::vector<Statistic> getStatistics()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int pageSize_;
|
||||||
|
int pageNumber_;
|
||||||
|
int totalPages_;
|
||||||
|
int totalItems_;
|
||||||
|
std::vector<Statistic> statistics_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohSubDomainStatisticsRequest();
|
||||||
|
~DescribeDohSubDomainStatisticsRequest();
|
||||||
|
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getSubDomain()const;
|
||||||
|
void setSubDomain(const std::string& subDomain);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string startDate_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string subDomain_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||||
@@ -14,46 +14,47 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIRESULT_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIRESULT_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_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/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataServiceApiResult : public ServiceResult
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long timestamp;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
UpdateDataServiceApiResult();
|
DescribeDohSubDomainStatisticsResult();
|
||||||
explicit UpdateDataServiceApiResult(const std::string &payload);
|
explicit DescribeDohSubDomainStatisticsResult(const std::string &payload);
|
||||||
~UpdateDataServiceApiResult();
|
~DescribeDohSubDomainStatisticsResult();
|
||||||
int getHttpStatusCode()const;
|
std::vector<Statistic> getStatistics()const;
|
||||||
bool getData()const;
|
|
||||||
std::string getErrorCode()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
bool getSuccess()const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
int httpStatusCode_;
|
std::vector<Statistic> statistics_;
|
||||||
bool data_;
|
|
||||||
std::string errorCode_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
bool success_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIRESULT_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsSummaryRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohSubDomainStatisticsSummaryRequest();
|
||||||
|
~DescribeDohSubDomainStatisticsSummaryRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getOrderBy()const;
|
||||||
|
void setOrderBy(const std::string& orderBy);
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
int getPageNumber()const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getSubDomain()const;
|
||||||
|
void setSubDomain(const std::string& subDomain);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
std::string getDirection()const;
|
||||||
|
void setDirection(const std::string& direction);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string orderBy_;
|
||||||
|
std::string startDate_;
|
||||||
|
int pageNumber_;
|
||||||
|
std::string endDate_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string subDomain_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string direction_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsSummaryResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
std::string subDomain;
|
||||||
|
long totalCount;
|
||||||
|
long ipCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long httpCount;
|
||||||
|
long httpsCount;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult();
|
||||||
|
explicit DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload);
|
||||||
|
~DescribeDohSubDomainStatisticsSummaryResult();
|
||||||
|
int getPageSize()const;
|
||||||
|
int getPageNumber()const;
|
||||||
|
int getTotalPages()const;
|
||||||
|
int getTotalItems()const;
|
||||||
|
std::vector<Statistic> getStatistics()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int pageSize_;
|
||||||
|
int pageNumber_;
|
||||||
|
int totalPages_;
|
||||||
|
int totalItems_;
|
||||||
|
std::vector<Statistic> statistics_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohUserInfoRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohUserInfoRequest();
|
||||||
|
~DescribeDohUserInfoRequest();
|
||||||
|
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string startDate_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohUserInfoResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult();
|
||||||
|
explicit DescribeDohUserInfoResult(const std::string &payload);
|
||||||
|
~DescribeDohUserInfoResult();
|
||||||
|
int getSubDomainCount()const;
|
||||||
|
long getPdnsId()const;
|
||||||
|
int getDomainCount()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int subDomainCount_;
|
||||||
|
long pdnsId_;
|
||||||
|
int domainCount_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
|||||||
bool getRegionLines()const;
|
bool getRegionLines()const;
|
||||||
bool getAliDomain()const;
|
bool getAliDomain()const;
|
||||||
bool getSlaveDns()const;
|
bool getSlaveDns()const;
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
std::string getInstanceId()const;
|
std::string getInstanceId()const;
|
||||||
std::string getPunyCode()const;
|
std::string getPunyCode()const;
|
||||||
@@ -74,6 +75,7 @@ namespace AlibabaCloud
|
|||||||
bool regionLines_;
|
bool regionLines_;
|
||||||
bool aliDomain_;
|
bool aliDomain_;
|
||||||
bool slaveDns_;
|
bool slaveDns_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string punyCode_;
|
std::string punyCode_;
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
|||||||
};
|
};
|
||||||
std::string groupName;
|
std::string groupName;
|
||||||
bool aliDomain;
|
bool aliDomain;
|
||||||
|
std::string resourceGroupId;
|
||||||
std::string domainName;
|
std::string domainName;
|
||||||
std::string instanceId;
|
std::string instanceId;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
|
|||||||
@@ -1059,6 +1059,222 @@ AlidnsClient::DescribeDnsProductInstancesOutcomeCallable AlidnsClient::describeD
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohAccountStatisticsOutcome AlidnsClient::describeDohAccountStatistics(const DescribeDohAccountStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohAccountStatisticsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohAccountStatisticsOutcome(DescribeDohAccountStatisticsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohAccountStatisticsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohAccountStatisticsAsync(const DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohAccountStatistics(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohAccountStatisticsOutcomeCallable AlidnsClient::describeDohAccountStatisticsCallable(const DescribeDohAccountStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohAccountStatisticsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohAccountStatistics(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsOutcome AlidnsClient::describeDohDomainStatistics(const DescribeDohDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsOutcome(DescribeDohDomainStatisticsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohDomainStatisticsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohDomainStatisticsAsync(const DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohDomainStatistics(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsOutcomeCallable AlidnsClient::describeDohDomainStatisticsCallable(const DescribeDohDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohDomainStatisticsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohDomainStatistics(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsSummaryOutcome AlidnsClient::describeDohDomainStatisticsSummary(const DescribeDohDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsSummaryOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsSummaryOutcome(DescribeDohDomainStatisticsSummaryResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohDomainStatisticsSummaryOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohDomainStatisticsSummaryAsync(const DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohDomainStatisticsSummary(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsSummaryOutcomeCallable AlidnsClient::describeDohDomainStatisticsSummaryCallable(const DescribeDohDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohDomainStatisticsSummaryOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohDomainStatisticsSummary(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsOutcome AlidnsClient::describeDohSubDomainStatistics(const DescribeDohSubDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsOutcome(DescribeDohSubDomainStatisticsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohSubDomainStatisticsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohSubDomainStatisticsAsync(const DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohSubDomainStatistics(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsOutcomeCallable AlidnsClient::describeDohSubDomainStatisticsCallable(const DescribeDohSubDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohSubDomainStatisticsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohSubDomainStatistics(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsSummaryOutcome AlidnsClient::describeDohSubDomainStatisticsSummary(const DescribeDohSubDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsSummaryOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsSummaryOutcome(DescribeDohSubDomainStatisticsSummaryResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohSubDomainStatisticsSummaryOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohSubDomainStatisticsSummaryAsync(const DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohSubDomainStatisticsSummary(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsSummaryOutcomeCallable AlidnsClient::describeDohSubDomainStatisticsSummaryCallable(const DescribeDohSubDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohSubDomainStatisticsSummaryOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohSubDomainStatisticsSummary(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohUserInfoOutcome AlidnsClient::describeDohUserInfo(const DescribeDohUserInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohUserInfoOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohUserInfoOutcome(DescribeDohUserInfoResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohUserInfoOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohUserInfoAsync(const DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohUserInfo(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohUserInfoOutcomeCallable AlidnsClient::describeDohUserInfoCallable(const DescribeDohUserInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohUserInfoOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohUserInfo(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlidnsClient::DescribeDomainDnssecInfoOutcome AlidnsClient::describeDomainDnssecInfo(const DescribeDomainDnssecInfoRequest &request) const
|
AlidnsClient::DescribeDomainDnssecInfoOutcome AlidnsClient::describeDomainDnssecInfo(const DescribeDomainDnssecInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -104,6 +104,8 @@ void DescribeDnsProductInstanceResult::parse(const std::string &payload)
|
|||||||
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
|
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
|
||||||
if(!value["DnsSecurity"].isNull())
|
if(!value["DnsSecurity"].isNull())
|
||||||
dnsSecurity_ = value["DnsSecurity"].asString();
|
dnsSecurity_ = value["DnsSecurity"].asString();
|
||||||
|
if(!value["PaymentType"].isNull())
|
||||||
|
paymentType_ = value["PaymentType"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,6 +179,11 @@ long DescribeDnsProductInstanceResult::getTTLMinValue()const
|
|||||||
return tTLMinValue_;
|
return tTLMinValue_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDnsProductInstanceResult::getPaymentType()const
|
||||||
|
{
|
||||||
|
return paymentType_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDnsProductInstanceResult::getVersionName()const
|
std::string DescribeDnsProductInstanceResult::getVersionName()const
|
||||||
{
|
{
|
||||||
return versionName_;
|
return versionName_;
|
||||||
|
|||||||
@@ -105,6 +105,8 @@ void DescribeDnsProductInstancesResult::parse(const std::string &payload)
|
|||||||
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
|
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
|
||||||
if(!valueDnsProductsDnsProduct["DnsSecurity"].isNull())
|
if(!valueDnsProductsDnsProduct["DnsSecurity"].isNull())
|
||||||
dnsProductsObject.dnsSecurity = valueDnsProductsDnsProduct["DnsSecurity"].asString();
|
dnsProductsObject.dnsSecurity = valueDnsProductsDnsProduct["DnsSecurity"].asString();
|
||||||
|
if(!valueDnsProductsDnsProduct["PaymentType"].isNull())
|
||||||
|
dnsProductsObject.paymentType = valueDnsProductsDnsProduct["PaymentType"].asString();
|
||||||
dnsProducts_.push_back(dnsProductsObject);
|
dnsProducts_.push_back(dnsProductsObject);
|
||||||
}
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
|
|||||||
62
alidns/src/model/DescribeDohAccountStatisticsRequest.cc
Normal file
62
alidns/src/model/DescribeDohAccountStatisticsRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohAccountStatisticsRequest;
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsRequest::DescribeDohAccountStatisticsRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohAccountStatistics")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsRequest::~DescribeDohAccountStatisticsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohAccountStatisticsRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohAccountStatisticsRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohAccountStatisticsRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
67
alidns/src/model/DescribeDohAccountStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohAccountStatisticsResult.cc
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsResult::~DescribeDohAccountStatisticsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||||
|
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohAccountStatisticsResult::Statistic> DescribeDohAccountStatisticsResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
73
alidns/src/model/DescribeDohDomainStatisticsRequest.cc
Normal file
73
alidns/src/model/DescribeDohDomainStatisticsRequest.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/DescribeDohDomainStatisticsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsRequest;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsRequest::DescribeDohDomainStatisticsRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatistics")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsRequest::~DescribeDohDomainStatisticsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
67
alidns/src/model/DescribeDohDomainStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohDomainStatisticsResult.cc
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsResult::~DescribeDohDomainStatisticsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||||
|
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohDomainStatisticsResult::Statistic> DescribeDohDomainStatisticsResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
117
alidns/src/model/DescribeDohDomainStatisticsSummaryRequest.cc
Normal file
117
alidns/src/model/DescribeDohDomainStatisticsSummaryRequest.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/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsSummaryRequest;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryRequest::DescribeDohDomainStatisticsSummaryRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatisticsSummary")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryRequest::~DescribeDohDomainStatisticsSummaryRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getOrderBy()const
|
||||||
|
{
|
||||||
|
return orderBy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||||
|
{
|
||||||
|
orderBy_ = orderBy;
|
||||||
|
setParameter("OrderBy", orderBy);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryRequest::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||||
|
{
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getDirection()const
|
||||||
|
{
|
||||||
|
return direction_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||||
|
{
|
||||||
|
direction_ = direction;
|
||||||
|
setParameter("Direction", direction);
|
||||||
|
}
|
||||||
|
|
||||||
101
alidns/src/model/DescribeDohDomainStatisticsSummaryResult.cc
Normal file
101
alidns/src/model/DescribeDohDomainStatisticsSummaryResult.cc
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult::~DescribeDohDomainStatisticsSummaryResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["DomainName"].isNull())
|
||||||
|
statisticsObject.domainName = valueStatisticsStatistic["DomainName"].asString();
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||||
|
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||||
|
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||||
|
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalItems"].isNull())
|
||||||
|
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||||
|
if(!value["TotalPages"].isNull())
|
||||||
|
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getTotalPages()const
|
||||||
|
{
|
||||||
|
return totalPages_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getTotalItems()const
|
||||||
|
{
|
||||||
|
return totalItems_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohDomainStatisticsSummaryResult::Statistic> DescribeDohDomainStatisticsSummaryResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
73
alidns/src/model/DescribeDohSubDomainStatisticsRequest.cc
Normal file
73
alidns/src/model/DescribeDohSubDomainStatisticsRequest.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/DescribeDohSubDomainStatisticsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsRequest;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsRequest::DescribeDohSubDomainStatisticsRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatistics")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsRequest::~DescribeDohSubDomainStatisticsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getSubDomain()const
|
||||||
|
{
|
||||||
|
return subDomain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setSubDomain(const std::string& subDomain)
|
||||||
|
{
|
||||||
|
subDomain_ = subDomain;
|
||||||
|
setParameter("SubDomain", subDomain);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
67
alidns/src/model/DescribeDohSubDomainStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohSubDomainStatisticsResult.cc
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsResult::~DescribeDohSubDomainStatisticsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||||
|
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohSubDomainStatisticsResult::Statistic> DescribeDohSubDomainStatisticsResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
128
alidns/src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
Normal file
128
alidns/src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsSummaryRequest;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryRequest::DescribeDohSubDomainStatisticsSummaryRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatisticsSummary")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryRequest::~DescribeDohSubDomainStatisticsSummaryRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getOrderBy()const
|
||||||
|
{
|
||||||
|
return orderBy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||||
|
{
|
||||||
|
orderBy_ = orderBy;
|
||||||
|
setParameter("OrderBy", orderBy);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryRequest::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||||
|
{
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getSubDomain()const
|
||||||
|
{
|
||||||
|
return subDomain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setSubDomain(const std::string& subDomain)
|
||||||
|
{
|
||||||
|
subDomain_ = subDomain;
|
||||||
|
setParameter("SubDomain", subDomain);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDirection()const
|
||||||
|
{
|
||||||
|
return direction_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||||
|
{
|
||||||
|
direction_ = direction;
|
||||||
|
setParameter("Direction", direction);
|
||||||
|
}
|
||||||
|
|
||||||
101
alidns/src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
Normal file
101
alidns/src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult::~DescribeDohSubDomainStatisticsSummaryResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["SubDomain"].isNull())
|
||||||
|
statisticsObject.subDomain = valueStatisticsStatistic["SubDomain"].asString();
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||||
|
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||||
|
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||||
|
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalItems"].isNull())
|
||||||
|
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||||
|
if(!value["TotalPages"].isNull())
|
||||||
|
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getTotalPages()const
|
||||||
|
{
|
||||||
|
return totalPages_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getTotalItems()const
|
||||||
|
{
|
||||||
|
return totalItems_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohSubDomainStatisticsSummaryResult::Statistic> DescribeDohSubDomainStatisticsSummaryResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
62
alidns/src/model/DescribeDohUserInfoRequest.cc
Normal file
62
alidns/src/model/DescribeDohUserInfoRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohUserInfoRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohUserInfoRequest;
|
||||||
|
|
||||||
|
DescribeDohUserInfoRequest::DescribeDohUserInfoRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohUserInfo")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohUserInfoRequest::~DescribeDohUserInfoRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohUserInfoRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohUserInfoRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohUserInfoRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
65
alidns/src/model/DescribeDohUserInfoResult.cc
Normal file
65
alidns/src/model/DescribeDohUserInfoResult.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/alidns/model/DescribeDohUserInfoResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult::DescribeDohUserInfoResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult::DescribeDohUserInfoResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult::~DescribeDohUserInfoResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["PdnsId"].isNull())
|
||||||
|
pdnsId_ = std::stol(value["PdnsId"].asString());
|
||||||
|
if(!value["DomainCount"].isNull())
|
||||||
|
domainCount_ = std::stoi(value["DomainCount"].asString());
|
||||||
|
if(!value["SubDomainCount"].isNull())
|
||||||
|
subDomainCount_ = std::stoi(value["SubDomainCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohUserInfoResult::getSubDomainCount()const
|
||||||
|
{
|
||||||
|
return subDomainCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDohUserInfoResult::getPdnsId()const
|
||||||
|
{
|
||||||
|
return pdnsId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohUserInfoResult::getDomainCount()const
|
||||||
|
{
|
||||||
|
return domainCount_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -93,6 +93,8 @@ void DescribeDomainInfoResult::parse(const std::string &payload)
|
|||||||
inClean_ = value["InClean"].asString() == "true";
|
inClean_ = value["InClean"].asString() == "true";
|
||||||
if(!value["SlaveDns"].isNull())
|
if(!value["SlaveDns"].isNull())
|
||||||
slaveDns_ = value["SlaveDns"].asString() == "true";
|
slaveDns_ = value["SlaveDns"].asString() == "true";
|
||||||
|
if(!value["ResourceGroupId"].isNull())
|
||||||
|
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,6 +128,11 @@ bool DescribeDomainInfoResult::getSlaveDns()const
|
|||||||
return slaveDns_;
|
return slaveDns_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainInfoResult::getResourceGroupId()const
|
||||||
|
{
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainInfoResult::getDomainName()const
|
std::string DescribeDomainInfoResult::getDomainName()const
|
||||||
{
|
{
|
||||||
return domainName_;
|
return domainName_;
|
||||||
|
|||||||
@@ -77,6 +77,8 @@ void DescribeDomainsResult::parse(const std::string &payload)
|
|||||||
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
||||||
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
||||||
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
||||||
|
if(!valueDomainsDomain["ResourceGroupId"].isNull())
|
||||||
|
domainsObject.resourceGroupId = valueDomainsDomain["ResourceGroupId"].asString();
|
||||||
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
|
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
|
||||||
for (auto allDomainsNodeTagsTag : allTagsNode)
|
for (auto allDomainsNodeTagsTag : allTagsNode)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ set(alimt_public_header
|
|||||||
set(alimt_public_header_model
|
set(alimt_public_header_model
|
||||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
|
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
|
||||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
||||||
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
|
||||||
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
|
||||||
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
include/alibabacloud/alimt/model/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
|
||||||
@@ -31,6 +33,8 @@ set(alimt_public_header_model
|
|||||||
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
|
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
|
||||||
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
|
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
|
||||||
include/alibabacloud/alimt/model/GetImageTranslateResult.h
|
include/alibabacloud/alimt/model/GetImageTranslateResult.h
|
||||||
|
include/alibabacloud/alimt/model/GetImageTranslateTaskRequest.h
|
||||||
|
include/alibabacloud/alimt/model/GetImageTranslateTaskResult.h
|
||||||
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
|
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
|
||||||
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
|
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
|
||||||
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
|
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
|
||||||
@@ -50,6 +54,8 @@ set(alimt_src
|
|||||||
src/AlimtClient.cc
|
src/AlimtClient.cc
|
||||||
src/model/CreateDocTranslateTaskRequest.cc
|
src/model/CreateDocTranslateTaskRequest.cc
|
||||||
src/model/CreateDocTranslateTaskResult.cc
|
src/model/CreateDocTranslateTaskResult.cc
|
||||||
|
src/model/CreateImageTranslateTaskRequest.cc
|
||||||
|
src/model/CreateImageTranslateTaskResult.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
|
||||||
@@ -58,6 +64,8 @@ set(alimt_src
|
|||||||
src/model/GetImageDiagnoseResult.cc
|
src/model/GetImageDiagnoseResult.cc
|
||||||
src/model/GetImageTranslateRequest.cc
|
src/model/GetImageTranslateRequest.cc
|
||||||
src/model/GetImageTranslateResult.cc
|
src/model/GetImageTranslateResult.cc
|
||||||
|
src/model/GetImageTranslateTaskRequest.cc
|
||||||
|
src/model/GetImageTranslateTaskResult.cc
|
||||||
src/model/GetTitleDiagnoseRequest.cc
|
src/model/GetTitleDiagnoseRequest.cc
|
||||||
src/model/GetTitleDiagnoseResult.cc
|
src/model/GetTitleDiagnoseResult.cc
|
||||||
src/model/GetTitleGenerateRequest.cc
|
src/model/GetTitleGenerateRequest.cc
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#include "AlimtExport.h"
|
#include "AlimtExport.h"
|
||||||
#include "model/CreateDocTranslateTaskRequest.h"
|
#include "model/CreateDocTranslateTaskRequest.h"
|
||||||
#include "model/CreateDocTranslateTaskResult.h"
|
#include "model/CreateDocTranslateTaskResult.h"
|
||||||
|
#include "model/CreateImageTranslateTaskRequest.h"
|
||||||
|
#include "model/CreateImageTranslateTaskResult.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"
|
||||||
@@ -32,6 +34,8 @@
|
|||||||
#include "model/GetImageDiagnoseResult.h"
|
#include "model/GetImageDiagnoseResult.h"
|
||||||
#include "model/GetImageTranslateRequest.h"
|
#include "model/GetImageTranslateRequest.h"
|
||||||
#include "model/GetImageTranslateResult.h"
|
#include "model/GetImageTranslateResult.h"
|
||||||
|
#include "model/GetImageTranslateTaskRequest.h"
|
||||||
|
#include "model/GetImageTranslateTaskResult.h"
|
||||||
#include "model/GetTitleDiagnoseRequest.h"
|
#include "model/GetTitleDiagnoseRequest.h"
|
||||||
#include "model/GetTitleDiagnoseResult.h"
|
#include "model/GetTitleDiagnoseResult.h"
|
||||||
#include "model/GetTitleGenerateRequest.h"
|
#include "model/GetTitleGenerateRequest.h"
|
||||||
@@ -58,6 +62,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
|
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
|
||||||
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
|
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateImageTranslateTaskResult> CreateImageTranslateTaskOutcome;
|
||||||
|
typedef std::future<CreateImageTranslateTaskOutcome> CreateImageTranslateTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlimtClient*, const Model::CreateImageTranslateTaskRequest&, const CreateImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageTranslateTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
typedef 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;
|
||||||
@@ -70,6 +77,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
|
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
|
||||||
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
|
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetImageTranslateTaskResult> GetImageTranslateTaskOutcome;
|
||||||
|
typedef std::future<GetImageTranslateTaskOutcome> GetImageTranslateTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateTaskRequest&, const GetImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
|
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
|
||||||
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
|
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
|
||||||
@@ -99,6 +109,9 @@ namespace AlibabaCloud
|
|||||||
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
|
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
|
||||||
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
|
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
|
||||||
|
CreateImageTranslateTaskOutcome createImageTranslateTask(const Model::CreateImageTranslateTaskRequest &request)const;
|
||||||
|
void createImageTranslateTaskAsync(const Model::CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateImageTranslateTaskOutcomeCallable createImageTranslateTaskCallable(const Model::CreateImageTranslateTaskRequest& request) const;
|
||||||
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
|
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;
|
||||||
@@ -111,6 +124,9 @@ namespace AlibabaCloud
|
|||||||
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
|
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
|
||||||
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
|
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
|
||||||
|
GetImageTranslateTaskOutcome getImageTranslateTask(const Model::GetImageTranslateTaskRequest &request)const;
|
||||||
|
void getImageTranslateTaskAsync(const Model::GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetImageTranslateTaskOutcomeCallable getImageTranslateTaskCallable(const Model::GetImageTranslateTaskRequest& request) const;
|
||||||
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
|
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
|
||||||
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
|
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateImageTranslateTaskRequest();
|
||||||
|
~CreateImageTranslateTaskRequest();
|
||||||
|
|
||||||
|
std::string getSourceLanguage()const;
|
||||||
|
void setSourceLanguage(const std::string& sourceLanguage);
|
||||||
|
std::string getClientToken()const;
|
||||||
|
void setClientToken(const std::string& clientToken);
|
||||||
|
std::string getUrlList()const;
|
||||||
|
void setUrlList(const std::string& urlList);
|
||||||
|
std::string getExtra()const;
|
||||||
|
void setExtra(const std::string& extra);
|
||||||
|
std::string getTargetLanguage()const;
|
||||||
|
void setTargetLanguage(const std::string& targetLanguage);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceLanguage_;
|
||||||
|
std::string clientToken_;
|
||||||
|
std::string urlList_;
|
||||||
|
std::string extra_;
|
||||||
|
std::string targetLanguage_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string taskId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult();
|
||||||
|
explicit CreateImageTranslateTaskResult(const std::string &payload);
|
||||||
|
~CreateImageTranslateTaskResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
@@ -14,35 +14,35 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_
|
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_
|
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Alimt
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicInfluenceRequest : public RpcServiceRequest
|
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GetTopicInfluenceRequest();
|
GetImageTranslateTaskRequest();
|
||||||
~GetTopicInfluenceRequest();
|
~GetImageTranslateTaskRequest();
|
||||||
|
|
||||||
long getTopicId()const;
|
std::string getTaskId()const;
|
||||||
void setTopicId(long topicId);
|
void setTaskId(const std::string& taskId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long topicId_;
|
std::string taskId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_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_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_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 GetImageTranslateTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string imageData;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult();
|
||||||
|
explicit GetImageTranslateTaskResult(const std::string &payload);
|
||||||
|
~GetImageTranslateTaskResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
@@ -87,6 +87,42 @@ AlimtClient::CreateDocTranslateTaskOutcomeCallable AlimtClient::createDocTransla
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlimtClient::CreateImageTranslateTaskOutcome AlimtClient::createImageTranslateTask(const CreateImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateImageTranslateTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateImageTranslateTaskOutcome(CreateImageTranslateTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateImageTranslateTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlimtClient::createImageTranslateTaskAsync(const CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createImageTranslateTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlimtClient::CreateImageTranslateTaskOutcomeCallable AlimtClient::createImageTranslateTaskCallable(const CreateImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateImageTranslateTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createImageTranslateTask(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();
|
||||||
@@ -231,6 +267,42 @@ AlimtClient::GetImageTranslateOutcomeCallable AlimtClient::getImageTranslateCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetImageTranslateTaskOutcome AlimtClient::getImageTranslateTask(const GetImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetImageTranslateTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetImageTranslateTaskOutcome(GetImageTranslateTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetImageTranslateTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlimtClient::getImageTranslateTaskAsync(const GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getImageTranslateTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetImageTranslateTaskOutcomeCallable AlimtClient::getImageTranslateTaskCallable(const GetImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetImageTranslateTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getImageTranslateTask(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
|
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
84
alimt/src/model/CreateImageTranslateTaskRequest.cc
Normal file
84
alimt/src/model/CreateImageTranslateTaskRequest.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/alimt/model/CreateImageTranslateTaskRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alimt::Model::CreateImageTranslateTaskRequest;
|
||||||
|
|
||||||
|
CreateImageTranslateTaskRequest::CreateImageTranslateTaskRequest() :
|
||||||
|
RpcServiceRequest("alimt", "2018-10-12", "CreateImageTranslateTask")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskRequest::~CreateImageTranslateTaskRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getSourceLanguage()const
|
||||||
|
{
|
||||||
|
return sourceLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||||
|
{
|
||||||
|
sourceLanguage_ = sourceLanguage;
|
||||||
|
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getClientToken()const
|
||||||
|
{
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setClientToken(const std::string& clientToken)
|
||||||
|
{
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setBodyParameter("ClientToken", clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getUrlList()const
|
||||||
|
{
|
||||||
|
return urlList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setUrlList(const std::string& urlList)
|
||||||
|
{
|
||||||
|
urlList_ = urlList;
|
||||||
|
setBodyParameter("UrlList", urlList);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getExtra()const
|
||||||
|
{
|
||||||
|
return extra_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setExtra(const std::string& extra)
|
||||||
|
{
|
||||||
|
extra_ = extra;
|
||||||
|
setBodyParameter("Extra", extra);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getTargetLanguage()const
|
||||||
|
{
|
||||||
|
return targetLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||||
|
{
|
||||||
|
targetLanguage_ = targetLanguage;
|
||||||
|
setBodyParameter("TargetLanguage", targetLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
66
alimt/src/model/CreateImageTranslateTaskResult.cc
Normal file
66
alimt/src/model/CreateImageTranslateTaskResult.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/CreateImageTranslateTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alimt;
|
||||||
|
using namespace AlibabaCloud::Alimt::Model;
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::~CreateImageTranslateTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskResult::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["TaskId"].isNull())
|
||||||
|
data_.taskId = dataNode["TaskId"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::Data CreateImageTranslateTaskResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateImageTranslateTaskResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,27 +14,27 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h>
|
#include <alibabacloud/alimt/model/GetImageTranslateTaskRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Dataworks_public::Model::GetTopicInfluenceRequest;
|
using AlibabaCloud::Alimt::Model::GetImageTranslateTaskRequest;
|
||||||
|
|
||||||
GetTopicInfluenceRequest::GetTopicInfluenceRequest() :
|
GetImageTranslateTaskRequest::GetImageTranslateTaskRequest() :
|
||||||
RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopicInfluence")
|
RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslateTask")
|
||||||
{
|
{
|
||||||
setMethod(HttpRequest::Method::Post);
|
setMethod(HttpRequest::Method::Post);
|
||||||
}
|
}
|
||||||
|
|
||||||
GetTopicInfluenceRequest::~GetTopicInfluenceRequest()
|
GetImageTranslateTaskRequest::~GetImageTranslateTaskRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
long GetTopicInfluenceRequest::getTopicId()const
|
std::string GetImageTranslateTaskRequest::getTaskId()const
|
||||||
{
|
{
|
||||||
return topicId_;
|
return taskId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetTopicInfluenceRequest::setTopicId(long topicId)
|
void GetImageTranslateTaskRequest::setTaskId(const std::string& taskId)
|
||||||
{
|
{
|
||||||
topicId_ = topicId;
|
taskId_ = taskId;
|
||||||
setBodyParameter("TopicId", std::to_string(topicId));
|
setBodyParameter("TaskId", taskId);
|
||||||
}
|
}
|
||||||
|
|
||||||
66
alimt/src/model/GetImageTranslateTaskResult.cc
Normal file
66
alimt/src/model/GetImageTranslateTaskResult.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/GetImageTranslateTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alimt;
|
||||||
|
using namespace AlibabaCloud::Alimt::Model;
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::GetImageTranslateTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::GetImageTranslateTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::~GetImageTranslateTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetImageTranslateTaskResult::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["ImageData"].isNull())
|
||||||
|
data_.imageData = dataNode["ImageData"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetImageTranslateTaskResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::Data GetImageTranslateTaskResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetImageTranslateTaskResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -65,8 +65,12 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h
|
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/EndLiveRequest.h
|
include/alibabacloud/aliyuncvc/model/EndLiveRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/EndLiveResult.h
|
include/alibabacloud/aliyuncvc/model/EndLiveResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetAccountInfoRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetAccountInfoResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||||
@@ -77,6 +81,8 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
|
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
|
||||||
@@ -89,6 +95,8 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
|
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
|
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
|
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
|
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
|
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
|
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
|
||||||
@@ -101,10 +109,14 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
|
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
|
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/ListUsersResult.h
|
include/alibabacloud/aliyuncvc/model/ListUsersResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h
|
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
|
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
|
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
|
||||||
@@ -115,6 +127,8 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h
|
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutRequest.h
|
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutResult.h
|
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
|
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
|
||||||
@@ -166,8 +180,12 @@ set(aliyuncvc_src
|
|||||||
src/model/EndDeviceMeetingResult.cc
|
src/model/EndDeviceMeetingResult.cc
|
||||||
src/model/EndLiveRequest.cc
|
src/model/EndLiveRequest.cc
|
||||||
src/model/EndLiveResult.cc
|
src/model/EndLiveResult.cc
|
||||||
|
src/model/GetAccountInfoRequest.cc
|
||||||
|
src/model/GetAccountInfoResult.cc
|
||||||
src/model/GetDeviceActiveCodeRequest.cc
|
src/model/GetDeviceActiveCodeRequest.cc
|
||||||
src/model/GetDeviceActiveCodeResult.cc
|
src/model/GetDeviceActiveCodeResult.cc
|
||||||
|
src/model/GetDeviceInfoRequest.cc
|
||||||
|
src/model/GetDeviceInfoResult.cc
|
||||||
src/model/GetDeviceTokenRequest.cc
|
src/model/GetDeviceTokenRequest.cc
|
||||||
src/model/GetDeviceTokenResult.cc
|
src/model/GetDeviceTokenResult.cc
|
||||||
src/model/GetMeetingRequest.cc
|
src/model/GetMeetingRequest.cc
|
||||||
@@ -178,6 +196,8 @@ set(aliyuncvc_src
|
|||||||
src/model/GetMeetingMemberResult.cc
|
src/model/GetMeetingMemberResult.cc
|
||||||
src/model/GetMembersRequest.cc
|
src/model/GetMembersRequest.cc
|
||||||
src/model/GetMembersResult.cc
|
src/model/GetMembersResult.cc
|
||||||
|
src/model/GetStatisticRequest.cc
|
||||||
|
src/model/GetStatisticResult.cc
|
||||||
src/model/GetUserRequest.cc
|
src/model/GetUserRequest.cc
|
||||||
src/model/GetUserResult.cc
|
src/model/GetUserResult.cc
|
||||||
src/model/InviteUserRequest.cc
|
src/model/InviteUserRequest.cc
|
||||||
@@ -190,6 +210,8 @@ set(aliyuncvc_src
|
|||||||
src/model/JoinMeetingResult.cc
|
src/model/JoinMeetingResult.cc
|
||||||
src/model/JoinMeetingInternationalRequest.cc
|
src/model/JoinMeetingInternationalRequest.cc
|
||||||
src/model/JoinMeetingInternationalResult.cc
|
src/model/JoinMeetingInternationalResult.cc
|
||||||
|
src/model/ListConferenceDevicesRequest.cc
|
||||||
|
src/model/ListConferenceDevicesResult.cc
|
||||||
src/model/ListDeviceIpRequest.cc
|
src/model/ListDeviceIpRequest.cc
|
||||||
src/model/ListDeviceIpResult.cc
|
src/model/ListDeviceIpResult.cc
|
||||||
src/model/ListDevicesRequest.cc
|
src/model/ListDevicesRequest.cc
|
||||||
@@ -202,10 +224,14 @@ set(aliyuncvc_src
|
|||||||
src/model/ListMembersResult.cc
|
src/model/ListMembersResult.cc
|
||||||
src/model/ListUsersRequest.cc
|
src/model/ListUsersRequest.cc
|
||||||
src/model/ListUsersResult.cc
|
src/model/ListUsersResult.cc
|
||||||
|
src/model/ModifyDeviceBackgroundRequest.cc
|
||||||
|
src/model/ModifyDeviceBackgroundResult.cc
|
||||||
src/model/ModifyMeetingPasswordRequest.cc
|
src/model/ModifyMeetingPasswordRequest.cc
|
||||||
src/model/ModifyMeetingPasswordResult.cc
|
src/model/ModifyMeetingPasswordResult.cc
|
||||||
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
||||||
src/model/ModifyMeetingPasswordInternationalResult.cc
|
src/model/ModifyMeetingPasswordInternationalResult.cc
|
||||||
|
src/model/RefreshDeviceScreenCodeRequest.cc
|
||||||
|
src/model/RefreshDeviceScreenCodeResult.cc
|
||||||
src/model/RegisterDeviceRequest.cc
|
src/model/RegisterDeviceRequest.cc
|
||||||
src/model/RegisterDeviceResult.cc
|
src/model/RegisterDeviceResult.cc
|
||||||
src/model/RegisterUemDeviceRequest.cc
|
src/model/RegisterUemDeviceRequest.cc
|
||||||
@@ -216,6 +242,8 @@ set(aliyuncvc_src
|
|||||||
src/model/StartLiveResult.cc
|
src/model/StartLiveResult.cc
|
||||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||||
src/model/UpdateDeviceHeartBeatResult.cc
|
src/model/UpdateDeviceHeartBeatResult.cc
|
||||||
|
src/model/UpdateDeviceStartupPictureRequest.cc
|
||||||
|
src/model/UpdateDeviceStartupPictureResult.cc
|
||||||
src/model/UpdateGonggeLayoutRequest.cc
|
src/model/UpdateGonggeLayoutRequest.cc
|
||||||
src/model/UpdateGonggeLayoutResult.cc
|
src/model/UpdateGonggeLayoutResult.cc
|
||||||
src/model/UpdateLivePasswordRequest.cc
|
src/model/UpdateLivePasswordRequest.cc
|
||||||
|
|||||||
@@ -66,8 +66,12 @@
|
|||||||
#include "model/EndDeviceMeetingResult.h"
|
#include "model/EndDeviceMeetingResult.h"
|
||||||
#include "model/EndLiveRequest.h"
|
#include "model/EndLiveRequest.h"
|
||||||
#include "model/EndLiveResult.h"
|
#include "model/EndLiveResult.h"
|
||||||
|
#include "model/GetAccountInfoRequest.h"
|
||||||
|
#include "model/GetAccountInfoResult.h"
|
||||||
#include "model/GetDeviceActiveCodeRequest.h"
|
#include "model/GetDeviceActiveCodeRequest.h"
|
||||||
#include "model/GetDeviceActiveCodeResult.h"
|
#include "model/GetDeviceActiveCodeResult.h"
|
||||||
|
#include "model/GetDeviceInfoRequest.h"
|
||||||
|
#include "model/GetDeviceInfoResult.h"
|
||||||
#include "model/GetDeviceTokenRequest.h"
|
#include "model/GetDeviceTokenRequest.h"
|
||||||
#include "model/GetDeviceTokenResult.h"
|
#include "model/GetDeviceTokenResult.h"
|
||||||
#include "model/GetMeetingRequest.h"
|
#include "model/GetMeetingRequest.h"
|
||||||
@@ -78,6 +82,8 @@
|
|||||||
#include "model/GetMeetingMemberResult.h"
|
#include "model/GetMeetingMemberResult.h"
|
||||||
#include "model/GetMembersRequest.h"
|
#include "model/GetMembersRequest.h"
|
||||||
#include "model/GetMembersResult.h"
|
#include "model/GetMembersResult.h"
|
||||||
|
#include "model/GetStatisticRequest.h"
|
||||||
|
#include "model/GetStatisticResult.h"
|
||||||
#include "model/GetUserRequest.h"
|
#include "model/GetUserRequest.h"
|
||||||
#include "model/GetUserResult.h"
|
#include "model/GetUserResult.h"
|
||||||
#include "model/InviteUserRequest.h"
|
#include "model/InviteUserRequest.h"
|
||||||
@@ -90,6 +96,8 @@
|
|||||||
#include "model/JoinMeetingResult.h"
|
#include "model/JoinMeetingResult.h"
|
||||||
#include "model/JoinMeetingInternationalRequest.h"
|
#include "model/JoinMeetingInternationalRequest.h"
|
||||||
#include "model/JoinMeetingInternationalResult.h"
|
#include "model/JoinMeetingInternationalResult.h"
|
||||||
|
#include "model/ListConferenceDevicesRequest.h"
|
||||||
|
#include "model/ListConferenceDevicesResult.h"
|
||||||
#include "model/ListDeviceIpRequest.h"
|
#include "model/ListDeviceIpRequest.h"
|
||||||
#include "model/ListDeviceIpResult.h"
|
#include "model/ListDeviceIpResult.h"
|
||||||
#include "model/ListDevicesRequest.h"
|
#include "model/ListDevicesRequest.h"
|
||||||
@@ -102,10 +110,14 @@
|
|||||||
#include "model/ListMembersResult.h"
|
#include "model/ListMembersResult.h"
|
||||||
#include "model/ListUsersRequest.h"
|
#include "model/ListUsersRequest.h"
|
||||||
#include "model/ListUsersResult.h"
|
#include "model/ListUsersResult.h"
|
||||||
|
#include "model/ModifyDeviceBackgroundRequest.h"
|
||||||
|
#include "model/ModifyDeviceBackgroundResult.h"
|
||||||
#include "model/ModifyMeetingPasswordRequest.h"
|
#include "model/ModifyMeetingPasswordRequest.h"
|
||||||
#include "model/ModifyMeetingPasswordResult.h"
|
#include "model/ModifyMeetingPasswordResult.h"
|
||||||
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
||||||
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
||||||
|
#include "model/RefreshDeviceScreenCodeRequest.h"
|
||||||
|
#include "model/RefreshDeviceScreenCodeResult.h"
|
||||||
#include "model/RegisterDeviceRequest.h"
|
#include "model/RegisterDeviceRequest.h"
|
||||||
#include "model/RegisterDeviceResult.h"
|
#include "model/RegisterDeviceResult.h"
|
||||||
#include "model/RegisterUemDeviceRequest.h"
|
#include "model/RegisterUemDeviceRequest.h"
|
||||||
@@ -116,6 +128,8 @@
|
|||||||
#include "model/StartLiveResult.h"
|
#include "model/StartLiveResult.h"
|
||||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||||
#include "model/UpdateDeviceHeartBeatResult.h"
|
#include "model/UpdateDeviceHeartBeatResult.h"
|
||||||
|
#include "model/UpdateDeviceStartupPictureRequest.h"
|
||||||
|
#include "model/UpdateDeviceStartupPictureResult.h"
|
||||||
#include "model/UpdateGonggeLayoutRequest.h"
|
#include "model/UpdateGonggeLayoutRequest.h"
|
||||||
#include "model/UpdateGonggeLayoutResult.h"
|
#include "model/UpdateGonggeLayoutResult.h"
|
||||||
#include "model/UpdateLivePasswordRequest.h"
|
#include "model/UpdateLivePasswordRequest.h"
|
||||||
@@ -195,9 +209,15 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::EndLiveResult> EndLiveOutcome;
|
typedef Outcome<Error, Model::EndLiveResult> EndLiveOutcome;
|
||||||
typedef std::future<EndLiveOutcome> EndLiveOutcomeCallable;
|
typedef std::future<EndLiveOutcome> EndLiveOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::EndLiveRequest&, const EndLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndLiveAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::EndLiveRequest&, const EndLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndLiveAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetAccountInfoResult> GetAccountInfoOutcome;
|
||||||
|
typedef std::future<GetAccountInfoOutcome> GetAccountInfoOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetAccountInfoRequest&, const GetAccountInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountInfoAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetDeviceActiveCodeResult> GetDeviceActiveCodeOutcome;
|
typedef Outcome<Error, Model::GetDeviceActiveCodeResult> GetDeviceActiveCodeOutcome;
|
||||||
typedef std::future<GetDeviceActiveCodeOutcome> GetDeviceActiveCodeOutcomeCallable;
|
typedef std::future<GetDeviceActiveCodeOutcome> GetDeviceActiveCodeOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceActiveCodeRequest&, const GetDeviceActiveCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceActiveCodeAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceActiveCodeRequest&, const GetDeviceActiveCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceActiveCodeAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetDeviceInfoResult> GetDeviceInfoOutcome;
|
||||||
|
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
||||||
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
||||||
@@ -213,6 +233,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
||||||
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetStatisticResult> GetStatisticOutcome;
|
||||||
|
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||||
@@ -231,6 +254,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
|
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
|
||||||
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
|
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListConferenceDevicesResult> ListConferenceDevicesOutcome;
|
||||||
|
typedef std::future<ListConferenceDevicesOutcome> ListConferenceDevicesOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::ListConferenceDevicesRequest&, const ListConferenceDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConferenceDevicesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
|
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
|
||||||
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
|
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
|
||||||
@@ -249,12 +275,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ModifyDeviceBackgroundResult> ModifyDeviceBackgroundOutcome;
|
||||||
|
typedef std::future<ModifyDeviceBackgroundOutcome> ModifyDeviceBackgroundOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyDeviceBackgroundRequest&, const ModifyDeviceBackgroundOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceBackgroundAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyMeetingPasswordResult> ModifyMeetingPasswordOutcome;
|
typedef Outcome<Error, Model::ModifyMeetingPasswordResult> ModifyMeetingPasswordOutcome;
|
||||||
typedef std::future<ModifyMeetingPasswordOutcome> ModifyMeetingPasswordOutcomeCallable;
|
typedef std::future<ModifyMeetingPasswordOutcome> ModifyMeetingPasswordOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordRequest&, const ModifyMeetingPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordRequest&, const ModifyMeetingPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
|
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
|
||||||
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
|
||||||
|
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
|
||||||
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
|
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
|
||||||
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
|
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
|
||||||
@@ -270,6 +302,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::UpdateDeviceHeartBeatResult> UpdateDeviceHeartBeatOutcome;
|
typedef Outcome<Error, Model::UpdateDeviceHeartBeatResult> UpdateDeviceHeartBeatOutcome;
|
||||||
typedef std::future<UpdateDeviceHeartBeatOutcome> UpdateDeviceHeartBeatOutcomeCallable;
|
typedef std::future<UpdateDeviceHeartBeatOutcome> UpdateDeviceHeartBeatOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceHeartBeatRequest&, const UpdateDeviceHeartBeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceHeartBeatAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceHeartBeatRequest&, const UpdateDeviceHeartBeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceHeartBeatAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateDeviceStartupPictureResult> UpdateDeviceStartupPictureOutcome;
|
||||||
|
typedef std::future<UpdateDeviceStartupPictureOutcome> UpdateDeviceStartupPictureOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceStartupPictureRequest&, const UpdateDeviceStartupPictureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceStartupPictureAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateGonggeLayoutResult> UpdateGonggeLayoutOutcome;
|
typedef Outcome<Error, Model::UpdateGonggeLayoutResult> UpdateGonggeLayoutOutcome;
|
||||||
typedef std::future<UpdateGonggeLayoutOutcome> UpdateGonggeLayoutOutcomeCallable;
|
typedef std::future<UpdateGonggeLayoutOutcome> UpdateGonggeLayoutOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateGonggeLayoutRequest&, const UpdateGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGonggeLayoutAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateGonggeLayoutRequest&, const UpdateGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGonggeLayoutAsyncHandler;
|
||||||
@@ -347,9 +382,15 @@ namespace AlibabaCloud
|
|||||||
EndLiveOutcome endLive(const Model::EndLiveRequest &request)const;
|
EndLiveOutcome endLive(const Model::EndLiveRequest &request)const;
|
||||||
void endLiveAsync(const Model::EndLiveRequest& request, const EndLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void endLiveAsync(const Model::EndLiveRequest& request, const EndLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
EndLiveOutcomeCallable endLiveCallable(const Model::EndLiveRequest& request) const;
|
EndLiveOutcomeCallable endLiveCallable(const Model::EndLiveRequest& request) const;
|
||||||
|
GetAccountInfoOutcome getAccountInfo(const Model::GetAccountInfoRequest &request)const;
|
||||||
|
void getAccountInfoAsync(const Model::GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetAccountInfoOutcomeCallable getAccountInfoCallable(const Model::GetAccountInfoRequest& request) const;
|
||||||
GetDeviceActiveCodeOutcome getDeviceActiveCode(const Model::GetDeviceActiveCodeRequest &request)const;
|
GetDeviceActiveCodeOutcome getDeviceActiveCode(const Model::GetDeviceActiveCodeRequest &request)const;
|
||||||
void getDeviceActiveCodeAsync(const Model::GetDeviceActiveCodeRequest& request, const GetDeviceActiveCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getDeviceActiveCodeAsync(const Model::GetDeviceActiveCodeRequest& request, const GetDeviceActiveCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetDeviceActiveCodeOutcomeCallable getDeviceActiveCodeCallable(const Model::GetDeviceActiveCodeRequest& request) const;
|
GetDeviceActiveCodeOutcomeCallable getDeviceActiveCodeCallable(const Model::GetDeviceActiveCodeRequest& request) const;
|
||||||
|
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
|
||||||
|
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
|
||||||
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
|
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
|
||||||
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
|
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
|
||||||
@@ -365,6 +406,9 @@ namespace AlibabaCloud
|
|||||||
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
||||||
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
||||||
|
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
|
||||||
|
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& request) const;
|
||||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||||
@@ -383,6 +427,9 @@ namespace AlibabaCloud
|
|||||||
JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const;
|
JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const;
|
||||||
void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const;
|
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const;
|
||||||
|
ListConferenceDevicesOutcome listConferenceDevices(const Model::ListConferenceDevicesRequest &request)const;
|
||||||
|
void listConferenceDevicesAsync(const Model::ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListConferenceDevicesOutcomeCallable listConferenceDevicesCallable(const Model::ListConferenceDevicesRequest& request) const;
|
||||||
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
|
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
|
||||||
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
|
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
|
||||||
@@ -401,12 +448,18 @@ namespace AlibabaCloud
|
|||||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||||
|
ModifyDeviceBackgroundOutcome modifyDeviceBackground(const Model::ModifyDeviceBackgroundRequest &request)const;
|
||||||
|
void modifyDeviceBackgroundAsync(const Model::ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ModifyDeviceBackgroundOutcomeCallable modifyDeviceBackgroundCallable(const Model::ModifyDeviceBackgroundRequest& request) const;
|
||||||
ModifyMeetingPasswordOutcome modifyMeetingPassword(const Model::ModifyMeetingPasswordRequest &request)const;
|
ModifyMeetingPasswordOutcome modifyMeetingPassword(const Model::ModifyMeetingPasswordRequest &request)const;
|
||||||
void modifyMeetingPasswordAsync(const Model::ModifyMeetingPasswordRequest& request, const ModifyMeetingPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyMeetingPasswordAsync(const Model::ModifyMeetingPasswordRequest& request, const ModifyMeetingPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyMeetingPasswordOutcomeCallable modifyMeetingPasswordCallable(const Model::ModifyMeetingPasswordRequest& request) const;
|
ModifyMeetingPasswordOutcomeCallable modifyMeetingPasswordCallable(const Model::ModifyMeetingPasswordRequest& request) const;
|
||||||
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
|
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
|
||||||
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
|
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
|
||||||
|
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
|
||||||
|
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
|
||||||
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
|
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
|
||||||
void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const;
|
RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const;
|
||||||
@@ -422,6 +475,9 @@ namespace AlibabaCloud
|
|||||||
UpdateDeviceHeartBeatOutcome updateDeviceHeartBeat(const Model::UpdateDeviceHeartBeatRequest &request)const;
|
UpdateDeviceHeartBeatOutcome updateDeviceHeartBeat(const Model::UpdateDeviceHeartBeatRequest &request)const;
|
||||||
void updateDeviceHeartBeatAsync(const Model::UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateDeviceHeartBeatAsync(const Model::UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const;
|
UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const;
|
||||||
|
UpdateDeviceStartupPictureOutcome updateDeviceStartupPicture(const Model::UpdateDeviceStartupPictureRequest &request)const;
|
||||||
|
void updateDeviceStartupPictureAsync(const Model::UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateDeviceStartupPictureOutcomeCallable updateDeviceStartupPictureCallable(const Model::UpdateDeviceStartupPictureRequest& request) const;
|
||||||
UpdateGonggeLayoutOutcome updateGonggeLayout(const Model::UpdateGonggeLayoutRequest &request)const;
|
UpdateGonggeLayoutOutcome updateGonggeLayout(const Model::UpdateGonggeLayoutRequest &request)const;
|
||||||
void updateGonggeLayoutAsync(const Model::UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateGonggeLayoutAsync(const Model::UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateGonggeLayoutOutcomeCallable updateGonggeLayoutCallable(const Model::UpdateGonggeLayoutRequest& request) const;
|
UpdateGonggeLayoutOutcomeCallable updateGonggeLayoutCallable(const Model::UpdateGonggeLayoutRequest& request) const;
|
||||||
|
|||||||
@@ -39,14 +39,14 @@ namespace AlibabaCloud
|
|||||||
~DeleteUserResult();
|
~DeleteUserResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
int getErrorCode()const;
|
int getErrorCode()const;
|
||||||
std::string getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
int errorCode_;
|
int errorCode_;
|
||||||
std::string success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetAccountInfoRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetAccountInfoRequest();
|
||||||
|
~GetAccountInfoRequest();
|
||||||
|
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetAccountInfoResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct AccountInfo
|
||||||
|
{
|
||||||
|
int accountApplicationNumber;
|
||||||
|
int accountApplicationMax;
|
||||||
|
int accountConcurrentMax;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetAccountInfoResult();
|
||||||
|
explicit GetAccountInfoResult(const std::string &payload);
|
||||||
|
~GetAccountInfoResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
AccountInfo getAccountInfo()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
int errorCode_;
|
||||||
|
AccountInfo accountInfo_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceInfoRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetDeviceInfoRequest();
|
||||||
|
~GetDeviceInfoRequest();
|
||||||
|
|
||||||
|
std::string getCastScreenCode()const;
|
||||||
|
void setCastScreenCode(const std::string& castScreenCode);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string castScreenCode_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceInfoResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Device
|
||||||
|
{
|
||||||
|
int status;
|
||||||
|
std::string castScreenCode;
|
||||||
|
std::string iP;
|
||||||
|
std::string sn;
|
||||||
|
std::string ssid;
|
||||||
|
std::string activationCode;
|
||||||
|
std::string mac;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetDeviceInfoResult();
|
||||||
|
explicit GetDeviceInfoResult(const std::string &payload);
|
||||||
|
~GetDeviceInfoResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Device getDevice()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Device device_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetStatisticRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetStatisticRequest();
|
||||||
|
~GetStatisticRequest();
|
||||||
|
|
||||||
|
long getEndTime()const;
|
||||||
|
void setEndTime(long endTime);
|
||||||
|
long getStartTime()const;
|
||||||
|
void setStartTime(long startTime);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long endTime_;
|
||||||
|
long startTime_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetStatisticResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct StatisticInfo
|
||||||
|
{
|
||||||
|
long meetingNumber;
|
||||||
|
long memberNumber;
|
||||||
|
long maxConcurrency;
|
||||||
|
long meetingDuration;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetStatisticResult();
|
||||||
|
explicit GetStatisticResult(const std::string &payload);
|
||||||
|
~GetStatisticResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
StatisticInfo getStatisticInfo()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
StatisticInfo statisticInfo_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
|
||||||
@@ -14,41 +14,41 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Aliyuncvc
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersRequest : public RpcServiceRequest
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListConferenceDevicesRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListProjectMembersRequest();
|
ListConferenceDevicesRequest();
|
||||||
~ListProjectMembersRequest();
|
~ListConferenceDevicesRequest();
|
||||||
|
|
||||||
int getPageSize()const;
|
std::string getSerialNumber()const;
|
||||||
void setPageSize(int pageSize);
|
void setSerialNumber(const std::string& serialNumber);
|
||||||
long getProjectId()const;
|
|
||||||
void setProjectId(long projectId);
|
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int pageSize_;
|
std::string serialNumber_;
|
||||||
long projectId_;
|
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
|
int pageSize_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListConferenceDevicesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ConferencesDatas
|
||||||
|
{
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string deviceModel;
|
||||||
|
std::string status;
|
||||||
|
std::string castScreenCode;
|
||||||
|
std::string createTime;
|
||||||
|
std::string manufacturer;
|
||||||
|
std::string pictureUrl;
|
||||||
|
std::string sN;
|
||||||
|
std::string conferenceName;
|
||||||
|
std::string activationCode;
|
||||||
|
std::string conferenceCode;
|
||||||
|
};
|
||||||
|
std::vector<Data> conferences;
|
||||||
|
int pageSize;
|
||||||
|
int pageNumber;
|
||||||
|
int total;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListConferenceDevicesResult();
|
||||||
|
explicit ListConferenceDevicesResult(const std::string &payload);
|
||||||
|
~ListConferenceDevicesResult();
|
||||||
|
ConferencesDatas getConferencesDatas()const;
|
||||||
|
std::string getMessage()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
ConferencesDatas conferencesDatas_;
|
||||||
|
std::string message_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_
|
||||||
@@ -14,38 +14,38 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Aliyuncvc
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RestartInstanceRequest : public RpcServiceRequest
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyDeviceBackgroundRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RestartInstanceRequest();
|
ModifyDeviceBackgroundRequest();
|
||||||
~RestartInstanceRequest();
|
~ModifyDeviceBackgroundRequest();
|
||||||
|
|
||||||
std::string getProjectEnv()const;
|
std::string getSerialNumber()const;
|
||||||
void setProjectEnv(const std::string& projectEnv);
|
void setSerialNumber(const std::string& serialNumber);
|
||||||
long getInstanceId()const;
|
std::string getPicture()const;
|
||||||
void setInstanceId(long instanceId);
|
void setPicture(const std::string& picture);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string projectEnv_;
|
std::string serialNumber_;
|
||||||
long instanceId_;
|
std::string picture_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_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_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyDeviceBackgroundResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ModifyDeviceBackgroundResult();
|
||||||
|
explicit ModifyDeviceBackgroundResult(const std::string &payload);
|
||||||
|
~ModifyDeviceBackgroundResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
|
||||||
@@ -14,35 +14,35 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_
|
||||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dataworks_public
|
namespace Aliyuncvc
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteConnectionRequest : public RpcServiceRequest
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT RefreshDeviceScreenCodeRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DeleteConnectionRequest();
|
RefreshDeviceScreenCodeRequest();
|
||||||
~DeleteConnectionRequest();
|
~RefreshDeviceScreenCodeRequest();
|
||||||
|
|
||||||
long getConnectionId()const;
|
std::string getSerialNumber()const;
|
||||||
void setConnectionId(long connectionId);
|
void setSerialNumber(const std::string& serialNumber);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long connectionId_;
|
std::string serialNumber_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT RefreshDeviceScreenCodeResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string screenCode;
|
||||||
|
std::string serialNumber;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
RefreshDeviceScreenCodeResult();
|
||||||
|
explicit RefreshDeviceScreenCodeResult(const std::string &payload);
|
||||||
|
~RefreshDeviceScreenCodeResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
|
||||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
|||||||
void setIP(const std::string& iP);
|
void setIP(const std::string& iP);
|
||||||
std::string getGroupId()const;
|
std::string getGroupId()const;
|
||||||
void setGroupId(const std::string& groupId);
|
void setGroupId(const std::string& groupId);
|
||||||
|
std::string getOwnerId()const;
|
||||||
|
void setOwnerId(const std::string& ownerId);
|
||||||
std::string getDeviceId()const;
|
std::string getDeviceId()const;
|
||||||
void setDeviceId(const std::string& deviceId);
|
void setDeviceId(const std::string& deviceId);
|
||||||
std::string getGroupName()const;
|
std::string getGroupName()const;
|
||||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::string iP_;
|
std::string iP_;
|
||||||
std::string groupId_;
|
std::string groupId_;
|
||||||
|
std::string ownerId_;
|
||||||
std::string deviceId_;
|
std::string deviceId_;
|
||||||
std::string groupName_;
|
std::string groupName_;
|
||||||
std::string mac_;
|
std::string mac_;
|
||||||
|
|||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceStartupPictureRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UpdateDeviceStartupPictureRequest();
|
||||||
|
~UpdateDeviceStartupPictureRequest();
|
||||||
|
|
||||||
|
std::string getSerialNumber()const;
|
||||||
|
void setSerialNumber(const std::string& serialNumber);
|
||||||
|
std::string getPicture()const;
|
||||||
|
void setPicture(const std::string& picture);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serialNumber_;
|
||||||
|
std::string picture_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_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_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceStartupPictureResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateDeviceStartupPictureResult();
|
||||||
|
explicit UpdateDeviceStartupPictureResult(const std::string &payload);
|
||||||
|
~UpdateDeviceStartupPictureResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
|
||||||
@@ -843,6 +843,42 @@ AliyuncvcClient::EndLiveOutcomeCallable AliyuncvcClient::endLiveCallable(const E
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetAccountInfoOutcome AliyuncvcClient::getAccountInfo(const GetAccountInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetAccountInfoOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetAccountInfoOutcome(GetAccountInfoResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetAccountInfoOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::getAccountInfoAsync(const GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getAccountInfo(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetAccountInfoOutcomeCallable AliyuncvcClient::getAccountInfoCallable(const GetAccountInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetAccountInfoOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getAccountInfo(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::GetDeviceActiveCodeOutcome AliyuncvcClient::getDeviceActiveCode(const GetDeviceActiveCodeRequest &request) const
|
AliyuncvcClient::GetDeviceActiveCodeOutcome AliyuncvcClient::getDeviceActiveCode(const GetDeviceActiveCodeRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -879,6 +915,42 @@ AliyuncvcClient::GetDeviceActiveCodeOutcomeCallable AliyuncvcClient::getDeviceAc
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetDeviceInfoOutcome AliyuncvcClient::getDeviceInfo(const GetDeviceInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetDeviceInfoOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetDeviceInfoOutcome(GetDeviceInfoResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetDeviceInfoOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::getDeviceInfoAsync(const GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getDeviceInfo(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetDeviceInfoOutcomeCallable AliyuncvcClient::getDeviceInfoCallable(const GetDeviceInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetDeviceInfoOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getDeviceInfo(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1059,6 +1131,42 @@ AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(c
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetStatisticOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetStatisticOutcome(GetStatisticResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetStatisticOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::getStatisticAsync(const GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getStatistic(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetStatisticOutcomeCallable AliyuncvcClient::getStatisticCallable(const GetStatisticRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetStatisticOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getStatistic(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
|
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1275,6 +1383,42 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::ListConferenceDevicesOutcome AliyuncvcClient::listConferenceDevices(const ListConferenceDevicesRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListConferenceDevicesOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListConferenceDevicesOutcome(ListConferenceDevicesResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListConferenceDevicesOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::listConferenceDevicesAsync(const ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listConferenceDevices(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::ListConferenceDevicesOutcomeCallable AliyuncvcClient::listConferenceDevicesCallable(const ListConferenceDevicesRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListConferenceDevicesOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listConferenceDevices(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
|
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1491,6 +1635,42 @@ AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(con
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::ModifyDeviceBackgroundOutcome AliyuncvcClient::modifyDeviceBackground(const ModifyDeviceBackgroundRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ModifyDeviceBackgroundOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ModifyDeviceBackgroundOutcome(ModifyDeviceBackgroundResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ModifyDeviceBackgroundOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::modifyDeviceBackgroundAsync(const ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, modifyDeviceBackground(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::ModifyDeviceBackgroundOutcomeCallable AliyuncvcClient::modifyDeviceBackgroundCallable(const ModifyDeviceBackgroundRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ModifyDeviceBackgroundOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->modifyDeviceBackground(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::ModifyMeetingPasswordOutcome AliyuncvcClient::modifyMeetingPassword(const ModifyMeetingPasswordRequest &request) const
|
AliyuncvcClient::ModifyMeetingPasswordOutcome AliyuncvcClient::modifyMeetingPassword(const ModifyMeetingPasswordRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1563,6 +1743,42 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return RefreshDeviceScreenCodeOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return RefreshDeviceScreenCodeOutcome(RefreshDeviceScreenCodeResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return RefreshDeviceScreenCodeOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::refreshDeviceScreenCodeAsync(const RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, refreshDeviceScreenCode(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::RefreshDeviceScreenCodeOutcomeCallable AliyuncvcClient::refreshDeviceScreenCodeCallable(const RefreshDeviceScreenCodeRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<RefreshDeviceScreenCodeOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->refreshDeviceScreenCode(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
|
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1743,6 +1959,42 @@ AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDev
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::UpdateDeviceStartupPictureOutcome AliyuncvcClient::updateDeviceStartupPicture(const UpdateDeviceStartupPictureRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateDeviceStartupPictureOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateDeviceStartupPictureOutcome(UpdateDeviceStartupPictureResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateDeviceStartupPictureOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::updateDeviceStartupPictureAsync(const UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateDeviceStartupPicture(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::UpdateDeviceStartupPictureOutcomeCallable AliyuncvcClient::updateDeviceStartupPictureCallable(const UpdateDeviceStartupPictureRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateDeviceStartupPictureOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateDeviceStartupPicture(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::UpdateGonggeLayoutOutcome AliyuncvcClient::updateGonggeLayout(const UpdateGonggeLayoutRequest &request) const
|
AliyuncvcClient::UpdateGonggeLayoutOutcome AliyuncvcClient::updateGonggeLayout(const UpdateGonggeLayoutRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ void DeleteUserResult::parse(const std::string &payload)
|
|||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
success_ = value["Success"].asString();
|
success_ = value["Success"].asString() == "true";
|
||||||
if(!value["ErrorCode"].isNull())
|
if(!value["ErrorCode"].isNull())
|
||||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
if(!value["Message"].isNull())
|
if(!value["Message"].isNull())
|
||||||
@@ -58,7 +58,7 @@ int DeleteUserResult::getErrorCode()const
|
|||||||
return errorCode_;
|
return errorCode_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteUserResult::getSuccess()const
|
bool DeleteUserResult::getSuccess()const
|
||||||
{
|
{
|
||||||
return success_;
|
return success_;
|
||||||
}
|
}
|
||||||
|
|||||||
29
aliyuncvc/src/model/GetAccountInfoRequest.cc
Normal file
29
aliyuncvc/src/model/GetAccountInfoRequest.cc
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/aliyuncvc/model/GetAccountInfoRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::GetAccountInfoRequest;
|
||||||
|
|
||||||
|
GetAccountInfoRequest::GetAccountInfoRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetAccountInfo")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetAccountInfoRequest::~GetAccountInfoRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
77
aliyuncvc/src/model/GetAccountInfoResult.cc
Normal file
77
aliyuncvc/src/model/GetAccountInfoResult.cc
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/aliyuncvc/model/GetAccountInfoResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
GetAccountInfoResult::GetAccountInfoResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetAccountInfoResult::GetAccountInfoResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetAccountInfoResult::~GetAccountInfoResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetAccountInfoResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto accountInfoNode = value["AccountInfo"];
|
||||||
|
if(!accountInfoNode["AccountConcurrentMax"].isNull())
|
||||||
|
accountInfo_.accountConcurrentMax = std::stoi(accountInfoNode["AccountConcurrentMax"].asString());
|
||||||
|
if(!accountInfoNode["AccountApplicationMax"].isNull())
|
||||||
|
accountInfo_.accountApplicationMax = std::stoi(accountInfoNode["AccountApplicationMax"].asString());
|
||||||
|
if(!accountInfoNode["AccountApplicationNumber"].isNull())
|
||||||
|
accountInfo_.accountApplicationNumber = std::stoi(accountInfoNode["AccountApplicationNumber"].asString());
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetAccountInfoResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetAccountInfoResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetAccountInfoResult::AccountInfo GetAccountInfoResult::getAccountInfo()const
|
||||||
|
{
|
||||||
|
return accountInfo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GetAccountInfoResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,27 +14,27 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/dataworks-public/model/GetProjectDetailRequest.h>
|
#include <alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Dataworks_public::Model::GetProjectDetailRequest;
|
using AlibabaCloud::Aliyuncvc::Model::GetDeviceInfoRequest;
|
||||||
|
|
||||||
GetProjectDetailRequest::GetProjectDetailRequest() :
|
GetDeviceInfoRequest::GetDeviceInfoRequest() :
|
||||||
RpcServiceRequest("dataworks-public", "2020-05-18", "GetProjectDetail")
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceInfo")
|
||||||
{
|
{
|
||||||
setMethod(HttpRequest::Method::Post);
|
setMethod(HttpRequest::Method::Post);
|
||||||
}
|
}
|
||||||
|
|
||||||
GetProjectDetailRequest::~GetProjectDetailRequest()
|
GetDeviceInfoRequest::~GetDeviceInfoRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
long GetProjectDetailRequest::getProjectId()const
|
std::string GetDeviceInfoRequest::getCastScreenCode()const
|
||||||
{
|
{
|
||||||
return projectId_;
|
return castScreenCode_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetProjectDetailRequest::setProjectId(long projectId)
|
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||||
{
|
{
|
||||||
projectId_ = projectId;
|
castScreenCode_ = castScreenCode;
|
||||||
setParameter("ProjectId", std::to_string(projectId));
|
setBodyParameter("CastScreenCode", castScreenCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
85
aliyuncvc/src/model/GetDeviceInfoResult.cc
Normal file
85
aliyuncvc/src/model/GetDeviceInfoResult.cc
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
GetDeviceInfoResult::GetDeviceInfoResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetDeviceInfoResult::GetDeviceInfoResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetDeviceInfoResult::~GetDeviceInfoResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetDeviceInfoResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto deviceNode = value["Device"];
|
||||||
|
if(!deviceNode["ActivationCode"].isNull())
|
||||||
|
device_.activationCode = deviceNode["ActivationCode"].asString();
|
||||||
|
if(!deviceNode["CastScreenCode"].isNull())
|
||||||
|
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
||||||
|
if(!deviceNode["Sn"].isNull())
|
||||||
|
device_.sn = deviceNode["Sn"].asString();
|
||||||
|
if(!deviceNode["Status"].isNull())
|
||||||
|
device_.status = std::stoi(deviceNode["Status"].asString());
|
||||||
|
if(!deviceNode["IP"].isNull())
|
||||||
|
device_.iP = deviceNode["IP"].asString();
|
||||||
|
if(!deviceNode["Mac"].isNull())
|
||||||
|
device_.mac = deviceNode["Mac"].asString();
|
||||||
|
if(!deviceNode["Ssid"].isNull())
|
||||||
|
device_.ssid = deviceNode["Ssid"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetDeviceInfoResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetDeviceInfoResult::Device GetDeviceInfoResult::getDevice()const
|
||||||
|
{
|
||||||
|
return device_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetDeviceInfoResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GetDeviceInfoResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,38 +14,38 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/dataworks-public/model/GetNodeRequest.h>
|
#include <alibabacloud/aliyuncvc/model/GetStatisticRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Dataworks_public::Model::GetNodeRequest;
|
using AlibabaCloud::Aliyuncvc::Model::GetStatisticRequest;
|
||||||
|
|
||||||
GetNodeRequest::GetNodeRequest() :
|
GetStatisticRequest::GetStatisticRequest() :
|
||||||
RpcServiceRequest("dataworks-public", "2020-05-18", "GetNode")
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetStatistic")
|
||||||
{
|
{
|
||||||
setMethod(HttpRequest::Method::Post);
|
setMethod(HttpRequest::Method::Post);
|
||||||
}
|
}
|
||||||
|
|
||||||
GetNodeRequest::~GetNodeRequest()
|
GetStatisticRequest::~GetStatisticRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
std::string GetNodeRequest::getProjectEnv()const
|
long GetStatisticRequest::getEndTime()const
|
||||||
{
|
{
|
||||||
return projectEnv_;
|
return endTime_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetNodeRequest::setProjectEnv(const std::string& projectEnv)
|
void GetStatisticRequest::setEndTime(long endTime)
|
||||||
{
|
{
|
||||||
projectEnv_ = projectEnv;
|
endTime_ = endTime;
|
||||||
setBodyParameter("ProjectEnv", projectEnv);
|
setBodyParameter("EndTime", std::to_string(endTime));
|
||||||
}
|
}
|
||||||
|
|
||||||
long GetNodeRequest::getNodeId()const
|
long GetStatisticRequest::getStartTime()const
|
||||||
{
|
{
|
||||||
return nodeId_;
|
return startTime_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetNodeRequest::setNodeId(long nodeId)
|
void GetStatisticRequest::setStartTime(long startTime)
|
||||||
{
|
{
|
||||||
nodeId_ = nodeId;
|
startTime_ = startTime;
|
||||||
setBodyParameter("NodeId", std::to_string(nodeId));
|
setBodyParameter("StartTime", std::to_string(startTime));
|
||||||
}
|
}
|
||||||
|
|
||||||
79
aliyuncvc/src/model/GetStatisticResult.cc
Normal file
79
aliyuncvc/src/model/GetStatisticResult.cc
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetStatisticResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
GetStatisticResult::GetStatisticResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetStatisticResult::GetStatisticResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetStatisticResult::~GetStatisticResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetStatisticResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto statisticInfoNode = value["StatisticInfo"];
|
||||||
|
if(!statisticInfoNode["MeetingDuration"].isNull())
|
||||||
|
statisticInfo_.meetingDuration = std::stol(statisticInfoNode["MeetingDuration"].asString());
|
||||||
|
if(!statisticInfoNode["MeetingNumber"].isNull())
|
||||||
|
statisticInfo_.meetingNumber = std::stol(statisticInfoNode["MeetingNumber"].asString());
|
||||||
|
if(!statisticInfoNode["MemberNumber"].isNull())
|
||||||
|
statisticInfo_.memberNumber = std::stol(statisticInfoNode["MemberNumber"].asString());
|
||||||
|
if(!statisticInfoNode["MaxConcurrency"].isNull())
|
||||||
|
statisticInfo_.maxConcurrency = std::stol(statisticInfoNode["MaxConcurrency"].asString());
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetStatisticResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetStatisticResult::StatisticInfo GetStatisticResult::getStatisticInfo()const
|
||||||
|
{
|
||||||
|
return statisticInfo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetStatisticResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GetStatisticResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,49 +14,49 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h>
|
#include <alibabacloud/aliyuncvc/model/ListConferenceDevicesRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Dataworks_public::Model::GetMetaTablePartitionRequest;
|
using AlibabaCloud::Aliyuncvc::Model::ListConferenceDevicesRequest;
|
||||||
|
|
||||||
GetMetaTablePartitionRequest::GetMetaTablePartitionRequest() :
|
ListConferenceDevicesRequest::ListConferenceDevicesRequest() :
|
||||||
RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTablePartition")
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListConferenceDevices")
|
||||||
{
|
{
|
||||||
setMethod(HttpRequest::Method::Post);
|
setMethod(HttpRequest::Method::Post);
|
||||||
}
|
}
|
||||||
|
|
||||||
GetMetaTablePartitionRequest::~GetMetaTablePartitionRequest()
|
ListConferenceDevicesRequest::~ListConferenceDevicesRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
std::string GetMetaTablePartitionRequest::getTableGuid()const
|
std::string ListConferenceDevicesRequest::getSerialNumber()const
|
||||||
{
|
{
|
||||||
return tableGuid_;
|
return serialNumber_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetMetaTablePartitionRequest::setTableGuid(const std::string& tableGuid)
|
void ListConferenceDevicesRequest::setSerialNumber(const std::string& serialNumber)
|
||||||
{
|
{
|
||||||
tableGuid_ = tableGuid;
|
serialNumber_ = serialNumber;
|
||||||
setParameter("TableGuid", tableGuid);
|
setParameter("SerialNumber", serialNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
int GetMetaTablePartitionRequest::getPageSize()const
|
int ListConferenceDevicesRequest::getPageNumber()const
|
||||||
{
|
|
||||||
return pageSize_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetMetaTablePartitionRequest::setPageSize(int pageSize)
|
|
||||||
{
|
|
||||||
pageSize_ = pageSize;
|
|
||||||
setParameter("PageSize", std::to_string(pageSize));
|
|
||||||
}
|
|
||||||
|
|
||||||
int GetMetaTablePartitionRequest::getPageNumber()const
|
|
||||||
{
|
{
|
||||||
return pageNumber_;
|
return pageNumber_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetMetaTablePartitionRequest::setPageNumber(int pageNumber)
|
void ListConferenceDevicesRequest::setPageNumber(int pageNumber)
|
||||||
{
|
{
|
||||||
pageNumber_ = pageNumber;
|
pageNumber_ = pageNumber;
|
||||||
setParameter("PageNumber", std::to_string(pageNumber));
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int ListConferenceDevicesRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListConferenceDevicesRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
103
aliyuncvc/src/model/ListConferenceDevicesResult.cc
Normal file
103
aliyuncvc/src/model/ListConferenceDevicesResult.cc
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/aliyuncvc/model/ListConferenceDevicesResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
ListConferenceDevicesResult::ListConferenceDevicesResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ListConferenceDevicesResult::ListConferenceDevicesResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListConferenceDevicesResult::~ListConferenceDevicesResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ListConferenceDevicesResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto conferencesDatasNode = value["ConferencesDatas"];
|
||||||
|
if(!conferencesDatasNode["Total"].isNull())
|
||||||
|
conferencesDatas_.total = std::stoi(conferencesDatasNode["Total"].asString());
|
||||||
|
if(!conferencesDatasNode["PageSize"].isNull())
|
||||||
|
conferencesDatas_.pageSize = std::stoi(conferencesDatasNode["PageSize"].asString());
|
||||||
|
if(!conferencesDatasNode["PageNumber"].isNull())
|
||||||
|
conferencesDatas_.pageNumber = std::stoi(conferencesDatasNode["PageNumber"].asString());
|
||||||
|
auto allConferencesNode = conferencesDatasNode["Conferences"]["data"];
|
||||||
|
for (auto conferencesDatasNodeConferencesdata : allConferencesNode)
|
||||||
|
{
|
||||||
|
ConferencesDatas::Data dataObject;
|
||||||
|
if(!conferencesDatasNodeConferencesdata["ActivationCode"].isNull())
|
||||||
|
dataObject.activationCode = conferencesDatasNodeConferencesdata["ActivationCode"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["ConferenceCode"].isNull())
|
||||||
|
dataObject.conferenceCode = conferencesDatasNodeConferencesdata["ConferenceCode"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["ConferenceName"].isNull())
|
||||||
|
dataObject.conferenceName = conferencesDatasNodeConferencesdata["ConferenceName"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["CreateTime"].isNull())
|
||||||
|
dataObject.createTime = conferencesDatasNodeConferencesdata["CreateTime"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["DeviceModel"].isNull())
|
||||||
|
dataObject.deviceModel = conferencesDatasNodeConferencesdata["DeviceModel"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["Manufacturer"].isNull())
|
||||||
|
dataObject.manufacturer = conferencesDatasNodeConferencesdata["Manufacturer"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["PictureUrl"].isNull())
|
||||||
|
dataObject.pictureUrl = conferencesDatasNodeConferencesdata["PictureUrl"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["SN"].isNull())
|
||||||
|
dataObject.sN = conferencesDatasNodeConferencesdata["SN"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["Status"].isNull())
|
||||||
|
dataObject.status = conferencesDatasNodeConferencesdata["Status"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["CastScreenCode"].isNull())
|
||||||
|
dataObject.castScreenCode = conferencesDatasNodeConferencesdata["CastScreenCode"].asString();
|
||||||
|
conferencesDatas_.conferences.push_back(dataObject);
|
||||||
|
}
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
ListConferenceDevicesResult::ConferencesDatas ListConferenceDevicesResult::getConferencesDatas()const
|
||||||
|
{
|
||||||
|
return conferencesDatas_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListConferenceDevicesResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int ListConferenceDevicesResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ListConferenceDevicesResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
51
aliyuncvc/src/model/ModifyDeviceBackgroundRequest.cc
Normal file
51
aliyuncvc/src/model/ModifyDeviceBackgroundRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::ModifyDeviceBackgroundRequest;
|
||||||
|
|
||||||
|
ModifyDeviceBackgroundRequest::ModifyDeviceBackgroundRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "ModifyDeviceBackground")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyDeviceBackgroundRequest::~ModifyDeviceBackgroundRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string ModifyDeviceBackgroundRequest::getSerialNumber()const
|
||||||
|
{
|
||||||
|
return serialNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDeviceBackgroundRequest::setSerialNumber(const std::string& serialNumber)
|
||||||
|
{
|
||||||
|
serialNumber_ = serialNumber;
|
||||||
|
setBodyParameter("SerialNumber", serialNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyDeviceBackgroundRequest::getPicture()const
|
||||||
|
{
|
||||||
|
return picture_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDeviceBackgroundRequest::setPicture(const std::string& picture)
|
||||||
|
{
|
||||||
|
picture_ = picture;
|
||||||
|
setBodyParameter("Picture", picture);
|
||||||
|
}
|
||||||
|
|
||||||
65
aliyuncvc/src/model/ModifyDeviceBackgroundResult.cc
Normal file
65
aliyuncvc/src/model/ModifyDeviceBackgroundResult.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/aliyuncvc/model/ModifyDeviceBackgroundResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyDeviceBackgroundResult::~ModifyDeviceBackgroundResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ModifyDeviceBackgroundResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyDeviceBackgroundResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int ModifyDeviceBackgroundResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ModifyDeviceBackgroundResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,27 +14,27 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/dataworks-public/model/ListProjectRolesRequest.h>
|
#include <alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Dataworks_public::Model::ListProjectRolesRequest;
|
using AlibabaCloud::Aliyuncvc::Model::RefreshDeviceScreenCodeRequest;
|
||||||
|
|
||||||
ListProjectRolesRequest::ListProjectRolesRequest() :
|
RefreshDeviceScreenCodeRequest::RefreshDeviceScreenCodeRequest() :
|
||||||
RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectRoles")
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "RefreshDeviceScreenCode")
|
||||||
{
|
{
|
||||||
setMethod(HttpRequest::Method::Post);
|
setMethod(HttpRequest::Method::Post);
|
||||||
}
|
}
|
||||||
|
|
||||||
ListProjectRolesRequest::~ListProjectRolesRequest()
|
RefreshDeviceScreenCodeRequest::~RefreshDeviceScreenCodeRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
long ListProjectRolesRequest::getProjectId()const
|
std::string RefreshDeviceScreenCodeRequest::getSerialNumber()const
|
||||||
{
|
{
|
||||||
return projectId_;
|
return serialNumber_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ListProjectRolesRequest::setProjectId(long projectId)
|
void RefreshDeviceScreenCodeRequest::setSerialNumber(const std::string& serialNumber)
|
||||||
{
|
{
|
||||||
projectId_ = projectId;
|
serialNumber_ = serialNumber;
|
||||||
setParameter("ProjectId", std::to_string(projectId));
|
setBodyParameter("SerialNumber", serialNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
75
aliyuncvc/src/model/RefreshDeviceScreenCodeResult.cc
Normal file
75
aliyuncvc/src/model/RefreshDeviceScreenCodeResult.cc
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
RefreshDeviceScreenCodeResult::~RefreshDeviceScreenCodeResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void RefreshDeviceScreenCodeResult::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["SerialNumber"].isNull())
|
||||||
|
data_.serialNumber = dataNode["SerialNumber"].asString();
|
||||||
|
if(!dataNode["ScreenCode"].isNull())
|
||||||
|
data_.screenCode = dataNode["ScreenCode"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string RefreshDeviceScreenCodeResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
RefreshDeviceScreenCodeResult::Data RefreshDeviceScreenCodeResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int RefreshDeviceScreenCodeResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool RefreshDeviceScreenCodeResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -49,6 +49,17 @@ void RegisterUemDeviceRequest::setGroupId(const std::string& groupId)
|
|||||||
setParameter("GroupId", groupId);
|
setParameter("GroupId", groupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string RegisterUemDeviceRequest::getOwnerId()const
|
||||||
|
{
|
||||||
|
return ownerId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RegisterUemDeviceRequest::setOwnerId(const std::string& ownerId)
|
||||||
|
{
|
||||||
|
ownerId_ = ownerId;
|
||||||
|
setParameter("OwnerId", ownerId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string RegisterUemDeviceRequest::getDeviceId()const
|
std::string RegisterUemDeviceRequest::getDeviceId()const
|
||||||
{
|
{
|
||||||
return deviceId_;
|
return deviceId_;
|
||||||
|
|||||||
51
aliyuncvc/src/model/UpdateDeviceStartupPictureRequest.cc
Normal file
51
aliyuncvc/src/model/UpdateDeviceStartupPictureRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::UpdateDeviceStartupPictureRequest;
|
||||||
|
|
||||||
|
UpdateDeviceStartupPictureRequest::UpdateDeviceStartupPictureRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "UpdateDeviceStartupPicture")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateDeviceStartupPictureRequest::~UpdateDeviceStartupPictureRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UpdateDeviceStartupPictureRequest::getSerialNumber()const
|
||||||
|
{
|
||||||
|
return serialNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDeviceStartupPictureRequest::setSerialNumber(const std::string& serialNumber)
|
||||||
|
{
|
||||||
|
serialNumber_ = serialNumber;
|
||||||
|
setBodyParameter("SerialNumber", serialNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDeviceStartupPictureRequest::getPicture()const
|
||||||
|
{
|
||||||
|
return picture_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDeviceStartupPictureRequest::setPicture(const std::string& picture)
|
||||||
|
{
|
||||||
|
picture_ = picture;
|
||||||
|
setBodyParameter("Picture", picture);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,58 +14,51 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/dataworks-public/model/UpdateUdfFileResult.h>
|
#include <alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureResult.h>
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
|
|
||||||
using namespace AlibabaCloud::Dataworks_public;
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
UpdateUdfFileResult::UpdateUdfFileResult() :
|
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult() :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
UpdateUdfFileResult::UpdateUdfFileResult(const std::string &payload) :
|
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult(const std::string &payload) :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{
|
{
|
||||||
parse(payload);
|
parse(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateUdfFileResult::~UpdateUdfFileResult()
|
UpdateDeviceStartupPictureResult::~UpdateDeviceStartupPictureResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void UpdateUdfFileResult::parse(const std::string &payload)
|
void UpdateDeviceStartupPictureResult::parse(const std::string &payload)
|
||||||
{
|
{
|
||||||
Json::Reader reader;
|
Json::Reader reader;
|
||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
success_ = value["Success"].asString() == "true";
|
success_ = value["Success"].asString() == "true";
|
||||||
if(!value["ErrorCode"].isNull())
|
|
||||||
errorCode_ = value["ErrorCode"].asString();
|
|
||||||
if(!value["ErrorMessage"].isNull())
|
|
||||||
errorMessage_ = value["ErrorMessage"].asString();
|
|
||||||
if(!value["HttpStatusCode"].isNull())
|
|
||||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int UpdateUdfFileResult::getHttpStatusCode()const
|
std::string UpdateDeviceStartupPictureResult::getMessage()const
|
||||||
{
|
{
|
||||||
return httpStatusCode_;
|
return message_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string UpdateUdfFileResult::getErrorCode()const
|
int UpdateDeviceStartupPictureResult::getErrorCode()const
|
||||||
{
|
{
|
||||||
return errorCode_;
|
return errorCode_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string UpdateUdfFileResult::getErrorMessage()const
|
bool UpdateDeviceStartupPictureResult::getSuccess()const
|
||||||
{
|
|
||||||
return errorMessage_;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool UpdateUdfFileResult::getSuccess()const
|
|
||||||
{
|
{
|
||||||
return success_;
|
return success_;
|
||||||
}
|
}
|
||||||
@@ -37,6 +37,8 @@ set(arms_public_header_model
|
|||||||
include/alibabacloud/arms/model/CreateAlertContactGroupResult.h
|
include/alibabacloud/arms/model/CreateAlertContactGroupResult.h
|
||||||
include/alibabacloud/arms/model/CreateRetcodeAppRequest.h
|
include/alibabacloud/arms/model/CreateRetcodeAppRequest.h
|
||||||
include/alibabacloud/arms/model/CreateRetcodeAppResult.h
|
include/alibabacloud/arms/model/CreateRetcodeAppResult.h
|
||||||
|
include/alibabacloud/arms/model/CreateWehookRequest.h
|
||||||
|
include/alibabacloud/arms/model/CreateWehookResult.h
|
||||||
include/alibabacloud/arms/model/DeleteAlertContactRequest.h
|
include/alibabacloud/arms/model/DeleteAlertContactRequest.h
|
||||||
include/alibabacloud/arms/model/DeleteAlertContactResult.h
|
include/alibabacloud/arms/model/DeleteAlertContactResult.h
|
||||||
include/alibabacloud/arms/model/DeleteAlertContactGroupRequest.h
|
include/alibabacloud/arms/model/DeleteAlertContactGroupRequest.h
|
||||||
@@ -87,6 +89,8 @@ set(arms_public_header_model
|
|||||||
include/alibabacloud/arms/model/QueryMetricResult.h
|
include/alibabacloud/arms/model/QueryMetricResult.h
|
||||||
include/alibabacloud/arms/model/QueryMetricByPageRequest.h
|
include/alibabacloud/arms/model/QueryMetricByPageRequest.h
|
||||||
include/alibabacloud/arms/model/QueryMetricByPageResult.h
|
include/alibabacloud/arms/model/QueryMetricByPageResult.h
|
||||||
|
include/alibabacloud/arms/model/SaveTraceAppConfigRequest.h
|
||||||
|
include/alibabacloud/arms/model/SaveTraceAppConfigResult.h
|
||||||
include/alibabacloud/arms/model/SearchAlertContactRequest.h
|
include/alibabacloud/arms/model/SearchAlertContactRequest.h
|
||||||
include/alibabacloud/arms/model/SearchAlertContactResult.h
|
include/alibabacloud/arms/model/SearchAlertContactResult.h
|
||||||
include/alibabacloud/arms/model/SearchAlertContactGroupRequest.h
|
include/alibabacloud/arms/model/SearchAlertContactGroupRequest.h
|
||||||
@@ -118,7 +122,9 @@ set(arms_public_header_model
|
|||||||
include/alibabacloud/arms/model/UpdateAlertContactGroupRequest.h
|
include/alibabacloud/arms/model/UpdateAlertContactGroupRequest.h
|
||||||
include/alibabacloud/arms/model/UpdateAlertContactGroupResult.h
|
include/alibabacloud/arms/model/UpdateAlertContactGroupResult.h
|
||||||
include/alibabacloud/arms/model/UpdateAlertRuleRequest.h
|
include/alibabacloud/arms/model/UpdateAlertRuleRequest.h
|
||||||
include/alibabacloud/arms/model/UpdateAlertRuleResult.h )
|
include/alibabacloud/arms/model/UpdateAlertRuleResult.h
|
||||||
|
include/alibabacloud/arms/model/UpdateWebhookRequest.h
|
||||||
|
include/alibabacloud/arms/model/UpdateWebhookResult.h )
|
||||||
|
|
||||||
set(arms_src
|
set(arms_src
|
||||||
src/ARMSClient.cc
|
src/ARMSClient.cc
|
||||||
@@ -138,6 +144,8 @@ set(arms_src
|
|||||||
src/model/CreateAlertContactGroupResult.cc
|
src/model/CreateAlertContactGroupResult.cc
|
||||||
src/model/CreateRetcodeAppRequest.cc
|
src/model/CreateRetcodeAppRequest.cc
|
||||||
src/model/CreateRetcodeAppResult.cc
|
src/model/CreateRetcodeAppResult.cc
|
||||||
|
src/model/CreateWehookRequest.cc
|
||||||
|
src/model/CreateWehookResult.cc
|
||||||
src/model/DeleteAlertContactRequest.cc
|
src/model/DeleteAlertContactRequest.cc
|
||||||
src/model/DeleteAlertContactResult.cc
|
src/model/DeleteAlertContactResult.cc
|
||||||
src/model/DeleteAlertContactGroupRequest.cc
|
src/model/DeleteAlertContactGroupRequest.cc
|
||||||
@@ -188,6 +196,8 @@ set(arms_src
|
|||||||
src/model/QueryMetricResult.cc
|
src/model/QueryMetricResult.cc
|
||||||
src/model/QueryMetricByPageRequest.cc
|
src/model/QueryMetricByPageRequest.cc
|
||||||
src/model/QueryMetricByPageResult.cc
|
src/model/QueryMetricByPageResult.cc
|
||||||
|
src/model/SaveTraceAppConfigRequest.cc
|
||||||
|
src/model/SaveTraceAppConfigResult.cc
|
||||||
src/model/SearchAlertContactRequest.cc
|
src/model/SearchAlertContactRequest.cc
|
||||||
src/model/SearchAlertContactResult.cc
|
src/model/SearchAlertContactResult.cc
|
||||||
src/model/SearchAlertContactGroupRequest.cc
|
src/model/SearchAlertContactGroupRequest.cc
|
||||||
@@ -219,7 +229,9 @@ set(arms_src
|
|||||||
src/model/UpdateAlertContactGroupRequest.cc
|
src/model/UpdateAlertContactGroupRequest.cc
|
||||||
src/model/UpdateAlertContactGroupResult.cc
|
src/model/UpdateAlertContactGroupResult.cc
|
||||||
src/model/UpdateAlertRuleRequest.cc
|
src/model/UpdateAlertRuleRequest.cc
|
||||||
src/model/UpdateAlertRuleResult.cc )
|
src/model/UpdateAlertRuleResult.cc
|
||||||
|
src/model/UpdateWebhookRequest.cc
|
||||||
|
src/model/UpdateWebhookResult.cc )
|
||||||
|
|
||||||
add_library(arms ${LIB_TYPE}
|
add_library(arms ${LIB_TYPE}
|
||||||
${arms_public_header}
|
${arms_public_header}
|
||||||
|
|||||||
@@ -38,6 +38,8 @@
|
|||||||
#include "model/CreateAlertContactGroupResult.h"
|
#include "model/CreateAlertContactGroupResult.h"
|
||||||
#include "model/CreateRetcodeAppRequest.h"
|
#include "model/CreateRetcodeAppRequest.h"
|
||||||
#include "model/CreateRetcodeAppResult.h"
|
#include "model/CreateRetcodeAppResult.h"
|
||||||
|
#include "model/CreateWehookRequest.h"
|
||||||
|
#include "model/CreateWehookResult.h"
|
||||||
#include "model/DeleteAlertContactRequest.h"
|
#include "model/DeleteAlertContactRequest.h"
|
||||||
#include "model/DeleteAlertContactResult.h"
|
#include "model/DeleteAlertContactResult.h"
|
||||||
#include "model/DeleteAlertContactGroupRequest.h"
|
#include "model/DeleteAlertContactGroupRequest.h"
|
||||||
@@ -88,6 +90,8 @@
|
|||||||
#include "model/QueryMetricResult.h"
|
#include "model/QueryMetricResult.h"
|
||||||
#include "model/QueryMetricByPageRequest.h"
|
#include "model/QueryMetricByPageRequest.h"
|
||||||
#include "model/QueryMetricByPageResult.h"
|
#include "model/QueryMetricByPageResult.h"
|
||||||
|
#include "model/SaveTraceAppConfigRequest.h"
|
||||||
|
#include "model/SaveTraceAppConfigResult.h"
|
||||||
#include "model/SearchAlertContactRequest.h"
|
#include "model/SearchAlertContactRequest.h"
|
||||||
#include "model/SearchAlertContactResult.h"
|
#include "model/SearchAlertContactResult.h"
|
||||||
#include "model/SearchAlertContactGroupRequest.h"
|
#include "model/SearchAlertContactGroupRequest.h"
|
||||||
@@ -120,6 +124,8 @@
|
|||||||
#include "model/UpdateAlertContactGroupResult.h"
|
#include "model/UpdateAlertContactGroupResult.h"
|
||||||
#include "model/UpdateAlertRuleRequest.h"
|
#include "model/UpdateAlertRuleRequest.h"
|
||||||
#include "model/UpdateAlertRuleResult.h"
|
#include "model/UpdateAlertRuleResult.h"
|
||||||
|
#include "model/UpdateWebhookRequest.h"
|
||||||
|
#include "model/UpdateWebhookResult.h"
|
||||||
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
@@ -153,6 +159,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateRetcodeAppResult> CreateRetcodeAppOutcome;
|
typedef Outcome<Error, Model::CreateRetcodeAppResult> CreateRetcodeAppOutcome;
|
||||||
typedef std::future<CreateRetcodeAppOutcome> CreateRetcodeAppOutcomeCallable;
|
typedef std::future<CreateRetcodeAppOutcome> CreateRetcodeAppOutcomeCallable;
|
||||||
typedef std::function<void(const ARMSClient*, const Model::CreateRetcodeAppRequest&, const CreateRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRetcodeAppAsyncHandler;
|
typedef std::function<void(const ARMSClient*, const Model::CreateRetcodeAppRequest&, const CreateRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRetcodeAppAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateWehookResult> CreateWehookOutcome;
|
||||||
|
typedef std::future<CreateWehookOutcome> CreateWehookOutcomeCallable;
|
||||||
|
typedef std::function<void(const ARMSClient*, const Model::CreateWehookRequest&, const CreateWehookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWehookAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteAlertContactResult> DeleteAlertContactOutcome;
|
typedef Outcome<Error, Model::DeleteAlertContactResult> DeleteAlertContactOutcome;
|
||||||
typedef std::future<DeleteAlertContactOutcome> DeleteAlertContactOutcomeCallable;
|
typedef std::future<DeleteAlertContactOutcome> DeleteAlertContactOutcomeCallable;
|
||||||
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertContactRequest&, const DeleteAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertContactAsyncHandler;
|
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertContactRequest&, const DeleteAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertContactAsyncHandler;
|
||||||
@@ -228,6 +237,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::QueryMetricByPageResult> QueryMetricByPageOutcome;
|
typedef Outcome<Error, Model::QueryMetricByPageResult> QueryMetricByPageOutcome;
|
||||||
typedef std::future<QueryMetricByPageOutcome> QueryMetricByPageOutcomeCallable;
|
typedef std::future<QueryMetricByPageOutcome> QueryMetricByPageOutcomeCallable;
|
||||||
typedef std::function<void(const ARMSClient*, const Model::QueryMetricByPageRequest&, const QueryMetricByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricByPageAsyncHandler;
|
typedef std::function<void(const ARMSClient*, const Model::QueryMetricByPageRequest&, const QueryMetricByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricByPageAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SaveTraceAppConfigResult> SaveTraceAppConfigOutcome;
|
||||||
|
typedef std::future<SaveTraceAppConfigOutcome> SaveTraceAppConfigOutcomeCallable;
|
||||||
|
typedef std::function<void(const ARMSClient*, const Model::SaveTraceAppConfigRequest&, const SaveTraceAppConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveTraceAppConfigAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SearchAlertContactResult> SearchAlertContactOutcome;
|
typedef Outcome<Error, Model::SearchAlertContactResult> SearchAlertContactOutcome;
|
||||||
typedef std::future<SearchAlertContactOutcome> SearchAlertContactOutcomeCallable;
|
typedef std::future<SearchAlertContactOutcome> SearchAlertContactOutcomeCallable;
|
||||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactRequest&, const SearchAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactAsyncHandler;
|
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactRequest&, const SearchAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactAsyncHandler;
|
||||||
@@ -276,6 +288,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::UpdateAlertRuleResult> UpdateAlertRuleOutcome;
|
typedef Outcome<Error, Model::UpdateAlertRuleResult> UpdateAlertRuleOutcome;
|
||||||
typedef std::future<UpdateAlertRuleOutcome> UpdateAlertRuleOutcomeCallable;
|
typedef std::future<UpdateAlertRuleOutcome> UpdateAlertRuleOutcomeCallable;
|
||||||
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertRuleRequest&, const UpdateAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertRuleAsyncHandler;
|
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertRuleRequest&, const UpdateAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertRuleAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateWebhookResult> UpdateWebhookOutcome;
|
||||||
|
typedef std::future<UpdateWebhookOutcome> UpdateWebhookOutcomeCallable;
|
||||||
|
typedef std::function<void(const ARMSClient*, const Model::UpdateWebhookRequest&, const UpdateWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWebhookAsyncHandler;
|
||||||
|
|
||||||
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
@@ -305,6 +320,9 @@ namespace AlibabaCloud
|
|||||||
CreateRetcodeAppOutcome createRetcodeApp(const Model::CreateRetcodeAppRequest &request)const;
|
CreateRetcodeAppOutcome createRetcodeApp(const Model::CreateRetcodeAppRequest &request)const;
|
||||||
void createRetcodeAppAsync(const Model::CreateRetcodeAppRequest& request, const CreateRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createRetcodeAppAsync(const Model::CreateRetcodeAppRequest& request, const CreateRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateRetcodeAppOutcomeCallable createRetcodeAppCallable(const Model::CreateRetcodeAppRequest& request) const;
|
CreateRetcodeAppOutcomeCallable createRetcodeAppCallable(const Model::CreateRetcodeAppRequest& request) const;
|
||||||
|
CreateWehookOutcome createWehook(const Model::CreateWehookRequest &request)const;
|
||||||
|
void createWehookAsync(const Model::CreateWehookRequest& request, const CreateWehookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateWehookOutcomeCallable createWehookCallable(const Model::CreateWehookRequest& request) const;
|
||||||
DeleteAlertContactOutcome deleteAlertContact(const Model::DeleteAlertContactRequest &request)const;
|
DeleteAlertContactOutcome deleteAlertContact(const Model::DeleteAlertContactRequest &request)const;
|
||||||
void deleteAlertContactAsync(const Model::DeleteAlertContactRequest& request, const DeleteAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteAlertContactAsync(const Model::DeleteAlertContactRequest& request, const DeleteAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteAlertContactOutcomeCallable deleteAlertContactCallable(const Model::DeleteAlertContactRequest& request) const;
|
DeleteAlertContactOutcomeCallable deleteAlertContactCallable(const Model::DeleteAlertContactRequest& request) const;
|
||||||
@@ -380,6 +398,9 @@ namespace AlibabaCloud
|
|||||||
QueryMetricByPageOutcome queryMetricByPage(const Model::QueryMetricByPageRequest &request)const;
|
QueryMetricByPageOutcome queryMetricByPage(const Model::QueryMetricByPageRequest &request)const;
|
||||||
void queryMetricByPageAsync(const Model::QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void queryMetricByPageAsync(const Model::QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
QueryMetricByPageOutcomeCallable queryMetricByPageCallable(const Model::QueryMetricByPageRequest& request) const;
|
QueryMetricByPageOutcomeCallable queryMetricByPageCallable(const Model::QueryMetricByPageRequest& request) const;
|
||||||
|
SaveTraceAppConfigOutcome saveTraceAppConfig(const Model::SaveTraceAppConfigRequest &request)const;
|
||||||
|
void saveTraceAppConfigAsync(const Model::SaveTraceAppConfigRequest& request, const SaveTraceAppConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SaveTraceAppConfigOutcomeCallable saveTraceAppConfigCallable(const Model::SaveTraceAppConfigRequest& request) const;
|
||||||
SearchAlertContactOutcome searchAlertContact(const Model::SearchAlertContactRequest &request)const;
|
SearchAlertContactOutcome searchAlertContact(const Model::SearchAlertContactRequest &request)const;
|
||||||
void searchAlertContactAsync(const Model::SearchAlertContactRequest& request, const SearchAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void searchAlertContactAsync(const Model::SearchAlertContactRequest& request, const SearchAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SearchAlertContactOutcomeCallable searchAlertContactCallable(const Model::SearchAlertContactRequest& request) const;
|
SearchAlertContactOutcomeCallable searchAlertContactCallable(const Model::SearchAlertContactRequest& request) const;
|
||||||
@@ -428,6 +449,9 @@ namespace AlibabaCloud
|
|||||||
UpdateAlertRuleOutcome updateAlertRule(const Model::UpdateAlertRuleRequest &request)const;
|
UpdateAlertRuleOutcome updateAlertRule(const Model::UpdateAlertRuleRequest &request)const;
|
||||||
void updateAlertRuleAsync(const Model::UpdateAlertRuleRequest& request, const UpdateAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateAlertRuleAsync(const Model::UpdateAlertRuleRequest& request, const UpdateAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateAlertRuleOutcomeCallable updateAlertRuleCallable(const Model::UpdateAlertRuleRequest& request) const;
|
UpdateAlertRuleOutcomeCallable updateAlertRuleCallable(const Model::UpdateAlertRuleRequest& request) const;
|
||||||
|
UpdateWebhookOutcome updateWebhook(const Model::UpdateWebhookRequest &request)const;
|
||||||
|
void updateWebhookAsync(const Model::UpdateWebhookRequest& request, const UpdateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateWebhookOutcomeCallable updateWebhookCallable(const Model::UpdateWebhookRequest& request) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
|||||||
69
arms/include/alibabacloud/arms/model/CreateWehookRequest.h
Normal file
69
arms/include/alibabacloud/arms/model/CreateWehookRequest.h
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/arms/ARMSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ARMS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ARMS_EXPORT CreateWehookRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateWehookRequest();
|
||||||
|
~CreateWehookRequest();
|
||||||
|
|
||||||
|
std::string getHeaders()const;
|
||||||
|
void setHeaders(const std::string& headers);
|
||||||
|
std::string getMethod()const;
|
||||||
|
void setMethod(const std::string& method);
|
||||||
|
std::string getParams()const;
|
||||||
|
void setParams(const std::string& params);
|
||||||
|
std::string getProxyUserId()const;
|
||||||
|
void setProxyUserId(const std::string& proxyUserId);
|
||||||
|
std::string getBody()const;
|
||||||
|
void setBody(const std::string& body);
|
||||||
|
std::string getUrl()const;
|
||||||
|
void setUrl(const std::string& url);
|
||||||
|
std::string getContactName()const;
|
||||||
|
void setContactName(const std::string& contactName);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string headers_;
|
||||||
|
std::string method_;
|
||||||
|
std::string params_;
|
||||||
|
std::string proxyUserId_;
|
||||||
|
std::string body_;
|
||||||
|
std::string url_;
|
||||||
|
std::string contactName_;
|
||||||
|
std::string regionId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKREQUEST_H_
|
||||||
51
arms/include/alibabacloud/arms/model/CreateWehookResult.h
Normal file
51
arms/include/alibabacloud/arms/model/CreateWehookResult.h
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/arms/ARMSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ARMS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ARMS_EXPORT CreateWehookResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateWehookResult();
|
||||||
|
explicit CreateWehookResult(const std::string &payload);
|
||||||
|
~CreateWehookResult();
|
||||||
|
std::string getContactId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string contactId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_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_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/arms/ARMSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ARMS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ARMS_EXPORT SaveTraceAppConfigRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Settings
|
||||||
|
{
|
||||||
|
std::string value;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
|
||||||
|
public:
|
||||||
|
SaveTraceAppConfigRequest();
|
||||||
|
~SaveTraceAppConfigRequest();
|
||||||
|
|
||||||
|
std::vector<Settings> getSettings()const;
|
||||||
|
void setSettings(const std::vector<Settings>& settings);
|
||||||
|
std::string getPid()const;
|
||||||
|
void setPid(const std::string& pid);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::vector<Settings> settings_;
|
||||||
|
std::string pid_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/arms/ARMSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ARMS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ARMS_EXPORT SaveTraceAppConfigResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SaveTraceAppConfigResult();
|
||||||
|
explicit SaveTraceAppConfigResult(const std::string &payload);
|
||||||
|
~SaveTraceAppConfigResult();
|
||||||
|
std::string getData()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string data_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_
|
||||||
@@ -35,23 +35,29 @@ namespace AlibabaCloud
|
|||||||
SearchAlertContactGroupRequest();
|
SearchAlertContactGroupRequest();
|
||||||
~SearchAlertContactGroupRequest();
|
~SearchAlertContactGroupRequest();
|
||||||
|
|
||||||
std::string getContactName()const;
|
|
||||||
void setContactName(const std::string& contactName);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
long getContactId()const;
|
long getContactId()const;
|
||||||
void setContactId(long contactId);
|
void setContactId(long contactId);
|
||||||
|
bool getIsDetail()const;
|
||||||
|
void setIsDetail(bool isDetail);
|
||||||
std::string getContactGroupName()const;
|
std::string getContactGroupName()const;
|
||||||
void setContactGroupName(const std::string& contactGroupName);
|
void setContactGroupName(const std::string& contactGroupName);
|
||||||
std::string getProxyUserId()const;
|
std::string getProxyUserId()const;
|
||||||
void setProxyUserId(const std::string& proxyUserId);
|
void setProxyUserId(const std::string& proxyUserId);
|
||||||
|
std::string getContactName()const;
|
||||||
|
void setContactName(const std::string& contactName);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
std::string getContactGroupIds()const;
|
||||||
|
void setContactGroupIds(const std::string& contactGroupIds);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string contactName_;
|
|
||||||
std::string regionId_;
|
|
||||||
long contactId_;
|
long contactId_;
|
||||||
|
bool isDetail_;
|
||||||
std::string contactGroupName_;
|
std::string contactGroupName_;
|
||||||
std::string proxyUserId_;
|
std::string proxyUserId_;
|
||||||
|
std::string contactName_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string contactGroupIds_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
|||||||
void setCurrentPage(const std::string& currentPage);
|
void setCurrentPage(const std::string& currentPage);
|
||||||
std::string getProxyUserId()const;
|
std::string getProxyUserId()const;
|
||||||
void setProxyUserId(const std::string& proxyUserId);
|
void setProxyUserId(const std::string& proxyUserId);
|
||||||
|
std::string getContactIds()const;
|
||||||
|
void setContactIds(const std::string& contactIds);
|
||||||
std::string getContactName()const;
|
std::string getContactName()const;
|
||||||
void setContactName(const std::string& contactName);
|
void setContactName(const std::string& contactName);
|
||||||
std::string getPhone()const;
|
std::string getPhone()const;
|
||||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::string currentPage_;
|
std::string currentPage_;
|
||||||
std::string proxyUserId_;
|
std::string proxyUserId_;
|
||||||
|
std::string contactIds_;
|
||||||
std::string contactName_;
|
std::string contactName_;
|
||||||
std::string phone_;
|
std::string phone_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
|||||||
std::string userId;
|
std::string userId;
|
||||||
long createTime;
|
long createTime;
|
||||||
long updateTime;
|
long updateTime;
|
||||||
|
std::string webhook;
|
||||||
long contactId;
|
long contactId;
|
||||||
std::string dingRobot;
|
std::string dingRobot;
|
||||||
std::string contactName;
|
std::string contactName;
|
||||||
|
|||||||
72
arms/include/alibabacloud/arms/model/UpdateWebhookRequest.h
Normal file
72
arms/include/alibabacloud/arms/model/UpdateWebhookRequest.h
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/arms/ARMSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ARMS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ARMS_EXPORT UpdateWebhookRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UpdateWebhookRequest();
|
||||||
|
~UpdateWebhookRequest();
|
||||||
|
|
||||||
|
std::string getHeaders()const;
|
||||||
|
void setHeaders(const std::string& headers);
|
||||||
|
std::string getMethod()const;
|
||||||
|
void setMethod(const std::string& method);
|
||||||
|
long getContactId()const;
|
||||||
|
void setContactId(long contactId);
|
||||||
|
std::string getParams()const;
|
||||||
|
void setParams(const std::string& params);
|
||||||
|
std::string getProxyUserId()const;
|
||||||
|
void setProxyUserId(const std::string& proxyUserId);
|
||||||
|
std::string getBody()const;
|
||||||
|
void setBody(const std::string& body);
|
||||||
|
std::string getUrl()const;
|
||||||
|
void setUrl(const std::string& url);
|
||||||
|
std::string getContactName()const;
|
||||||
|
void setContactName(const std::string& contactName);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string headers_;
|
||||||
|
std::string method_;
|
||||||
|
long contactId_;
|
||||||
|
std::string params_;
|
||||||
|
std::string proxyUserId_;
|
||||||
|
std::string body_;
|
||||||
|
std::string url_;
|
||||||
|
std::string contactName_;
|
||||||
|
std::string regionId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_
|
||||||
51
arms/include/alibabacloud/arms/model/UpdateWebhookResult.h
Normal file
51
arms/include/alibabacloud/arms/model/UpdateWebhookResult.h
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/arms/ARMSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ARMS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ARMS_EXPORT UpdateWebhookResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateWebhookResult();
|
||||||
|
explicit UpdateWebhookResult(const std::string &payload);
|
||||||
|
~UpdateWebhookResult();
|
||||||
|
bool getIsSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
bool isSuccess_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKRESULT_H_
|
||||||
@@ -339,6 +339,42 @@ ARMSClient::CreateRetcodeAppOutcomeCallable ARMSClient::createRetcodeAppCallable
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ARMSClient::CreateWehookOutcome ARMSClient::createWehook(const CreateWehookRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateWehookOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateWehookOutcome(CreateWehookResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateWehookOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ARMSClient::createWehookAsync(const CreateWehookRequest& request, const CreateWehookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createWehook(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ARMSClient::CreateWehookOutcomeCallable ARMSClient::createWehookCallable(const CreateWehookRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateWehookOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createWehook(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ARMSClient::DeleteAlertContactOutcome ARMSClient::deleteAlertContact(const DeleteAlertContactRequest &request) const
|
ARMSClient::DeleteAlertContactOutcome ARMSClient::deleteAlertContact(const DeleteAlertContactRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1239,6 +1275,42 @@ ARMSClient::QueryMetricByPageOutcomeCallable ARMSClient::queryMetricByPageCallab
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ARMSClient::SaveTraceAppConfigOutcome ARMSClient::saveTraceAppConfig(const SaveTraceAppConfigRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SaveTraceAppConfigOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SaveTraceAppConfigOutcome(SaveTraceAppConfigResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SaveTraceAppConfigOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ARMSClient::saveTraceAppConfigAsync(const SaveTraceAppConfigRequest& request, const SaveTraceAppConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, saveTraceAppConfig(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ARMSClient::SaveTraceAppConfigOutcomeCallable ARMSClient::saveTraceAppConfigCallable(const SaveTraceAppConfigRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SaveTraceAppConfigOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->saveTraceAppConfig(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ARMSClient::SearchAlertContactOutcome ARMSClient::searchAlertContact(const SearchAlertContactRequest &request) const
|
ARMSClient::SearchAlertContactOutcome ARMSClient::searchAlertContact(const SearchAlertContactRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1815,3 +1887,39 @@ ARMSClient::UpdateAlertRuleOutcomeCallable ARMSClient::updateAlertRuleCallable(c
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ARMSClient::UpdateWebhookOutcome ARMSClient::updateWebhook(const UpdateWebhookRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateWebhookOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateWebhookOutcome(UpdateWebhookResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateWebhookOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ARMSClient::updateWebhookAsync(const UpdateWebhookRequest& request, const UpdateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateWebhook(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ARMSClient::UpdateWebhookOutcomeCallable ARMSClient::updateWebhookCallable(const UpdateWebhookRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateWebhookOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateWebhook(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
117
arms/src/model/CreateWehookRequest.cc
Normal file
117
arms/src/model/CreateWehookRequest.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/arms/model/CreateWehookRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ARMS::Model::CreateWehookRequest;
|
||||||
|
|
||||||
|
CreateWehookRequest::CreateWehookRequest() :
|
||||||
|
RpcServiceRequest("arms", "2019-08-08", "CreateWehook")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateWehookRequest::~CreateWehookRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getHeaders()const
|
||||||
|
{
|
||||||
|
return headers_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setHeaders(const std::string& headers)
|
||||||
|
{
|
||||||
|
headers_ = headers;
|
||||||
|
setParameter("Headers", headers);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getMethod()const
|
||||||
|
{
|
||||||
|
return method_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setMethod(const std::string& method)
|
||||||
|
{
|
||||||
|
method_ = method;
|
||||||
|
setParameter("Method", method);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getParams()const
|
||||||
|
{
|
||||||
|
return params_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setParams(const std::string& params)
|
||||||
|
{
|
||||||
|
params_ = params;
|
||||||
|
setParameter("Params", params);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getProxyUserId()const
|
||||||
|
{
|
||||||
|
return proxyUserId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setProxyUserId(const std::string& proxyUserId)
|
||||||
|
{
|
||||||
|
proxyUserId_ = proxyUserId;
|
||||||
|
setParameter("ProxyUserId", proxyUserId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getBody()const
|
||||||
|
{
|
||||||
|
return body_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setBody(const std::string& body)
|
||||||
|
{
|
||||||
|
body_ = body;
|
||||||
|
setParameter("Body", body);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getUrl()const
|
||||||
|
{
|
||||||
|
return url_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setUrl(const std::string& url)
|
||||||
|
{
|
||||||
|
url_ = url;
|
||||||
|
setParameter("Url", url);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getContactName()const
|
||||||
|
{
|
||||||
|
return contactName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setContactName(const std::string& contactName)
|
||||||
|
{
|
||||||
|
contactName_ = contactName;
|
||||||
|
setParameter("ContactName", contactName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookRequest::getRegionId()const
|
||||||
|
{
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateWehookRequest::setRegionId(const std::string& regionId)
|
||||||
|
{
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter("RegionId", regionId);
|
||||||
|
}
|
||||||
|
|
||||||
51
arms/src/model/CreateWehookResult.cc
Normal file
51
arms/src/model/CreateWehookResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/arms/model/CreateWehookResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ARMS;
|
||||||
|
using namespace AlibabaCloud::ARMS::Model;
|
||||||
|
|
||||||
|
CreateWehookResult::CreateWehookResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateWehookResult::CreateWehookResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateWehookResult::~CreateWehookResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateWehookResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["ContactId"].isNull())
|
||||||
|
contactId_ = value["ContactId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateWehookResult::getContactId()const
|
||||||
|
{
|
||||||
|
return contactId_;
|
||||||
|
}
|
||||||
|
|
||||||
56
arms/src/model/SaveTraceAppConfigRequest.cc
Normal file
56
arms/src/model/SaveTraceAppConfigRequest.cc
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/arms/model/SaveTraceAppConfigRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ARMS::Model::SaveTraceAppConfigRequest;
|
||||||
|
|
||||||
|
SaveTraceAppConfigRequest::SaveTraceAppConfigRequest() :
|
||||||
|
RpcServiceRequest("arms", "2019-08-08", "SaveTraceAppConfig")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SaveTraceAppConfigRequest::~SaveTraceAppConfigRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::vector<SaveTraceAppConfigRequest::Settings> SaveTraceAppConfigRequest::getSettings()const
|
||||||
|
{
|
||||||
|
return settings_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveTraceAppConfigRequest::setSettings(const std::vector<Settings>& settings)
|
||||||
|
{
|
||||||
|
settings_ = settings;
|
||||||
|
for(int dep1 = 0; dep1!= settings.size(); dep1++) {
|
||||||
|
auto settingsObj = settings.at(dep1);
|
||||||
|
std::string settingsObjStr = "Settings." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(settingsObjStr + ".Value", settingsObj.value);
|
||||||
|
setParameter(settingsObjStr + ".Key", settingsObj.key);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveTraceAppConfigRequest::getPid()const
|
||||||
|
{
|
||||||
|
return pid_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveTraceAppConfigRequest::setPid(const std::string& pid)
|
||||||
|
{
|
||||||
|
pid_ = pid;
|
||||||
|
setParameter("Pid", pid);
|
||||||
|
}
|
||||||
|
|
||||||
51
arms/src/model/SaveTraceAppConfigResult.cc
Normal file
51
arms/src/model/SaveTraceAppConfigResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/arms/model/SaveTraceAppConfigResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ARMS;
|
||||||
|
using namespace AlibabaCloud::ARMS::Model;
|
||||||
|
|
||||||
|
SaveTraceAppConfigResult::SaveTraceAppConfigResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SaveTraceAppConfigResult::SaveTraceAppConfigResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SaveTraceAppConfigResult::~SaveTraceAppConfigResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SaveTraceAppConfigResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Data"].isNull())
|
||||||
|
data_ = value["Data"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveTraceAppConfigResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user