Compare commits
152 Commits
1.36.548
...
cams-patch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05785cf5fd | ||
|
|
15b4e73175 | ||
|
|
e1f296f89d | ||
|
|
8615dbe002 | ||
|
|
8fd81bf1dd | ||
|
|
88f0753937 | ||
|
|
c93100c1b5 | ||
|
|
c5dd7f096e | ||
|
|
e3b1009a94 | ||
|
|
37c044aa31 | ||
|
|
5aead39d0e | ||
|
|
b9a7e15af4 | ||
|
|
60799e2b22 | ||
|
|
d4c20caaed | ||
|
|
f2caf37a92 | ||
|
|
b31d71fa81 | ||
|
|
7ee07b8331 | ||
|
|
cfb09d135f | ||
|
|
c1b1b41108 | ||
|
|
08b2ac884b | ||
|
|
84a2c24970 | ||
|
|
d088239972 | ||
|
|
f014392806 | ||
|
|
9290117d12 | ||
|
|
99236bb124 | ||
|
|
4595bf16e1 | ||
|
|
152b44dbed | ||
|
|
9535455a22 | ||
|
|
2de19aea44 | ||
|
|
23cb861a2f | ||
|
|
2123976cc2 | ||
|
|
7097cf0d88 | ||
|
|
dd1d0e5359 | ||
|
|
3823d5045a | ||
|
|
80e095a3fc | ||
|
|
c12d0267d7 | ||
|
|
d69766bdfd | ||
|
|
7ac1c23a9f | ||
|
|
088c3010cd | ||
|
|
5c7994cbcb | ||
|
|
3fc73ce0c4 | ||
|
|
aa99d784f0 | ||
|
|
f82391b140 | ||
|
|
c920c94335 | ||
|
|
d7f985a33b | ||
|
|
7db054750e | ||
|
|
73412a8d8d | ||
|
|
51f047d6f3 | ||
|
|
2d5bf1dbd8 | ||
|
|
a60cd6a5ae | ||
|
|
59dbc66bfe | ||
|
|
d6292fe40b | ||
|
|
061f62c362 | ||
|
|
a3ccdb3f65 | ||
|
|
565bfada36 | ||
|
|
716769a300 | ||
|
|
c4348c87cb | ||
|
|
d3ce4be157 | ||
|
|
05e5980ef3 | ||
|
|
7cf2b932e7 | ||
|
|
c056e54eae | ||
|
|
04cce0ba30 | ||
|
|
c5b68d7ead | ||
|
|
52e7b30f54 | ||
|
|
98ef8c88e8 | ||
|
|
8f2290c159 | ||
|
|
a264cee31b | ||
|
|
ebdf18def1 | ||
|
|
5a6bd32d63 | ||
|
|
86f01c44a8 | ||
|
|
a69c540c10 | ||
|
|
60ea8efd1a | ||
|
|
20e471c41f | ||
|
|
dbb5d5f56d | ||
|
|
68f2493757 | ||
|
|
ff645a988c | ||
|
|
151822de9a | ||
|
|
793abf30f9 | ||
|
|
c0045d1c32 | ||
|
|
43f0c30248 | ||
|
|
dff2b43722 | ||
|
|
090d6da253 | ||
|
|
bd85a14b02 | ||
|
|
30c9817822 | ||
|
|
8f847b0f5d | ||
|
|
1dcf6cb7f3 | ||
|
|
b5790be0db | ||
|
|
371081045a | ||
|
|
480c9b3700 | ||
|
|
72ca50ab65 | ||
|
|
34747e61fe | ||
|
|
b6697980bc | ||
|
|
e3e5a0ff42 | ||
|
|
3c1c245147 | ||
|
|
8c27cbdc14 | ||
|
|
8ac065c14f | ||
|
|
e68269b045 | ||
|
|
53ac431b11 | ||
|
|
5255330d62 | ||
|
|
b9a879f696 | ||
|
|
7ac2669922 | ||
|
|
9693807164 | ||
|
|
e20435dd22 | ||
|
|
06eedce285 | ||
|
|
2e76d1dcac | ||
|
|
e1718ed478 | ||
|
|
56138ffe5e | ||
|
|
e4502cf36b | ||
|
|
8d4cff577b | ||
|
|
7267430dde | ||
|
|
7163e3a7d5 | ||
|
|
78ca57fe3d | ||
|
|
cff8cc2fce | ||
|
|
f5698956a8 | ||
|
|
0acc11e160 | ||
|
|
b3f8f634b5 | ||
|
|
1185622959 | ||
|
|
4836dfddfc | ||
|
|
08e11e9bb0 | ||
|
|
8c4cc55d22 | ||
|
|
2191c80b02 | ||
|
|
22d322118a | ||
|
|
1358a6ec39 | ||
|
|
41ea6f3a12 | ||
|
|
83f2c53623 | ||
|
|
314c523174 | ||
|
|
0d054dfb79 | ||
|
|
8af4775c5e | ||
|
|
2f6b7ad555 | ||
|
|
faf9b3fb11 | ||
|
|
6642aa94e5 | ||
|
|
0aa44135e7 | ||
|
|
839effe699 | ||
|
|
4e6956c3f2 | ||
|
|
1b2fe667ba | ||
|
|
91c8eee22c | ||
|
|
fd4bd1e797 | ||
|
|
bd27e98c03 | ||
|
|
3a88e60d04 | ||
|
|
83bb5be02b | ||
|
|
beacaac234 | ||
|
|
52ee14ba5d | ||
|
|
b257cba9c3 | ||
|
|
55baab421e | ||
|
|
67f50165c9 | ||
|
|
1cce84c75f | ||
|
|
90e4ddb22a | ||
|
|
d412a52735 | ||
|
|
2960652dcb | ||
|
|
48a3320ae9 | ||
|
|
60539f067e | ||
|
|
d486d13814 |
490
CHANGELOG
490
CHANGELOG
@@ -1,3 +1,493 @@
|
||||
2020-10-12 Version: patch
|
||||
- ChatApp third version.
|
||||
- Add contack check api.
|
||||
|
||||
2020-10-09 Version: patch
|
||||
- Update Scdn API.
|
||||
|
||||
2020-10-09 Version: patch
|
||||
- Update DescribeCdnUserBillHistory API.
|
||||
|
||||
2020-10-09 Version: patch
|
||||
- Update SetVideoSeekConfig API.
|
||||
|
||||
2020-09-29 Version: patch
|
||||
- Add API OpenOnsService which can active ons service.
|
||||
|
||||
2020-09-29 Version: patch
|
||||
- Add API OpenOnsService which can active ons service.
|
||||
|
||||
2020-09-29 Version: patch
|
||||
- Update CalcCACS.
|
||||
|
||||
2020-09-29 Version: patch
|
||||
- Add API OpenOnsService which can active ons service.
|
||||
|
||||
2020-09-29 Version: patch
|
||||
- Add API OpenOnsService which can active ons service.
|
||||
|
||||
2020-09-29 Version: patch
|
||||
- Supported regional API.
|
||||
|
||||
2020-09-28 Version: patch
|
||||
- Update Scdn API.
|
||||
|
||||
2020-09-28 Version: patch
|
||||
- Support for resize hbaseue multi-zone cluster.
|
||||
|
||||
2020-09-28 Version: patch
|
||||
- Support filtering keys and secrets.
|
||||
- Support opening KMS service and describing service status by API.
|
||||
- Add a prefix limitation for SecretName.
|
||||
|
||||
2020-09-27 Version: patch
|
||||
- Update domain API.
|
||||
|
||||
2020-09-27 Version: patch
|
||||
- Update domain API.
|
||||
|
||||
2020-09-27 Version: patch
|
||||
- Support Open Service API.
|
||||
|
||||
2020-09-27 Version: patch
|
||||
- DescribeAvailableResource support list available resource for modify instance.
|
||||
|
||||
2020-09-25 Version: patch
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-09-25 Version: patch
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-09-24 Version: patch
|
||||
- Support create for serverlesshbase.
|
||||
|
||||
2020-09-24 Version: patch
|
||||
- ContrastFaceVerify API Add Model Parameter.
|
||||
|
||||
2020-09-24 Version: patch
|
||||
- Add a new api named SubmitAIImageAuditJob to submit image ai detection job.
|
||||
- Add a new api named CreateDNADB to create a DNA analysis library.
|
||||
- Add a new api named ListDNADB to query the list of DNA analysis libraries.
|
||||
- Add a new api named GetDNADB to query specified DNA analysis library.
|
||||
- Add a new field DNADBId to the request parameter Config structure for SubmitAIJob api.
|
||||
|
||||
2020-09-23 Version: patch
|
||||
- Add spotDuration support.
|
||||
|
||||
2020-09-23 Version: patch
|
||||
- Some new parameters are supported.
|
||||
|
||||
2020-09-23 Version: patch
|
||||
- Update domain API.
|
||||
|
||||
2020-09-23 Version: patch
|
||||
- Update Scdn API.
|
||||
|
||||
2020-09-23 Version: patch
|
||||
- Sync cdn APIs.
|
||||
|
||||
2020-09-22 Version: patch
|
||||
- DescribePrice update amount type to string.
|
||||
|
||||
2020-09-22 Version: patch
|
||||
- Generated 2019-03-08 for `ivision`.
|
||||
|
||||
2020-09-22 Version: patch
|
||||
- Generated 2018-01-11 for `rtc`.
|
||||
|
||||
2020-09-22 Version: patch
|
||||
- Generated 2018-12-12 for `vs`.
|
||||
|
||||
2020-09-22 Version: patch
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2020-09-21 Version: patch
|
||||
- Interface add column wordCount.
|
||||
|
||||
2020-09-21 Version: patch
|
||||
- Add search object.
|
||||
|
||||
2020-09-20 Version: patch
|
||||
- Add describe devices to return device status.
|
||||
|
||||
2020-09-20 Version: patch
|
||||
- Add describe devices to return device status.
|
||||
|
||||
2020-09-19 Version: patch
|
||||
- Support query user tenant list and current active tenant.
|
||||
- Support query table meta information via table GUID.
|
||||
|
||||
2020-09-18 Version: patch
|
||||
- Update DetectLungNodule, DetectSpineMRI, DetectKneeXRay, DetectCovid19Cad.
|
||||
|
||||
2020-09-17 Version: patch
|
||||
- Add Api DetectIPCPedestrianOptimized.
|
||||
|
||||
2020-09-17 Version: patch
|
||||
- Add Api DetectIPCPedestrianOptimized.
|
||||
|
||||
2020-09-17 Version: patch
|
||||
- GetTitleIntelligence add interface.
|
||||
|
||||
2020-09-17 Version: patch
|
||||
- Fix endpoint.
|
||||
|
||||
2020-09-16 Version: patch
|
||||
- Add Content.
|
||||
|
||||
2020-09-15 Version: patch
|
||||
- Add describe devices to return device status.
|
||||
|
||||
2020-09-14 Version: patch
|
||||
- Support corp name search.
|
||||
|
||||
2020-09-14 Version: patch
|
||||
- Support corp name search.
|
||||
|
||||
2020-09-11 Version: patch
|
||||
- Support execute database script via open api.
|
||||
|
||||
2020-09-10 Version: patch
|
||||
- Add DisableBackupLog.
|
||||
- Add EnableBackupLog.
|
||||
- Add ReleaseBackupPlan.
|
||||
- Add ModifyStorageStrategy.
|
||||
- Modify ModifyBackupStrategy.
|
||||
- Modify ModifyBackupSetDownloadRules.
|
||||
|
||||
2020-09-10 Version: patch
|
||||
- Update HasRenewChangeOrder type to Boolean in DescribeInstances.
|
||||
|
||||
2020-09-09 Version: patch
|
||||
- Add support cn-beijing service region.
|
||||
- Add ai video cover interface,include submit and query.
|
||||
- Add dynamic image query interface.
|
||||
- Update SubmitMediaAuditJob support MediaAuditConfiguration to set ResourceType.
|
||||
|
||||
2020-09-09 Version: patch
|
||||
- Release ChangeSky.
|
||||
|
||||
2020-09-09 Version: patch
|
||||
- Release DetectChefCap.
|
||||
|
||||
2020-09-09 Version: patch
|
||||
- Release DetectKneeKeypointXRay, DetectHipKeypointXRay, CalcCACS, RunCTRegistration, ClassifyFNF.
|
||||
|
||||
2020-09-08 Version: patch
|
||||
- Supported backend interface for ICBU.
|
||||
|
||||
2020-09-08 Version: patch
|
||||
- Add DescribeActiveOperationTask.
|
||||
- Add DescribeActiveOperationTaskCount.
|
||||
- Add DescribeActiveOperationTaskRegion.
|
||||
- Add DescribeActiveOperationTaskType.
|
||||
- Add ModifyActiveOperationTask.
|
||||
|
||||
2020-09-08 Version: patch
|
||||
- Modify CreateAsyncPredict add new parameters.
|
||||
|
||||
2020-09-07 Version: patch
|
||||
- Support parameter APIs.
|
||||
|
||||
2020-09-07 Version: patch
|
||||
- Add describes devices API.
|
||||
|
||||
2020-09-07 Version: patch
|
||||
- Add describes devices API.
|
||||
|
||||
2020-09-07 Version: patch
|
||||
- Add describes devices API.
|
||||
|
||||
2020-09-07 Version: patch
|
||||
- Add describes devices API.
|
||||
|
||||
2020-09-07 Version: patch
|
||||
- Add describes devices API.
|
||||
|
||||
2020-09-05 Version: patch
|
||||
- Add describes devices API.
|
||||
|
||||
2020-09-04 Version: patch
|
||||
- Sync cdn APIs.
|
||||
|
||||
2020-09-04 Version: patch
|
||||
- Update Scdn API.
|
||||
|
||||
2020-09-04 Version: patch
|
||||
- Update domain API.
|
||||
|
||||
2020-09-04 Version: patch
|
||||
- Add GetImageQuality API.
|
||||
- Add more info as parameters to Images related APIs.
|
||||
|
||||
2020-09-03 Version: 1.36.632
|
||||
- DescribeCameraStatistics add parameters.
|
||||
|
||||
2020-09-02 Version: 1.36.631
|
||||
- Support sg for ml region.
|
||||
|
||||
2020-09-02 Version: 1.36.630
|
||||
- ChatApp second version.
|
||||
- Support new message fomat.
|
||||
|
||||
2020-09-02 Version: 1.36.629
|
||||
- Supported AndroidNotificationHuaweiChannel for Push and MassPush.
|
||||
|
||||
2020-09-02 Version: 1.36.628
|
||||
- Supported AndroidNotificationHuaweiChannel for Push and MassPush.
|
||||
|
||||
2020-09-01 Version: 1.36.627
|
||||
- Add Smart Verify API.
|
||||
|
||||
2020-09-01 Version: 1.36.626
|
||||
- Support region route.
|
||||
|
||||
2020-09-01 Version: 1.36.625
|
||||
- Support region route.
|
||||
|
||||
2020-09-01 Version: 1.36.624
|
||||
- Update Parameter.
|
||||
|
||||
2020-08-31 Version: 1.36.623
|
||||
- Support PersonList.
|
||||
|
||||
2020-08-31 Version: 1.36.622
|
||||
- GetPersonList Support LastShotTime.
|
||||
|
||||
2020-08-31 Version: 1.36.621
|
||||
- Support config resource recorder deliverychannel rule.
|
||||
|
||||
2020-08-31 Version: 1.36.620
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-08-31 Version: 1.36.619
|
||||
- Support config resource recorder deliverychannel rule.
|
||||
|
||||
2020-08-31 Version: 1.36.618
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-08-31 Version: 1.36.617
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-08-31 Version: 1.36.616
|
||||
- Add list person visit count API.
|
||||
|
||||
2020-08-28 Version: 1.36.615
|
||||
- Add name.
|
||||
|
||||
2020-08-28 Version: 1.36.614
|
||||
- Support multiple security group for one ehpc cluster.
|
||||
- Update GWS apis.
|
||||
|
||||
2020-08-28 Version: 1.36.613
|
||||
- Supported Add GetAlgorithmHistoryResult.
|
||||
|
||||
2020-08-27 Version: 1.36.612
|
||||
- Update parameter.
|
||||
|
||||
2020-08-25 Version: 1.36.611
|
||||
- Release ExtractPedestrianFeatureAttribute and BlurFace.
|
||||
|
||||
2020-08-25 Version: 1.36.610
|
||||
- Add list person visit count API.
|
||||
|
||||
2020-08-25 Version: 1.36.609
|
||||
- Video Content analytics template introduced to this SDK.
|
||||
|
||||
2020-08-25 Version: 1.36.608
|
||||
- Change DeviceSerialNumber to DeviceSn in API RegisterDevice.
|
||||
|
||||
2020-08-24 Version: 1.36.607
|
||||
- Change DeviceSerialNumber to DeviceSn in API RegisterDevice.
|
||||
|
||||
2020-08-24 Version: 1.36.606
|
||||
- Add project api.
|
||||
|
||||
2020-08-24 Version: 1.36.605
|
||||
- Edit QueryMetricByPage api.
|
||||
|
||||
2020-08-21 Version: 1.36.604
|
||||
- Add QueryMetricByPage api.
|
||||
- Add GetAppApiByPage api.
|
||||
|
||||
2020-08-20 Version: 1.36.603
|
||||
- PullActionData add parameters.
|
||||
- DescribeCursor add parameter.
|
||||
|
||||
2020-08-20 Version: 1.36.602
|
||||
- Add list person visit count API.
|
||||
|
||||
2020-08-20 Version: 1.36.601
|
||||
- Added Global Distribute Cache OpenAPIs.
|
||||
- Added direct connection OpenAPIs.
|
||||
|
||||
2020-08-19 Version: 1.36.600
|
||||
- Add DescribeLiveDomainCertificateInfo.
|
||||
|
||||
2020-08-19 Version: 1.36.599
|
||||
- Generated 2020-08-01 for `SmartHosting`.
|
||||
|
||||
2020-08-18 Version: 1.36.598
|
||||
- Support for describe hbaseue multi-zone model.
|
||||
|
||||
2020-08-18 Version: 1.36.597
|
||||
- Support session query operations.
|
||||
|
||||
2020-08-18 Version: 1.36.596
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-08-17 Version: 1.36.595
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.594
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.593
|
||||
- Add GetTrace api.
|
||||
- Edit Aler api.
|
||||
|
||||
2020-08-17 Version: 1.36.592
|
||||
- Add pipeline status api.
|
||||
|
||||
2020-08-17 Version: 1.36.591
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.590
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.589
|
||||
- Fix create project task.
|
||||
|
||||
2020-08-17 Version: 1.36.588
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-08-17 Version: 1.36.587
|
||||
- Add new tags for corp group.
|
||||
|
||||
2020-08-17 Version: 1.36.586
|
||||
- Add new tags for corp group.
|
||||
|
||||
2020-08-16 Version: 1.36.585
|
||||
- Add new tags for corp group.
|
||||
|
||||
2020-08-14 Version: 1.36.584
|
||||
- Add sdk.
|
||||
|
||||
2020-08-14 Version: 1.36.583
|
||||
- Supported Api DetectIPCPedestrian.
|
||||
|
||||
2020-08-14 Version: 1.36.582
|
||||
- Supported CheckCloudResourceAuthorized API.
|
||||
|
||||
2020-08-14 Version: 1.36.581
|
||||
- Add project Api.
|
||||
|
||||
2020-08-13 Version: 1.36.580
|
||||
- Add PipCode and CommodityCode for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
|
||||
- Support BillOwnerId filter for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
|
||||
|
||||
2020-08-13 Version: 1.36.579
|
||||
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
|
||||
|
||||
2020-08-13 Version: 1.36.578
|
||||
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
|
||||
|
||||
2020-08-13 Version: 1.36.577
|
||||
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
|
||||
|
||||
2020-08-13 Version: 1.36.576
|
||||
- GetImageTranslate add column orc.
|
||||
|
||||
2020-08-13 Version: 1.36.575
|
||||
- DescribePrice update amount parameters type, float to string.
|
||||
- Add ResourceGroupId parameter to support resource group.
|
||||
|
||||
2020-08-13 Version: 1.36.574
|
||||
- Release SegmentHalfBody.
|
||||
|
||||
2020-08-13 Version: 1.36.573
|
||||
- Release SegmentHalfBody.
|
||||
|
||||
2020-08-12 Version: 1.36.572
|
||||
- Support corp group api.
|
||||
|
||||
2020-08-12 Version: 1.36.571
|
||||
- Add pipeline status api.
|
||||
|
||||
2020-08-12 Version: 1.36.570
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- SyncDtsStatus API add TaskId parameter.
|
||||
|
||||
2020-08-11 Version: 1.36.569
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-08-11 Version: 1.36.568
|
||||
- Update DescribeRefreshTask.
|
||||
|
||||
2020-08-11 Version: 1.36.567
|
||||
- Add ResourceGroup in resource snapshot.
|
||||
|
||||
2020-08-10 Version: 1.36.566
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-08-10 Version: 1.36.565
|
||||
- Add source id for list face detail.
|
||||
|
||||
2020-08-10 Version: 1.36.564
|
||||
- Add extend value for list event detail.
|
||||
|
||||
2020-08-09 Version: 1.36.563
|
||||
- Add extend value for list event detail.
|
||||
|
||||
2020-08-08 Version: 1.36.562
|
||||
- Update SearchImage.
|
||||
|
||||
2020-08-07 Version: 1.36.561
|
||||
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
|
||||
|
||||
2020-08-07 Version: 1.36.560
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-08-07 Version: 1.36.559
|
||||
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
|
||||
|
||||
2020-08-07 Version: 1.36.558
|
||||
- Add FindServiceList and GetService qps.
|
||||
|
||||
2020-08-06 Version: 1.36.557
|
||||
- Add Smart Cloudauth API.
|
||||
|
||||
2020-08-04 Version: 1.36.556
|
||||
- Update RecognizeTable.
|
||||
|
||||
2020-08-04 Version: 1.36.555
|
||||
- Add Image Url parameter for invoke motor algorithm.
|
||||
|
||||
2020-08-04 Version: 1.36.554
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.553
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.552
|
||||
- Fix Some API Response Define.
|
||||
|
||||
2020-08-03 Version: 1.36.551
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.550
|
||||
- Add Voice Synchronous Scan API.
|
||||
|
||||
2020-08-03 Version: 1.36.549
|
||||
- Add ExtractPedestrianFeatureAttribute.
|
||||
|
||||
2020-07-31 Version: 1.36.548
|
||||
- Update DetectCelebrity.
|
||||
|
||||
|
||||
@@ -27,6 +27,16 @@ set(alimt_public_header_model
|
||||
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
||||
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
||||
include/alibabacloud/alimt/model/GetDocTranslateTaskResult.h
|
||||
include/alibabacloud/alimt/model/GetImageDiagnoseRequest.h
|
||||
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
|
||||
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
|
||||
include/alibabacloud/alimt/model/GetImageTranslateResult.h
|
||||
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
|
||||
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
|
||||
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
|
||||
include/alibabacloud/alimt/model/GetTitleGenerateResult.h
|
||||
include/alibabacloud/alimt/model/GetTitleIntelligenceRequest.h
|
||||
include/alibabacloud/alimt/model/GetTitleIntelligenceResult.h
|
||||
include/alibabacloud/alimt/model/TranslateRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateResult.h
|
||||
include/alibabacloud/alimt/model/TranslateCertificateRequest.h
|
||||
@@ -44,6 +54,16 @@ set(alimt_src
|
||||
src/model/GetDetectLanguageResult.cc
|
||||
src/model/GetDocTranslateTaskRequest.cc
|
||||
src/model/GetDocTranslateTaskResult.cc
|
||||
src/model/GetImageDiagnoseRequest.cc
|
||||
src/model/GetImageDiagnoseResult.cc
|
||||
src/model/GetImageTranslateRequest.cc
|
||||
src/model/GetImageTranslateResult.cc
|
||||
src/model/GetTitleDiagnoseRequest.cc
|
||||
src/model/GetTitleDiagnoseResult.cc
|
||||
src/model/GetTitleGenerateRequest.cc
|
||||
src/model/GetTitleGenerateResult.cc
|
||||
src/model/GetTitleIntelligenceRequest.cc
|
||||
src/model/GetTitleIntelligenceResult.cc
|
||||
src/model/TranslateRequest.cc
|
||||
src/model/TranslateResult.cc
|
||||
src/model/TranslateCertificateRequest.cc
|
||||
|
||||
@@ -28,6 +28,16 @@
|
||||
#include "model/GetDetectLanguageResult.h"
|
||||
#include "model/GetDocTranslateTaskRequest.h"
|
||||
#include "model/GetDocTranslateTaskResult.h"
|
||||
#include "model/GetImageDiagnoseRequest.h"
|
||||
#include "model/GetImageDiagnoseResult.h"
|
||||
#include "model/GetImageTranslateRequest.h"
|
||||
#include "model/GetImageTranslateResult.h"
|
||||
#include "model/GetTitleDiagnoseRequest.h"
|
||||
#include "model/GetTitleDiagnoseResult.h"
|
||||
#include "model/GetTitleGenerateRequest.h"
|
||||
#include "model/GetTitleGenerateResult.h"
|
||||
#include "model/GetTitleIntelligenceRequest.h"
|
||||
#include "model/GetTitleIntelligenceResult.h"
|
||||
#include "model/TranslateRequest.h"
|
||||
#include "model/TranslateResult.h"
|
||||
#include "model/TranslateCertificateRequest.h"
|
||||
@@ -54,6 +64,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDocTranslateTaskResult> GetDocTranslateTaskOutcome;
|
||||
typedef std::future<GetDocTranslateTaskOutcome> GetDocTranslateTaskOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetDocTranslateTaskRequest&, const GetDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDocTranslateTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetImageDiagnoseResult> GetImageDiagnoseOutcome;
|
||||
typedef std::future<GetImageDiagnoseOutcome> GetImageDiagnoseOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetImageDiagnoseRequest&, const GetImageDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageDiagnoseAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
|
||||
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
|
||||
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTitleGenerateResult> GetTitleGenerateOutcome;
|
||||
typedef std::future<GetTitleGenerateOutcome> GetTitleGenerateOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetTitleGenerateRequest&, const GetTitleGenerateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleGenerateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTitleIntelligenceResult> GetTitleIntelligenceOutcome;
|
||||
typedef std::future<GetTitleIntelligenceOutcome> GetTitleIntelligenceOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetTitleIntelligenceRequest&, const GetTitleIntelligenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleIntelligenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::TranslateResult> TranslateOutcome;
|
||||
typedef std::future<TranslateOutcome> TranslateOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateRequest&, const TranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateAsyncHandler;
|
||||
@@ -80,6 +105,21 @@ namespace AlibabaCloud
|
||||
GetDocTranslateTaskOutcome getDocTranslateTask(const Model::GetDocTranslateTaskRequest &request)const;
|
||||
void getDocTranslateTaskAsync(const Model::GetDocTranslateTaskRequest& request, const GetDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDocTranslateTaskOutcomeCallable getDocTranslateTaskCallable(const Model::GetDocTranslateTaskRequest& request) const;
|
||||
GetImageDiagnoseOutcome getImageDiagnose(const Model::GetImageDiagnoseRequest &request)const;
|
||||
void getImageDiagnoseAsync(const Model::GetImageDiagnoseRequest& request, const GetImageDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetImageDiagnoseOutcomeCallable getImageDiagnoseCallable(const Model::GetImageDiagnoseRequest& request) const;
|
||||
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
|
||||
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
|
||||
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
|
||||
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
|
||||
GetTitleGenerateOutcome getTitleGenerate(const Model::GetTitleGenerateRequest &request)const;
|
||||
void getTitleGenerateAsync(const Model::GetTitleGenerateRequest& request, const GetTitleGenerateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTitleGenerateOutcomeCallable getTitleGenerateCallable(const Model::GetTitleGenerateRequest& request) const;
|
||||
GetTitleIntelligenceOutcome getTitleIntelligence(const Model::GetTitleIntelligenceRequest &request)const;
|
||||
void getTitleIntelligenceAsync(const Model::GetTitleIntelligenceRequest& request, const GetTitleIntelligenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTitleIntelligenceOutcomeCallable getTitleIntelligenceCallable(const Model::GetTitleIntelligenceRequest& request) const;
|
||||
TranslateOutcome translate(const Model::TranslateRequest &request)const;
|
||||
void translateAsync(const Model::TranslateRequest& request, const TranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateOutcomeCallable translateCallable(const Model::TranslateRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetImageDiagnoseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetImageDiagnoseRequest();
|
||||
~GetImageDiagnoseRequest();
|
||||
|
||||
std::string getUrl()const;
|
||||
void setUrl(const std::string& url);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
|
||||
private:
|
||||
std::string url_;
|
||||
std::string extra_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetImageDiagnoseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string language;
|
||||
};
|
||||
|
||||
|
||||
GetImageDiagnoseResult();
|
||||
explicit GetImageDiagnoseResult(const std::string &payload);
|
||||
~GetImageDiagnoseResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetImageTranslateRequest();
|
||||
~GetImageTranslateRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getUrl()const;
|
||||
void setUrl(const std::string& url);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string url_;
|
||||
std::string extra_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string orc;
|
||||
std::string url;
|
||||
};
|
||||
|
||||
|
||||
GetImageTranslateResult();
|
||||
explicit GetImageTranslateResult(const std::string &payload);
|
||||
~GetImageTranslateResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleDiagnoseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTitleDiagnoseRequest();
|
||||
~GetTitleDiagnoseRequest();
|
||||
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
std::string getCategoryId()const;
|
||||
void setCategoryId(const std::string& categoryId);
|
||||
|
||||
private:
|
||||
std::string language_;
|
||||
std::string title_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
std::string categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleDiagnoseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string noFirstUppercaseList;
|
||||
std::string containCoreClasses;
|
||||
std::string disableWords;
|
||||
std::string wordCount;
|
||||
std::string overLengthLimit;
|
||||
std::string totalScore;
|
||||
std::string duplicateWords;
|
||||
std::string wordSpelledCorrectError;
|
||||
std::string allUppercaseWords;
|
||||
std::string languageQualityScore;
|
||||
};
|
||||
|
||||
|
||||
GetTitleDiagnoseResult();
|
||||
explicit GetTitleDiagnoseResult(const std::string &payload);
|
||||
~GetTitleDiagnoseResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleGenerateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTitleGenerateRequest();
|
||||
~GetTitleGenerateRequest();
|
||||
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
std::string getAttributes()const;
|
||||
void setAttributes(const std::string& attributes);
|
||||
std::string getHotWords()const;
|
||||
void setHotWords(const std::string& hotWords);
|
||||
std::string getCategoryId()const;
|
||||
void setCategoryId(const std::string& categoryId);
|
||||
|
||||
private:
|
||||
std::string language_;
|
||||
std::string title_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
std::string attributes_;
|
||||
std::string hotWords_;
|
||||
std::string categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleGenerateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string titles;
|
||||
};
|
||||
|
||||
|
||||
GetTitleGenerateResult();
|
||||
explicit GetTitleGenerateResult(const std::string &payload);
|
||||
~GetTitleGenerateResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATERESULT_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_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleIntelligenceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTitleIntelligenceRequest();
|
||||
~GetTitleIntelligenceRequest();
|
||||
|
||||
long getCatLevelThreeId()const;
|
||||
void setCatLevelThreeId(long catLevelThreeId);
|
||||
long getCatLevelTwoId()const;
|
||||
void setCatLevelTwoId(long catLevelTwoId);
|
||||
std::string getKeywords()const;
|
||||
void setKeywords(const std::string& keywords);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
|
||||
private:
|
||||
long catLevelThreeId_;
|
||||
long catLevelTwoId_;
|
||||
std::string keywords_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleIntelligenceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string titles;
|
||||
};
|
||||
|
||||
|
||||
GetTitleIntelligenceResult();
|
||||
explicit GetTitleIntelligenceResult(const std::string &payload);
|
||||
~GetTitleIntelligenceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCERESULT_H_
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string wordCount;
|
||||
std::string translated;
|
||||
};
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string wordCount;
|
||||
std::string translated;
|
||||
};
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string wordCount;
|
||||
std::string translated;
|
||||
};
|
||||
|
||||
|
||||
@@ -159,6 +159,186 @@ AlimtClient::GetDocTranslateTaskOutcomeCallable AlimtClient::getDocTranslateTask
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetImageDiagnoseOutcome AlimtClient::getImageDiagnose(const GetImageDiagnoseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetImageDiagnoseOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetImageDiagnoseOutcome(GetImageDiagnoseResult(outcome.result()));
|
||||
else
|
||||
return GetImageDiagnoseOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getImageDiagnoseAsync(const GetImageDiagnoseRequest& request, const GetImageDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getImageDiagnose(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetImageDiagnoseOutcomeCallable AlimtClient::getImageDiagnoseCallable(const GetImageDiagnoseRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetImageDiagnoseOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getImageDiagnose(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetImageTranslateOutcome AlimtClient::getImageTranslate(const GetImageTranslateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetImageTranslateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetImageTranslateOutcome(GetImageTranslateResult(outcome.result()));
|
||||
else
|
||||
return GetImageTranslateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getImageTranslateAsync(const GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getImageTranslate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetImageTranslateOutcomeCallable AlimtClient::getImageTranslateCallable(const GetImageTranslateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetImageTranslateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getImageTranslate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTitleDiagnoseOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTitleDiagnoseOutcome(GetTitleDiagnoseResult(outcome.result()));
|
||||
else
|
||||
return GetTitleDiagnoseOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getTitleDiagnoseAsync(const GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTitleDiagnose(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetTitleDiagnoseOutcomeCallable AlimtClient::getTitleDiagnoseCallable(const GetTitleDiagnoseRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTitleDiagnoseOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTitleDiagnose(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetTitleGenerateOutcome AlimtClient::getTitleGenerate(const GetTitleGenerateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTitleGenerateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTitleGenerateOutcome(GetTitleGenerateResult(outcome.result()));
|
||||
else
|
||||
return GetTitleGenerateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getTitleGenerateAsync(const GetTitleGenerateRequest& request, const GetTitleGenerateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTitleGenerate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetTitleGenerateOutcomeCallable AlimtClient::getTitleGenerateCallable(const GetTitleGenerateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTitleGenerateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTitleGenerate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetTitleIntelligenceOutcome AlimtClient::getTitleIntelligence(const GetTitleIntelligenceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTitleIntelligenceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTitleIntelligenceOutcome(GetTitleIntelligenceResult(outcome.result()));
|
||||
else
|
||||
return GetTitleIntelligenceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getTitleIntelligenceAsync(const GetTitleIntelligenceRequest& request, const GetTitleIntelligenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTitleIntelligence(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetTitleIntelligenceOutcomeCallable AlimtClient::getTitleIntelligenceCallable(const GetTitleIntelligenceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTitleIntelligenceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTitleIntelligence(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::TranslateOutcome AlimtClient::translate(const TranslateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
51
alimt/src/model/GetImageDiagnoseRequest.cc
Normal file
51
alimt/src/model/GetImageDiagnoseRequest.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/alimt/model/GetImageDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageDiagnoseRequest;
|
||||
|
||||
GetImageDiagnoseRequest::GetImageDiagnoseRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetImageDiagnose")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetImageDiagnoseRequest::~GetImageDiagnoseRequest()
|
||||
{}
|
||||
|
||||
std::string GetImageDiagnoseRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
}
|
||||
|
||||
void GetImageDiagnoseRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
}
|
||||
|
||||
std::string GetImageDiagnoseRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
}
|
||||
|
||||
void GetImageDiagnoseRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
}
|
||||
|
||||
66
alimt/src/model/GetImageDiagnoseResult.cc
Normal file
66
alimt/src/model/GetImageDiagnoseResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetImageDiagnoseResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
GetImageDiagnoseResult::GetImageDiagnoseResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetImageDiagnoseResult::GetImageDiagnoseResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetImageDiagnoseResult::~GetImageDiagnoseResult()
|
||||
{}
|
||||
|
||||
void GetImageDiagnoseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Language"].isNull())
|
||||
data_.language = dataNode["Language"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetImageDiagnoseResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetImageDiagnoseResult::Data GetImageDiagnoseResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetImageDiagnoseResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
alimt/src/model/GetImageTranslateRequest.cc
Normal file
73
alimt/src/model/GetImageTranslateRequest.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/alimt/model/GetImageTranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageTranslateRequest;
|
||||
|
||||
GetImageTranslateRequest::GetImageTranslateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetImageTranslateRequest::~GetImageTranslateRequest()
|
||||
{}
|
||||
|
||||
std::string GetImageTranslateRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
}
|
||||
|
||||
std::string GetImageTranslateRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
}
|
||||
|
||||
std::string GetImageTranslateRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
}
|
||||
|
||||
std::string GetImageTranslateRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
}
|
||||
|
||||
68
alimt/src/model/GetImageTranslateResult.cc
Normal file
68
alimt/src/model/GetImageTranslateResult.cc
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetImageTranslateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
GetImageTranslateResult::GetImageTranslateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetImageTranslateResult::GetImageTranslateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetImageTranslateResult::~GetImageTranslateResult()
|
||||
{}
|
||||
|
||||
void GetImageTranslateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Url"].isNull())
|
||||
data_.url = dataNode["Url"].asString();
|
||||
if(!dataNode["Orc"].isNull())
|
||||
data_.orc = dataNode["Orc"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetImageTranslateResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetImageTranslateResult::Data GetImageTranslateResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetImageTranslateResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
alimt/src/model/GetTitleDiagnoseRequest.cc
Normal file
84
alimt/src/model/GetTitleDiagnoseRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleDiagnoseRequest;
|
||||
|
||||
GetTitleDiagnoseRequest::GetTitleDiagnoseRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetTitleDiagnose")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTitleDiagnoseRequest::~GetTitleDiagnoseRequest()
|
||||
{}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setBodyParameter("Language", language);
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setBodyParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getPlatform()const
|
||||
{
|
||||
return platform_;
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setPlatform(const std::string& platform)
|
||||
{
|
||||
platform_ = platform;
|
||||
setBodyParameter("Platform", platform);
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getCategoryId()const
|
||||
{
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setCategoryId(const std::string& categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setBodyParameter("CategoryId", categoryId);
|
||||
}
|
||||
|
||||
84
alimt/src/model/GetTitleDiagnoseResult.cc
Normal file
84
alimt/src/model/GetTitleDiagnoseResult.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleDiagnoseResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
GetTitleDiagnoseResult::GetTitleDiagnoseResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTitleDiagnoseResult::GetTitleDiagnoseResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTitleDiagnoseResult::~GetTitleDiagnoseResult()
|
||||
{}
|
||||
|
||||
void GetTitleDiagnoseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ContainCoreClasses"].isNull())
|
||||
data_.containCoreClasses = dataNode["ContainCoreClasses"].asString();
|
||||
if(!dataNode["OverLengthLimit"].isNull())
|
||||
data_.overLengthLimit = dataNode["OverLengthLimit"].asString();
|
||||
if(!dataNode["WordSpelledCorrectError"].isNull())
|
||||
data_.wordSpelledCorrectError = dataNode["WordSpelledCorrectError"].asString();
|
||||
if(!dataNode["AllUppercaseWords"].isNull())
|
||||
data_.allUppercaseWords = dataNode["AllUppercaseWords"].asString();
|
||||
if(!dataNode["NoFirstUppercaseList"].isNull())
|
||||
data_.noFirstUppercaseList = dataNode["NoFirstUppercaseList"].asString();
|
||||
if(!dataNode["DuplicateWords"].isNull())
|
||||
data_.duplicateWords = dataNode["DuplicateWords"].asString();
|
||||
if(!dataNode["DisableWords"].isNull())
|
||||
data_.disableWords = dataNode["DisableWords"].asString();
|
||||
if(!dataNode["WordCount"].isNull())
|
||||
data_.wordCount = dataNode["WordCount"].asString();
|
||||
if(!dataNode["TotalScore"].isNull())
|
||||
data_.totalScore = dataNode["TotalScore"].asString();
|
||||
if(!dataNode["LanguageQualityScore"].isNull())
|
||||
data_.languageQualityScore = dataNode["LanguageQualityScore"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetTitleDiagnoseResult::Data GetTitleDiagnoseResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetTitleDiagnoseResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
106
alimt/src/model/GetTitleGenerateRequest.cc
Normal file
106
alimt/src/model/GetTitleGenerateRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleGenerateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleGenerateRequest;
|
||||
|
||||
GetTitleGenerateRequest::GetTitleGenerateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetTitleGenerate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTitleGenerateRequest::~GetTitleGenerateRequest()
|
||||
{}
|
||||
|
||||
std::string GetTitleGenerateRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setBodyParameter("Language", language);
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setBodyParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getPlatform()const
|
||||
{
|
||||
return platform_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setPlatform(const std::string& platform)
|
||||
{
|
||||
platform_ = platform;
|
||||
setBodyParameter("Platform", platform);
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getAttributes()const
|
||||
{
|
||||
return attributes_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setAttributes(const std::string& attributes)
|
||||
{
|
||||
attributes_ = attributes;
|
||||
setBodyParameter("Attributes", attributes);
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getHotWords()const
|
||||
{
|
||||
return hotWords_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setHotWords(const std::string& hotWords)
|
||||
{
|
||||
hotWords_ = hotWords;
|
||||
setBodyParameter("HotWords", hotWords);
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getCategoryId()const
|
||||
{
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setCategoryId(const std::string& categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setBodyParameter("CategoryId", categoryId);
|
||||
}
|
||||
|
||||
66
alimt/src/model/GetTitleGenerateResult.cc
Normal file
66
alimt/src/model/GetTitleGenerateResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleGenerateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
GetTitleGenerateResult::GetTitleGenerateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTitleGenerateResult::GetTitleGenerateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTitleGenerateResult::~GetTitleGenerateResult()
|
||||
{}
|
||||
|
||||
void GetTitleGenerateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Titles"].isNull())
|
||||
data_.titles = dataNode["Titles"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetTitleGenerateResult::Data GetTitleGenerateResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetTitleGenerateResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
alimt/src/model/GetTitleIntelligenceRequest.cc
Normal file
84
alimt/src/model/GetTitleIntelligenceRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleIntelligenceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleIntelligenceRequest;
|
||||
|
||||
GetTitleIntelligenceRequest::GetTitleIntelligenceRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetTitleIntelligence")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTitleIntelligenceRequest::~GetTitleIntelligenceRequest()
|
||||
{}
|
||||
|
||||
long GetTitleIntelligenceRequest::getCatLevelThreeId()const
|
||||
{
|
||||
return catLevelThreeId_;
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setCatLevelThreeId(long catLevelThreeId)
|
||||
{
|
||||
catLevelThreeId_ = catLevelThreeId;
|
||||
setBodyParameter("CatLevelThreeId", std::to_string(catLevelThreeId));
|
||||
}
|
||||
|
||||
long GetTitleIntelligenceRequest::getCatLevelTwoId()const
|
||||
{
|
||||
return catLevelTwoId_;
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setCatLevelTwoId(long catLevelTwoId)
|
||||
{
|
||||
catLevelTwoId_ = catLevelTwoId;
|
||||
setBodyParameter("CatLevelTwoId", std::to_string(catLevelTwoId));
|
||||
}
|
||||
|
||||
std::string GetTitleIntelligenceRequest::getKeywords()const
|
||||
{
|
||||
return keywords_;
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setKeywords(const std::string& keywords)
|
||||
{
|
||||
keywords_ = keywords;
|
||||
setBodyParameter("Keywords", keywords);
|
||||
}
|
||||
|
||||
std::string GetTitleIntelligenceRequest::getPlatform()const
|
||||
{
|
||||
return platform_;
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setPlatform(const std::string& platform)
|
||||
{
|
||||
platform_ = platform;
|
||||
setBodyParameter("Platform", platform);
|
||||
}
|
||||
|
||||
std::string GetTitleIntelligenceRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
}
|
||||
|
||||
66
alimt/src/model/GetTitleIntelligenceResult.cc
Normal file
66
alimt/src/model/GetTitleIntelligenceResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleIntelligenceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
GetTitleIntelligenceResult::GetTitleIntelligenceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTitleIntelligenceResult::GetTitleIntelligenceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTitleIntelligenceResult::~GetTitleIntelligenceResult()
|
||||
{}
|
||||
|
||||
void GetTitleIntelligenceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Titles"].isNull())
|
||||
data_.titles = dataNode["Titles"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTitleIntelligenceResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetTitleIntelligenceResult::Data GetTitleIntelligenceResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetTitleIntelligenceResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -42,6 +42,8 @@ void TranslateECommerceResult::parse(const std::string &payload)
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Translated"].isNull())
|
||||
data_.translated = dataNode["Translated"].asString();
|
||||
if(!dataNode["WordCount"].isNull())
|
||||
data_.wordCount = dataNode["WordCount"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -42,6 +42,8 @@ void TranslateGeneralResult::parse(const std::string &payload)
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Translated"].isNull())
|
||||
data_.translated = dataNode["Translated"].asString();
|
||||
if(!dataNode["WordCount"].isNull())
|
||||
data_.wordCount = dataNode["WordCount"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -42,6 +42,8 @@ void TranslateResult::parse(const std::string &payload)
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Translated"].isNull())
|
||||
data_.translated = dataNode["Translated"].asString();
|
||||
if(!dataNode["WordCount"].isNull())
|
||||
data_.wordCount = dataNode["WordCount"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -31,6 +31,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CallDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CallDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ConferenceToLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ConferenceToLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
|
||||
@@ -47,6 +49,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomGonggeLayoutRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomGonggeLayoutResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomLayoutRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomLayoutResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h
|
||||
@@ -55,12 +59,18 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/EnableLiveSpeakerRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/EnableLiveSpeakerResult.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/GetAccountInfoRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetAccountInfoResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||
@@ -71,8 +81,12 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/InviteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinLiveRequest.h
|
||||
@@ -81,6 +95,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
|
||||
@@ -93,18 +109,26 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListUsersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandResult.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/UpdateDeviceStartupPictureRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
|
||||
@@ -122,6 +146,8 @@ set(aliyuncvc_src
|
||||
src/model/BatchDeleteDevicesResult.cc
|
||||
src/model/CallDeviceRequest.cc
|
||||
src/model/CallDeviceResult.cc
|
||||
src/model/ConferenceToLiveRequest.cc
|
||||
src/model/ConferenceToLiveResult.cc
|
||||
src/model/CreateDeviceMeetingRequest.cc
|
||||
src/model/CreateDeviceMeetingResult.cc
|
||||
src/model/CreateEvaluationRequest.cc
|
||||
@@ -138,6 +164,8 @@ set(aliyuncvc_src
|
||||
src/model/CreateUserInternationalResult.cc
|
||||
src/model/CustomGonggeLayoutRequest.cc
|
||||
src/model/CustomGonggeLayoutResult.cc
|
||||
src/model/CustomLayoutRequest.cc
|
||||
src/model/CustomLayoutResult.cc
|
||||
src/model/DeleteDeviceRequest.cc
|
||||
src/model/DeleteDeviceResult.cc
|
||||
src/model/DeleteLiveRequest.cc
|
||||
@@ -146,12 +174,18 @@ set(aliyuncvc_src
|
||||
src/model/DeleteMeetingResult.cc
|
||||
src/model/DeleteUserRequest.cc
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/EnableLiveSpeakerRequest.cc
|
||||
src/model/EnableLiveSpeakerResult.cc
|
||||
src/model/EndDeviceMeetingRequest.cc
|
||||
src/model/EndDeviceMeetingResult.cc
|
||||
src/model/EndLiveRequest.cc
|
||||
src/model/EndLiveResult.cc
|
||||
src/model/GetAccountInfoRequest.cc
|
||||
src/model/GetAccountInfoResult.cc
|
||||
src/model/GetDeviceActiveCodeRequest.cc
|
||||
src/model/GetDeviceActiveCodeResult.cc
|
||||
src/model/GetDeviceInfoRequest.cc
|
||||
src/model/GetDeviceInfoResult.cc
|
||||
src/model/GetDeviceTokenRequest.cc
|
||||
src/model/GetDeviceTokenResult.cc
|
||||
src/model/GetMeetingRequest.cc
|
||||
@@ -162,8 +196,12 @@ set(aliyuncvc_src
|
||||
src/model/GetMeetingMemberResult.cc
|
||||
src/model/GetMembersRequest.cc
|
||||
src/model/GetMembersResult.cc
|
||||
src/model/GetStatisticRequest.cc
|
||||
src/model/GetStatisticResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/InviteUserRequest.cc
|
||||
src/model/InviteUserResult.cc
|
||||
src/model/JoinDeviceMeetingRequest.cc
|
||||
src/model/JoinDeviceMeetingResult.cc
|
||||
src/model/JoinLiveRequest.cc
|
||||
@@ -172,6 +210,8 @@ set(aliyuncvc_src
|
||||
src/model/JoinMeetingResult.cc
|
||||
src/model/JoinMeetingInternationalRequest.cc
|
||||
src/model/JoinMeetingInternationalResult.cc
|
||||
src/model/ListConferenceDevicesRequest.cc
|
||||
src/model/ListConferenceDevicesResult.cc
|
||||
src/model/ListDeviceIpRequest.cc
|
||||
src/model/ListDeviceIpResult.cc
|
||||
src/model/ListDevicesRequest.cc
|
||||
@@ -184,18 +224,26 @@ set(aliyuncvc_src
|
||||
src/model/ListMembersResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/ModifyDeviceBackgroundRequest.cc
|
||||
src/model/ModifyDeviceBackgroundResult.cc
|
||||
src/model/ModifyMeetingPasswordRequest.cc
|
||||
src/model/ModifyMeetingPasswordResult.cc
|
||||
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
||||
src/model/ModifyMeetingPasswordInternationalResult.cc
|
||||
src/model/RefreshDeviceScreenCodeRequest.cc
|
||||
src/model/RefreshDeviceScreenCodeResult.cc
|
||||
src/model/RegisterDeviceRequest.cc
|
||||
src/model/RegisterDeviceResult.cc
|
||||
src/model/RegisterUemDeviceRequest.cc
|
||||
src/model/RegisterUemDeviceResult.cc
|
||||
src/model/SendMeetingCommandRequest.cc
|
||||
src/model/SendMeetingCommandResult.cc
|
||||
src/model/StartLiveRequest.cc
|
||||
src/model/StartLiveResult.cc
|
||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||
src/model/UpdateDeviceHeartBeatResult.cc
|
||||
src/model/UpdateDeviceStartupPictureRequest.cc
|
||||
src/model/UpdateDeviceStartupPictureResult.cc
|
||||
src/model/UpdateGonggeLayoutRequest.cc
|
||||
src/model/UpdateGonggeLayoutResult.cc
|
||||
src/model/UpdateLivePasswordRequest.cc
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "model/BatchDeleteDevicesResult.h"
|
||||
#include "model/CallDeviceRequest.h"
|
||||
#include "model/CallDeviceResult.h"
|
||||
#include "model/ConferenceToLiveRequest.h"
|
||||
#include "model/ConferenceToLiveResult.h"
|
||||
#include "model/CreateDeviceMeetingRequest.h"
|
||||
#include "model/CreateDeviceMeetingResult.h"
|
||||
#include "model/CreateEvaluationRequest.h"
|
||||
@@ -48,6 +50,8 @@
|
||||
#include "model/CreateUserInternationalResult.h"
|
||||
#include "model/CustomGonggeLayoutRequest.h"
|
||||
#include "model/CustomGonggeLayoutResult.h"
|
||||
#include "model/CustomLayoutRequest.h"
|
||||
#include "model/CustomLayoutResult.h"
|
||||
#include "model/DeleteDeviceRequest.h"
|
||||
#include "model/DeleteDeviceResult.h"
|
||||
#include "model/DeleteLiveRequest.h"
|
||||
@@ -56,12 +60,18 @@
|
||||
#include "model/DeleteMeetingResult.h"
|
||||
#include "model/DeleteUserRequest.h"
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/EnableLiveSpeakerRequest.h"
|
||||
#include "model/EnableLiveSpeakerResult.h"
|
||||
#include "model/EndDeviceMeetingRequest.h"
|
||||
#include "model/EndDeviceMeetingResult.h"
|
||||
#include "model/EndLiveRequest.h"
|
||||
#include "model/EndLiveResult.h"
|
||||
#include "model/GetAccountInfoRequest.h"
|
||||
#include "model/GetAccountInfoResult.h"
|
||||
#include "model/GetDeviceActiveCodeRequest.h"
|
||||
#include "model/GetDeviceActiveCodeResult.h"
|
||||
#include "model/GetDeviceInfoRequest.h"
|
||||
#include "model/GetDeviceInfoResult.h"
|
||||
#include "model/GetDeviceTokenRequest.h"
|
||||
#include "model/GetDeviceTokenResult.h"
|
||||
#include "model/GetMeetingRequest.h"
|
||||
@@ -72,8 +82,12 @@
|
||||
#include "model/GetMeetingMemberResult.h"
|
||||
#include "model/GetMembersRequest.h"
|
||||
#include "model/GetMembersResult.h"
|
||||
#include "model/GetStatisticRequest.h"
|
||||
#include "model/GetStatisticResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/InviteUserRequest.h"
|
||||
#include "model/InviteUserResult.h"
|
||||
#include "model/JoinDeviceMeetingRequest.h"
|
||||
#include "model/JoinDeviceMeetingResult.h"
|
||||
#include "model/JoinLiveRequest.h"
|
||||
@@ -82,6 +96,8 @@
|
||||
#include "model/JoinMeetingResult.h"
|
||||
#include "model/JoinMeetingInternationalRequest.h"
|
||||
#include "model/JoinMeetingInternationalResult.h"
|
||||
#include "model/ListConferenceDevicesRequest.h"
|
||||
#include "model/ListConferenceDevicesResult.h"
|
||||
#include "model/ListDeviceIpRequest.h"
|
||||
#include "model/ListDeviceIpResult.h"
|
||||
#include "model/ListDevicesRequest.h"
|
||||
@@ -94,18 +110,26 @@
|
||||
#include "model/ListMembersResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/ModifyDeviceBackgroundRequest.h"
|
||||
#include "model/ModifyDeviceBackgroundResult.h"
|
||||
#include "model/ModifyMeetingPasswordRequest.h"
|
||||
#include "model/ModifyMeetingPasswordResult.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
||||
#include "model/RefreshDeviceScreenCodeRequest.h"
|
||||
#include "model/RefreshDeviceScreenCodeResult.h"
|
||||
#include "model/RegisterDeviceRequest.h"
|
||||
#include "model/RegisterDeviceResult.h"
|
||||
#include "model/RegisterUemDeviceRequest.h"
|
||||
#include "model/RegisterUemDeviceResult.h"
|
||||
#include "model/SendMeetingCommandRequest.h"
|
||||
#include "model/SendMeetingCommandResult.h"
|
||||
#include "model/StartLiveRequest.h"
|
||||
#include "model/StartLiveResult.h"
|
||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||
#include "model/UpdateDeviceHeartBeatResult.h"
|
||||
#include "model/UpdateDeviceStartupPictureRequest.h"
|
||||
#include "model/UpdateDeviceStartupPictureResult.h"
|
||||
#include "model/UpdateGonggeLayoutRequest.h"
|
||||
#include "model/UpdateGonggeLayoutResult.h"
|
||||
#include "model/UpdateLivePasswordRequest.h"
|
||||
@@ -134,6 +158,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CallDeviceResult> CallDeviceOutcome;
|
||||
typedef std::future<CallDeviceOutcome> CallDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CallDeviceRequest&, const CallDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConferenceToLiveResult> ConferenceToLiveOutcome;
|
||||
typedef std::future<ConferenceToLiveOutcome> ConferenceToLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ConferenceToLiveRequest&, const ConferenceToLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConferenceToLiveAsyncHandler;
|
||||
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;
|
||||
@@ -158,6 +185,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CustomGonggeLayoutResult> CustomGonggeLayoutOutcome;
|
||||
typedef std::future<CustomGonggeLayoutOutcome> CustomGonggeLayoutOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CustomGonggeLayoutRequest&, const CustomGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CustomGonggeLayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::CustomLayoutResult> CustomLayoutOutcome;
|
||||
typedef std::future<CustomLayoutOutcome> CustomLayoutOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CustomLayoutRequest&, const CustomLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CustomLayoutAsyncHandler;
|
||||
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;
|
||||
@@ -170,15 +200,24 @@ namespace AlibabaCloud
|
||||
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::EnableLiveSpeakerResult> EnableLiveSpeakerOutcome;
|
||||
typedef std::future<EnableLiveSpeakerOutcome> EnableLiveSpeakerOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::EnableLiveSpeakerRequest&, const EnableLiveSpeakerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableLiveSpeakerAsyncHandler;
|
||||
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::GetAccountInfoResult> GetAccountInfoOutcome;
|
||||
typedef std::future<GetAccountInfoOutcome> GetAccountInfoOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetAccountInfoRequest&, const GetAccountInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceActiveCodeResult> GetDeviceActiveCodeOutcome;
|
||||
typedef 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::GetDeviceInfoResult> GetDeviceInfoOutcome;
|
||||
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
||||
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
||||
@@ -194,9 +233,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
||||
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetStatisticResult> GetStatisticOutcome;
|
||||
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef 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::InviteUserResult> InviteUserOutcome;
|
||||
typedef std::future<InviteUserOutcome> InviteUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::InviteUserRequest&, const InviteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InviteUserAsyncHandler;
|
||||
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;
|
||||
@@ -209,6 +254,9 @@ namespace AlibabaCloud
|
||||
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::ListConferenceDevicesResult> ListConferenceDevicesOutcome;
|
||||
typedef std::future<ListConferenceDevicesOutcome> ListConferenceDevicesOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListConferenceDevicesRequest&, const ListConferenceDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConferenceDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
|
||||
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
|
||||
@@ -227,24 +275,36 @@ 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::ModifyDeviceBackgroundResult> ModifyDeviceBackgroundOutcome;
|
||||
typedef std::future<ModifyDeviceBackgroundOutcome> ModifyDeviceBackgroundOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyDeviceBackgroundRequest&, const ModifyDeviceBackgroundOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceBackgroundAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyMeetingPasswordResult> ModifyMeetingPasswordOutcome;
|
||||
typedef 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::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
|
||||
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
|
||||
typedef 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::SendMeetingCommandResult> SendMeetingCommandOutcome;
|
||||
typedef std::future<SendMeetingCommandOutcome> SendMeetingCommandOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::SendMeetingCommandRequest&, const SendMeetingCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMeetingCommandAsyncHandler;
|
||||
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::UpdateDeviceStartupPictureResult> UpdateDeviceStartupPictureOutcome;
|
||||
typedef std::future<UpdateDeviceStartupPictureOutcome> UpdateDeviceStartupPictureOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceStartupPictureRequest&, const UpdateDeviceStartupPictureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceStartupPictureAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateGonggeLayoutResult> UpdateGonggeLayoutOutcome;
|
||||
typedef std::future<UpdateGonggeLayoutOutcome> UpdateGonggeLayoutOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateGonggeLayoutRequest&, const UpdateGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGonggeLayoutAsyncHandler;
|
||||
@@ -271,6 +331,9 @@ namespace AlibabaCloud
|
||||
CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const;
|
||||
void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const;
|
||||
ConferenceToLiveOutcome conferenceToLive(const Model::ConferenceToLiveRequest &request)const;
|
||||
void conferenceToLiveAsync(const Model::ConferenceToLiveRequest& request, const ConferenceToLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConferenceToLiveOutcomeCallable conferenceToLiveCallable(const Model::ConferenceToLiveRequest& 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;
|
||||
@@ -295,6 +358,9 @@ namespace AlibabaCloud
|
||||
CustomGonggeLayoutOutcome customGonggeLayout(const Model::CustomGonggeLayoutRequest &request)const;
|
||||
void customGonggeLayoutAsync(const Model::CustomGonggeLayoutRequest& request, const CustomGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CustomGonggeLayoutOutcomeCallable customGonggeLayoutCallable(const Model::CustomGonggeLayoutRequest& request) const;
|
||||
CustomLayoutOutcome customLayout(const Model::CustomLayoutRequest &request)const;
|
||||
void customLayoutAsync(const Model::CustomLayoutRequest& request, const CustomLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CustomLayoutOutcomeCallable customLayoutCallable(const Model::CustomLayoutRequest& 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;
|
||||
@@ -307,15 +373,24 @@ namespace AlibabaCloud
|
||||
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;
|
||||
EnableLiveSpeakerOutcome enableLiveSpeaker(const Model::EnableLiveSpeakerRequest &request)const;
|
||||
void enableLiveSpeakerAsync(const Model::EnableLiveSpeakerRequest& request, const EnableLiveSpeakerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableLiveSpeakerOutcomeCallable enableLiveSpeakerCallable(const Model::EnableLiveSpeakerRequest& 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;
|
||||
GetAccountInfoOutcome getAccountInfo(const Model::GetAccountInfoRequest &request)const;
|
||||
void getAccountInfoAsync(const Model::GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccountInfoOutcomeCallable getAccountInfoCallable(const Model::GetAccountInfoRequest& request) const;
|
||||
GetDeviceActiveCodeOutcome getDeviceActiveCode(const Model::GetDeviceActiveCodeRequest &request)const;
|
||||
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;
|
||||
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
|
||||
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
|
||||
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
|
||||
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;
|
||||
@@ -331,9 +406,15 @@ namespace AlibabaCloud
|
||||
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
||||
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
||||
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
|
||||
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
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;
|
||||
InviteUserOutcome inviteUser(const Model::InviteUserRequest &request)const;
|
||||
void inviteUserAsync(const Model::InviteUserRequest& request, const InviteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InviteUserOutcomeCallable inviteUserCallable(const Model::InviteUserRequest& 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;
|
||||
@@ -346,6 +427,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ListConferenceDevicesOutcome listConferenceDevices(const Model::ListConferenceDevicesRequest &request)const;
|
||||
void listConferenceDevicesAsync(const Model::ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConferenceDevicesOutcomeCallable listConferenceDevicesCallable(const Model::ListConferenceDevicesRequest& request) const;
|
||||
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
|
||||
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;
|
||||
@@ -364,24 +448,36 @@ 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;
|
||||
ModifyDeviceBackgroundOutcome modifyDeviceBackground(const Model::ModifyDeviceBackgroundRequest &request)const;
|
||||
void modifyDeviceBackgroundAsync(const Model::ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDeviceBackgroundOutcomeCallable modifyDeviceBackgroundCallable(const Model::ModifyDeviceBackgroundRequest& request) const;
|
||||
ModifyMeetingPasswordOutcome modifyMeetingPassword(const Model::ModifyMeetingPasswordRequest &request)const;
|
||||
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;
|
||||
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
|
||||
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
|
||||
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
|
||||
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;
|
||||
SendMeetingCommandOutcome sendMeetingCommand(const Model::SendMeetingCommandRequest &request)const;
|
||||
void sendMeetingCommandAsync(const Model::SendMeetingCommandRequest& request, const SendMeetingCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendMeetingCommandOutcomeCallable sendMeetingCommandCallable(const Model::SendMeetingCommandRequest& 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;
|
||||
UpdateDeviceStartupPictureOutcome updateDeviceStartupPicture(const Model::UpdateDeviceStartupPictureRequest &request)const;
|
||||
void updateDeviceStartupPictureAsync(const Model::UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDeviceStartupPictureOutcomeCallable updateDeviceStartupPictureCallable(const Model::UpdateDeviceStartupPictureRequest& request) const;
|
||||
UpdateGonggeLayoutOutcome updateGonggeLayout(const Model::UpdateGonggeLayoutRequest &request)const;
|
||||
void updateGonggeLayoutAsync(const Model::UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateGonggeLayoutOutcomeCallable updateGonggeLayoutCallable(const Model::UpdateGonggeLayoutRequest& request) const;
|
||||
|
||||
@@ -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_CONFERENCETOLIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVEREQUEST_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 ConferenceToLiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConferenceToLiveRequest();
|
||||
~ConferenceToLiveRequest();
|
||||
|
||||
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);
|
||||
std::string getLiveName()const;
|
||||
void setLiveName(const std::string& liveName);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string meetingUUID_;
|
||||
std::string password_;
|
||||
std::string liveName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVEREQUEST_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_CONFERENCETOLIVERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVERESULT_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 ConferenceToLiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveInfo
|
||||
{
|
||||
std::string liveUUID;
|
||||
};
|
||||
|
||||
|
||||
ConferenceToLiveResult();
|
||||
explicit ConferenceToLiveResult(const std::string &payload);
|
||||
~ConferenceToLiveResult();
|
||||
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_CONFERENCETOLIVERESULT_H_
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
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;
|
||||
@@ -47,7 +45,6 @@ namespace AlibabaCloud
|
||||
void setLiveName(const std::string& liveName);
|
||||
|
||||
private:
|
||||
std::string memo_;
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string password_;
|
||||
|
||||
@@ -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_CUSTOMLAYOUTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMLAYOUTREQUEST_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 CustomLayoutRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CustomLayoutRequest();
|
||||
~CustomLayoutRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getLayoutInfo()const;
|
||||
void setLayoutInfo(const std::string& layoutInfo);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string layoutInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMLAYOUTREQUEST_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_CUSTOMLAYOUTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMLAYOUTRESULT_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 CustomLayoutResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CustomLayoutResult();
|
||||
explicit CustomLayoutResult(const std::string &payload);
|
||||
~CustomLayoutResult();
|
||||
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_CUSTOMLAYOUTRESULT_H_
|
||||
@@ -39,14 +39,14 @@ namespace AlibabaCloud
|
||||
~DeleteUserResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
std::string getSuccess()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
std::string success_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_ENABLELIVESPEAKERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERREQUEST_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 EnableLiveSpeakerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableLiveSpeakerRequest();
|
||||
~EnableLiveSpeakerRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
bool getEnableSpeakerFlag()const;
|
||||
void setEnableSpeakerFlag(bool enableSpeakerFlag);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
bool enableSpeakerFlag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERREQUEST_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_ENABLELIVESPEAKERRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERRESULT_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 EnableLiveSpeakerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableLiveSpeakerResult();
|
||||
explicit EnableLiveSpeakerResult(const std::string &payload);
|
||||
~EnableLiveSpeakerResult();
|
||||
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_ENABLELIVESPEAKERRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetAccountInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAccountInfoRequest();
|
||||
~GetAccountInfoRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetAccountInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccountInfo
|
||||
{
|
||||
int accountApplicationNumber;
|
||||
int accountApplicationMax;
|
||||
int accountConcurrentMax;
|
||||
};
|
||||
|
||||
|
||||
GetAccountInfoResult();
|
||||
explicit GetAccountInfoResult(const std::string &payload);
|
||||
~GetAccountInfoResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
AccountInfo getAccountInfo()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
AccountInfo accountInfo_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDeviceInfoRequest();
|
||||
~GetDeviceInfoRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Device
|
||||
{
|
||||
int status;
|
||||
std::string castScreenCode;
|
||||
std::string iP;
|
||||
std::string sn;
|
||||
std::string ssid;
|
||||
std::string activationCode;
|
||||
std::string mac;
|
||||
};
|
||||
|
||||
|
||||
GetDeviceInfoResult();
|
||||
explicit GetDeviceInfoResult(const std::string &payload);
|
||||
~GetDeviceInfoResult();
|
||||
std::string getMessage()const;
|
||||
Device getDevice()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Device device_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetStatisticRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetStatisticRequest();
|
||||
~GetStatisticRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetStatisticResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StatisticInfo
|
||||
{
|
||||
long meetingNumber;
|
||||
long memberNumber;
|
||||
long maxConcurrency;
|
||||
long meetingDuration;
|
||||
};
|
||||
|
||||
|
||||
GetStatisticResult();
|
||||
explicit GetStatisticResult(const std::string &payload);
|
||||
~GetStatisticResult();
|
||||
std::string getMessage()const;
|
||||
StatisticInfo getStatisticInfo()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
StatisticInfo statisticInfo_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
|
||||
@@ -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_INVITEUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_INVITEUSERREQUEST_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 InviteUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
InviteUserRequest();
|
||||
~InviteUserRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getUserIds()const;
|
||||
void setUserIds(const std::string& userIds);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
std::string userIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_INVITEUSERREQUEST_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_INVITEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_INVITEUSERRESULT_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 InviteUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
InviteUserResult();
|
||||
explicit InviteUserResult(const std::string &payload);
|
||||
~InviteUserResult();
|
||||
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_INVITEUSERRESULT_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_LISTCONFERENCEDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_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 ListConferenceDevicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListConferenceDevicesRequest();
|
||||
~ListConferenceDevicesRequest();
|
||||
|
||||
std::string getSerialNumber()const;
|
||||
void setSerialNumber(const std::string& serialNumber);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string serialNumber_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListConferenceDevicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Data
|
||||
{
|
||||
std::string deviceModel;
|
||||
std::string status;
|
||||
std::string castScreenCode;
|
||||
std::string createTime;
|
||||
std::string manufacturer;
|
||||
std::string pictureUrl;
|
||||
std::string sN;
|
||||
std::string conferenceName;
|
||||
std::string activationCode;
|
||||
std::string conferenceCode;
|
||||
};
|
||||
std::vector<Data> conferences;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
int total;
|
||||
};
|
||||
|
||||
|
||||
ListConferenceDevicesResult();
|
||||
explicit ListConferenceDevicesResult(const std::string &payload);
|
||||
~ListConferenceDevicesResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_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_MODIFYDEVICEBACKGROUNDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_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 ModifyDeviceBackgroundRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDeviceBackgroundRequest();
|
||||
~ModifyDeviceBackgroundRequest();
|
||||
|
||||
std::string getSerialNumber()const;
|
||||
void setSerialNumber(const std::string& serialNumber);
|
||||
std::string getPicture()const;
|
||||
void setPicture(const std::string& picture);
|
||||
|
||||
private:
|
||||
std::string serialNumber_;
|
||||
std::string picture_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyDeviceBackgroundResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDeviceBackgroundResult();
|
||||
explicit ModifyDeviceBackgroundResult(const std::string &payload);
|
||||
~ModifyDeviceBackgroundResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
|
||||
@@ -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_REFRESHDEVICESCREENCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_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 RefreshDeviceScreenCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RefreshDeviceScreenCodeRequest();
|
||||
~RefreshDeviceScreenCodeRequest();
|
||||
|
||||
std::string getSerialNumber()const;
|
||||
void setSerialNumber(const std::string& serialNumber);
|
||||
|
||||
private:
|
||||
std::string serialNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT RefreshDeviceScreenCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string screenCode;
|
||||
std::string serialNumber;
|
||||
};
|
||||
|
||||
|
||||
RefreshDeviceScreenCodeResult();
|
||||
explicit RefreshDeviceScreenCodeResult(const std::string &payload);
|
||||
~RefreshDeviceScreenCodeResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setIP(const std::string& iP);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getGroupName()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string iP_;
|
||||
std::string groupId_;
|
||||
std::string ownerId_;
|
||||
std::string deviceId_;
|
||||
std::string groupName_;
|
||||
std::string mac_;
|
||||
|
||||
@@ -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_SENDMEETINGCOMMANDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDREQUEST_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 SendMeetingCommandRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendMeetingCommandRequest();
|
||||
~SendMeetingCommandRequest();
|
||||
|
||||
std::string getOperatorMemberUUID()const;
|
||||
void setOperatorMemberUUID(const std::string& operatorMemberUUID);
|
||||
std::string getMemberUUID()const;
|
||||
void setMemberUUID(const std::string& memberUUID);
|
||||
int getSendType()const;
|
||||
void setSendType(int sendType);
|
||||
std::string getCommand()const;
|
||||
void setCommand(const std::string& command);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string operatorMemberUUID_;
|
||||
std::string memberUUID_;
|
||||
int sendType_;
|
||||
std::string command_;
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDREQUEST_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_SENDMEETINGCOMMANDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDRESULT_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 SendMeetingCommandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SendMeetingCommandResult();
|
||||
explicit SendMeetingCommandResult(const std::string &payload);
|
||||
~SendMeetingCommandResult();
|
||||
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_SENDMEETINGCOMMANDRESULT_H_
|
||||
@@ -37,12 +37,18 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getPushInfo()const;
|
||||
void setPushInfo(const std::string& pushInfo);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getLayoutInfo()const;
|
||||
void setLayoutInfo(const std::string& layoutInfo);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string pushInfo_;
|
||||
std::string userId_;
|
||||
std::string layoutInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceStartupPictureRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateDeviceStartupPictureRequest();
|
||||
~UpdateDeviceStartupPictureRequest();
|
||||
|
||||
std::string getSerialNumber()const;
|
||||
void setSerialNumber(const std::string& serialNumber);
|
||||
std::string getPicture()const;
|
||||
void setPicture(const std::string& picture);
|
||||
|
||||
private:
|
||||
std::string serialNumber_;
|
||||
std::string picture_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceStartupPictureResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateDeviceStartupPictureResult();
|
||||
explicit UpdateDeviceStartupPictureResult(const std::string &payload);
|
||||
~UpdateDeviceStartupPictureResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
|
||||
@@ -231,6 +231,42 @@ AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ConferenceToLiveOutcome AliyuncvcClient::conferenceToLive(const ConferenceToLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ConferenceToLiveOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ConferenceToLiveOutcome(ConferenceToLiveResult(outcome.result()));
|
||||
else
|
||||
return ConferenceToLiveOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::conferenceToLiveAsync(const ConferenceToLiveRequest& request, const ConferenceToLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, conferenceToLive(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ConferenceToLiveOutcomeCallable AliyuncvcClient::conferenceToLiveCallable(const ConferenceToLiveRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ConferenceToLiveOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->conferenceToLive(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +555,42 @@ AliyuncvcClient::CustomGonggeLayoutOutcomeCallable AliyuncvcClient::customGongge
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CustomLayoutOutcome AliyuncvcClient::customLayout(const CustomLayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CustomLayoutOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CustomLayoutOutcome(CustomLayoutResult(outcome.result()));
|
||||
else
|
||||
return CustomLayoutOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::customLayoutAsync(const CustomLayoutRequest& request, const CustomLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, customLayout(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CustomLayoutOutcomeCallable AliyuncvcClient::customLayoutCallable(const CustomLayoutRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CustomLayoutOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->customLayout(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteDeviceOutcome AliyuncvcClient::deleteDevice(const DeleteDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,6 +735,42 @@ AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::EnableLiveSpeakerOutcome AliyuncvcClient::enableLiveSpeaker(const EnableLiveSpeakerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableLiveSpeakerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableLiveSpeakerOutcome(EnableLiveSpeakerResult(outcome.result()));
|
||||
else
|
||||
return EnableLiveSpeakerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::enableLiveSpeakerAsync(const EnableLiveSpeakerRequest& request, const EnableLiveSpeakerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableLiveSpeaker(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::EnableLiveSpeakerOutcomeCallable AliyuncvcClient::enableLiveSpeakerCallable(const EnableLiveSpeakerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableLiveSpeakerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableLiveSpeaker(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::EndDeviceMeetingOutcome AliyuncvcClient::endDeviceMeeting(const EndDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +843,42 @@ AliyuncvcClient::EndLiveOutcomeCallable AliyuncvcClient::endLiveCallable(const E
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetAccountInfoOutcome AliyuncvcClient::getAccountInfo(const GetAccountInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAccountInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAccountInfoOutcome(GetAccountInfoResult(outcome.result()));
|
||||
else
|
||||
return GetAccountInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getAccountInfoAsync(const GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAccountInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetAccountInfoOutcomeCallable AliyuncvcClient::getAccountInfoCallable(const GetAccountInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAccountInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAccountInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceActiveCodeOutcome AliyuncvcClient::getDeviceActiveCode(const GetDeviceActiveCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -771,6 +915,42 @@ AliyuncvcClient::GetDeviceActiveCodeOutcomeCallable AliyuncvcClient::getDeviceAc
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceInfoOutcome AliyuncvcClient::getDeviceInfo(const GetDeviceInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDeviceInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDeviceInfoOutcome(GetDeviceInfoResult(outcome.result()));
|
||||
else
|
||||
return GetDeviceInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getDeviceInfoAsync(const GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDeviceInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceInfoOutcomeCallable AliyuncvcClient::getDeviceInfoCallable(const GetDeviceInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDeviceInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDeviceInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +1131,42 @@ AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetStatisticOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetStatisticOutcome(GetStatisticResult(outcome.result()));
|
||||
else
|
||||
return GetStatisticOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getStatisticAsync(const GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getStatistic(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetStatisticOutcomeCallable AliyuncvcClient::getStatisticCallable(const GetStatisticRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetStatisticOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getStatistic(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1203,42 @@ AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const G
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::InviteUserOutcome AliyuncvcClient::inviteUser(const InviteUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return InviteUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return InviteUserOutcome(InviteUserResult(outcome.result()));
|
||||
else
|
||||
return InviteUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::inviteUserAsync(const InviteUserRequest& request, const InviteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, inviteUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::InviteUserOutcomeCallable AliyuncvcClient::inviteUserCallable(const InviteUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<InviteUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->inviteUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::JoinDeviceMeetingOutcome AliyuncvcClient::joinDeviceMeeting(const JoinDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1131,6 +1383,42 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListConferenceDevicesOutcome AliyuncvcClient::listConferenceDevices(const ListConferenceDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListConferenceDevicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListConferenceDevicesOutcome(ListConferenceDevicesResult(outcome.result()));
|
||||
else
|
||||
return ListConferenceDevicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::listConferenceDevicesAsync(const ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listConferenceDevices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListConferenceDevicesOutcomeCallable AliyuncvcClient::listConferenceDevicesCallable(const ListConferenceDevicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListConferenceDevicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listConferenceDevices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1347,6 +1635,42 @@ AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ModifyDeviceBackgroundOutcome AliyuncvcClient::modifyDeviceBackground(const ModifyDeviceBackgroundRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDeviceBackgroundOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDeviceBackgroundOutcome(ModifyDeviceBackgroundResult(outcome.result()));
|
||||
else
|
||||
return ModifyDeviceBackgroundOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::modifyDeviceBackgroundAsync(const ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDeviceBackground(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ModifyDeviceBackgroundOutcomeCallable AliyuncvcClient::modifyDeviceBackgroundCallable(const ModifyDeviceBackgroundRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDeviceBackgroundOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDeviceBackground(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ModifyMeetingPasswordOutcome AliyuncvcClient::modifyMeetingPassword(const ModifyMeetingPasswordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1419,6 +1743,42 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RefreshDeviceScreenCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RefreshDeviceScreenCodeOutcome(RefreshDeviceScreenCodeResult(outcome.result()));
|
||||
else
|
||||
return RefreshDeviceScreenCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::refreshDeviceScreenCodeAsync(const RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, refreshDeviceScreenCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::RefreshDeviceScreenCodeOutcomeCallable AliyuncvcClient::refreshDeviceScreenCodeCallable(const RefreshDeviceScreenCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RefreshDeviceScreenCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->refreshDeviceScreenCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1491,6 +1851,42 @@ AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendMeetingCommandOutcome AliyuncvcClient::sendMeetingCommand(const SendMeetingCommandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendMeetingCommandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendMeetingCommandOutcome(SendMeetingCommandResult(outcome.result()));
|
||||
else
|
||||
return SendMeetingCommandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::sendMeetingCommandAsync(const SendMeetingCommandRequest& request, const SendMeetingCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendMeetingCommand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendMeetingCommandOutcomeCallable AliyuncvcClient::sendMeetingCommandCallable(const SendMeetingCommandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendMeetingCommandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendMeetingCommand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1563,6 +1959,42 @@ AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDev
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateDeviceStartupPictureOutcome AliyuncvcClient::updateDeviceStartupPicture(const UpdateDeviceStartupPictureRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateDeviceStartupPictureOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateDeviceStartupPictureOutcome(UpdateDeviceStartupPictureResult(outcome.result()));
|
||||
else
|
||||
return UpdateDeviceStartupPictureOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::updateDeviceStartupPictureAsync(const UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateDeviceStartupPicture(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateDeviceStartupPictureOutcomeCallable AliyuncvcClient::updateDeviceStartupPictureCallable(const UpdateDeviceStartupPictureRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateDeviceStartupPictureOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateDeviceStartupPicture(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateGonggeLayoutOutcome AliyuncvcClient::updateGonggeLayout(const UpdateGonggeLayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
84
aliyuncvc/src/model/ConferenceToLiveRequest.cc
Normal file
84
aliyuncvc/src/model/ConferenceToLiveRequest.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/ConferenceToLiveRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::ConferenceToLiveRequest;
|
||||
|
||||
ConferenceToLiveRequest::ConferenceToLiveRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ConferenceToLive")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConferenceToLiveRequest::~ConferenceToLiveRequest()
|
||||
{}
|
||||
|
||||
std::string ConferenceToLiveRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
bool ConferenceToLiveRequest::getOpenPasswordFlag()const
|
||||
{
|
||||
return openPasswordFlag_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setOpenPasswordFlag(bool openPasswordFlag)
|
||||
{
|
||||
openPasswordFlag_ = openPasswordFlag;
|
||||
setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConferenceToLiveRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string ConferenceToLiveRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setBodyParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string ConferenceToLiveRequest::getLiveName()const
|
||||
{
|
||||
return liveName_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setLiveName(const std::string& liveName)
|
||||
{
|
||||
liveName_ = liveName;
|
||||
setBodyParameter("LiveName", liveName);
|
||||
}
|
||||
|
||||
73
aliyuncvc/src/model/ConferenceToLiveResult.cc
Normal file
73
aliyuncvc/src/model/ConferenceToLiveResult.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/ConferenceToLiveResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
ConferenceToLiveResult::ConferenceToLiveResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ConferenceToLiveResult::ConferenceToLiveResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ConferenceToLiveResult::~ConferenceToLiveResult()
|
||||
{}
|
||||
|
||||
void ConferenceToLiveResult::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(!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 ConferenceToLiveResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ConferenceToLiveResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ConferenceToLiveResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
ConferenceToLiveResult::LiveInfo ConferenceToLiveResult::getLiveInfo()const
|
||||
{
|
||||
return liveInfo_;
|
||||
}
|
||||
|
||||
@@ -27,17 +27,6 @@ CreateLiveRequest::CreateLiveRequest() :
|
||||
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_;
|
||||
|
||||
51
aliyuncvc/src/model/CustomLayoutRequest.cc
Normal file
51
aliyuncvc/src/model/CustomLayoutRequest.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/CustomLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CustomLayoutRequest;
|
||||
|
||||
CustomLayoutRequest::CustomLayoutRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CustomLayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CustomLayoutRequest::~CustomLayoutRequest()
|
||||
{}
|
||||
|
||||
std::string CustomLayoutRequest::getLiveUUID()const
|
||||
{
|
||||
return liveUUID_;
|
||||
}
|
||||
|
||||
void CustomLayoutRequest::setLiveUUID(const std::string& liveUUID)
|
||||
{
|
||||
liveUUID_ = liveUUID;
|
||||
setBodyParameter("LiveUUID", liveUUID);
|
||||
}
|
||||
|
||||
std::string CustomLayoutRequest::getLayoutInfo()const
|
||||
{
|
||||
return layoutInfo_;
|
||||
}
|
||||
|
||||
void CustomLayoutRequest::setLayoutInfo(const std::string& layoutInfo)
|
||||
{
|
||||
layoutInfo_ = layoutInfo;
|
||||
setBodyParameter("LayoutInfo", layoutInfo);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/CustomLayoutResult.cc
Normal file
65
aliyuncvc/src/model/CustomLayoutResult.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/CustomLayoutResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CustomLayoutResult::CustomLayoutResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CustomLayoutResult::CustomLayoutResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CustomLayoutResult::~CustomLayoutResult()
|
||||
{}
|
||||
|
||||
void CustomLayoutResult::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 CustomLayoutResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CustomLayoutResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CustomLayoutResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ void DeleteUserResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
@@ -58,7 +58,7 @@ int DeleteUserResult::getErrorCode()const
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteUserResult::getSuccess()const
|
||||
bool DeleteUserResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/EnableLiveSpeakerRequest.cc
Normal file
51
aliyuncvc/src/model/EnableLiveSpeakerRequest.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/EnableLiveSpeakerRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::EnableLiveSpeakerRequest;
|
||||
|
||||
EnableLiveSpeakerRequest::EnableLiveSpeakerRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "EnableLiveSpeaker")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnableLiveSpeakerRequest::~EnableLiveSpeakerRequest()
|
||||
{}
|
||||
|
||||
std::string EnableLiveSpeakerRequest::getLiveUUID()const
|
||||
{
|
||||
return liveUUID_;
|
||||
}
|
||||
|
||||
void EnableLiveSpeakerRequest::setLiveUUID(const std::string& liveUUID)
|
||||
{
|
||||
liveUUID_ = liveUUID;
|
||||
setBodyParameter("LiveUUID", liveUUID);
|
||||
}
|
||||
|
||||
bool EnableLiveSpeakerRequest::getEnableSpeakerFlag()const
|
||||
{
|
||||
return enableSpeakerFlag_;
|
||||
}
|
||||
|
||||
void EnableLiveSpeakerRequest::setEnableSpeakerFlag(bool enableSpeakerFlag)
|
||||
{
|
||||
enableSpeakerFlag_ = enableSpeakerFlag;
|
||||
setBodyParameter("EnableSpeakerFlag", enableSpeakerFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/EnableLiveSpeakerResult.cc
Normal file
65
aliyuncvc/src/model/EnableLiveSpeakerResult.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/EnableLiveSpeakerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
EnableLiveSpeakerResult::EnableLiveSpeakerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableLiveSpeakerResult::EnableLiveSpeakerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableLiveSpeakerResult::~EnableLiveSpeakerResult()
|
||||
{}
|
||||
|
||||
void EnableLiveSpeakerResult::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 EnableLiveSpeakerResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int EnableLiveSpeakerResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool EnableLiveSpeakerResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -14,17 +14,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DeleteTriggerHookRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/GetAccountInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DeleteTriggerHookRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetAccountInfoRequest;
|
||||
|
||||
DeleteTriggerHookRequest::DeleteTriggerHookRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
GetAccountInfoRequest::GetAccountInfoRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetAccountInfo")
|
||||
{
|
||||
setResourcePath("/api/v2/hook/trigger");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTriggerHookRequest::~DeleteTriggerHookRequest()
|
||||
GetAccountInfoRequest::~GetAccountInfoRequest()
|
||||
{}
|
||||
|
||||
77
aliyuncvc/src/model/GetAccountInfoResult.cc
Normal file
77
aliyuncvc/src/model/GetAccountInfoResult.cc
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetAccountInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetAccountInfoResult::GetAccountInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAccountInfoResult::GetAccountInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAccountInfoResult::~GetAccountInfoResult()
|
||||
{}
|
||||
|
||||
void GetAccountInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto accountInfoNode = value["AccountInfo"];
|
||||
if(!accountInfoNode["AccountConcurrentMax"].isNull())
|
||||
accountInfo_.accountConcurrentMax = std::stoi(accountInfoNode["AccountConcurrentMax"].asString());
|
||||
if(!accountInfoNode["AccountApplicationMax"].isNull())
|
||||
accountInfo_.accountApplicationMax = std::stoi(accountInfoNode["AccountApplicationMax"].asString());
|
||||
if(!accountInfoNode["AccountApplicationNumber"].isNull())
|
||||
accountInfo_.accountApplicationNumber = std::stoi(accountInfoNode["AccountApplicationNumber"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetAccountInfoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int GetAccountInfoResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
GetAccountInfoResult::AccountInfo GetAccountInfoResult::getAccountInfo()const
|
||||
{
|
||||
return accountInfo_;
|
||||
}
|
||||
|
||||
bool GetAccountInfoResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
40
aliyuncvc/src/model/GetDeviceInfoRequest.cc
Normal file
40
aliyuncvc/src/model/GetDeviceInfoRequest.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/GetDeviceInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetDeviceInfoRequest;
|
||||
|
||||
GetDeviceInfoRequest::GetDeviceInfoRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDeviceInfoRequest::~GetDeviceInfoRequest()
|
||||
{}
|
||||
|
||||
std::string GetDeviceInfoRequest::getCastScreenCode()const
|
||||
{
|
||||
return castScreenCode_;
|
||||
}
|
||||
|
||||
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setBodyParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
85
aliyuncvc/src/model/GetDeviceInfoResult.cc
Normal file
85
aliyuncvc/src/model/GetDeviceInfoResult.cc
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetDeviceInfoResult::GetDeviceInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDeviceInfoResult::GetDeviceInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDeviceInfoResult::~GetDeviceInfoResult()
|
||||
{}
|
||||
|
||||
void GetDeviceInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto deviceNode = value["Device"];
|
||||
if(!deviceNode["ActivationCode"].isNull())
|
||||
device_.activationCode = deviceNode["ActivationCode"].asString();
|
||||
if(!deviceNode["CastScreenCode"].isNull())
|
||||
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
||||
if(!deviceNode["Sn"].isNull())
|
||||
device_.sn = deviceNode["Sn"].asString();
|
||||
if(!deviceNode["Status"].isNull())
|
||||
device_.status = std::stoi(deviceNode["Status"].asString());
|
||||
if(!deviceNode["IP"].isNull())
|
||||
device_.iP = deviceNode["IP"].asString();
|
||||
if(!deviceNode["Mac"].isNull())
|
||||
device_.mac = deviceNode["Mac"].asString();
|
||||
if(!deviceNode["Ssid"].isNull())
|
||||
device_.ssid = deviceNode["Ssid"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetDeviceInfoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetDeviceInfoResult::Device GetDeviceInfoResult::getDevice()const
|
||||
{
|
||||
return device_;
|
||||
}
|
||||
|
||||
int GetDeviceInfoResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetDeviceInfoResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/GetStatisticRequest.cc
Normal file
51
aliyuncvc/src/model/GetStatisticRequest.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/GetStatisticRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetStatisticRequest;
|
||||
|
||||
GetStatisticRequest::GetStatisticRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetStatistic")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetStatisticRequest::~GetStatisticRequest()
|
||||
{}
|
||||
|
||||
long GetStatisticRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetStatisticRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long GetStatisticRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void GetStatisticRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
79
aliyuncvc/src/model/GetStatisticResult.cc
Normal file
79
aliyuncvc/src/model/GetStatisticResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetStatisticResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetStatisticResult::GetStatisticResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetStatisticResult::GetStatisticResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetStatisticResult::~GetStatisticResult()
|
||||
{}
|
||||
|
||||
void GetStatisticResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto statisticInfoNode = value["StatisticInfo"];
|
||||
if(!statisticInfoNode["MeetingDuration"].isNull())
|
||||
statisticInfo_.meetingDuration = std::stol(statisticInfoNode["MeetingDuration"].asString());
|
||||
if(!statisticInfoNode["MeetingNumber"].isNull())
|
||||
statisticInfo_.meetingNumber = std::stol(statisticInfoNode["MeetingNumber"].asString());
|
||||
if(!statisticInfoNode["MemberNumber"].isNull())
|
||||
statisticInfo_.memberNumber = std::stol(statisticInfoNode["MemberNumber"].asString());
|
||||
if(!statisticInfoNode["MaxConcurrency"].isNull())
|
||||
statisticInfo_.maxConcurrency = std::stol(statisticInfoNode["MaxConcurrency"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetStatisticResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetStatisticResult::StatisticInfo GetStatisticResult::getStatisticInfo()const
|
||||
{
|
||||
return statisticInfo_;
|
||||
}
|
||||
|
||||
int GetStatisticResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetStatisticResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/InviteUserRequest.cc
Normal file
51
aliyuncvc/src/model/InviteUserRequest.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/InviteUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::InviteUserRequest;
|
||||
|
||||
InviteUserRequest::InviteUserRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "InviteUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
InviteUserRequest::~InviteUserRequest()
|
||||
{}
|
||||
|
||||
std::string InviteUserRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void InviteUserRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string InviteUserRequest::getUserIds()const
|
||||
{
|
||||
return userIds_;
|
||||
}
|
||||
|
||||
void InviteUserRequest::setUserIds(const std::string& userIds)
|
||||
{
|
||||
userIds_ = userIds;
|
||||
setBodyParameter("UserIds", userIds);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/InviteUserResult.cc
Normal file
65
aliyuncvc/src/model/InviteUserResult.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/InviteUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
InviteUserResult::InviteUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
InviteUserResult::InviteUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
InviteUserResult::~InviteUserResult()
|
||||
{}
|
||||
|
||||
void InviteUserResult::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 InviteUserResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int InviteUserResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool InviteUserResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
62
aliyuncvc/src/model/ListConferenceDevicesRequest.cc
Normal file
62
aliyuncvc/src/model/ListConferenceDevicesRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ListConferenceDevicesRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::ListConferenceDevicesRequest;
|
||||
|
||||
ListConferenceDevicesRequest::ListConferenceDevicesRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListConferenceDevices")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListConferenceDevicesRequest::~ListConferenceDevicesRequest()
|
||||
{}
|
||||
|
||||
std::string ListConferenceDevicesRequest::getSerialNumber()const
|
||||
{
|
||||
return serialNumber_;
|
||||
}
|
||||
|
||||
void ListConferenceDevicesRequest::setSerialNumber(const std::string& serialNumber)
|
||||
{
|
||||
serialNumber_ = serialNumber;
|
||||
setParameter("SerialNumber", serialNumber);
|
||||
}
|
||||
|
||||
int ListConferenceDevicesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListConferenceDevicesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListConferenceDevicesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListConferenceDevicesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
103
aliyuncvc/src/model/ListConferenceDevicesResult.cc
Normal file
103
aliyuncvc/src/model/ListConferenceDevicesResult.cc
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ListConferenceDevicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
ListConferenceDevicesResult::ListConferenceDevicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListConferenceDevicesResult::ListConferenceDevicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListConferenceDevicesResult::~ListConferenceDevicesResult()
|
||||
{}
|
||||
|
||||
void ListConferenceDevicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Total"].isNull())
|
||||
data_.total = std::stoi(dataNode["Total"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
auto allConferencesNode = dataNode["Conferences"]["data"];
|
||||
for (auto dataNodeConferencesdata : allConferencesNode)
|
||||
{
|
||||
Data::Data dataObject;
|
||||
if(!dataNodeConferencesdata["ActivationCode"].isNull())
|
||||
dataObject.activationCode = dataNodeConferencesdata["ActivationCode"].asString();
|
||||
if(!dataNodeConferencesdata["ConferenceCode"].isNull())
|
||||
dataObject.conferenceCode = dataNodeConferencesdata["ConferenceCode"].asString();
|
||||
if(!dataNodeConferencesdata["ConferenceName"].isNull())
|
||||
dataObject.conferenceName = dataNodeConferencesdata["ConferenceName"].asString();
|
||||
if(!dataNodeConferencesdata["CreateTime"].isNull())
|
||||
dataObject.createTime = dataNodeConferencesdata["CreateTime"].asString();
|
||||
if(!dataNodeConferencesdata["DeviceModel"].isNull())
|
||||
dataObject.deviceModel = dataNodeConferencesdata["DeviceModel"].asString();
|
||||
if(!dataNodeConferencesdata["Manufacturer"].isNull())
|
||||
dataObject.manufacturer = dataNodeConferencesdata["Manufacturer"].asString();
|
||||
if(!dataNodeConferencesdata["PictureUrl"].isNull())
|
||||
dataObject.pictureUrl = dataNodeConferencesdata["PictureUrl"].asString();
|
||||
if(!dataNodeConferencesdata["SN"].isNull())
|
||||
dataObject.sN = dataNodeConferencesdata["SN"].asString();
|
||||
if(!dataNodeConferencesdata["Status"].isNull())
|
||||
dataObject.status = dataNodeConferencesdata["Status"].asString();
|
||||
if(!dataNodeConferencesdata["CastScreenCode"].isNull())
|
||||
dataObject.castScreenCode = dataNodeConferencesdata["CastScreenCode"].asString();
|
||||
data_.conferences.push_back(dataObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string ListConferenceDevicesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
ListConferenceDevicesResult::Data ListConferenceDevicesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int ListConferenceDevicesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ListConferenceDevicesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/ModifyDeviceBackgroundRequest.cc
Normal file
51
aliyuncvc/src/model/ModifyDeviceBackgroundRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::ModifyDeviceBackgroundRequest;
|
||||
|
||||
ModifyDeviceBackgroundRequest::ModifyDeviceBackgroundRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ModifyDeviceBackground")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDeviceBackgroundRequest::~ModifyDeviceBackgroundRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyDeviceBackgroundRequest::getSerialNumber()const
|
||||
{
|
||||
return serialNumber_;
|
||||
}
|
||||
|
||||
void ModifyDeviceBackgroundRequest::setSerialNumber(const std::string& serialNumber)
|
||||
{
|
||||
serialNumber_ = serialNumber;
|
||||
setBodyParameter("SerialNumber", serialNumber);
|
||||
}
|
||||
|
||||
std::string ModifyDeviceBackgroundRequest::getPicture()const
|
||||
{
|
||||
return picture_;
|
||||
}
|
||||
|
||||
void ModifyDeviceBackgroundRequest::setPicture(const std::string& picture)
|
||||
{
|
||||
picture_ = picture;
|
||||
setBodyParameter("Picture", picture);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/ModifyDeviceBackgroundResult.cc
Normal file
65
aliyuncvc/src/model/ModifyDeviceBackgroundResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDeviceBackgroundResult::~ModifyDeviceBackgroundResult()
|
||||
{}
|
||||
|
||||
void ModifyDeviceBackgroundResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyDeviceBackgroundResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ModifyDeviceBackgroundResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ModifyDeviceBackgroundResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
40
aliyuncvc/src/model/RefreshDeviceScreenCodeRequest.cc
Normal file
40
aliyuncvc/src/model/RefreshDeviceScreenCodeRequest.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/RefreshDeviceScreenCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::RefreshDeviceScreenCodeRequest;
|
||||
|
||||
RefreshDeviceScreenCodeRequest::RefreshDeviceScreenCodeRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "RefreshDeviceScreenCode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RefreshDeviceScreenCodeRequest::~RefreshDeviceScreenCodeRequest()
|
||||
{}
|
||||
|
||||
std::string RefreshDeviceScreenCodeRequest::getSerialNumber()const
|
||||
{
|
||||
return serialNumber_;
|
||||
}
|
||||
|
||||
void RefreshDeviceScreenCodeRequest::setSerialNumber(const std::string& serialNumber)
|
||||
{
|
||||
serialNumber_ = serialNumber;
|
||||
setBodyParameter("SerialNumber", serialNumber);
|
||||
}
|
||||
|
||||
75
aliyuncvc/src/model/RefreshDeviceScreenCodeResult.cc
Normal file
75
aliyuncvc/src/model/RefreshDeviceScreenCodeResult.cc
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RefreshDeviceScreenCodeResult::~RefreshDeviceScreenCodeResult()
|
||||
{}
|
||||
|
||||
void RefreshDeviceScreenCodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["SerialNumber"].isNull())
|
||||
data_.serialNumber = dataNode["SerialNumber"].asString();
|
||||
if(!dataNode["ScreenCode"].isNull())
|
||||
data_.screenCode = dataNode["ScreenCode"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string RefreshDeviceScreenCodeResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
RefreshDeviceScreenCodeResult::Data RefreshDeviceScreenCodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int RefreshDeviceScreenCodeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool RefreshDeviceScreenCodeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,17 @@ void RegisterUemDeviceRequest::setGroupId(const std::string& groupId)
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string RegisterUemDeviceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RegisterUemDeviceRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string RegisterUemDeviceRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
|
||||
84
aliyuncvc/src/model/SendMeetingCommandRequest.cc
Normal file
84
aliyuncvc/src/model/SendMeetingCommandRequest.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/SendMeetingCommandRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::SendMeetingCommandRequest;
|
||||
|
||||
SendMeetingCommandRequest::SendMeetingCommandRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "SendMeetingCommand")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendMeetingCommandRequest::~SendMeetingCommandRequest()
|
||||
{}
|
||||
|
||||
std::string SendMeetingCommandRequest::getOperatorMemberUUID()const
|
||||
{
|
||||
return operatorMemberUUID_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setOperatorMemberUUID(const std::string& operatorMemberUUID)
|
||||
{
|
||||
operatorMemberUUID_ = operatorMemberUUID;
|
||||
setBodyParameter("OperatorMemberUUID", operatorMemberUUID);
|
||||
}
|
||||
|
||||
std::string SendMeetingCommandRequest::getMemberUUID()const
|
||||
{
|
||||
return memberUUID_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setMemberUUID(const std::string& memberUUID)
|
||||
{
|
||||
memberUUID_ = memberUUID;
|
||||
setParameter("MemberUUID", memberUUID);
|
||||
}
|
||||
|
||||
int SendMeetingCommandRequest::getSendType()const
|
||||
{
|
||||
return sendType_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setSendType(int sendType)
|
||||
{
|
||||
sendType_ = sendType;
|
||||
setBodyParameter("SendType", std::to_string(sendType));
|
||||
}
|
||||
|
||||
std::string SendMeetingCommandRequest::getCommand()const
|
||||
{
|
||||
return command_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setCommand(const std::string& command)
|
||||
{
|
||||
command_ = command;
|
||||
setBodyParameter("Command", command);
|
||||
}
|
||||
|
||||
std::string SendMeetingCommandRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/SendMeetingCommandResult.cc
Normal file
65
aliyuncvc/src/model/SendMeetingCommandResult.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/SendMeetingCommandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
SendMeetingCommandResult::SendMeetingCommandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendMeetingCommandResult::SendMeetingCommandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendMeetingCommandResult::~SendMeetingCommandResult()
|
||||
{}
|
||||
|
||||
void SendMeetingCommandResult::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 SendMeetingCommandResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int SendMeetingCommandResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool SendMeetingCommandResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void StartLiveRequest::setLiveUUID(const std::string& liveUUID)
|
||||
setBodyParameter("LiveUUID", liveUUID);
|
||||
}
|
||||
|
||||
std::string StartLiveRequest::getPushInfo()const
|
||||
{
|
||||
return pushInfo_;
|
||||
}
|
||||
|
||||
void StartLiveRequest::setPushInfo(const std::string& pushInfo)
|
||||
{
|
||||
pushInfo_ = pushInfo;
|
||||
setBodyParameter("PushInfo", pushInfo);
|
||||
}
|
||||
|
||||
std::string StartLiveRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
@@ -49,3 +60,14 @@ void StartLiveRequest::setUserId(const std::string& userId)
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string StartLiveRequest::getLayoutInfo()const
|
||||
{
|
||||
return layoutInfo_;
|
||||
}
|
||||
|
||||
void StartLiveRequest::setLayoutInfo(const std::string& layoutInfo)
|
||||
{
|
||||
layoutInfo_ = layoutInfo;
|
||||
setBodyParameter("LayoutInfo", layoutInfo);
|
||||
}
|
||||
|
||||
|
||||
51
aliyuncvc/src/model/UpdateDeviceStartupPictureRequest.cc
Normal file
51
aliyuncvc/src/model/UpdateDeviceStartupPictureRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::UpdateDeviceStartupPictureRequest;
|
||||
|
||||
UpdateDeviceStartupPictureRequest::UpdateDeviceStartupPictureRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "UpdateDeviceStartupPicture")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateDeviceStartupPictureRequest::~UpdateDeviceStartupPictureRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateDeviceStartupPictureRequest::getSerialNumber()const
|
||||
{
|
||||
return serialNumber_;
|
||||
}
|
||||
|
||||
void UpdateDeviceStartupPictureRequest::setSerialNumber(const std::string& serialNumber)
|
||||
{
|
||||
serialNumber_ = serialNumber;
|
||||
setBodyParameter("SerialNumber", serialNumber);
|
||||
}
|
||||
|
||||
std::string UpdateDeviceStartupPictureRequest::getPicture()const
|
||||
{
|
||||
return picture_;
|
||||
}
|
||||
|
||||
void UpdateDeviceStartupPictureRequest::setPicture(const std::string& picture)
|
||||
{
|
||||
picture_ = picture;
|
||||
setBodyParameter("Picture", picture);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/UpdateDeviceStartupPictureResult.cc
Normal file
65
aliyuncvc/src/model/UpdateDeviceStartupPictureResult.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/UpdateDeviceStartupPictureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateDeviceStartupPictureResult::~UpdateDeviceStartupPictureResult()
|
||||
{}
|
||||
|
||||
void UpdateDeviceStartupPictureResult::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 UpdateDeviceStartupPictureResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int UpdateDeviceStartupPictureResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool UpdateDeviceStartupPictureResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -51,6 +51,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/DescribeTraceLicenseKeyResult.h
|
||||
include/alibabacloud/arms/model/DescribeTraceLocationRequest.h
|
||||
include/alibabacloud/arms/model/DescribeTraceLocationResult.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageRequest.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageResult.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotResult.h
|
||||
include/alibabacloud/arms/model/GetMultipleTraceRequest.h
|
||||
@@ -63,6 +65,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/GetStackResult.h
|
||||
include/alibabacloud/arms/model/GetTraceRequest.h
|
||||
include/alibabacloud/arms/model/GetTraceResult.h
|
||||
include/alibabacloud/arms/model/GetTraceAppRequest.h
|
||||
include/alibabacloud/arms/model/GetTraceAppResult.h
|
||||
include/alibabacloud/arms/model/ImportAppAlertRulesRequest.h
|
||||
include/alibabacloud/arms/model/ImportAppAlertRulesResult.h
|
||||
include/alibabacloud/arms/model/ImportCustomAlertRulesRequest.h
|
||||
@@ -81,6 +85,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/QueryDatasetResult.h
|
||||
include/alibabacloud/arms/model/QueryMetricRequest.h
|
||||
include/alibabacloud/arms/model/QueryMetricResult.h
|
||||
include/alibabacloud/arms/model/QueryMetricByPageRequest.h
|
||||
include/alibabacloud/arms/model/QueryMetricByPageResult.h
|
||||
include/alibabacloud/arms/model/SearchAlertContactRequest.h
|
||||
include/alibabacloud/arms/model/SearchAlertContactResult.h
|
||||
include/alibabacloud/arms/model/SearchAlertContactGroupRequest.h
|
||||
@@ -146,6 +152,8 @@ set(arms_src
|
||||
src/model/DescribeTraceLicenseKeyResult.cc
|
||||
src/model/DescribeTraceLocationRequest.cc
|
||||
src/model/DescribeTraceLocationResult.cc
|
||||
src/model/GetAppApiByPageRequest.cc
|
||||
src/model/GetAppApiByPageResult.cc
|
||||
src/model/GetConsistencySnapshotRequest.cc
|
||||
src/model/GetConsistencySnapshotResult.cc
|
||||
src/model/GetMultipleTraceRequest.cc
|
||||
@@ -158,6 +166,8 @@ set(arms_src
|
||||
src/model/GetStackResult.cc
|
||||
src/model/GetTraceRequest.cc
|
||||
src/model/GetTraceResult.cc
|
||||
src/model/GetTraceAppRequest.cc
|
||||
src/model/GetTraceAppResult.cc
|
||||
src/model/ImportAppAlertRulesRequest.cc
|
||||
src/model/ImportAppAlertRulesResult.cc
|
||||
src/model/ImportCustomAlertRulesRequest.cc
|
||||
@@ -176,6 +186,8 @@ set(arms_src
|
||||
src/model/QueryDatasetResult.cc
|
||||
src/model/QueryMetricRequest.cc
|
||||
src/model/QueryMetricResult.cc
|
||||
src/model/QueryMetricByPageRequest.cc
|
||||
src/model/QueryMetricByPageResult.cc
|
||||
src/model/SearchAlertContactRequest.cc
|
||||
src/model/SearchAlertContactResult.cc
|
||||
src/model/SearchAlertContactGroupRequest.cc
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
#include "model/DescribeTraceLicenseKeyResult.h"
|
||||
#include "model/DescribeTraceLocationRequest.h"
|
||||
#include "model/DescribeTraceLocationResult.h"
|
||||
#include "model/GetAppApiByPageRequest.h"
|
||||
#include "model/GetAppApiByPageResult.h"
|
||||
#include "model/GetConsistencySnapshotRequest.h"
|
||||
#include "model/GetConsistencySnapshotResult.h"
|
||||
#include "model/GetMultipleTraceRequest.h"
|
||||
@@ -64,6 +66,8 @@
|
||||
#include "model/GetStackResult.h"
|
||||
#include "model/GetTraceRequest.h"
|
||||
#include "model/GetTraceResult.h"
|
||||
#include "model/GetTraceAppRequest.h"
|
||||
#include "model/GetTraceAppResult.h"
|
||||
#include "model/ImportAppAlertRulesRequest.h"
|
||||
#include "model/ImportAppAlertRulesResult.h"
|
||||
#include "model/ImportCustomAlertRulesRequest.h"
|
||||
@@ -82,6 +86,8 @@
|
||||
#include "model/QueryDatasetResult.h"
|
||||
#include "model/QueryMetricRequest.h"
|
||||
#include "model/QueryMetricResult.h"
|
||||
#include "model/QueryMetricByPageRequest.h"
|
||||
#include "model/QueryMetricByPageResult.h"
|
||||
#include "model/SearchAlertContactRequest.h"
|
||||
#include "model/SearchAlertContactResult.h"
|
||||
#include "model/SearchAlertContactGroupRequest.h"
|
||||
@@ -168,6 +174,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTraceLocationResult> DescribeTraceLocationOutcome;
|
||||
typedef std::future<DescribeTraceLocationOutcome> DescribeTraceLocationOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLocationRequest&, const DescribeTraceLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLocationAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome;
|
||||
typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConsistencySnapshotResult> GetConsistencySnapshotOutcome;
|
||||
typedef std::future<GetConsistencySnapshotOutcome> GetConsistencySnapshotOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetConsistencySnapshotRequest&, const GetConsistencySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsistencySnapshotAsyncHandler;
|
||||
@@ -186,6 +195,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
|
||||
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTraceAppResult> GetTraceAppOutcome;
|
||||
typedef std::future<GetTraceAppOutcome> GetTraceAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTraceAppRequest&, const GetTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::ImportAppAlertRulesResult> ImportAppAlertRulesOutcome;
|
||||
typedef std::future<ImportAppAlertRulesOutcome> ImportAppAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ImportAppAlertRulesRequest&, const ImportAppAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportAppAlertRulesAsyncHandler;
|
||||
@@ -213,6 +225,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryMetricResult> QueryMetricOutcome;
|
||||
typedef std::future<QueryMetricOutcome> QueryMetricOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::QueryMetricRequest&, const QueryMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMetricByPageResult> QueryMetricByPageOutcome;
|
||||
typedef std::future<QueryMetricByPageOutcome> QueryMetricByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::QueryMetricByPageRequest&, const QueryMetricByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchAlertContactResult> SearchAlertContactOutcome;
|
||||
typedef std::future<SearchAlertContactOutcome> SearchAlertContactOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactRequest&, const SearchAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactAsyncHandler;
|
||||
@@ -311,6 +326,9 @@ namespace AlibabaCloud
|
||||
DescribeTraceLocationOutcome describeTraceLocation(const Model::DescribeTraceLocationRequest &request)const;
|
||||
void describeTraceLocationAsync(const Model::DescribeTraceLocationRequest& request, const DescribeTraceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTraceLocationOutcomeCallable describeTraceLocationCallable(const Model::DescribeTraceLocationRequest& request) const;
|
||||
GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const;
|
||||
void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const;
|
||||
GetConsistencySnapshotOutcome getConsistencySnapshot(const Model::GetConsistencySnapshotRequest &request)const;
|
||||
void getConsistencySnapshotAsync(const Model::GetConsistencySnapshotRequest& request, const GetConsistencySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConsistencySnapshotOutcomeCallable getConsistencySnapshotCallable(const Model::GetConsistencySnapshotRequest& request) const;
|
||||
@@ -329,6 +347,9 @@ namespace AlibabaCloud
|
||||
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
|
||||
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
|
||||
GetTraceAppOutcome getTraceApp(const Model::GetTraceAppRequest &request)const;
|
||||
void getTraceAppAsync(const Model::GetTraceAppRequest& request, const GetTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTraceAppOutcomeCallable getTraceAppCallable(const Model::GetTraceAppRequest& request) const;
|
||||
ImportAppAlertRulesOutcome importAppAlertRules(const Model::ImportAppAlertRulesRequest &request)const;
|
||||
void importAppAlertRulesAsync(const Model::ImportAppAlertRulesRequest& request, const ImportAppAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImportAppAlertRulesOutcomeCallable importAppAlertRulesCallable(const Model::ImportAppAlertRulesRequest& request) const;
|
||||
@@ -356,6 +377,9 @@ namespace AlibabaCloud
|
||||
QueryMetricOutcome queryMetric(const Model::QueryMetricRequest &request)const;
|
||||
void queryMetricAsync(const Model::QueryMetricRequest& request, const QueryMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMetricOutcomeCallable queryMetricCallable(const Model::QueryMetricRequest& request) const;
|
||||
QueryMetricByPageOutcome queryMetricByPage(const Model::QueryMetricByPageRequest &request)const;
|
||||
void queryMetricByPageAsync(const Model::QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMetricByPageOutcomeCallable queryMetricByPageCallable(const Model::QueryMetricByPageRequest& request) const;
|
||||
SearchAlertContactOutcome searchAlertContact(const Model::SearchAlertContactRequest &request)const;
|
||||
void searchAlertContactAsync(const Model::SearchAlertContactRequest& request, const SearchAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchAlertContactOutcomeCallable searchAlertContactCallable(const Model::SearchAlertContactRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetAppApiByPageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAppApiByPageRequest();
|
||||
~GetAppApiByPageRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getPId()const;
|
||||
void setPId(const std::string& pId);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getIntervalMills()const;
|
||||
void setIntervalMills(int intervalMills);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
std::string pId_;
|
||||
long startTime_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
int intervalMills_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGEREQUEST_H_
|
||||
64
arms/include/alibabacloud/arms/model/GetAppApiByPageResult.h
Normal file
64
arms/include/alibabacloud/arms/model/GetAppApiByPageResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetAppApiByPageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int pageSize;
|
||||
std::string total;
|
||||
int page;
|
||||
std::vector<std::string> items;
|
||||
};
|
||||
|
||||
|
||||
GetAppApiByPageResult();
|
||||
explicit GetAppApiByPageResult(const std::string &payload);
|
||||
~GetAppApiByPageResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGERESULT_H_
|
||||
51
arms/include/alibabacloud/arms/model/GetTraceAppRequest.h
Normal file
51
arms/include/alibabacloud/arms/model/GetTraceAppRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTraceAppRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTraceAppRequest();
|
||||
~GetTraceAppRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string pid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPREQUEST_H_
|
||||
64
arms/include/alibabacloud/arms/model/GetTraceAppResult.h
Normal file
64
arms/include/alibabacloud/arms/model/GetTraceAppResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTraceAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TraceApp
|
||||
{
|
||||
std::string type;
|
||||
long appId;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
GetTraceAppResult();
|
||||
explicit GetTraceAppResult(const std::string &payload);
|
||||
~GetTraceAppResult();
|
||||
TraceApp getTraceApp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TraceApp traceApp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPRESULT_H_
|
||||
@@ -37,21 +37,24 @@ namespace AlibabaCloud
|
||||
|
||||
bool getIsAutoStart()const;
|
||||
void setIsAutoStart(bool isAutoStart);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupIds()const;
|
||||
void setContactGroupIds(const std::string& contactGroupIds);
|
||||
std::string getTemplateAlertConfig()const;
|
||||
void setTemplateAlertConfig(const std::string& templateAlertConfig);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getTemplageAlertConfig()const;
|
||||
void setTemplageAlertConfig(const std::string& templageAlertConfig);
|
||||
|
||||
private:
|
||||
bool isAutoStart_;
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
std::string templateAlertConfig_;
|
||||
std::string proxyUserId_;
|
||||
std::string templageAlertConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT QueryMetricByPageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filters
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
QueryMetricByPageRequest();
|
||||
~QueryMetricByPageRequest();
|
||||
|
||||
std::string getConsistencyQueryStrategy()const;
|
||||
void setConsistencyQueryStrategy(const std::string& consistencyQueryStrategy);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::vector<Filters> getFilters()const;
|
||||
void setFilters(const std::vector<Filters>& filters);
|
||||
std::string getConsistencyDataKey()const;
|
||||
void setConsistencyDataKey(const std::string& consistencyDataKey);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
int getIntervalInSec()const;
|
||||
void setIntervalInSec(int intervalInSec);
|
||||
std::string getMetric()const;
|
||||
void setMetric(const std::string& metric);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<std::string> getDimensions()const;
|
||||
void setDimensions(const std::vector<std::string>& dimensions);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
|
||||
private:
|
||||
std::string consistencyQueryStrategy_;
|
||||
long endTime_;
|
||||
std::string orderBy_;
|
||||
int currentPage_;
|
||||
long startTime_;
|
||||
std::vector<Filters> filters_;
|
||||
std::string consistencyDataKey_;
|
||||
std::string proxyUserId_;
|
||||
std::vector<std::string> measures_;
|
||||
int intervalInSec_;
|
||||
std::string metric_;
|
||||
int pageSize_;
|
||||
std::vector<std::string> dimensions_;
|
||||
std::string order_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGEREQUEST_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_ARMS_MODEL_QUERYMETRICBYPAGERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT QueryMetricByPageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int pageSize;
|
||||
int total;
|
||||
int page;
|
||||
std::vector<std::string> items;
|
||||
};
|
||||
|
||||
|
||||
QueryMetricByPageResult();
|
||||
explicit QueryMetricByPageResult(const std::string &payload);
|
||||
~QueryMetricByPageResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGERESULT_H_
|
||||
@@ -34,7 +34,20 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct ContactGroup
|
||||
{
|
||||
struct Contact
|
||||
{
|
||||
std::string email;
|
||||
std::string phone;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
long contactId;
|
||||
std::string dingRobot;
|
||||
std::string contactName;
|
||||
bool systemNoc;
|
||||
};
|
||||
long contactGroupId;
|
||||
std::vector<ContactGroup::Contact> contacts;
|
||||
std::string contactGroupName;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user