Compare commits
75 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9315d79274 | ||
|
|
3d5b584e84 | ||
|
|
37abc8eec5 | ||
|
|
d55b09e788 | ||
|
|
f6e57b5ea2 | ||
|
|
68d7262f25 | ||
|
|
ea41bc1249 | ||
|
|
4b3913d6cd | ||
|
|
9c95c03a45 | ||
|
|
c0ffe42087 | ||
|
|
2cc7e5ae64 | ||
|
|
1a056a97c6 | ||
|
|
46862eb08d | ||
|
|
bb4a9050b4 | ||
|
|
1cba907b97 | ||
|
|
efc5b31e28 | ||
|
|
23a40fc487 | ||
|
|
03fb512456 | ||
|
|
56c516a238 | ||
|
|
2fd4ebc0a8 | ||
|
|
735c64063a | ||
|
|
bb7f64aeb3 | ||
|
|
396541400e | ||
|
|
e312177cd9 | ||
|
|
f60556764e | ||
|
|
6c1dbc8b06 | ||
|
|
ab7e92063b | ||
|
|
92d767384b | ||
|
|
32e4dafba9 | ||
|
|
9f2fb5a595 | ||
|
|
590e1bdfaf | ||
|
|
bde21ef594 | ||
|
|
7a8130ffb0 | ||
|
|
4bb1852f8a | ||
|
|
b1e2187ca5 | ||
|
|
92be79728f | ||
|
|
e1097547c2 | ||
|
|
87957e1677 | ||
|
|
8ef38637d2 | ||
|
|
7041b32dc4 | ||
|
|
d3ae1f02a3 | ||
|
|
87fc3376cb | ||
|
|
f6ec6326cb | ||
|
|
bd43e54271 | ||
|
|
f16150baca | ||
|
|
a51834c8d0 | ||
|
|
23bea0505a | ||
|
|
8c15acf5c8 | ||
|
|
00cb41817f | ||
|
|
f90eac2a6c | ||
|
|
f69779be3f | ||
|
|
feab9dcc06 | ||
|
|
d1c3599e3d | ||
|
|
f1483f8582 | ||
|
|
d005611f56 | ||
|
|
7e80260525 | ||
|
|
4aa00d49d1 | ||
|
|
a1dd7e1dbd | ||
|
|
e6cff897c5 | ||
|
|
4d493b157c | ||
|
|
8a1c79417e | ||
|
|
ad02a00036 | ||
|
|
3dd38f70c2 | ||
|
|
cc6cea96e4 | ||
|
|
f819d8866c | ||
|
|
d53a27c55f | ||
|
|
112b1d25da | ||
|
|
f51d79f1b9 | ||
|
|
e53482d9c6 | ||
|
|
b004f4b9fa | ||
|
|
c9cf723562 | ||
|
|
b1020d412c | ||
|
|
c4d6cb06f1 | ||
|
|
eeaeed4023 | ||
|
|
d7e14e0c1b |
251
CHANGELOG
251
CHANGELOG
@@ -1,3 +1,254 @@
|
||||
2020-05-22 Version: 1.36.428
|
||||
- Add schedule crud api.
|
||||
|
||||
2020-05-21 Version: 1.36.427
|
||||
- Support more error Codes.
|
||||
|
||||
2020-05-20 Version: 1.36.426
|
||||
- Generated 2019-09-10 for `waf-openapi`.
|
||||
|
||||
2020-05-20 Version: 1.36.425
|
||||
- Edit GetTrace and SearchTraces api.
|
||||
|
||||
2020-05-20 Version: 1.36.424
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-05-19 Version: 1.36.423
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-05-19 Version: 1.36.422
|
||||
- Initial version.
|
||||
|
||||
2020-05-18 Version: 1.36.421
|
||||
- Support sequence for listNodes.
|
||||
- Support StrictSatisfiedTargetCapacity for applyNodes.
|
||||
|
||||
|
||||
2020-05-18 Version: 1.36.420
|
||||
- Fix DescribeIpcLiveAddress , add in params.
|
||||
|
||||
2020-05-18 Version: 1.36.419
|
||||
- Fix DescribeIpcLiveAddress , add in params.
|
||||
|
||||
2020-05-17 Version: 1.36.418
|
||||
- Open API publish.
|
||||
|
||||
2020-05-17 Version: 1.36.417
|
||||
- Open API publish.
|
||||
|
||||
2020-05-17 Version: 1.36.416
|
||||
- Open API publish.
|
||||
|
||||
2020-05-17 Version: 1.36.415
|
||||
- Open API publish.
|
||||
|
||||
2020-05-17 Version: 1.36.414
|
||||
- Open API publish.
|
||||
|
||||
2020-05-14 Version: 1.36.413
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- Fix DescribeCacheAnalysisReport return empty BigKeys because of wrong type defination.
|
||||
|
||||
2020-05-14 Version: 1.36.412
|
||||
- Supported Grant Permission.
|
||||
- Supported Revoke Permission.
|
||||
|
||||
2020-05-14 Version: 1.36.411
|
||||
- Add demo edition auth.
|
||||
|
||||
2020-05-13 Version: 1.36.410
|
||||
- Add ListDevicesImages DescribeIpcLiveAddress.
|
||||
- Modify DescribeDevices.
|
||||
|
||||
2020-05-13 Version: 1.36.409
|
||||
- Add ExportTas apis.
|
||||
|
||||
2020-05-13 Version: 1.36.408
|
||||
- Generated 2019-09-10 for `waf-openapi`.
|
||||
|
||||
2020-05-13 Version: 1.36.407
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-05-13 Version: 1.36.406
|
||||
- Add ExportTas apis.
|
||||
|
||||
2020-05-13 Version: 1.36.405
|
||||
- About 2019-03-07 and 2018-09-16 Version.
|
||||
|
||||
2020-05-12 Version: 1.36.404
|
||||
- Supported DRM.
|
||||
|
||||
2020-05-11 Version: 1.36.403
|
||||
- Add new openapi ApplyNodes.
|
||||
|
||||
2020-05-11 Version: 1.36.402
|
||||
- Support CreationCategory for CreateDBCluster.
|
||||
|
||||
2020-05-09 Version: 1.36.401
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2020-05-09 Version: 1.36.400
|
||||
- VideoSearch deploy SDK.
|
||||
|
||||
2020-05-08 Version: 1.36.399
|
||||
- Support sg for region.
|
||||
|
||||
2020-05-06 Version: 1.36.398
|
||||
- Describe describeAvailableResource.
|
||||
|
||||
2020-04-30 Version: 1.36.397
|
||||
- Add prometheus ListDashboards api.
|
||||
|
||||
2020-04-29 Version: 1.36.396
|
||||
- Add prometheus ListDashboards api.
|
||||
|
||||
2020-04-29 Version: 1.36.395
|
||||
- Add prometheus ListDashboards api.
|
||||
|
||||
2020-04-29 Version: 1.36.394
|
||||
- Supported VideoProduce.
|
||||
|
||||
2020-04-29 Version: 1.36.393
|
||||
- Supported VideoProduce.
|
||||
|
||||
2020-04-29 Version: 1.36.392
|
||||
- Supported VideoProduce.
|
||||
|
||||
2020-04-29 Version: 1.36.391
|
||||
- Add ListTemplateVersions API.
|
||||
- GenerateExecutionPolicy supports TemplateVersion.
|
||||
- CreateTemplate and UpdateTemplate support VersionName.
|
||||
|
||||
|
||||
2020-04-29 Version: 1.36.390
|
||||
- Support groupId operations.
|
||||
|
||||
2020-04-29 Version: 1.36.389
|
||||
- Add ExportTas apis.
|
||||
|
||||
2020-04-29 Version: 1.36.388
|
||||
- Support Document Translation.
|
||||
- Support Lanuage Detection.
|
||||
|
||||
2020-04-29 Version: 1.36.387
|
||||
- Sync cdn APIs.
|
||||
|
||||
2020-04-29 Version: 1.36.386
|
||||
- Add Scdn APIS.
|
||||
- Sync cdn APIS.
|
||||
|
||||
2020-04-28 Version: 1.36.385
|
||||
- Generated 2019-03-15 for `fnf`.
|
||||
|
||||
2020-04-28 Version: 1.36.384
|
||||
- Add CompareFaceVerify API.
|
||||
|
||||
2020-04-27 Version: 1.36.383
|
||||
- Support watermark.
|
||||
|
||||
2020-04-27 Version: 1.36.382
|
||||
- Describe describeAvailableResource.
|
||||
|
||||
2020-04-27 Version: 1.36.381
|
||||
- ContrastFaceVerify Return SubCode.
|
||||
|
||||
2020-04-27 Version: 1.36.380
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2020-04-26 Version: 1.36.379
|
||||
- New api publish.
|
||||
|
||||
2020-04-25 Version: 1.36.378
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- Add RestoreTime for CreateInstance API.
|
||||
|
||||
2020-04-24 Version: 1.36.377
|
||||
- Publish apis for ledger instances.
|
||||
- Publish apis for members.
|
||||
- Publish apis for time anchors.
|
||||
- Publish apis for endpoints.
|
||||
|
||||
2020-04-24 Version: 1.36.376
|
||||
- Publish apis for ledger instances.
|
||||
- Publish apis for members.
|
||||
- Publish apis for time anchors.
|
||||
- Publish apis for endpoints.
|
||||
|
||||
2020-04-23 Version: 1.36.375
|
||||
- GetUser API return user execute query count information.
|
||||
|
||||
2020-04-23 Version: 1.36.374
|
||||
- Fixed bugs for MassPush API.
|
||||
|
||||
2020-04-23 Version: 1.36.373
|
||||
- Add location info.
|
||||
|
||||
2020-04-23 Version: 1.36.372
|
||||
- Support groupId operations.
|
||||
|
||||
2020-04-22 Version: 1.36.371
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2020-04-21 Version: 1.36.370
|
||||
- Supported API for DescribeTags.
|
||||
- Supported API for ListTagResources.
|
||||
- Supported API for TagResources.
|
||||
- Supported API for UntagResources.
|
||||
|
||||
2020-04-21 Version: 1.36.369
|
||||
- Supported PackageDesign Apis.
|
||||
- Supported Api ListPackageDesignModelTypes.
|
||||
- Supported Api PreviewModelForPackageDesign.
|
||||
- Supported Api RenderImageForPackageDesign.
|
||||
- Supported Api GetRenderResult.
|
||||
|
||||
2020-04-21 Version: 1.36.368
|
||||
- Add Statistics API.
|
||||
|
||||
2020-04-20 Version: 1.36.367
|
||||
- Add TemplateId.
|
||||
|
||||
2020-04-20 Version: 1.36.366
|
||||
- Fix FaceContrastPicture.
|
||||
|
||||
2020-04-20 Version: 1.36.365
|
||||
- Add kibana network white Ips.
|
||||
|
||||
2020-04-19 Version: 1.36.364
|
||||
- Multimedia poc modified.
|
||||
|
||||
2020-04-17 Version: 1.36.363
|
||||
- DescribeInstanceTypes support TotalEniQueueQuantity.
|
||||
|
||||
2020-04-16 Version: 1.36.362
|
||||
- Modify `SubmitSmarttagJob`.
|
||||
|
||||
2020-04-16 Version: 1.36.361
|
||||
- Add ModifyWhiteIps.
|
||||
|
||||
2020-04-16 Version: 1.36.360
|
||||
- Add BatchOptimization param in Stop and Start Instances.
|
||||
- Add RemoveSymbols in GetInstanceConsoleOutput.
|
||||
- Add ImageFamily in ModifyImageAttribute.
|
||||
- Customize InstanceType on DedicatedHosts is supported.
|
||||
- Add StorageCapacityUnit interfaces.
|
||||
- Add param Tag in CreateAutoSnapshotPolicy.
|
||||
|
||||
2020-04-16 Version: 1.36.359
|
||||
- Add features for open api.
|
||||
|
||||
2020-04-15 Version: 1.36.358
|
||||
- Add pre train service api.
|
||||
|
||||
2020-04-15 Version: 1.36.357
|
||||
- CreateNode API add return NodeId.
|
||||
|
||||
2020-04-15 Version: 1.36.356
|
||||
- Vision-poc response modified.
|
||||
|
||||
2020-04-14 Version: 1.36.355
|
||||
- Support ListSensitiveColumns, ListSensitiveColumnsDetail API.
|
||||
- ListUsers API return user execute query count information.
|
||||
|
||||
@@ -141,6 +141,8 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeSupportLinesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeTagsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeTagsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeTransferDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeTransferDomainsResult.h
|
||||
include/alibabacloud/alidns/model/ExecuteGtmRecoveryPlanRequest.h
|
||||
@@ -149,6 +151,8 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/GetMainDomainNameResult.h
|
||||
include/alibabacloud/alidns/model/GetTxtRecordForVerifyRequest.h
|
||||
include/alibabacloud/alidns/model/GetTxtRecordForVerifyResult.h
|
||||
include/alibabacloud/alidns/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/alidns/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h
|
||||
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h
|
||||
include/alibabacloud/alidns/model/OperateBatchDomainRequest.h
|
||||
@@ -169,10 +173,14 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/SetGtmAccessModeResult.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h
|
||||
include/alibabacloud/alidns/model/TagResourcesRequest.h
|
||||
include/alibabacloud/alidns/model/TagResourcesResult.h
|
||||
include/alibabacloud/alidns/model/TransferDomainRequest.h
|
||||
include/alibabacloud/alidns/model/TransferDomainResult.h
|
||||
include/alibabacloud/alidns/model/UnbindInstanceDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/UnbindInstanceDomainsResult.h
|
||||
include/alibabacloud/alidns/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/alidns/model/UntagResourcesResult.h
|
||||
include/alibabacloud/alidns/model/UpdateCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
|
||||
@@ -318,6 +326,8 @@ set(alidns_src
|
||||
src/model/DescribeSubDomainRecordsResult.cc
|
||||
src/model/DescribeSupportLinesRequest.cc
|
||||
src/model/DescribeSupportLinesResult.cc
|
||||
src/model/DescribeTagsRequest.cc
|
||||
src/model/DescribeTagsResult.cc
|
||||
src/model/DescribeTransferDomainsRequest.cc
|
||||
src/model/DescribeTransferDomainsResult.cc
|
||||
src/model/ExecuteGtmRecoveryPlanRequest.cc
|
||||
@@ -326,6 +336,8 @@ set(alidns_src
|
||||
src/model/GetMainDomainNameResult.cc
|
||||
src/model/GetTxtRecordForVerifyRequest.cc
|
||||
src/model/GetTxtRecordForVerifyResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyHichinaDomainDNSRequest.cc
|
||||
src/model/ModifyHichinaDomainDNSResult.cc
|
||||
src/model/OperateBatchDomainRequest.cc
|
||||
@@ -346,10 +358,14 @@ set(alidns_src
|
||||
src/model/SetGtmAccessModeResult.cc
|
||||
src/model/SetGtmMonitorStatusRequest.cc
|
||||
src/model/SetGtmMonitorStatusResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/TransferDomainRequest.cc
|
||||
src/model/TransferDomainResult.cc
|
||||
src/model/UnbindInstanceDomainsRequest.cc
|
||||
src/model/UnbindInstanceDomainsResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpdateCustomLineRequest.cc
|
||||
src/model/UpdateCustomLineResult.cc
|
||||
src/model/UpdateDNSSLBWeightRequest.cc
|
||||
|
||||
@@ -142,6 +142,8 @@
|
||||
#include "model/DescribeSubDomainRecordsResult.h"
|
||||
#include "model/DescribeSupportLinesRequest.h"
|
||||
#include "model/DescribeSupportLinesResult.h"
|
||||
#include "model/DescribeTagsRequest.h"
|
||||
#include "model/DescribeTagsResult.h"
|
||||
#include "model/DescribeTransferDomainsRequest.h"
|
||||
#include "model/DescribeTransferDomainsResult.h"
|
||||
#include "model/ExecuteGtmRecoveryPlanRequest.h"
|
||||
@@ -150,6 +152,8 @@
|
||||
#include "model/GetMainDomainNameResult.h"
|
||||
#include "model/GetTxtRecordForVerifyRequest.h"
|
||||
#include "model/GetTxtRecordForVerifyResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyHichinaDomainDNSRequest.h"
|
||||
#include "model/ModifyHichinaDomainDNSResult.h"
|
||||
#include "model/OperateBatchDomainRequest.h"
|
||||
@@ -170,10 +174,14 @@
|
||||
#include "model/SetGtmAccessModeResult.h"
|
||||
#include "model/SetGtmMonitorStatusRequest.h"
|
||||
#include "model/SetGtmMonitorStatusResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/TransferDomainRequest.h"
|
||||
#include "model/TransferDomainResult.h"
|
||||
#include "model/UnbindInstanceDomainsRequest.h"
|
||||
#include "model/UnbindInstanceDomainsResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpdateCustomLineRequest.h"
|
||||
#include "model/UpdateCustomLineResult.h"
|
||||
#include "model/UpdateDNSSLBWeightRequest.h"
|
||||
@@ -385,6 +393,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSupportLinesResult> DescribeSupportLinesOutcome;
|
||||
typedef std::future<DescribeSupportLinesOutcome> DescribeSupportLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeSupportLinesRequest&, const DescribeSupportLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSupportLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTagsResult> DescribeTagsOutcome;
|
||||
typedef std::future<DescribeTagsOutcome> DescribeTagsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeTagsRequest&, const DescribeTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTransferDomainsResult> DescribeTransferDomainsOutcome;
|
||||
typedef std::future<DescribeTransferDomainsOutcome> DescribeTransferDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeTransferDomainsRequest&, const DescribeTransferDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTransferDomainsAsyncHandler;
|
||||
@@ -397,6 +408,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetTxtRecordForVerifyResult> GetTxtRecordForVerifyOutcome;
|
||||
typedef std::future<GetTxtRecordForVerifyOutcome> GetTxtRecordForVerifyOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::GetTxtRecordForVerifyRequest&, const GetTxtRecordForVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTxtRecordForVerifyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHichinaDomainDNSResult> ModifyHichinaDomainDNSOutcome;
|
||||
typedef std::future<ModifyHichinaDomainDNSOutcome> ModifyHichinaDomainDNSOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ModifyHichinaDomainDNSRequest&, const ModifyHichinaDomainDNSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHichinaDomainDNSAsyncHandler;
|
||||
@@ -427,12 +441,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetGtmMonitorStatusResult> SetGtmMonitorStatusOutcome;
|
||||
typedef std::future<SetGtmMonitorStatusOutcome> SetGtmMonitorStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetGtmMonitorStatusRequest&, const SetGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGtmMonitorStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TransferDomainResult> TransferDomainOutcome;
|
||||
typedef std::future<TransferDomainOutcome> TransferDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::TransferDomainRequest&, const TransferDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindInstanceDomainsResult> UnbindInstanceDomainsOutcome;
|
||||
typedef std::future<UnbindInstanceDomainsOutcome> UnbindInstanceDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UnbindInstanceDomainsRequest&, const UnbindInstanceDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindInstanceDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCustomLineResult> UpdateCustomLineOutcome;
|
||||
typedef std::future<UpdateCustomLineOutcome> UpdateCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateCustomLineRequest&, const UpdateCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCustomLineAsyncHandler;
|
||||
@@ -651,6 +671,9 @@ namespace AlibabaCloud
|
||||
DescribeSupportLinesOutcome describeSupportLines(const Model::DescribeSupportLinesRequest &request)const;
|
||||
void describeSupportLinesAsync(const Model::DescribeSupportLinesRequest& request, const DescribeSupportLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSupportLinesOutcomeCallable describeSupportLinesCallable(const Model::DescribeSupportLinesRequest& request) const;
|
||||
DescribeTagsOutcome describeTags(const Model::DescribeTagsRequest &request)const;
|
||||
void describeTagsAsync(const Model::DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTagsOutcomeCallable describeTagsCallable(const Model::DescribeTagsRequest& request) const;
|
||||
DescribeTransferDomainsOutcome describeTransferDomains(const Model::DescribeTransferDomainsRequest &request)const;
|
||||
void describeTransferDomainsAsync(const Model::DescribeTransferDomainsRequest& request, const DescribeTransferDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTransferDomainsOutcomeCallable describeTransferDomainsCallable(const Model::DescribeTransferDomainsRequest& request) const;
|
||||
@@ -663,6 +686,9 @@ namespace AlibabaCloud
|
||||
GetTxtRecordForVerifyOutcome getTxtRecordForVerify(const Model::GetTxtRecordForVerifyRequest &request)const;
|
||||
void getTxtRecordForVerifyAsync(const Model::GetTxtRecordForVerifyRequest& request, const GetTxtRecordForVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTxtRecordForVerifyOutcomeCallable getTxtRecordForVerifyCallable(const Model::GetTxtRecordForVerifyRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ModifyHichinaDomainDNSOutcome modifyHichinaDomainDNS(const Model::ModifyHichinaDomainDNSRequest &request)const;
|
||||
void modifyHichinaDomainDNSAsync(const Model::ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHichinaDomainDNSOutcomeCallable modifyHichinaDomainDNSCallable(const Model::ModifyHichinaDomainDNSRequest& request) const;
|
||||
@@ -693,12 +719,18 @@ namespace AlibabaCloud
|
||||
SetGtmMonitorStatusOutcome setGtmMonitorStatus(const Model::SetGtmMonitorStatusRequest &request)const;
|
||||
void setGtmMonitorStatusAsync(const Model::SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetGtmMonitorStatusOutcomeCallable setGtmMonitorStatusCallable(const Model::SetGtmMonitorStatusRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
TransferDomainOutcome transferDomain(const Model::TransferDomainRequest &request)const;
|
||||
void transferDomainAsync(const Model::TransferDomainRequest& request, const TransferDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferDomainOutcomeCallable transferDomainCallable(const Model::TransferDomainRequest& request) const;
|
||||
UnbindInstanceDomainsOutcome unbindInstanceDomains(const Model::UnbindInstanceDomainsRequest &request)const;
|
||||
void unbindInstanceDomainsAsync(const Model::UnbindInstanceDomainsRequest& request, const UnbindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindInstanceDomainsOutcomeCallable unbindInstanceDomainsCallable(const Model::UnbindInstanceDomainsRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpdateCustomLineOutcome updateCustomLine(const Model::UpdateCustomLineRequest &request)const;
|
||||
void updateCustomLineAsync(const Model::UpdateCustomLineRequest& request, const UpdateCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCustomLineOutcomeCallable updateCustomLineCallable(const Model::UpdateCustomLineRequest& request) const;
|
||||
|
||||
@@ -30,6 +30,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeDomainsRequest();
|
||||
@@ -43,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyWord()const;
|
||||
@@ -67,6 +75,7 @@ namespace AlibabaCloud
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string lang_;
|
||||
std::string keyWord_;
|
||||
std::string direction_;
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Domain
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string groupName;
|
||||
bool aliDomain;
|
||||
std::string domainName;
|
||||
@@ -52,6 +57,7 @@ namespace AlibabaCloud
|
||||
bool instanceExpired;
|
||||
long recordCount;
|
||||
long createTimestamp;
|
||||
std::vector<Domain::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSREQUEST_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 DescribeTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTagsRequest();
|
||||
~DescribeTagsRequest();
|
||||
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string resourceType_;
|
||||
long pageNumber_;
|
||||
std::string userClientIp_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSREQUEST_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_ALIDNS_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSRESULT_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 DescribeTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::vector<std::string> values;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
DescribeTagsResult();
|
||||
explicit DescribeTagsResult(const std::string &payload);
|
||||
~DescribeTagsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSRESULT_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_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESREQUEST_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 ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
int getSize()const;
|
||||
void setSize(int size);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
int size_;
|
||||
std::string nextToken_;
|
||||
std::string userClientIp_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESRESULT_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 ListTagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagResource
|
||||
{
|
||||
std::string resourceId;
|
||||
std::string tagKey;
|
||||
std::string resourceType;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
ListTagResourcesResult();
|
||||
explicit ListTagResourcesResult(const std::string &payload);
|
||||
~ListTagResourcesResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<TagResource> getTagResources()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<TagResource> tagResources_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESREQUEST_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 TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
bool getOverWrite()const;
|
||||
void setOverWrite(bool overWrite);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string userClientIp_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string lang_;
|
||||
bool overWrite_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESREQUEST_H_
|
||||
@@ -14,40 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HBASE_MODEL_CREATEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_CREATEINSTANCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT CreateInstanceResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT TagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateInstanceResult();
|
||||
explicit CreateInstanceResult(const std::string &payload);
|
||||
~CreateInstanceResult();
|
||||
std::string getClusterId()const;
|
||||
std::string getOrderId()const;
|
||||
TagResourcesResult();
|
||||
explicit TagResourcesResult(const std::string &payload);
|
||||
~TagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_CREATEINSTANCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESRESULT_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_ALIDNS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESREQUEST_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 UntagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::vector<std::string> getTagKey()const;
|
||||
void setTagKey(const std::vector<std::string>& tagKey);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::vector<std::string> tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESRESULT_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 UntagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UntagResourcesResult();
|
||||
explicit UntagResourcesResult(const std::string &payload);
|
||||
~UntagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
@@ -2211,6 +2211,42 @@ AlidnsClient::DescribeSupportLinesOutcomeCallable AlidnsClient::describeSupportL
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeTagsOutcome AlidnsClient::describeTags(const DescribeTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTagsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTagsOutcome(DescribeTagsResult(outcome.result()));
|
||||
else
|
||||
return DescribeTagsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeTagsAsync(const DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTags(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeTagsOutcomeCallable AlidnsClient::describeTagsCallable(const DescribeTagsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTagsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTags(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeTransferDomainsOutcome AlidnsClient::describeTransferDomains(const DescribeTransferDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2355,6 +2391,42 @@ AlidnsClient::GetTxtRecordForVerifyOutcomeCallable AlidnsClient::getTxtRecordFor
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ListTagResourcesOutcome AlidnsClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListTagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
|
||||
else
|
||||
return ListTagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listTagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::ListTagResourcesOutcomeCallable AlidnsClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listTagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ModifyHichinaDomainDNSOutcome AlidnsClient::modifyHichinaDomainDNS(const ModifyHichinaDomainDNSRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2715,6 +2787,42 @@ AlidnsClient::SetGtmMonitorStatusOutcomeCallable AlidnsClient::setGtmMonitorStat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::TagResourcesOutcome AlidnsClient::tagResources(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
|
||||
else
|
||||
return TagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, tagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::TagResourcesOutcomeCallable AlidnsClient::tagResourcesCallable(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->tagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::TransferDomainOutcome AlidnsClient::transferDomain(const TransferDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2787,6 +2895,42 @@ AlidnsClient::UnbindInstanceDomainsOutcomeCallable AlidnsClient::unbindInstanceD
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UntagResourcesOutcome AlidnsClient::untagResources(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UntagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
|
||||
else
|
||||
return UntagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, untagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UntagResourcesOutcomeCallable AlidnsClient::untagResourcesCallable(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->untagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateCustomLineOutcome AlidnsClient::updateCustomLine(const UpdateCustomLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -71,6 +71,22 @@ void DescribeDomainsRequest::setPageSize(long pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainsRequest::Tag> DescribeDomainsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeDomainsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -77,6 +77,16 @@ void DescribeDomainsResult::parse(const std::string &payload)
|
||||
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
||||
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
||||
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
||||
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
|
||||
for (auto allDomainsNodeTagsTag : allTagsNode)
|
||||
{
|
||||
Domain::Tag tagsObject;
|
||||
if(!allDomainsNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allDomainsNodeTagsTag["Key"].asString();
|
||||
if(!allDomainsNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allDomainsNodeTagsTag["Value"].asString();
|
||||
domainsObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
for (auto value : allDnsServers)
|
||||
domainsObject.dnsServers.push_back(value.asString());
|
||||
|
||||
84
alidns/src/model/DescribeTagsRequest.cc
Normal file
84
alidns/src/model/DescribeTagsRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeTagsRequest;
|
||||
|
||||
DescribeTagsRequest::DescribeTagsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeTags")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTagsRequest::~DescribeTagsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeTagsRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
81
alidns/src/model/DescribeTagsResult.cc
Normal file
81
alidns/src/model/DescribeTagsResult.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeTagsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeTagsResult::DescribeTagsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTagsResult::DescribeTagsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTagsResult::~DescribeTagsResult()
|
||||
{}
|
||||
|
||||
void DescribeTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTagsNode = value["Tags"]["Tag"];
|
||||
for (auto valueTagsTag : allTagsNode)
|
||||
{
|
||||
Tag tagsObject;
|
||||
if(!valueTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueTagsTag["Key"].asString();
|
||||
auto allValues = value["Values"]["Value"];
|
||||
for (auto value : allValues)
|
||||
tagsObject.values.push_back(value.asString());
|
||||
tags_.push_back(tagsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeTagsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long DescribeTagsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeTagsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeTagsResult::Tag> DescribeTagsResult::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
113
alidns/src/model/ListTagResourcesRequest.cc
Normal file
113
alidns/src/model/ListTagResourcesRequest.cc
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ListTagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::ListTagResourcesRequest;
|
||||
|
||||
ListTagResourcesRequest::ListTagResourcesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "ListTagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagResourcesRequest::~ListTagResourcesRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> ListTagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
int ListTagResourcesRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
70
alidns/src/model/ListTagResourcesResult.cc
Normal file
70
alidns/src/model/ListTagResourcesResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/ListTagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
ListTagResourcesResult::ListTagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListTagResourcesResult::~ListTagResourcesResult()
|
||||
{}
|
||||
|
||||
void ListTagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTagResourcesNode = value["TagResources"]["TagResource"];
|
||||
for (auto valueTagResourcesTagResource : allTagResourcesNode)
|
||||
{
|
||||
TagResource tagResourcesObject;
|
||||
if(!valueTagResourcesTagResource["TagKey"].isNull())
|
||||
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
|
||||
if(!valueTagResourcesTagResource["TagValue"].isNull())
|
||||
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceId"].isNull())
|
||||
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceType"].isNull())
|
||||
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
|
||||
tagResources_.push_back(tagResourcesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListTagResourcesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
|
||||
{
|
||||
return tagResources_;
|
||||
}
|
||||
|
||||
102
alidns/src/model/TagResourcesRequest.cc
Normal file
102
alidns/src/model/TagResourcesRequest.cc
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/TagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::TagResourcesRequest;
|
||||
|
||||
TagResourcesRequest::TagResourcesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "TagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TagResourcesRequest::~TagResourcesRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> TagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
bool TagResourcesRequest::getOverWrite()const
|
||||
{
|
||||
return overWrite_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setOverWrite(bool overWrite)
|
||||
{
|
||||
overWrite_ = overWrite;
|
||||
setParameter("OverWrite", overWrite ? "true" : "false");
|
||||
}
|
||||
|
||||
44
alidns/src/model/TagResourcesResult.cc
Normal file
44
alidns/src/model/TagResourcesResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/TagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
TagResourcesResult::TagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TagResourcesResult::TagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TagResourcesResult::~TagResourcesResult()
|
||||
{}
|
||||
|
||||
void TagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
99
alidns/src/model/UntagResourcesRequest.cc
Normal file
99
alidns/src/model/UntagResourcesRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/UntagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::UntagResourcesRequest;
|
||||
|
||||
UntagResourcesRequest::UntagResourcesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "UntagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UntagResourcesRequest::~UntagResourcesRequest()
|
||||
{}
|
||||
|
||||
bool UntagResourcesRequest::getAll()const
|
||||
{
|
||||
return all_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setAll(bool all)
|
||||
{
|
||||
all_ = all;
|
||||
setParameter("All", all ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getTagKey()const
|
||||
{
|
||||
return tagKey_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
|
||||
setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
44
alidns/src/model/UntagResourcesResult.cc
Normal file
44
alidns/src/model/UntagResourcesResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/UntagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
UntagResourcesResult::UntagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UntagResourcesResult::~UntagResourcesResult()
|
||||
{}
|
||||
|
||||
void UntagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -31,21 +31,21 @@ AlimtClient::AlimtClient(const Credentials &credentials, const ClientConfigurati
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
|
||||
}
|
||||
|
||||
AlimtClient::AlimtClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
|
||||
}
|
||||
|
||||
AlimtClient::AlimtClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
|
||||
}
|
||||
|
||||
AlimtClient::~AlimtClient()
|
||||
|
||||
@@ -21,26 +21,60 @@ set(aliyuncvc_public_header
|
||||
include/alibabacloud/aliyuncvc/AliyuncvcExport.h )
|
||||
|
||||
set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ActiveDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateEvaluationResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/EndLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/EndLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h
|
||||
@@ -48,30 +82,78 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ListMembersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListUsersResult.h )
|
||||
include/alibabacloud/aliyuncvc/model/ListUsersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h )
|
||||
|
||||
set(aliyuncvc_src
|
||||
src/AliyuncvcClient.cc
|
||||
src/model/ActiveDeviceRequest.cc
|
||||
src/model/ActiveDeviceResult.cc
|
||||
src/model/ActiveMeetingRequest.cc
|
||||
src/model/ActiveMeetingResult.cc
|
||||
src/model/BatchCreateDeviceRequest.cc
|
||||
src/model/BatchCreateDeviceResult.cc
|
||||
src/model/CreateDeviceMeetingRequest.cc
|
||||
src/model/CreateDeviceMeetingResult.cc
|
||||
src/model/CreateEvaluationRequest.cc
|
||||
src/model/CreateEvaluationResult.cc
|
||||
src/model/CreateLiveRequest.cc
|
||||
src/model/CreateLiveResult.cc
|
||||
src/model/CreateMeetingRequest.cc
|
||||
src/model/CreateMeetingResult.cc
|
||||
src/model/CreateMeetingInternationalRequest.cc
|
||||
src/model/CreateMeetingInternationalResult.cc
|
||||
src/model/CreateUserRequest.cc
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/CreateUserInternationalRequest.cc
|
||||
src/model/CreateUserInternationalResult.cc
|
||||
src/model/DeleteDeviceRequest.cc
|
||||
src/model/DeleteDeviceResult.cc
|
||||
src/model/DeleteLiveRequest.cc
|
||||
src/model/DeleteLiveResult.cc
|
||||
src/model/DeleteMeetingRequest.cc
|
||||
src/model/DeleteMeetingResult.cc
|
||||
src/model/DeleteUserRequest.cc
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/EndDeviceMeetingRequest.cc
|
||||
src/model/EndDeviceMeetingResult.cc
|
||||
src/model/EndLiveRequest.cc
|
||||
src/model/EndLiveResult.cc
|
||||
src/model/GetDeviceActiveCodeRequest.cc
|
||||
src/model/GetDeviceActiveCodeResult.cc
|
||||
src/model/GetDeviceTokenRequest.cc
|
||||
src/model/GetDeviceTokenResult.cc
|
||||
src/model/GetMeetingRequest.cc
|
||||
src/model/GetMeetingResult.cc
|
||||
src/model/GetMeetingInternationalRequest.cc
|
||||
src/model/GetMeetingInternationalResult.cc
|
||||
src/model/GetMeetingMemberRequest.cc
|
||||
src/model/GetMeetingMemberResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/JoinDeviceMeetingRequest.cc
|
||||
src/model/JoinDeviceMeetingResult.cc
|
||||
src/model/JoinLiveRequest.cc
|
||||
src/model/JoinLiveResult.cc
|
||||
src/model/JoinMeetingRequest.cc
|
||||
src/model/JoinMeetingResult.cc
|
||||
src/model/JoinMeetingInternationalRequest.cc
|
||||
src/model/JoinMeetingInternationalResult.cc
|
||||
src/model/ListDeviceIpRequest.cc
|
||||
src/model/ListDeviceIpResult.cc
|
||||
src/model/ListEvaluationsRequest.cc
|
||||
src/model/ListEvaluationsResult.cc
|
||||
src/model/ListIsvStatisticsRequest.cc
|
||||
@@ -79,7 +161,21 @@ set(aliyuncvc_src
|
||||
src/model/ListMembersRequest.cc
|
||||
src/model/ListMembersResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc )
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/ModifyMeetingPasswordRequest.cc
|
||||
src/model/ModifyMeetingPasswordResult.cc
|
||||
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
||||
src/model/ModifyMeetingPasswordInternationalResult.cc
|
||||
src/model/RegisterDeviceRequest.cc
|
||||
src/model/RegisterDeviceResult.cc
|
||||
src/model/RegisterUemDeviceRequest.cc
|
||||
src/model/RegisterUemDeviceResult.cc
|
||||
src/model/StartLiveRequest.cc
|
||||
src/model/StartLiveResult.cc
|
||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||
src/model/UpdateDeviceHeartBeatResult.cc
|
||||
src/model/UpdateLivePasswordRequest.cc
|
||||
src/model/UpdateLivePasswordResult.cc )
|
||||
|
||||
add_library(aliyuncvc ${LIB_TYPE}
|
||||
${aliyuncvc_public_header}
|
||||
|
||||
@@ -22,26 +22,60 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AliyuncvcExport.h"
|
||||
#include "model/ActiveDeviceRequest.h"
|
||||
#include "model/ActiveDeviceResult.h"
|
||||
#include "model/ActiveMeetingRequest.h"
|
||||
#include "model/ActiveMeetingResult.h"
|
||||
#include "model/BatchCreateDeviceRequest.h"
|
||||
#include "model/BatchCreateDeviceResult.h"
|
||||
#include "model/CreateDeviceMeetingRequest.h"
|
||||
#include "model/CreateDeviceMeetingResult.h"
|
||||
#include "model/CreateEvaluationRequest.h"
|
||||
#include "model/CreateEvaluationResult.h"
|
||||
#include "model/CreateLiveRequest.h"
|
||||
#include "model/CreateLiveResult.h"
|
||||
#include "model/CreateMeetingRequest.h"
|
||||
#include "model/CreateMeetingResult.h"
|
||||
#include "model/CreateMeetingInternationalRequest.h"
|
||||
#include "model/CreateMeetingInternationalResult.h"
|
||||
#include "model/CreateUserRequest.h"
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/CreateUserInternationalRequest.h"
|
||||
#include "model/CreateUserInternationalResult.h"
|
||||
#include "model/DeleteDeviceRequest.h"
|
||||
#include "model/DeleteDeviceResult.h"
|
||||
#include "model/DeleteLiveRequest.h"
|
||||
#include "model/DeleteLiveResult.h"
|
||||
#include "model/DeleteMeetingRequest.h"
|
||||
#include "model/DeleteMeetingResult.h"
|
||||
#include "model/DeleteUserRequest.h"
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/EndDeviceMeetingRequest.h"
|
||||
#include "model/EndDeviceMeetingResult.h"
|
||||
#include "model/EndLiveRequest.h"
|
||||
#include "model/EndLiveResult.h"
|
||||
#include "model/GetDeviceActiveCodeRequest.h"
|
||||
#include "model/GetDeviceActiveCodeResult.h"
|
||||
#include "model/GetDeviceTokenRequest.h"
|
||||
#include "model/GetDeviceTokenResult.h"
|
||||
#include "model/GetMeetingRequest.h"
|
||||
#include "model/GetMeetingResult.h"
|
||||
#include "model/GetMeetingInternationalRequest.h"
|
||||
#include "model/GetMeetingInternationalResult.h"
|
||||
#include "model/GetMeetingMemberRequest.h"
|
||||
#include "model/GetMeetingMemberResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/JoinDeviceMeetingRequest.h"
|
||||
#include "model/JoinDeviceMeetingResult.h"
|
||||
#include "model/JoinLiveRequest.h"
|
||||
#include "model/JoinLiveResult.h"
|
||||
#include "model/JoinMeetingRequest.h"
|
||||
#include "model/JoinMeetingResult.h"
|
||||
#include "model/JoinMeetingInternationalRequest.h"
|
||||
#include "model/JoinMeetingInternationalResult.h"
|
||||
#include "model/ListDeviceIpRequest.h"
|
||||
#include "model/ListDeviceIpResult.h"
|
||||
#include "model/ListEvaluationsRequest.h"
|
||||
#include "model/ListEvaluationsResult.h"
|
||||
#include "model/ListIsvStatisticsRequest.h"
|
||||
@@ -50,6 +84,20 @@
|
||||
#include "model/ListMembersResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/ModifyMeetingPasswordRequest.h"
|
||||
#include "model/ModifyMeetingPasswordResult.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
||||
#include "model/RegisterDeviceRequest.h"
|
||||
#include "model/RegisterDeviceResult.h"
|
||||
#include "model/RegisterUemDeviceRequest.h"
|
||||
#include "model/RegisterUemDeviceResult.h"
|
||||
#include "model/StartLiveRequest.h"
|
||||
#include "model/StartLiveResult.h"
|
||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||
#include "model/UpdateDeviceHeartBeatResult.h"
|
||||
#include "model/UpdateLivePasswordRequest.h"
|
||||
#include "model/UpdateLivePasswordResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -59,36 +107,87 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT AliyuncvcClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ActiveDeviceResult> ActiveDeviceOutcome;
|
||||
typedef std::future<ActiveDeviceOutcome> ActiveDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveDeviceRequest&, const ActiveDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ActiveMeetingResult> ActiveMeetingOutcome;
|
||||
typedef std::future<ActiveMeetingOutcome> ActiveMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingRequest&, const ActiveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchCreateDeviceResult> BatchCreateDeviceOutcome;
|
||||
typedef std::future<BatchCreateDeviceOutcome> BatchCreateDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::BatchCreateDeviceRequest&, const BatchCreateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDeviceMeetingResult> CreateDeviceMeetingOutcome;
|
||||
typedef std::future<CreateDeviceMeetingOutcome> CreateDeviceMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateDeviceMeetingRequest&, const CreateDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateEvaluationResult> CreateEvaluationOutcome;
|
||||
typedef std::future<CreateEvaluationOutcome> CreateEvaluationOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateEvaluationRequest&, const CreateEvaluationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEvaluationAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateLiveResult> CreateLiveOutcome;
|
||||
typedef std::future<CreateLiveOutcome> CreateLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateLiveRequest&, const CreateLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMeetingResult> CreateMeetingOutcome;
|
||||
typedef std::future<CreateMeetingOutcome> CreateMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateMeetingRequest&, const CreateMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMeetingInternationalResult> CreateMeetingInternationalOutcome;
|
||||
typedef std::future<CreateMeetingInternationalOutcome> CreateMeetingInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateMeetingInternationalRequest&, const CreateMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMeetingInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
|
||||
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserInternationalResult> CreateUserInternationalOutcome;
|
||||
typedef std::future<CreateUserInternationalOutcome> CreateUserInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserInternationalRequest&, const CreateUserInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDeviceResult> DeleteDeviceOutcome;
|
||||
typedef std::future<DeleteDeviceOutcome> DeleteDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteDeviceRequest&, const DeleteDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveResult> DeleteLiveOutcome;
|
||||
typedef std::future<DeleteLiveOutcome> DeleteLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteLiveRequest&, const DeleteLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMeetingResult> DeleteMeetingOutcome;
|
||||
typedef std::future<DeleteMeetingOutcome> DeleteMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteMeetingRequest&, const DeleteMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
|
||||
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::EndDeviceMeetingResult> EndDeviceMeetingOutcome;
|
||||
typedef std::future<EndDeviceMeetingOutcome> EndDeviceMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::EndDeviceMeetingRequest&, const EndDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndDeviceMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::EndLiveResult> EndLiveOutcome;
|
||||
typedef std::future<EndLiveOutcome> EndLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::EndLiveRequest&, const EndLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndLiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceActiveCodeResult> GetDeviceActiveCodeOutcome;
|
||||
typedef std::future<GetDeviceActiveCodeOutcome> GetDeviceActiveCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceActiveCodeRequest&, const GetDeviceActiveCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceActiveCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
||||
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMeetingResult> GetMeetingOutcome;
|
||||
typedef std::future<GetMeetingOutcome> GetMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingRequest&, const GetMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMeetingInternationalResult> GetMeetingInternationalOutcome;
|
||||
typedef std::future<GetMeetingInternationalOutcome> GetMeetingInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingInternationalRequest&, const GetMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMeetingMemberResult> GetMeetingMemberOutcome;
|
||||
typedef std::future<GetMeetingMemberOutcome> GetMeetingMemberOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingMemberRequest&, const GetMeetingMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::JoinDeviceMeetingResult> JoinDeviceMeetingOutcome;
|
||||
typedef std::future<JoinDeviceMeetingOutcome> JoinDeviceMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::JoinDeviceMeetingRequest&, const JoinDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinDeviceMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::JoinLiveResult> JoinLiveOutcome;
|
||||
typedef std::future<JoinLiveOutcome> JoinLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::JoinLiveRequest&, const JoinLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinLiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::JoinMeetingResult> JoinMeetingOutcome;
|
||||
typedef std::future<JoinMeetingOutcome> JoinMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingRequest&, const JoinMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
|
||||
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
|
||||
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListEvaluationsResult> ListEvaluationsOutcome;
|
||||
typedef std::future<ListEvaluationsOutcome> ListEvaluationsOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListEvaluationsRequest&, const ListEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEvaluationsAsyncHandler;
|
||||
@@ -101,41 +200,113 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyMeetingPasswordResult> ModifyMeetingPasswordOutcome;
|
||||
typedef std::future<ModifyMeetingPasswordOutcome> ModifyMeetingPasswordOutcomeCallable;
|
||||
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 std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
|
||||
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterUemDeviceResult> RegisterUemDeviceOutcome;
|
||||
typedef std::future<RegisterUemDeviceOutcome> RegisterUemDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterUemDeviceRequest&, const RegisterUemDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterUemDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
|
||||
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDeviceHeartBeatResult> UpdateDeviceHeartBeatOutcome;
|
||||
typedef std::future<UpdateDeviceHeartBeatOutcome> UpdateDeviceHeartBeatOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceHeartBeatRequest&, const UpdateDeviceHeartBeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceHeartBeatAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLivePasswordResult> UpdateLivePasswordOutcome;
|
||||
typedef std::future<UpdateLivePasswordOutcome> UpdateLivePasswordOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateLivePasswordRequest&, const UpdateLivePasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLivePasswordAsyncHandler;
|
||||
|
||||
AliyuncvcClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AliyuncvcClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AliyuncvcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AliyuncvcClient();
|
||||
ActiveDeviceOutcome activeDevice(const Model::ActiveDeviceRequest &request)const;
|
||||
void activeDeviceAsync(const Model::ActiveDeviceRequest& request, const ActiveDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActiveDeviceOutcomeCallable activeDeviceCallable(const Model::ActiveDeviceRequest& request) const;
|
||||
ActiveMeetingOutcome activeMeeting(const Model::ActiveMeetingRequest &request)const;
|
||||
void activeMeetingAsync(const Model::ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActiveMeetingOutcomeCallable activeMeetingCallable(const Model::ActiveMeetingRequest& request) const;
|
||||
BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const;
|
||||
void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const;
|
||||
CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const;
|
||||
void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const;
|
||||
CreateEvaluationOutcome createEvaluation(const Model::CreateEvaluationRequest &request)const;
|
||||
void createEvaluationAsync(const Model::CreateEvaluationRequest& request, const CreateEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateEvaluationOutcomeCallable createEvaluationCallable(const Model::CreateEvaluationRequest& request) const;
|
||||
CreateLiveOutcome createLive(const Model::CreateLiveRequest &request)const;
|
||||
void createLiveAsync(const Model::CreateLiveRequest& request, const CreateLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateLiveOutcomeCallable createLiveCallable(const Model::CreateLiveRequest& request) const;
|
||||
CreateMeetingOutcome createMeeting(const Model::CreateMeetingRequest &request)const;
|
||||
void createMeetingAsync(const Model::CreateMeetingRequest& request, const CreateMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMeetingOutcomeCallable createMeetingCallable(const Model::CreateMeetingRequest& request) const;
|
||||
CreateMeetingInternationalOutcome createMeetingInternational(const Model::CreateMeetingInternationalRequest &request)const;
|
||||
void createMeetingInternationalAsync(const Model::CreateMeetingInternationalRequest& request, const CreateMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMeetingInternationalOutcomeCallable createMeetingInternationalCallable(const Model::CreateMeetingInternationalRequest& request) const;
|
||||
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
|
||||
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
|
||||
CreateUserInternationalOutcome createUserInternational(const Model::CreateUserInternationalRequest &request)const;
|
||||
void createUserInternationalAsync(const Model::CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserInternationalOutcomeCallable createUserInternationalCallable(const Model::CreateUserInternationalRequest& request) const;
|
||||
DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const;
|
||||
void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const;
|
||||
DeleteLiveOutcome deleteLive(const Model::DeleteLiveRequest &request)const;
|
||||
void deleteLiveAsync(const Model::DeleteLiveRequest& request, const DeleteLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveOutcomeCallable deleteLiveCallable(const Model::DeleteLiveRequest& request) const;
|
||||
DeleteMeetingOutcome deleteMeeting(const Model::DeleteMeetingRequest &request)const;
|
||||
void deleteMeetingAsync(const Model::DeleteMeetingRequest& request, const DeleteMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMeetingOutcomeCallable deleteMeetingCallable(const Model::DeleteMeetingRequest& request) const;
|
||||
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
|
||||
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
|
||||
EndDeviceMeetingOutcome endDeviceMeeting(const Model::EndDeviceMeetingRequest &request)const;
|
||||
void endDeviceMeetingAsync(const Model::EndDeviceMeetingRequest& request, const EndDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EndDeviceMeetingOutcomeCallable endDeviceMeetingCallable(const Model::EndDeviceMeetingRequest& 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;
|
||||
EndLiveOutcomeCallable endLiveCallable(const Model::EndLiveRequest& 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;
|
||||
GetDeviceActiveCodeOutcomeCallable getDeviceActiveCodeCallable(const Model::GetDeviceActiveCodeRequest& 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;
|
||||
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
|
||||
GetMeetingOutcome getMeeting(const Model::GetMeetingRequest &request)const;
|
||||
void getMeetingAsync(const Model::GetMeetingRequest& request, const GetMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMeetingOutcomeCallable getMeetingCallable(const Model::GetMeetingRequest& request) const;
|
||||
GetMeetingInternationalOutcome getMeetingInternational(const Model::GetMeetingInternationalRequest &request)const;
|
||||
void getMeetingInternationalAsync(const Model::GetMeetingInternationalRequest& request, const GetMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMeetingInternationalOutcomeCallable getMeetingInternationalCallable(const Model::GetMeetingInternationalRequest& request) const;
|
||||
GetMeetingMemberOutcome getMeetingMember(const Model::GetMeetingMemberRequest &request)const;
|
||||
void getMeetingMemberAsync(const Model::GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMeetingMemberOutcomeCallable getMeetingMemberCallable(const Model::GetMeetingMemberRequest& 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;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
JoinDeviceMeetingOutcome joinDeviceMeeting(const Model::JoinDeviceMeetingRequest &request)const;
|
||||
void joinDeviceMeetingAsync(const Model::JoinDeviceMeetingRequest& request, const JoinDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JoinDeviceMeetingOutcomeCallable joinDeviceMeetingCallable(const Model::JoinDeviceMeetingRequest& request) const;
|
||||
JoinLiveOutcome joinLive(const Model::JoinLiveRequest &request)const;
|
||||
void joinLiveAsync(const Model::JoinLiveRequest& request, const JoinLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JoinLiveOutcomeCallable joinLiveCallable(const Model::JoinLiveRequest& request) const;
|
||||
JoinMeetingOutcome joinMeeting(const Model::JoinMeetingRequest &request)const;
|
||||
void joinMeetingAsync(const Model::JoinMeetingRequest& request, const JoinMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JoinMeetingOutcomeCallable joinMeetingCallable(const Model::JoinMeetingRequest& 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;
|
||||
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& 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;
|
||||
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
|
||||
ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const;
|
||||
void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const;
|
||||
@@ -148,6 +319,27 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& 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;
|
||||
ModifyMeetingPasswordOutcomeCallable modifyMeetingPasswordCallable(const Model::ModifyMeetingPasswordRequest& 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;
|
||||
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& 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;
|
||||
RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const;
|
||||
RegisterUemDeviceOutcome registerUemDevice(const Model::RegisterUemDeviceRequest &request)const;
|
||||
void registerUemDeviceAsync(const Model::RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterUemDeviceOutcomeCallable registerUemDeviceCallable(const Model::RegisterUemDeviceRequest& request) const;
|
||||
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
|
||||
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& 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;
|
||||
UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const;
|
||||
UpdateLivePasswordOutcome updateLivePassword(const Model::UpdateLivePasswordRequest &request)const;
|
||||
void updateLivePasswordAsync(const Model::UpdateLivePasswordRequest& request, const UpdateLivePasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLivePasswordOutcomeCallable updateLivePasswordCallable(const Model::UpdateLivePasswordRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -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_ALIYUNCVC_MODEL_ACTIVEDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICEREQUEST_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 ActiveDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ActiveDeviceRequest();
|
||||
~ActiveDeviceRequest();
|
||||
|
||||
std::string getIP()const;
|
||||
void setIP(const std::string& iP);
|
||||
std::string getActiveCode()const;
|
||||
void setActiveCode(const std::string& activeCode);
|
||||
std::string getMac()const;
|
||||
void setMac(const std::string& mac);
|
||||
std::string getDeviceVersion()const;
|
||||
void setDeviceVersion(const std::string& deviceVersion);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string iP_;
|
||||
std::string activeCode_;
|
||||
std::string mac_;
|
||||
std::string deviceVersion_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICEREQUEST_H_
|
||||
@@ -14,46 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECCCPOSTORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATECCCPOSTORDERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CreateCCCPostOrderResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCCCPostOrderResult();
|
||||
explicit CreateCCCPostOrderResult(const std::string &payload);
|
||||
~CreateCCCPostOrderResult();
|
||||
ActiveDeviceResult();
|
||||
explicit ActiveDeviceResult(const std::string &payload);
|
||||
~ActiveDeviceResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getOrderId()const;
|
||||
std::string getCode()const;
|
||||
std::string getToken()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string orderId_;
|
||||
std::string code_;
|
||||
std::string token_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECCCPOSTORDERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICERESULT_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_BATCHCREATEDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICEREQUEST_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 BatchCreateDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchCreateDeviceRequest();
|
||||
~BatchCreateDeviceRequest();
|
||||
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICEREQUEST_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_BATCHCREATEDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICERESULT_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 BatchCreateDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int deviceErrorCode;
|
||||
std::string sN;
|
||||
std::string activeCode;
|
||||
std::string deviceMessage;
|
||||
};
|
||||
|
||||
|
||||
BatchCreateDeviceResult();
|
||||
explicit BatchCreateDeviceResult(const std::string &payload);
|
||||
~BatchCreateDeviceResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
std::vector<Data> getDevices()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
std::vector<Data> devices_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICERESULT_H_
|
||||
@@ -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_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGREQUEST_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 CreateDeviceMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDeviceMeetingRequest();
|
||||
~CreateDeviceMeetingRequest();
|
||||
|
||||
std::string getMeetingName()const;
|
||||
void setMeetingName(const std::string& meetingName);
|
||||
bool getOpenPasswordtag()const;
|
||||
void setOpenPasswordtag(bool openPasswordtag);
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string meetingName_;
|
||||
bool openPasswordtag_;
|
||||
std::string token_;
|
||||
std::string password_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGREQUEST_H_
|
||||
@@ -14,44 +14,49 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PUBLISHPREDICTIVEJOBGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PUBLISHPREDICTIVEJOBGROUPRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT PublishPredictiveJobGroupResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateDeviceMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Devices
|
||||
{
|
||||
std::string meetingCode;
|
||||
std::string meetingUUID;
|
||||
};
|
||||
|
||||
|
||||
PublishPredictiveJobGroupResult();
|
||||
explicit PublishPredictiveJobGroupResult(const std::string &payload);
|
||||
~PublishPredictiveJobGroupResult();
|
||||
CreateDeviceMeetingResult();
|
||||
explicit CreateDeviceMeetingResult(const std::string &payload);
|
||||
~CreateDeviceMeetingResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
int getErrorCode()const;
|
||||
Devices getDevices()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
int errorCode_;
|
||||
Devices devices_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PUBLISHPREDICTIVEJOBGROUPRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGRESULT_H_
|
||||
@@ -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_ALIYUNCVC_MODEL_CREATELIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVEREQUEST_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 CreateLiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateLiveRequest();
|
||||
~CreateLiveRequest();
|
||||
|
||||
std::string getMemo()const;
|
||||
void setMemo(const std::string& memo);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(bool openPasswordFlag);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getLiveName()const;
|
||||
void setLiveName(const std::string& liveName);
|
||||
|
||||
private:
|
||||
std::string memo_;
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string password_;
|
||||
std::string liveName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVEREQUEST_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_CREATELIVERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVERESULT_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 CreateLiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveInfo
|
||||
{
|
||||
std::string streamUUID;
|
||||
std::string liveUUID;
|
||||
};
|
||||
|
||||
|
||||
CreateLiveResult();
|
||||
explicit CreateLiveResult(const std::string &payload);
|
||||
~CreateLiveResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
LiveInfo getLiveInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
LiveInfo liveInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVERESULT_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_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALREQUEST_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 CreateMeetingInternationalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateMeetingInternationalRequest();
|
||||
~CreateMeetingInternationalRequest();
|
||||
|
||||
std::string getMeetingName()const;
|
||||
void setMeetingName(const std::string& meetingName);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(const std::string& openPasswordFlag);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
|
||||
private:
|
||||
std::string meetingName_;
|
||||
std::string userId_;
|
||||
std::string openPasswordFlag_;
|
||||
std::string password_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALREQUEST_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_CREATEMEETINGINTERNATIONALRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALRESULT_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 CreateMeetingInternationalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
std::string meetingCode;
|
||||
std::string meetingUUID;
|
||||
};
|
||||
|
||||
|
||||
CreateMeetingInternationalResult();
|
||||
explicit CreateMeetingInternationalResult(const std::string &payload);
|
||||
~CreateMeetingInternationalResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALRESULT_H_
|
||||
@@ -39,10 +39,22 @@ namespace AlibabaCloud
|
||||
void setMeetingName(const std::string& meetingName);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(bool openPasswordFlag);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
bool getMasterEnableFlag()const;
|
||||
void setMasterEnableFlag(bool masterEnableFlag);
|
||||
std::string getMeetingMode()const;
|
||||
void setMeetingMode(const std::string& meetingMode);
|
||||
|
||||
private:
|
||||
std::string meetingName_;
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string password_;
|
||||
bool masterEnableFlag_;
|
||||
std::string meetingMode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_CREATEUSERINTERNATIONALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALREQUEST_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 CreateUserInternationalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserInternationalRequest();
|
||||
~CreateUserInternationalRequest();
|
||||
|
||||
int getCount()const;
|
||||
void setCount(int count);
|
||||
std::string getUserInfo()const;
|
||||
void setUserInfo(const std::string& userInfo);
|
||||
|
||||
private:
|
||||
int count_;
|
||||
std::string userInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALREQUEST_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_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALRESULT_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 CreateUserInternationalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUserInternationalResult();
|
||||
explicit CreateUserInternationalResult(const std::string &payload);
|
||||
~CreateUserInternationalResult();
|
||||
std::string getMessage()const;
|
||||
std::string getUserId()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string userId_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALRESULT_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_DELETEDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICEREQUEST_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 DeleteDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDeviceRequest();
|
||||
~DeleteDeviceRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICEREQUEST_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_DELETEDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICERESULT_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 DeleteDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDeviceResult();
|
||||
explicit DeleteDeviceResult(const std::string &payload);
|
||||
~DeleteDeviceResult();
|
||||
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_DELETEDEVICERESULT_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_DELETELIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVEREQUEST_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 DeleteLiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveRequest();
|
||||
~DeleteLiveRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVEREQUEST_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_DELETELIVERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVERESULT_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 DeleteLiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLiveResult();
|
||||
explicit DeleteLiveResult(const std::string &payload);
|
||||
~DeleteLiveResult();
|
||||
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_DELETELIVERESULT_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_ENDDEVICEMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGREQUEST_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 EndDeviceMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EndDeviceMeetingRequest();
|
||||
~EndDeviceMeetingRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGREQUEST_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_ENDDEVICEMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGRESULT_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 EndDeviceMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EndDeviceMeetingResult();
|
||||
explicit EndDeviceMeetingResult(const std::string &payload);
|
||||
~EndDeviceMeetingResult();
|
||||
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_ENDDEVICEMEETINGRESULT_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_ENDLIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVEREQUEST_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 EndLiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EndLiveRequest();
|
||||
~EndLiveRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVEREQUEST_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_ENDLIVERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVERESULT_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 EndLiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EndLiveResult();
|
||||
explicit EndLiveResult(const std::string &payload);
|
||||
~EndLiveResult();
|
||||
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_ENDLIVERESULT_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_GETDEVICEACTIVECODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODEREQUEST_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 GetDeviceActiveCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDeviceActiveCodeRequest();
|
||||
~GetDeviceActiveCodeRequest();
|
||||
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODEREQUEST_H_
|
||||
@@ -14,48 +14,51 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT GetJobFileUploadUrlResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceActiveCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int deviceErrorCode;
|
||||
std::string sN;
|
||||
std::string activeCode;
|
||||
std::string deviceMessage;
|
||||
};
|
||||
|
||||
|
||||
GetJobFileUploadUrlResult();
|
||||
explicit GetJobFileUploadUrlResult(const std::string &payload);
|
||||
~GetJobFileUploadUrlResult();
|
||||
std::string getFilePath()const;
|
||||
std::string getUploadUrl()const;
|
||||
GetDeviceActiveCodeResult();
|
||||
explicit GetDeviceActiveCodeResult(const std::string &payload);
|
||||
~GetDeviceActiveCodeResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
int getErrorCode()const;
|
||||
std::vector<Data> getDevices()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string filePath_;
|
||||
std::string uploadUrl_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
int errorCode_;
|
||||
std::vector<Data> devices_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODERESULT_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_GETDEVICETOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENREQUEST_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 GetDeviceTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDeviceTokenRequest();
|
||||
~GetDeviceTokenRequest();
|
||||
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string token_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENREQUEST_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_ALIYUNCVC_MODEL_GETDEVICETOKENRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENRESULT_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 GetDeviceTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetDeviceTokenResult();
|
||||
explicit GetDeviceTokenResult(const std::string &payload);
|
||||
~GetDeviceTokenResult();
|
||||
std::string getMessage()const;
|
||||
std::string getToken()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string token_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENRESULT_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_GETMEETINGINTERNATIONALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALREQUEST_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 GetMeetingInternationalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMeetingInternationalRequest();
|
||||
~GetMeetingInternationalRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_GETMEETINGINTERNATIONALRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALRESULT_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 GetMeetingInternationalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
struct MemberListItem
|
||||
{
|
||||
std::string status;
|
||||
std::string userName;
|
||||
std::string memberUUID;
|
||||
std::string userId;
|
||||
std::string userAvatarUrl;
|
||||
};
|
||||
std::string meetingCode;
|
||||
std::string meetingUUID;
|
||||
std::vector<MemberListItem> memberList;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string meetingName;
|
||||
long validTime;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
|
||||
GetMeetingInternationalResult();
|
||||
explicit GetMeetingInternationalResult(const std::string &payload);
|
||||
~GetMeetingInternationalResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALRESULT_H_
|
||||
@@ -39,16 +39,16 @@ namespace AlibabaCloud
|
||||
~GetMeetingMemberResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
std::vector<std::string> getMembers()const;
|
||||
bool getSuccess()const;
|
||||
std::string getMembers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
std::vector<std::string> members_;
|
||||
bool success_;
|
||||
std::string members_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace AlibabaCloud
|
||||
long createTime;
|
||||
std::string meetingName;
|
||||
long validTime;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_ALIYUNCVC_MODEL_JOINDEVICEMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGREQUEST_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 JoinDeviceMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
JoinDeviceMeetingRequest();
|
||||
~JoinDeviceMeetingRequest();
|
||||
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getMeetingCode()const;
|
||||
void setMeetingCode(const std::string& meetingCode);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string token_;
|
||||
std::string password_;
|
||||
std::string meetingCode_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGREQUEST_H_
|
||||
@@ -14,61 +14,61 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT GetJobsProgressResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinDeviceMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobsProgress
|
||||
struct Device
|
||||
{
|
||||
std::string status;
|
||||
int failed;
|
||||
long startTime;
|
||||
int executing;
|
||||
int duration;
|
||||
int scheduling;
|
||||
int cancelled;
|
||||
int totalCompleted;
|
||||
int totalNotAnswered;
|
||||
int repeatCall;
|
||||
int totalJobs;
|
||||
int paused;
|
||||
struct SlsInfo
|
||||
{
|
||||
std::string project;
|
||||
std::string logstore;
|
||||
std::string logServiceEndpoint;
|
||||
};
|
||||
SlsInfo slsInfo;
|
||||
std::string meetingDomain;
|
||||
std::string meetingCode;
|
||||
std::string memberUUID;
|
||||
std::string meetingUUID;
|
||||
std::string clientAppId;
|
||||
std::string meetingAppId;
|
||||
std::string meetingToken;
|
||||
};
|
||||
|
||||
|
||||
GetJobsProgressResult();
|
||||
explicit GetJobsProgressResult(const std::string &payload);
|
||||
~GetJobsProgressResult();
|
||||
JoinDeviceMeetingResult();
|
||||
explicit JoinDeviceMeetingResult(const std::string &payload);
|
||||
~JoinDeviceMeetingResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
JobsProgress getJobsProgress()const;
|
||||
Device getDevice()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
JobsProgress jobsProgress_;
|
||||
Device device_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGRESULT_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_ALIYUNCVC_MODEL_JOINLIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVEREQUEST_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 JoinLiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
JoinLiveRequest();
|
||||
~JoinLiveRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string userId_;
|
||||
std::string password_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVEREQUEST_H_
|
||||
@@ -14,53 +14,61 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT PreModifyMediaResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinLiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PreModifyMediaParam
|
||||
struct MeetingInfo
|
||||
{
|
||||
std::string ossFile;
|
||||
std::string ossBucket;
|
||||
std::string signatureUrl;
|
||||
std::string ossFilePath;
|
||||
struct SlsInfo
|
||||
{
|
||||
std::string project;
|
||||
std::string logstore;
|
||||
std::string logServiceEndpoint;
|
||||
};
|
||||
SlsInfo slsInfo;
|
||||
std::string meetingDomain;
|
||||
std::string meetingCode;
|
||||
std::string memberUUID;
|
||||
std::string meetingUUID;
|
||||
std::string clientAppId;
|
||||
std::string meetingAppId;
|
||||
std::string meetingToken;
|
||||
};
|
||||
|
||||
|
||||
PreModifyMediaResult();
|
||||
explicit PreModifyMediaResult(const std::string &payload);
|
||||
~PreModifyMediaResult();
|
||||
JoinLiveResult();
|
||||
explicit JoinLiveResult(const std::string &payload);
|
||||
~JoinLiveResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
PreModifyMediaParam getPreModifyMediaParam()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
PreModifyMediaParam preModifyMediaParam_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVERESULT_H_
|
||||
@@ -14,41 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT GetContactInfoByOutboundTaskIdRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinMeetingInternationalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetContactInfoByOutboundTaskIdRequest();
|
||||
~GetContactInfoByOutboundTaskIdRequest();
|
||||
JoinMeetingInternationalRequest();
|
||||
~JoinMeetingInternationalRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getOutboundTaskId()const;
|
||||
void setOutboundTaskId(const std::string& outboundTaskId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getMeetingCode()const;
|
||||
void setMeetingCode(const std::string& meetingCode);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string outboundTaskId_;
|
||||
std::string skillGroupId_;
|
||||
std::string userId_;
|
||||
std::string password_;
|
||||
std::string meetingCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_JOINMEETINGINTERNATIONALRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALRESULT_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 JoinMeetingInternationalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
struct SlsInfo
|
||||
{
|
||||
std::string project;
|
||||
std::string logstore;
|
||||
std::string logServiceEndpoint;
|
||||
};
|
||||
SlsInfo slsInfo;
|
||||
std::string meetingDomain;
|
||||
std::string meetingCode;
|
||||
std::string memberUUID;
|
||||
std::string meetingUUID;
|
||||
std::string clientAppId;
|
||||
std::string meetingAppId;
|
||||
std::string meetingToken;
|
||||
};
|
||||
|
||||
|
||||
JoinMeetingInternationalResult();
|
||||
explicit JoinMeetingInternationalResult(const std::string &payload);
|
||||
~JoinMeetingInternationalResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALRESULT_H_
|
||||
@@ -37,11 +37,14 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getMeetingCode()const;
|
||||
void setMeetingCode(const std::string& meetingCode);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string password_;
|
||||
std::string meetingCode_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_LISTDEVICEIPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPREQUEST_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 ListDeviceIpRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDeviceIpRequest();
|
||||
~ListDeviceIpRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPREQUEST_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_LISTDEVICEIPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPRESULT_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 ListDeviceIpResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DevicesItem
|
||||
{
|
||||
std::string screenCode;
|
||||
std::string ip;
|
||||
std::string ssId;
|
||||
std::string mac;
|
||||
};
|
||||
|
||||
|
||||
ListDeviceIpResult();
|
||||
explicit ListDeviceIpResult(const std::string &payload);
|
||||
~ListDeviceIpResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
std::vector<DevicesItem> getDevices()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
std::vector<DevicesItem> devices_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPRESULT_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_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALREQUEST_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 ModifyMeetingPasswordInternationalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyMeetingPasswordInternationalRequest();
|
||||
~ModifyMeetingPasswordInternationalRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(bool openPasswordFlag);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string meetingUUID_;
|
||||
std::string password_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALREQUEST_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_MODIFYMEETINGPASSWORDINTERNATIONALRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALRESULT_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 ModifyMeetingPasswordInternationalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyMeetingPasswordInternationalResult();
|
||||
explicit ModifyMeetingPasswordInternationalResult(const std::string &payload);
|
||||
~ModifyMeetingPasswordInternationalResult();
|
||||
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_MODIFYMEETINGPASSWORDINTERNATIONALRESULT_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_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDREQUEST_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 ModifyMeetingPasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyMeetingPasswordRequest();
|
||||
~ModifyMeetingPasswordRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(bool openPasswordFlag);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string meetingUUID_;
|
||||
std::string password_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDREQUEST_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_MODIFYMEETINGPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDRESULT_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 ModifyMeetingPasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyMeetingPasswordResult();
|
||||
explicit ModifyMeetingPasswordResult(const std::string &payload);
|
||||
~ModifyMeetingPasswordResult();
|
||||
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_MODIFYMEETINGPASSWORDRESULT_H_
|
||||
@@ -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_ALIYUNCVC_MODEL_REGISTERDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICEREQUEST_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 RegisterDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RegisterDeviceRequest();
|
||||
~RegisterDeviceRequest();
|
||||
|
||||
std::string getIP()const;
|
||||
void setIP(const std::string& iP);
|
||||
std::string getMac()const;
|
||||
void setMac(const std::string& mac);
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
std::string getDeviceVersion()const;
|
||||
void setDeviceVersion(const std::string& deviceVersion);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string iP_;
|
||||
std::string mac_;
|
||||
std::string token_;
|
||||
std::string deviceVersion_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICEREQUEST_H_
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICERESULT_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 RegisterDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeviceInfo
|
||||
{
|
||||
struct MqttParam
|
||||
{
|
||||
std::string userName;
|
||||
std::string reconnectTimeout;
|
||||
std::string cleanSession;
|
||||
std::string port;
|
||||
std::string sDKClientPort;
|
||||
std::string clientId;
|
||||
std::string host;
|
||||
std::string useTLS;
|
||||
std::string topic;
|
||||
std::string groupId;
|
||||
std::string password;
|
||||
std::string tLSPort;
|
||||
};
|
||||
struct AuthWsChannelConfig
|
||||
{
|
||||
int wsOuterReconnTime;
|
||||
std::string token;
|
||||
std::string authWsUrl;
|
||||
};
|
||||
struct SlsConfig
|
||||
{
|
||||
std::string project;
|
||||
std::string logStore;
|
||||
std::string logServiceEndpoint;
|
||||
};
|
||||
std::string screenCode;
|
||||
long registerTime;
|
||||
SlsConfig slsConfig;
|
||||
std::string messageKey;
|
||||
std::string deviceSessionId;
|
||||
MqttParam mqttParam;
|
||||
AuthWsChannelConfig authWsChannelConfig;
|
||||
std::string channelType;
|
||||
std::string deviceName;
|
||||
};
|
||||
|
||||
|
||||
RegisterDeviceResult();
|
||||
explicit RegisterDeviceResult(const std::string &payload);
|
||||
~RegisterDeviceResult();
|
||||
std::string getMessage()const;
|
||||
DeviceInfo getDeviceInfo()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
DeviceInfo deviceInfo_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICERESULT_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_REGISTERUEMDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICEREQUEST_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 RegisterUemDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RegisterUemDeviceRequest();
|
||||
~RegisterUemDeviceRequest();
|
||||
|
||||
std::string getIP()const;
|
||||
void setIP(const std::string& iP);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getMac()const;
|
||||
void setMac(const std::string& mac);
|
||||
std::string getDeviceVersion()const;
|
||||
void setDeviceVersion(const std::string& deviceVersion);
|
||||
|
||||
private:
|
||||
std::string iP_;
|
||||
std::string groupId_;
|
||||
std::string deviceId_;
|
||||
std::string groupName_;
|
||||
std::string mac_;
|
||||
std::string deviceVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICEREQUEST_H_
|
||||
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICERESULT_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 RegisterUemDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeviceInfo
|
||||
{
|
||||
struct MqttParam
|
||||
{
|
||||
std::string userName;
|
||||
std::string reconnectTimeout;
|
||||
std::string cleanSession;
|
||||
std::string port;
|
||||
std::string sDKClientPort;
|
||||
std::string clientId;
|
||||
std::string host;
|
||||
std::string useTLS;
|
||||
std::string topic;
|
||||
std::string groupId;
|
||||
std::string password;
|
||||
std::string tLSPort;
|
||||
};
|
||||
struct AuthWsChannelConfig
|
||||
{
|
||||
int wsOuterReconnTime;
|
||||
std::string token;
|
||||
std::string authWsUrl;
|
||||
};
|
||||
struct SlsConfig
|
||||
{
|
||||
std::string project;
|
||||
std::string logStore;
|
||||
std::string logServiceEndpoint;
|
||||
};
|
||||
std::string screenCode;
|
||||
long registerTime;
|
||||
SlsConfig slsConfig;
|
||||
std::string messageKey;
|
||||
std::string deviceSessionId;
|
||||
std::string token;
|
||||
MqttParam mqttParam;
|
||||
AuthWsChannelConfig authWsChannelConfig;
|
||||
std::string channelType;
|
||||
std::string deviceName;
|
||||
};
|
||||
|
||||
|
||||
RegisterUemDeviceResult();
|
||||
explicit RegisterUemDeviceResult(const std::string &payload);
|
||||
~RegisterUemDeviceResult();
|
||||
std::string getMessage()const;
|
||||
DeviceInfo getDeviceInfo()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
DeviceInfo deviceInfo_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICERESULT_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_STARTLIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVEREQUEST_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 StartLiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartLiveRequest();
|
||||
~StartLiveRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVEREQUEST_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_STARTLIVERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVERESULT_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 StartLiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartLiveResult();
|
||||
explicit StartLiveResult(const std::string &payload);
|
||||
~StartLiveResult();
|
||||
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_STARTLIVERESULT_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_UPDATEDEVICEHEARTBEATREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATREQUEST_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 UpdateDeviceHeartBeatRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateDeviceHeartBeatRequest();
|
||||
~UpdateDeviceHeartBeatRequest();
|
||||
|
||||
std::string getMessage()const;
|
||||
void setMessage(const std::string& message);
|
||||
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATRESULT_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 UpdateDeviceHeartBeatResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeviceInfo
|
||||
{
|
||||
std::string channelType;
|
||||
};
|
||||
|
||||
|
||||
UpdateDeviceHeartBeatResult();
|
||||
explicit UpdateDeviceHeartBeatResult(const std::string &payload);
|
||||
~UpdateDeviceHeartBeatResult();
|
||||
std::string getMessage()const;
|
||||
DeviceInfo getDeviceInfo()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
DeviceInfo deviceInfo_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATRESULT_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_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDREQUEST_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 UpdateLivePasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateLivePasswordRequest();
|
||||
~UpdateLivePasswordRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(bool openPasswordFlag);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string password_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDREQUEST_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_UPDATELIVEPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDRESULT_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 UpdateLivePasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateLivePasswordResult();
|
||||
explicit UpdateLivePasswordResult(const std::string &payload);
|
||||
~UpdateLivePasswordResult();
|
||||
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_UPDATELIVEPASSWORDRESULT_H_
|
||||
@@ -51,6 +51,42 @@ AliyuncvcClient::AliyuncvcClient(const std::string & accessKeyId, const std::str
|
||||
AliyuncvcClient::~AliyuncvcClient()
|
||||
{}
|
||||
|
||||
AliyuncvcClient::ActiveDeviceOutcome AliyuncvcClient::activeDevice(const ActiveDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ActiveDeviceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ActiveDeviceOutcome(ActiveDeviceResult(outcome.result()));
|
||||
else
|
||||
return ActiveDeviceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::activeDeviceAsync(const ActiveDeviceRequest& request, const ActiveDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, activeDevice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ActiveDeviceOutcomeCallable AliyuncvcClient::activeDeviceCallable(const ActiveDeviceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ActiveDeviceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->activeDevice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ActiveMeetingOutcome AliyuncvcClient::activeMeeting(const ActiveMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -87,6 +123,78 @@ AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::BatchCreateDeviceOutcome AliyuncvcClient::batchCreateDevice(const BatchCreateDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchCreateDeviceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchCreateDeviceOutcome(BatchCreateDeviceResult(outcome.result()));
|
||||
else
|
||||
return BatchCreateDeviceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::batchCreateDeviceAsync(const BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchCreateDevice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::BatchCreateDeviceOutcomeCallable AliyuncvcClient::batchCreateDeviceCallable(const BatchCreateDeviceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchCreateDeviceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchCreateDevice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDeviceMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDeviceMeetingOutcome(CreateDeviceMeetingResult(outcome.result()));
|
||||
else
|
||||
return CreateDeviceMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::createDeviceMeetingAsync(const CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDeviceMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateDeviceMeetingOutcomeCallable AliyuncvcClient::createDeviceMeetingCallable(const CreateDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDeviceMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDeviceMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateEvaluationOutcome AliyuncvcClient::createEvaluation(const CreateEvaluationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -123,6 +231,42 @@ AliyuncvcClient::CreateEvaluationOutcomeCallable AliyuncvcClient::createEvaluati
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateLiveOutcome AliyuncvcClient::createLive(const CreateLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateLiveOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateLiveOutcome(CreateLiveResult(outcome.result()));
|
||||
else
|
||||
return CreateLiveOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::createLiveAsync(const CreateLiveRequest& request, const CreateLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createLive(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateLiveOutcomeCallable AliyuncvcClient::createLiveCallable(const CreateLiveRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateLiveOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createLive(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateMeetingOutcome AliyuncvcClient::createMeeting(const CreateMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -159,6 +303,42 @@ AliyuncvcClient::CreateMeetingOutcomeCallable AliyuncvcClient::createMeetingCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateMeetingInternationalOutcome AliyuncvcClient::createMeetingInternational(const CreateMeetingInternationalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateMeetingInternationalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateMeetingInternationalOutcome(CreateMeetingInternationalResult(outcome.result()));
|
||||
else
|
||||
return CreateMeetingInternationalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::createMeetingInternationalAsync(const CreateMeetingInternationalRequest& request, const CreateMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createMeetingInternational(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateMeetingInternationalOutcomeCallable AliyuncvcClient::createMeetingInternationalCallable(const CreateMeetingInternationalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateMeetingInternationalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createMeetingInternational(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserOutcome AliyuncvcClient::createUser(const CreateUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,6 +375,114 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserInternationalOutcome AliyuncvcClient::createUserInternational(const CreateUserInternationalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateUserInternationalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateUserInternationalOutcome(CreateUserInternationalResult(outcome.result()));
|
||||
else
|
||||
return CreateUserInternationalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::createUserInternationalAsync(const CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createUserInternational(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserInternationalOutcomeCallable AliyuncvcClient::createUserInternationalCallable(const CreateUserInternationalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateUserInternationalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createUserInternational(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteDeviceOutcome AliyuncvcClient::deleteDevice(const DeleteDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteDeviceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteDeviceOutcome(DeleteDeviceResult(outcome.result()));
|
||||
else
|
||||
return DeleteDeviceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::deleteDeviceAsync(const DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteDevice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteDeviceOutcomeCallable AliyuncvcClient::deleteDeviceCallable(const DeleteDeviceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteDeviceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteDevice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteLiveOutcome AliyuncvcClient::deleteLive(const DeleteLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveOutcome(DeleteLiveResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::deleteLiveAsync(const DeleteLiveRequest& request, const DeleteLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLive(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteLiveOutcomeCallable AliyuncvcClient::deleteLiveCallable(const DeleteLiveRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLive(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteMeetingOutcome AliyuncvcClient::deleteMeeting(const DeleteMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +555,150 @@ AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::EndDeviceMeetingOutcome AliyuncvcClient::endDeviceMeeting(const EndDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EndDeviceMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EndDeviceMeetingOutcome(EndDeviceMeetingResult(outcome.result()));
|
||||
else
|
||||
return EndDeviceMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::endDeviceMeetingAsync(const EndDeviceMeetingRequest& request, const EndDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, endDeviceMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::EndDeviceMeetingOutcomeCallable AliyuncvcClient::endDeviceMeetingCallable(const EndDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EndDeviceMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->endDeviceMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::EndLiveOutcome AliyuncvcClient::endLive(const EndLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EndLiveOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EndLiveOutcome(EndLiveResult(outcome.result()));
|
||||
else
|
||||
return EndLiveOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::endLiveAsync(const EndLiveRequest& request, const EndLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, endLive(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::EndLiveOutcomeCallable AliyuncvcClient::endLiveCallable(const EndLiveRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EndLiveOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->endLive(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceActiveCodeOutcome AliyuncvcClient::getDeviceActiveCode(const GetDeviceActiveCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDeviceActiveCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDeviceActiveCodeOutcome(GetDeviceActiveCodeResult(outcome.result()));
|
||||
else
|
||||
return GetDeviceActiveCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getDeviceActiveCodeAsync(const GetDeviceActiveCodeRequest& request, const GetDeviceActiveCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDeviceActiveCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceActiveCodeOutcomeCallable AliyuncvcClient::getDeviceActiveCodeCallable(const GetDeviceActiveCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDeviceActiveCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDeviceActiveCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDeviceTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDeviceTokenOutcome(GetDeviceTokenResult(outcome.result()));
|
||||
else
|
||||
return GetDeviceTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getDeviceTokenAsync(const GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDeviceToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceTokenOutcomeCallable AliyuncvcClient::getDeviceTokenCallable(const GetDeviceTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDeviceTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDeviceToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMeetingOutcome AliyuncvcClient::getMeeting(const GetMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +735,42 @@ AliyuncvcClient::GetMeetingOutcomeCallable AliyuncvcClient::getMeetingCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMeetingInternationalOutcome AliyuncvcClient::getMeetingInternational(const GetMeetingInternationalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMeetingInternationalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMeetingInternationalOutcome(GetMeetingInternationalResult(outcome.result()));
|
||||
else
|
||||
return GetMeetingInternationalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getMeetingInternationalAsync(const GetMeetingInternationalRequest& request, const GetMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMeetingInternational(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMeetingInternationalOutcomeCallable AliyuncvcClient::getMeetingInternationalCallable(const GetMeetingInternationalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMeetingInternationalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMeetingInternational(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMeetingMemberOutcome AliyuncvcClient::getMeetingMember(const GetMeetingMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +843,78 @@ AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const G
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinDeviceMeetingOutcome AliyuncvcClient::joinDeviceMeeting(const JoinDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return JoinDeviceMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return JoinDeviceMeetingOutcome(JoinDeviceMeetingResult(outcome.result()));
|
||||
else
|
||||
return JoinDeviceMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::joinDeviceMeetingAsync(const JoinDeviceMeetingRequest& request, const JoinDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, joinDeviceMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinDeviceMeetingOutcomeCallable AliyuncvcClient::joinDeviceMeetingCallable(const JoinDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<JoinDeviceMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->joinDeviceMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinLiveOutcome AliyuncvcClient::joinLive(const JoinLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return JoinLiveOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return JoinLiveOutcome(JoinLiveResult(outcome.result()));
|
||||
else
|
||||
return JoinLiveOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::joinLiveAsync(const JoinLiveRequest& request, const JoinLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, joinLive(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinLiveOutcomeCallable AliyuncvcClient::joinLiveCallable(const JoinLiveRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<JoinLiveOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->joinLive(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinMeetingOutcome AliyuncvcClient::joinMeeting(const JoinMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +951,78 @@ AliyuncvcClient::JoinMeetingOutcomeCallable AliyuncvcClient::joinMeetingCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinMeetingInternationalOutcome AliyuncvcClient::joinMeetingInternational(const JoinMeetingInternationalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return JoinMeetingInternationalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return JoinMeetingInternationalOutcome(JoinMeetingInternationalResult(outcome.result()));
|
||||
else
|
||||
return JoinMeetingInternationalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::joinMeetingInternationalAsync(const JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, joinMeetingInternational(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMeetingInternationalCallable(const JoinMeetingInternationalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<JoinMeetingInternationalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->joinMeetingInternational(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListDeviceIpOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListDeviceIpOutcome(ListDeviceIpResult(outcome.result()));
|
||||
else
|
||||
return ListDeviceIpOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::listDeviceIpAsync(const ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listDeviceIp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListDeviceIpOutcomeCallable AliyuncvcClient::listDeviceIpCallable(const ListDeviceIpRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListDeviceIpOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listDeviceIp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,3 +1167,255 @@ AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ModifyMeetingPasswordOutcome AliyuncvcClient::modifyMeetingPassword(const ModifyMeetingPasswordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyMeetingPasswordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyMeetingPasswordOutcome(ModifyMeetingPasswordResult(outcome.result()));
|
||||
else
|
||||
return ModifyMeetingPasswordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::modifyMeetingPasswordAsync(const ModifyMeetingPasswordRequest& request, const ModifyMeetingPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyMeetingPassword(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ModifyMeetingPasswordOutcomeCallable AliyuncvcClient::modifyMeetingPasswordCallable(const ModifyMeetingPasswordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyMeetingPasswordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyMeetingPassword(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ModifyMeetingPasswordInternationalOutcome AliyuncvcClient::modifyMeetingPasswordInternational(const ModifyMeetingPasswordInternationalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyMeetingPasswordInternationalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyMeetingPasswordInternationalOutcome(ModifyMeetingPasswordInternationalResult(outcome.result()));
|
||||
else
|
||||
return ModifyMeetingPasswordInternationalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::modifyMeetingPasswordInternationalAsync(const ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyMeetingPasswordInternational(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClient::modifyMeetingPasswordInternationalCallable(const ModifyMeetingPasswordInternationalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyMeetingPasswordInternationalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyMeetingPasswordInternational(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RegisterDeviceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RegisterDeviceOutcome(RegisterDeviceResult(outcome.result()));
|
||||
else
|
||||
return RegisterDeviceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::registerDeviceAsync(const RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, registerDevice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::RegisterDeviceOutcomeCallable AliyuncvcClient::registerDeviceCallable(const RegisterDeviceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RegisterDeviceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->registerDevice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RegisterUemDeviceOutcome AliyuncvcClient::registerUemDevice(const RegisterUemDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RegisterUemDeviceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RegisterUemDeviceOutcome(RegisterUemDeviceResult(outcome.result()));
|
||||
else
|
||||
return RegisterUemDeviceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::registerUemDeviceAsync(const RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, registerUemDevice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDeviceCallable(const RegisterUemDeviceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RegisterUemDeviceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->registerUemDevice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartLiveOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartLiveOutcome(StartLiveResult(outcome.result()));
|
||||
else
|
||||
return StartLiveOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::startLiveAsync(const StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startLive(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::StartLiveOutcomeCallable AliyuncvcClient::startLiveCallable(const StartLiveRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartLiveOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startLive(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateDeviceHeartBeatOutcome AliyuncvcClient::updateDeviceHeartBeat(const UpdateDeviceHeartBeatRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateDeviceHeartBeatOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateDeviceHeartBeatOutcome(UpdateDeviceHeartBeatResult(outcome.result()));
|
||||
else
|
||||
return UpdateDeviceHeartBeatOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::updateDeviceHeartBeatAsync(const UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateDeviceHeartBeat(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDeviceHeartBeatCallable(const UpdateDeviceHeartBeatRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateDeviceHeartBeatOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateDeviceHeartBeat(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateLivePasswordOutcome AliyuncvcClient::updateLivePassword(const UpdateLivePasswordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateLivePasswordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateLivePasswordOutcome(UpdateLivePasswordResult(outcome.result()));
|
||||
else
|
||||
return UpdateLivePasswordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::updateLivePasswordAsync(const UpdateLivePasswordRequest& request, const UpdateLivePasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateLivePassword(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateLivePasswordOutcomeCallable AliyuncvcClient::updateLivePasswordCallable(const UpdateLivePasswordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateLivePasswordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateLivePassword(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
84
aliyuncvc/src/model/ActiveDeviceRequest.cc
Normal file
84
aliyuncvc/src/model/ActiveDeviceRequest.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/aliyuncvc/model/ActiveDeviceRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::ActiveDeviceRequest;
|
||||
|
||||
ActiveDeviceRequest::ActiveDeviceRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ActiveDevice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ActiveDeviceRequest::~ActiveDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string ActiveDeviceRequest::getIP()const
|
||||
{
|
||||
return iP_;
|
||||
}
|
||||
|
||||
void ActiveDeviceRequest::setIP(const std::string& iP)
|
||||
{
|
||||
iP_ = iP;
|
||||
setBodyParameter("IP", iP);
|
||||
}
|
||||
|
||||
std::string ActiveDeviceRequest::getActiveCode()const
|
||||
{
|
||||
return activeCode_;
|
||||
}
|
||||
|
||||
void ActiveDeviceRequest::setActiveCode(const std::string& activeCode)
|
||||
{
|
||||
activeCode_ = activeCode;
|
||||
setBodyParameter("ActiveCode", activeCode);
|
||||
}
|
||||
|
||||
std::string ActiveDeviceRequest::getMac()const
|
||||
{
|
||||
return mac_;
|
||||
}
|
||||
|
||||
void ActiveDeviceRequest::setMac(const std::string& mac)
|
||||
{
|
||||
mac_ = mac;
|
||||
setBodyParameter("Mac", mac);
|
||||
}
|
||||
|
||||
std::string ActiveDeviceRequest::getDeviceVersion()const
|
||||
{
|
||||
return deviceVersion_;
|
||||
}
|
||||
|
||||
void ActiveDeviceRequest::setDeviceVersion(const std::string& deviceVersion)
|
||||
{
|
||||
deviceVersion_ = deviceVersion;
|
||||
setBodyParameter("DeviceVersion", deviceVersion);
|
||||
}
|
||||
|
||||
std::string ActiveDeviceRequest::getSN()const
|
||||
{
|
||||
return sN_;
|
||||
}
|
||||
|
||||
void ActiveDeviceRequest::setSN(const std::string& sN)
|
||||
{
|
||||
sN_ = sN;
|
||||
setBodyParameter("SN", sN);
|
||||
}
|
||||
|
||||
72
aliyuncvc/src/model/ActiveDeviceResult.cc
Normal file
72
aliyuncvc/src/model/ActiveDeviceResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ActiveDeviceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
ActiveDeviceResult::ActiveDeviceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ActiveDeviceResult::ActiveDeviceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ActiveDeviceResult::~ActiveDeviceResult()
|
||||
{}
|
||||
|
||||
void ActiveDeviceResult::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";
|
||||
if(!value["Token"].isNull())
|
||||
token_ = value["Token"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ActiveDeviceResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string ActiveDeviceResult::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
int ActiveDeviceResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ActiveDeviceResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
40
aliyuncvc/src/model/BatchCreateDeviceRequest.cc
Normal file
40
aliyuncvc/src/model/BatchCreateDeviceRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::BatchCreateDeviceRequest;
|
||||
|
||||
BatchCreateDeviceRequest::BatchCreateDeviceRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "BatchCreateDevice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchCreateDeviceRequest::~BatchCreateDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string BatchCreateDeviceRequest::getSN()const
|
||||
{
|
||||
return sN_;
|
||||
}
|
||||
|
||||
void BatchCreateDeviceRequest::setSN(const std::string& sN)
|
||||
{
|
||||
sN_ = sN;
|
||||
setBodyParameter("SN", sN);
|
||||
}
|
||||
|
||||
84
aliyuncvc/src/model/BatchCreateDeviceResult.cc
Normal file
84
aliyuncvc/src/model/BatchCreateDeviceResult.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/aliyuncvc/model/BatchCreateDeviceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
BatchCreateDeviceResult::BatchCreateDeviceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchCreateDeviceResult::BatchCreateDeviceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchCreateDeviceResult::~BatchCreateDeviceResult()
|
||||
{}
|
||||
|
||||
void BatchCreateDeviceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDevicesNode = value["Devices"]["data"];
|
||||
for (auto valueDevicesdata : allDevicesNode)
|
||||
{
|
||||
Data devicesObject;
|
||||
if(!valueDevicesdata["DeviceErrorCode"].isNull())
|
||||
devicesObject.deviceErrorCode = std::stoi(valueDevicesdata["DeviceErrorCode"].asString());
|
||||
if(!valueDevicesdata["DeviceMessage"].isNull())
|
||||
devicesObject.deviceMessage = valueDevicesdata["DeviceMessage"].asString();
|
||||
if(!valueDevicesdata["SN"].isNull())
|
||||
devicesObject.sN = valueDevicesdata["SN"].asString();
|
||||
if(!valueDevicesdata["ActiveCode"].isNull())
|
||||
devicesObject.activeCode = valueDevicesdata["ActiveCode"].asString();
|
||||
devices_.push_back(devicesObject);
|
||||
}
|
||||
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 BatchCreateDeviceResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int BatchCreateDeviceResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::vector<BatchCreateDeviceResult::Data> BatchCreateDeviceResult::getDevices()const
|
||||
{
|
||||
return devices_;
|
||||
}
|
||||
|
||||
bool BatchCreateDeviceResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
84
aliyuncvc/src/model/CreateDeviceMeetingRequest.cc
Normal file
84
aliyuncvc/src/model/CreateDeviceMeetingRequest.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/aliyuncvc/model/CreateDeviceMeetingRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CreateDeviceMeetingRequest;
|
||||
|
||||
CreateDeviceMeetingRequest::CreateDeviceMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateDeviceMeeting")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDeviceMeetingRequest::~CreateDeviceMeetingRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDeviceMeetingRequest::getMeetingName()const
|
||||
{
|
||||
return meetingName_;
|
||||
}
|
||||
|
||||
void CreateDeviceMeetingRequest::setMeetingName(const std::string& meetingName)
|
||||
{
|
||||
meetingName_ = meetingName;
|
||||
setBodyParameter("MeetingName", meetingName);
|
||||
}
|
||||
|
||||
bool CreateDeviceMeetingRequest::getOpenPasswordtag()const
|
||||
{
|
||||
return openPasswordtag_;
|
||||
}
|
||||
|
||||
void CreateDeviceMeetingRequest::setOpenPasswordtag(bool openPasswordtag)
|
||||
{
|
||||
openPasswordtag_ = openPasswordtag;
|
||||
setBodyParameter("OpenPasswordtag", openPasswordtag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDeviceMeetingRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void CreateDeviceMeetingRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setBodyParameter("Token", token);
|
||||
}
|
||||
|
||||
std::string CreateDeviceMeetingRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
void CreateDeviceMeetingRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setBodyParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string CreateDeviceMeetingRequest::getSN()const
|
||||
{
|
||||
return sN_;
|
||||
}
|
||||
|
||||
void CreateDeviceMeetingRequest::setSN(const std::string& sN)
|
||||
{
|
||||
sN_ = sN;
|
||||
setBodyParameter("SN", sN);
|
||||
}
|
||||
|
||||
@@ -14,58 +14,61 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/PublishPredictiveJobGroupResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
PublishPredictiveJobGroupResult::PublishPredictiveJobGroupResult() :
|
||||
CreateDeviceMeetingResult::CreateDeviceMeetingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PublishPredictiveJobGroupResult::PublishPredictiveJobGroupResult(const std::string &payload) :
|
||||
CreateDeviceMeetingResult::CreateDeviceMeetingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PublishPredictiveJobGroupResult::~PublishPredictiveJobGroupResult()
|
||||
CreateDeviceMeetingResult::~CreateDeviceMeetingResult()
|
||||
{}
|
||||
|
||||
void PublishPredictiveJobGroupResult::parse(const std::string &payload)
|
||||
void CreateDeviceMeetingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
auto devicesNode = value["Devices"];
|
||||
if(!devicesNode["MeetingCode"].isNull())
|
||||
devices_.meetingCode = devicesNode["MeetingCode"].asString();
|
||||
if(!devicesNode["MeetingUUID"].isNull())
|
||||
devices_.meetingUUID = devicesNode["MeetingUUID"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string PublishPredictiveJobGroupResult::getMessage()const
|
||||
std::string CreateDeviceMeetingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int PublishPredictiveJobGroupResult::getHttpStatusCode()const
|
||||
int CreateDeviceMeetingResult::getErrorCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string PublishPredictiveJobGroupResult::getCode()const
|
||||
CreateDeviceMeetingResult::Devices CreateDeviceMeetingResult::getDevices()const
|
||||
{
|
||||
return code_;
|
||||
return devices_;
|
||||
}
|
||||
|
||||
bool PublishPredictiveJobGroupResult::getSuccess()const
|
||||
bool CreateDeviceMeetingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
84
aliyuncvc/src/model/CreateLiveRequest.cc
Normal file
84
aliyuncvc/src/model/CreateLiveRequest.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/aliyuncvc/model/CreateLiveRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CreateLiveRequest;
|
||||
|
||||
CreateLiveRequest::CreateLiveRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateLive")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateLiveRequest::~CreateLiveRequest()
|
||||
{}
|
||||
|
||||
std::string CreateLiveRequest::getMemo()const
|
||||
{
|
||||
return memo_;
|
||||
}
|
||||
|
||||
void CreateLiveRequest::setMemo(const std::string& memo)
|
||||
{
|
||||
memo_ = memo;
|
||||
setBodyParameter("Memo", memo);
|
||||
}
|
||||
|
||||
std::string CreateLiveRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void CreateLiveRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
bool CreateLiveRequest::getOpenPasswordFlag()const
|
||||
{
|
||||
return openPasswordFlag_;
|
||||
}
|
||||
|
||||
void CreateLiveRequest::setOpenPasswordFlag(bool openPasswordFlag)
|
||||
{
|
||||
openPasswordFlag_ = openPasswordFlag;
|
||||
setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateLiveRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
void CreateLiveRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setBodyParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string CreateLiveRequest::getLiveName()const
|
||||
{
|
||||
return liveName_;
|
||||
}
|
||||
|
||||
void CreateLiveRequest::setLiveName(const std::string& liveName)
|
||||
{
|
||||
liveName_ = liveName;
|
||||
setBodyParameter("LiveName", liveName);
|
||||
}
|
||||
|
||||
75
aliyuncvc/src/model/CreateLiveResult.cc
Normal file
75
aliyuncvc/src/model/CreateLiveResult.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/CreateLiveResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CreateLiveResult::CreateLiveResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateLiveResult::CreateLiveResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateLiveResult::~CreateLiveResult()
|
||||
{}
|
||||
|
||||
void CreateLiveResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto liveInfoNode = value["LiveInfo"];
|
||||
if(!liveInfoNode["LiveUUID"].isNull())
|
||||
liveInfo_.liveUUID = liveInfoNode["LiveUUID"].asString();
|
||||
if(!liveInfoNode["StreamUUID"].isNull())
|
||||
liveInfo_.streamUUID = liveInfoNode["StreamUUID"].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 CreateLiveResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CreateLiveResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CreateLiveResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
CreateLiveResult::LiveInfo CreateLiveResult::getLiveInfo()const
|
||||
{
|
||||
return liveInfo_;
|
||||
}
|
||||
|
||||
73
aliyuncvc/src/model/CreateMeetingInternationalRequest.cc
Normal file
73
aliyuncvc/src/model/CreateMeetingInternationalRequest.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/aliyuncvc/model/CreateMeetingInternationalRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CreateMeetingInternationalRequest;
|
||||
|
||||
CreateMeetingInternationalRequest::CreateMeetingInternationalRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateMeetingInternational")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMeetingInternationalRequest::~CreateMeetingInternationalRequest()
|
||||
{}
|
||||
|
||||
std::string CreateMeetingInternationalRequest::getMeetingName()const
|
||||
{
|
||||
return meetingName_;
|
||||
}
|
||||
|
||||
void CreateMeetingInternationalRequest::setMeetingName(const std::string& meetingName)
|
||||
{
|
||||
meetingName_ = meetingName;
|
||||
setBodyParameter("MeetingName", meetingName);
|
||||
}
|
||||
|
||||
std::string CreateMeetingInternationalRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void CreateMeetingInternationalRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string CreateMeetingInternationalRequest::getOpenPasswordFlag()const
|
||||
{
|
||||
return openPasswordFlag_;
|
||||
}
|
||||
|
||||
void CreateMeetingInternationalRequest::setOpenPasswordFlag(const std::string& openPasswordFlag)
|
||||
{
|
||||
openPasswordFlag_ = openPasswordFlag;
|
||||
setBodyParameter("OpenPasswordFlag", openPasswordFlag);
|
||||
}
|
||||
|
||||
std::string CreateMeetingInternationalRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
void CreateMeetingInternationalRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setBodyParameter("Password", password);
|
||||
}
|
||||
|
||||
75
aliyuncvc/src/model/CreateMeetingInternationalResult.cc
Normal file
75
aliyuncvc/src/model/CreateMeetingInternationalResult.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/CreateMeetingInternationalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CreateMeetingInternationalResult::CreateMeetingInternationalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMeetingInternationalResult::CreateMeetingInternationalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMeetingInternationalResult::~CreateMeetingInternationalResult()
|
||||
{}
|
||||
|
||||
void CreateMeetingInternationalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto meetingInfoNode = value["MeetingInfo"];
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
if(!meetingInfoNode["MeetingUUID"].isNull())
|
||||
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].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";
|
||||
|
||||
}
|
||||
|
||||
CreateMeetingInternationalResult::MeetingInfo CreateMeetingInternationalResult::getMeetingInfo()const
|
||||
{
|
||||
return meetingInfo_;
|
||||
}
|
||||
|
||||
std::string CreateMeetingInternationalResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CreateMeetingInternationalResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CreateMeetingInternationalResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -49,3 +49,47 @@ void CreateMeetingRequest::setUserId(const std::string& userId)
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
bool CreateMeetingRequest::getOpenPasswordFlag()const
|
||||
{
|
||||
return openPasswordFlag_;
|
||||
}
|
||||
|
||||
void CreateMeetingRequest::setOpenPasswordFlag(bool openPasswordFlag)
|
||||
{
|
||||
openPasswordFlag_ = openPasswordFlag;
|
||||
setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateMeetingRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
void CreateMeetingRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setBodyParameter("Password", password);
|
||||
}
|
||||
|
||||
bool CreateMeetingRequest::getMasterEnableFlag()const
|
||||
{
|
||||
return masterEnableFlag_;
|
||||
}
|
||||
|
||||
void CreateMeetingRequest::setMasterEnableFlag(bool masterEnableFlag)
|
||||
{
|
||||
masterEnableFlag_ = masterEnableFlag;
|
||||
setBodyParameter("MasterEnableFlag", masterEnableFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateMeetingRequest::getMeetingMode()const
|
||||
{
|
||||
return meetingMode_;
|
||||
}
|
||||
|
||||
void CreateMeetingRequest::setMeetingMode(const std::string& meetingMode)
|
||||
{
|
||||
meetingMode_ = meetingMode;
|
||||
setBodyParameter("MeetingMode", meetingMode);
|
||||
}
|
||||
|
||||
|
||||
51
aliyuncvc/src/model/CreateUserInternationalRequest.cc
Normal file
51
aliyuncvc/src/model/CreateUserInternationalRequest.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/CreateUserInternationalRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CreateUserInternationalRequest;
|
||||
|
||||
CreateUserInternationalRequest::CreateUserInternationalRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateUserInternational")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateUserInternationalRequest::~CreateUserInternationalRequest()
|
||||
{}
|
||||
|
||||
int CreateUserInternationalRequest::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
void CreateUserInternationalRequest::setCount(int count)
|
||||
{
|
||||
count_ = count;
|
||||
setBodyParameter("Count", std::to_string(count));
|
||||
}
|
||||
|
||||
std::string CreateUserInternationalRequest::getUserInfo()const
|
||||
{
|
||||
return userInfo_;
|
||||
}
|
||||
|
||||
void CreateUserInternationalRequest::setUserInfo(const std::string& userInfo)
|
||||
{
|
||||
userInfo_ = userInfo;
|
||||
setBodyParameter("UserInfo", userInfo);
|
||||
}
|
||||
|
||||
72
aliyuncvc/src/model/CreateUserInternationalResult.cc
Normal file
72
aliyuncvc/src/model/CreateUserInternationalResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CreateUserInternationalResult::CreateUserInternationalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateUserInternationalResult::CreateUserInternationalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateUserInternationalResult::~CreateUserInternationalResult()
|
||||
{}
|
||||
|
||||
void CreateUserInternationalResult::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";
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateUserInternationalResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreateUserInternationalResult::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
int CreateUserInternationalResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CreateUserInternationalResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/DeleteDeviceRequest.cc
Normal file
51
aliyuncvc/src/model/DeleteDeviceRequest.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/DeleteDeviceRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::DeleteDeviceRequest;
|
||||
|
||||
DeleteDeviceRequest::DeleteDeviceRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteDevice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDeviceRequest::~DeleteDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDeviceRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void DeleteDeviceRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setBodyParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string DeleteDeviceRequest::getSN()const
|
||||
{
|
||||
return sN_;
|
||||
}
|
||||
|
||||
void DeleteDeviceRequest::setSN(const std::string& sN)
|
||||
{
|
||||
sN_ = sN;
|
||||
setBodyParameter("SN", sN);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/DeleteDeviceResult.cc
Normal file
65
aliyuncvc/src/model/DeleteDeviceResult.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/DeleteDeviceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
DeleteDeviceResult::DeleteDeviceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDeviceResult::DeleteDeviceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDeviceResult::~DeleteDeviceResult()
|
||||
{}
|
||||
|
||||
void DeleteDeviceResult::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 DeleteDeviceResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int DeleteDeviceResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool DeleteDeviceResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/DeleteLiveRequest.cc
Normal file
51
aliyuncvc/src/model/DeleteLiveRequest.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/DeleteLiveRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::DeleteLiveRequest;
|
||||
|
||||
DeleteLiveRequest::DeleteLiveRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteLive")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveRequest::~DeleteLiveRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveRequest::getLiveUUID()const
|
||||
{
|
||||
return liveUUID_;
|
||||
}
|
||||
|
||||
void DeleteLiveRequest::setLiveUUID(const std::string& liveUUID)
|
||||
{
|
||||
liveUUID_ = liveUUID;
|
||||
setBodyParameter("LiveUUID", liveUUID);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/DeleteLiveResult.cc
Normal file
65
aliyuncvc/src/model/DeleteLiveResult.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/DeleteLiveResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
DeleteLiveResult::DeleteLiveResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveResult::DeleteLiveResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveResult::~DeleteLiveResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveResult::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 DeleteLiveResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int DeleteLiveResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool DeleteLiveResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/EndDeviceMeetingRequest.cc
Normal file
51
aliyuncvc/src/model/EndDeviceMeetingRequest.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/EndDeviceMeetingRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::EndDeviceMeetingRequest;
|
||||
|
||||
EndDeviceMeetingRequest::EndDeviceMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "EndDeviceMeeting")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EndDeviceMeetingRequest::~EndDeviceMeetingRequest()
|
||||
{}
|
||||
|
||||
std::string EndDeviceMeetingRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void EndDeviceMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string EndDeviceMeetingRequest::getSN()const
|
||||
{
|
||||
return sN_;
|
||||
}
|
||||
|
||||
void EndDeviceMeetingRequest::setSN(const std::string& sN)
|
||||
{
|
||||
sN_ = sN;
|
||||
setBodyParameter("SN", sN);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/EndDeviceMeetingResult.cc
Normal file
65
aliyuncvc/src/model/EndDeviceMeetingResult.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/EndDeviceMeetingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
EndDeviceMeetingResult::EndDeviceMeetingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EndDeviceMeetingResult::EndDeviceMeetingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EndDeviceMeetingResult::~EndDeviceMeetingResult()
|
||||
{}
|
||||
|
||||
void EndDeviceMeetingResult::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 EndDeviceMeetingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int EndDeviceMeetingResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool EndDeviceMeetingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user