Compare commits

...

87 Commits

Author SHA1 Message Date
sdk-team
59dbc66bfe Add support cn-beijing service region. 2020-09-09 16:41:12 +00:00
sdk-team
d6292fe40b Release ChangeSky. 2020-09-09 11:48:18 +00:00
sdk-team
061f62c362 Release DetectChefCap. 2020-09-09 09:02:34 +00:00
sdk-team
a3ccdb3f65 Release DetectKneeKeypointXRay, DetectHipKeypointXRay, CalcCACS, RunCTRegistration, ClassifyFNF. 2020-09-09 07:48:43 +00:00
sdk-team
565bfada36 Supported backend interface for ICBU. 2020-09-08 08:39:04 +00:00
sdk-team
716769a300 Add DescribeActiveOperationTask. 2020-09-08 06:10:22 +00:00
sdk-team
c4348c87cb Modify CreateAsyncPredict add new parameters. 2020-09-08 03:28:20 +00:00
sdk-team
d3ce4be157 Support parameter APIs. 2020-09-07 11:13:16 +00:00
sdk-team
05e5980ef3 Add describes devices API. 2020-09-07 07:23:58 +00:00
sdk-team
7cf2b932e7 Add describes devices API. 2020-09-07 07:16:31 +00:00
sdk-team
c056e54eae Add describes devices API. 2020-09-07 06:51:47 +00:00
sdk-team
04cce0ba30 Add describes devices API. 2020-09-07 03:37:21 +00:00
sdk-team
c5b68d7ead Add describes devices API. 2020-09-07 03:21:11 +00:00
sdk-team
52e7b30f54 Add describes devices API. 2020-09-05 04:05:12 +00:00
sdk-team
98ef8c88e8 Sync cdn APIs. 2020-09-04 09:19:24 +00:00
sdk-team
8f2290c159 Update Scdn API. 2020-09-04 09:19:03 +00:00
sdk-team
a264cee31b Update domain API. 2020-09-04 09:18:17 +00:00
sdk-team
ebdf18def1 Add GetImageQuality API. 2020-09-04 09:04:23 +00:00
sdk-team
5a6bd32d63 DescribeCameraStatistics add parameters. 2020-09-03 10:57:01 +08:00
sdk-team
86f01c44a8 Support sg for ml region. 2020-09-02 21:43:23 +08:00
sdk-team
a69c540c10 ChatApp second version. 2020-09-02 16:35:44 +08:00
sdk-team
60ea8efd1a Supported AndroidNotificationHuaweiChannel for Push and MassPush. 2020-09-02 10:33:02 +08:00
sdk-team
20e471c41f Supported AndroidNotificationHuaweiChannel for Push and MassPush. 2020-09-02 10:14:43 +08:00
sdk-team
dbb5d5f56d Add Smart Verify API. 2020-09-01 22:56:47 +08:00
sdk-team
68f2493757 Support region route. 2020-09-01 17:40:30 +08:00
sdk-team
ff645a988c Support region route. 2020-09-01 17:30:23 +08:00
sdk-team
151822de9a Update Parameter. 2020-09-01 14:32:53 +08:00
sdk-team
793abf30f9 Support PersonList. 2020-08-31 23:48:06 +08:00
sdk-team
c0045d1c32 GetPersonList Support LastShotTime. 2020-08-31 20:48:22 +08:00
sdk-team
43f0c30248 Support config resource recorder deliverychannel rule. 2020-08-31 17:45:02 +08:00
sdk-team
dff2b43722 Supported AAA for BBB. 2020-08-31 17:41:51 +08:00
sdk-team
090d6da253 Support config resource recorder deliverychannel rule. 2020-08-31 17:31:21 +08:00
sdk-team
bd85a14b02 Supported AAA for BBB. 2020-08-31 17:25:48 +08:00
sdk-team
30c9817822 Supported AAA for BBB. 2020-08-31 16:43:30 +08:00
sdk-team
8f847b0f5d Add list person visit count API. 2020-08-31 14:59:09 +08:00
sdk-team
1dcf6cb7f3 Add name. 2020-08-28 19:50:05 +08:00
sdk-team
b5790be0db Support multiple security group for one ehpc cluster. 2020-08-28 17:29:39 +08:00
sdk-team
371081045a Supported Add GetAlgorithmHistoryResult. 2020-08-28 12:05:15 +08:00
sdk-team
480c9b3700 Update parameter. 2020-08-27 17:21:51 +08:00
sdk-team
72ca50ab65 Release ExtractPedestrianFeatureAttribute and BlurFace. 2020-08-25 15:23:53 +08:00
sdk-team
34747e61fe Add list person visit count API. 2020-08-25 14:14:47 +08:00
sdk-team
b6697980bc Video Content analytics template introduced to this SDK. 2020-08-25 12:59:18 +08:00
sdk-team
e3e5a0ff42 Change DeviceSerialNumber to DeviceSn in API RegisterDevice. 2020-08-25 00:12:21 +08:00
sdk-team
3c1c245147 Change DeviceSerialNumber to DeviceSn in API RegisterDevice. 2020-08-24 19:44:12 +08:00
sdk-team
8c27cbdc14 Add project api. 2020-08-24 16:16:02 +08:00
sdk-team
8ac065c14f Edit QueryMetricByPage api. 2020-08-24 11:35:02 +08:00
sdk-team
e68269b045 Add QueryMetricByPage api. 2020-08-21 15:36:11 +08:00
sdk-team
53ac431b11 PullActionData add parameters. 2020-08-20 16:14:12 +08:00
sdk-team
5255330d62 Add list person visit count API. 2020-08-20 12:16:19 +08:00
sdk-team
b9a879f696 Added Global Distribute Cache OpenAPIs. 2020-08-20 10:03:01 +08:00
sdk-team
7ac2669922 Add DescribeLiveDomainCertificateInfo. 2020-08-19 18:02:00 +08:00
sdk-team
9693807164 Generated 2020-08-01 for SmartHosting. 2020-08-19 16:03:11 +08:00
sdk-team
e20435dd22 Support for describe hbaseue multi-zone model. 2020-08-18 15:18:22 +08:00
sdk-team
06eedce285 Support session query operations. 2020-08-18 10:40:40 +08:00
sdk-team
2e76d1dcac Public beta version. 2020-08-18 09:54:43 +08:00
sdk-team
e1718ed478 Add list event algorithm details. 2020-08-17 21:04:16 +08:00
sdk-team
56138ffe5e Add list event algorithm details. 2020-08-17 20:22:22 +08:00
sdk-team
e4502cf36b Add GetTrace api. 2020-08-17 19:52:09 +08:00
sdk-team
8d4cff577b Add pipeline status api. 2020-08-17 19:30:47 +08:00
sdk-team
7267430dde Add list event algorithm details. 2020-08-17 15:46:30 +08:00
sdk-team
7163e3a7d5 Add list event algorithm details. 2020-08-17 15:39:35 +08:00
sdk-team
78ca57fe3d Fix create project task. 2020-08-17 13:45:08 +08:00
sdk-team
cff8cc2fce Public beta version. 2020-08-17 09:40:14 +08:00
sdk-team
f5698956a8 Add new tags for corp group. 2020-08-17 09:39:38 +08:00
sdk-team
0acc11e160 Add new tags for corp group. 2020-08-17 09:33:09 +08:00
sdk-team
b3f8f634b5 Add new tags for corp group. 2020-08-16 06:10:13 +08:00
sdk-team
1185622959 Add sdk. 2020-08-14 17:15:54 +08:00
sdk-team
4836dfddfc Supported Api DetectIPCPedestrian. 2020-08-14 16:04:45 +08:00
sdk-team
08e11e9bb0 Supported CheckCloudResourceAuthorized API. 2020-08-14 14:30:34 +08:00
sdk-team
8c4cc55d22 Add project Api. 2020-08-14 14:06:01 +08:00
sdk-team
2191c80b02 Add PipCode and CommodityCode for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill. 2020-08-13 19:11:22 +08:00
sdk-team
22d322118a Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:55:14 +08:00
sdk-team
1358a6ec39 Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:49:09 +08:00
sdk-team
41ea6f3a12 Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:38:17 +08:00
sdk-team
83f2c53623 GetImageTranslate add column orc. 2020-08-13 16:00:15 +08:00
sdk-team
314c523174 DescribePrice update amount parameters type, float to string. 2020-08-13 15:56:17 +08:00
sdk-team
0d054dfb79 Release SegmentHalfBody. 2020-08-13 15:53:06 +08:00
sdk-team
8af4775c5e Release SegmentHalfBody. 2020-08-13 15:41:51 +08:00
sdk-team
2f6b7ad555 Support corp group api. 2020-08-12 18:08:25 +08:00
sdk-team
faf9b3fb11 Add pipeline status api. 2020-08-12 18:00:12 +08:00
sdk-team
6642aa94e5 Generated 2015-01-01 for R-kvstore. 2020-08-12 11:06:05 +08:00
sdk-team
0aa44135e7 Generated 2020-05-18 for dataworks-public. 2020-08-11 19:55:40 +08:00
sdk-team
839effe699 Update DescribeRefreshTask. 2020-08-11 11:44:11 +08:00
sdk-team
4e6956c3f2 Add ResourceGroup in resource snapshot. 2020-08-11 11:31:40 +08:00
sdk-team
1b2fe667ba Generated 2020-05-18 for dataworks-public. 2020-08-10 17:31:34 +08:00
sdk-team
91c8eee22c Add source id for list face detail. 2020-08-10 15:50:28 +08:00
sdk-team
fd4bd1e797 Add extend value for list event detail. 2020-08-10 09:29:21 +08:00
1521 changed files with 97976 additions and 1436 deletions

283
CHANGELOG
View File

@@ -1,3 +1,286 @@
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.

View File

@@ -1 +1 @@
1.36.563
1.36.632

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Data
{
std::string orc;
std::string url;
};

View File

@@ -42,6 +42,8 @@ void GetImageTranslateResult::parse(const std::string &payload)
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())

View File

@@ -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,6 +59,8 @@ 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
@@ -73,6 +79,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/GetMembersResult.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
@@ -101,6 +109,8 @@ set(aliyuncvc_public_header_model
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
@@ -122,6 +132,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 +150,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,6 +160,8 @@ 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
@@ -164,6 +180,8 @@ set(aliyuncvc_src
src/model/GetMembersResult.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
@@ -192,6 +210,8 @@ set(aliyuncvc_src
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

View File

@@ -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,6 +60,8 @@
#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"
@@ -74,6 +80,8 @@
#include "model/GetMembersResult.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"
@@ -102,6 +110,8 @@
#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"
@@ -134,6 +144,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 +171,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,6 +186,9 @@ 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;
@@ -197,6 +216,9 @@ namespace AlibabaCloud
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;
@@ -239,6 +261,9 @@ namespace AlibabaCloud
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;
@@ -271,6 +296,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 +323,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,6 +338,9 @@ 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;
@@ -334,6 +368,9 @@ namespace AlibabaCloud
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;
@@ -376,6 +413,9 @@ namespace AlibabaCloud
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;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -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_;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -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_;
};
}

View File

@@ -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();
@@ -987,6 +1095,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();
@@ -1491,6 +1635,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();

View 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);
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View File

@@ -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_;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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);
}

View 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_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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");
}

View 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_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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);
}

View 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_;
}

View 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);
}

View 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_;
}

View File

@@ -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);
}

View File

@@ -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

View File

@@ -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;

View 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.
*/
#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_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_;
};
}

View File

@@ -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_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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;

View File

@@ -37,7 +37,7 @@ namespace AlibabaCloud
struct EventItem
{
int alertType;
int eventLevel;
std::string eventLevel;
long alertId;
std::string alertName;
std::string message;

View File

@@ -591,6 +591,42 @@ ARMSClient::DescribeTraceLocationOutcomeCallable ARMSClient::describeTraceLocati
return task->get_future();
}
ARMSClient::GetAppApiByPageOutcome ARMSClient::getAppApiByPage(const GetAppApiByPageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAppApiByPageOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAppApiByPageOutcome(GetAppApiByPageResult(outcome.result()));
else
return GetAppApiByPageOutcome(outcome.error());
}
void ARMSClient::getAppApiByPageAsync(const GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAppApiByPage(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetAppApiByPageOutcomeCallable ARMSClient::getAppApiByPageCallable(const GetAppApiByPageRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAppApiByPageOutcome()>>(
[this, request]()
{
return this->getAppApiByPage(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -807,6 +843,42 @@ ARMSClient::GetTraceOutcomeCallable ARMSClient::getTraceCallable(const GetTraceR
return task->get_future();
}
ARMSClient::GetTraceAppOutcome ARMSClient::getTraceApp(const GetTraceAppRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTraceAppOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTraceAppOutcome(GetTraceAppResult(outcome.result()));
else
return GetTraceAppOutcome(outcome.error());
}
void ARMSClient::getTraceAppAsync(const GetTraceAppRequest& request, const GetTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTraceApp(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetTraceAppOutcomeCallable ARMSClient::getTraceAppCallable(const GetTraceAppRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTraceAppOutcome()>>(
[this, request]()
{
return this->getTraceApp(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::ImportAppAlertRulesOutcome ARMSClient::importAppAlertRules(const ImportAppAlertRulesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1131,6 +1203,42 @@ ARMSClient::QueryMetricOutcomeCallable ARMSClient::queryMetricCallable(const Que
return task->get_future();
}
ARMSClient::QueryMetricByPageOutcome ARMSClient::queryMetricByPage(const QueryMetricByPageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryMetricByPageOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryMetricByPageOutcome(QueryMetricByPageResult(outcome.result()));
else
return QueryMetricByPageOutcome(outcome.error());
}
void ARMSClient::queryMetricByPageAsync(const QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryMetricByPage(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::QueryMetricByPageOutcomeCallable ARMSClient::queryMetricByPageCallable(const QueryMetricByPageRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryMetricByPageOutcome()>>(
[this, request]()
{
return this->queryMetricByPage(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SearchAlertContactOutcome ARMSClient::searchAlertContact(const SearchAlertContactRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View 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/arms/model/GetAppApiByPageRequest.h>
using AlibabaCloud::ARMS::Model::GetAppApiByPageRequest;
GetAppApiByPageRequest::GetAppApiByPageRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetAppApiByPage")
{
setMethod(HttpRequest::Method::Post);
}
GetAppApiByPageRequest::~GetAppApiByPageRequest()
{}
long GetAppApiByPageRequest::getEndTime()const
{
return endTime_;
}
void GetAppApiByPageRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
int GetAppApiByPageRequest::getCurrentPage()const
{
return currentPage_;
}
void GetAppApiByPageRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
}
std::string GetAppApiByPageRequest::getPId()const
{
return pId_;
}
void GetAppApiByPageRequest::setPId(const std::string& pId)
{
pId_ = pId;
setParameter("PId", pId);
}
long GetAppApiByPageRequest::getStartTime()const
{
return startTime_;
}
void GetAppApiByPageRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
std::string GetAppApiByPageRequest::getRegionId()const
{
return regionId_;
}
void GetAppApiByPageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetAppApiByPageRequest::getPageSize()const
{
return pageSize_;
}
void GetAppApiByPageRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetAppApiByPageRequest::getIntervalMills()const
{
return intervalMills_;
}
void GetAppApiByPageRequest::setIntervalMills(int intervalMills)
{
intervalMills_ = intervalMills;
setParameter("IntervalMills", std::to_string(intervalMills));
}

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetAppApiByPageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetAppApiByPageResult::GetAppApiByPageResult() :
ServiceResult()
{}
GetAppApiByPageResult::GetAppApiByPageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAppApiByPageResult::~GetAppApiByPageResult()
{}
void GetAppApiByPageResult::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 = dataNode["Total"].asString();
if(!dataNode["Page"].isNull())
data_.page = std::stoi(dataNode["Page"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
auto allItems = dataNode["Items"]["Items"];
for (auto value : allItems)
data_.items.push_back(value.asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string GetAppApiByPageResult::getMessage()const
{
return message_;
}
GetAppApiByPageResult::Data GetAppApiByPageResult::getData()const
{
return data_;
}
int GetAppApiByPageResult::getCode()const
{
return code_;
}
bool GetAppApiByPageResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetTraceAppRequest.h>
using AlibabaCloud::ARMS::Model::GetTraceAppRequest;
GetTraceAppRequest::GetTraceAppRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetTraceApp")
{
setMethod(HttpRequest::Method::Post);
}
GetTraceAppRequest::~GetTraceAppRequest()
{}
std::string GetTraceAppRequest::getRegionId()const
{
return regionId_;
}
void GetTraceAppRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetTraceAppRequest::getPid()const
{
return pid_;
}
void GetTraceAppRequest::setPid(const std::string& pid)
{
pid_ = pid;
setParameter("Pid", pid);
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetTraceAppResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetTraceAppResult::GetTraceAppResult() :
ServiceResult()
{}
GetTraceAppResult::GetTraceAppResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTraceAppResult::~GetTraceAppResult()
{}
void GetTraceAppResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto traceAppNode = value["TraceApp"];
if(!traceAppNode["AppId"].isNull())
traceApp_.appId = std::stol(traceAppNode["AppId"].asString());
if(!traceAppNode["Pid"].isNull())
traceApp_.pid = traceAppNode["Pid"].asString();
if(!traceAppNode["AppName"].isNull())
traceApp_.appName = traceAppNode["AppName"].asString();
if(!traceAppNode["Type"].isNull())
traceApp_.type = traceAppNode["Type"].asString();
if(!traceAppNode["UserId"].isNull())
traceApp_.userId = traceAppNode["UserId"].asString();
if(!traceAppNode["RegionId"].isNull())
traceApp_.regionId = traceAppNode["RegionId"].asString();
if(!traceAppNode["CreateTime"].isNull())
traceApp_.createTime = std::stol(traceAppNode["CreateTime"].asString());
if(!traceAppNode["UpdateTime"].isNull())
traceApp_.updateTime = std::stol(traceAppNode["UpdateTime"].asString());
if(!traceAppNode["Show"].isNull())
traceApp_.show = traceAppNode["Show"].asString() == "true";
auto allLabels = traceAppNode["Labels"]["Labels"];
for (auto value : allLabels)
traceApp_.labels.push_back(value.asString());
}
GetTraceAppResult::TraceApp GetTraceAppResult::getTraceApp()const
{
return traceApp_;
}

View File

@@ -38,6 +38,17 @@ void ImportCustomAlertRulesRequest::setIsAutoStart(bool isAutoStart)
setParameter("IsAutoStart", isAutoStart ? "true" : "false");
}
std::string ImportCustomAlertRulesRequest::getProxyUserId()const
{
return proxyUserId_;
}
void ImportCustomAlertRulesRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}
std::string ImportCustomAlertRulesRequest::getRegionId()const
{
return regionId_;
@@ -71,14 +82,14 @@ void ImportCustomAlertRulesRequest::setTemplateAlertConfig(const std::string& te
setParameter("TemplateAlertConfig", templateAlertConfig);
}
std::string ImportCustomAlertRulesRequest::getProxyUserId()const
std::string ImportCustomAlertRulesRequest::getTemplageAlertConfig()const
{
return proxyUserId_;
return templageAlertConfig_;
}
void ImportCustomAlertRulesRequest::setProxyUserId(const std::string& proxyUserId)
void ImportCustomAlertRulesRequest::setTemplageAlertConfig(const std::string& templageAlertConfig)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
templageAlertConfig_ = templageAlertConfig;
setParameter("TemplageAlertConfig", templageAlertConfig);
}

View File

@@ -0,0 +1,192 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/QueryMetricByPageRequest.h>
using AlibabaCloud::ARMS::Model::QueryMetricByPageRequest;
QueryMetricByPageRequest::QueryMetricByPageRequest() :
RpcServiceRequest("arms", "2019-08-08", "QueryMetricByPage")
{
setMethod(HttpRequest::Method::Post);
}
QueryMetricByPageRequest::~QueryMetricByPageRequest()
{}
std::string QueryMetricByPageRequest::getConsistencyQueryStrategy()const
{
return consistencyQueryStrategy_;
}
void QueryMetricByPageRequest::setConsistencyQueryStrategy(const std::string& consistencyQueryStrategy)
{
consistencyQueryStrategy_ = consistencyQueryStrategy;
setParameter("ConsistencyQueryStrategy", consistencyQueryStrategy);
}
long QueryMetricByPageRequest::getEndTime()const
{
return endTime_;
}
void QueryMetricByPageRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
std::string QueryMetricByPageRequest::getOrderBy()const
{
return orderBy_;
}
void QueryMetricByPageRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
int QueryMetricByPageRequest::getCurrentPage()const
{
return currentPage_;
}
void QueryMetricByPageRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
}
long QueryMetricByPageRequest::getStartTime()const
{
return startTime_;
}
void QueryMetricByPageRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
std::vector<QueryMetricByPageRequest::Filters> QueryMetricByPageRequest::getFilters()const
{
return filters_;
}
void QueryMetricByPageRequest::setFilters(const std::vector<Filters>& filters)
{
filters_ = filters;
for(int dep1 = 0; dep1!= filters.size(); dep1++) {
auto filtersObj = filters.at(dep1);
std::string filtersObjStr = "Filters." + std::to_string(dep1 + 1);
setParameter(filtersObjStr + ".Value", filtersObj.value);
setParameter(filtersObjStr + ".Key", filtersObj.key);
}
}
std::string QueryMetricByPageRequest::getConsistencyDataKey()const
{
return consistencyDataKey_;
}
void QueryMetricByPageRequest::setConsistencyDataKey(const std::string& consistencyDataKey)
{
consistencyDataKey_ = consistencyDataKey;
setParameter("ConsistencyDataKey", consistencyDataKey);
}
std::string QueryMetricByPageRequest::getProxyUserId()const
{
return proxyUserId_;
}
void QueryMetricByPageRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}
std::vector<std::string> QueryMetricByPageRequest::getMeasures()const
{
return measures_;
}
void QueryMetricByPageRequest::setMeasures(const std::vector<std::string>& measures)
{
measures_ = measures;
for(int dep1 = 0; dep1!= measures.size(); dep1++) {
setParameter("Measures."+ std::to_string(dep1), measures.at(dep1));
}
}
int QueryMetricByPageRequest::getIntervalInSec()const
{
return intervalInSec_;
}
void QueryMetricByPageRequest::setIntervalInSec(int intervalInSec)
{
intervalInSec_ = intervalInSec;
setParameter("IntervalInSec", std::to_string(intervalInSec));
}
std::string QueryMetricByPageRequest::getMetric()const
{
return metric_;
}
void QueryMetricByPageRequest::setMetric(const std::string& metric)
{
metric_ = metric;
setParameter("Metric", metric);
}
int QueryMetricByPageRequest::getPageSize()const
{
return pageSize_;
}
void QueryMetricByPageRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::vector<std::string> QueryMetricByPageRequest::getDimensions()const
{
return dimensions_;
}
void QueryMetricByPageRequest::setDimensions(const std::vector<std::string>& dimensions)
{
dimensions_ = dimensions;
for(int dep1 = 0; dep1!= dimensions.size(); dep1++) {
setParameter("Dimensions."+ std::to_string(dep1), dimensions.at(dep1));
}
}
std::string QueryMetricByPageRequest::getOrder()const
{
return order_;
}
void QueryMetricByPageRequest::setOrder(const std::string& order)
{
order_ = order;
setParameter("Order", order);
}

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/QueryMetricByPageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
QueryMetricByPageResult::QueryMetricByPageResult() :
ServiceResult()
{}
QueryMetricByPageResult::QueryMetricByPageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryMetricByPageResult::~QueryMetricByPageResult()
{}
void QueryMetricByPageResult::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["Page"].isNull())
data_.page = std::stoi(dataNode["Page"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
auto allItems = dataNode["Items"]["Items"];
for (auto value : allItems)
data_.items.push_back(value.asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QueryMetricByPageResult::getMessage()const
{
return message_;
}
QueryMetricByPageResult::Data QueryMetricByPageResult::getData()const
{
return data_;
}
std::string QueryMetricByPageResult::getCode()const
{
return code_;
}
bool QueryMetricByPageResult::getSuccess()const
{
return success_;
}

View File

@@ -53,6 +53,30 @@ void SearchAlertContactGroupResult::parse(const std::string &payload)
contactGroupsObject.createTime = std::stol(valueContactGroupsContactGroup["CreateTime"].asString());
if(!valueContactGroupsContactGroup["UpdateTime"].isNull())
contactGroupsObject.updateTime = std::stol(valueContactGroupsContactGroup["UpdateTime"].asString());
auto allContactsNode = allContactGroupsNode["Contacts"]["Contact"];
for (auto allContactGroupsNodeContactsContact : allContactsNode)
{
ContactGroup::Contact contactsObject;
if(!allContactGroupsNodeContactsContact["ContactId"].isNull())
contactsObject.contactId = std::stol(allContactGroupsNodeContactsContact["ContactId"].asString());
if(!allContactGroupsNodeContactsContact["ContactName"].isNull())
contactsObject.contactName = allContactGroupsNodeContactsContact["ContactName"].asString();
if(!allContactGroupsNodeContactsContact["Phone"].isNull())
contactsObject.phone = allContactGroupsNodeContactsContact["Phone"].asString();
if(!allContactGroupsNodeContactsContact["Email"].isNull())
contactsObject.email = allContactGroupsNodeContactsContact["Email"].asString();
if(!allContactGroupsNodeContactsContact["UserId"].isNull())
contactsObject.userId = allContactGroupsNodeContactsContact["UserId"].asString();
if(!allContactGroupsNodeContactsContact["DingRobot"].isNull())
contactsObject.dingRobot = allContactGroupsNodeContactsContact["DingRobot"].asString();
if(!allContactGroupsNodeContactsContact["CreateTime"].isNull())
contactsObject.createTime = std::stol(allContactGroupsNodeContactsContact["CreateTime"].asString());
if(!allContactGroupsNodeContactsContact["UpdateTime"].isNull())
contactsObject.updateTime = std::stol(allContactGroupsNodeContactsContact["UpdateTime"].asString());
if(!allContactGroupsNodeContactsContact["SystemNoc"].isNull())
contactsObject.systemNoc = allContactGroupsNodeContactsContact["SystemNoc"].asString() == "true";
contactGroupsObject.contacts.push_back(contactsObject);
}
contactGroups_.push_back(contactGroupsObject);
}

View File

@@ -145,7 +145,7 @@ void SearchAlertRulesResult::parse(const std::string &payload)
auto allAlertWays = value["AlertWays"]["AlertWay"];
for (auto value : allAlertWays)
alertRuleEntityObject.alertWays.push_back(value.asString());
auto allAlertWay = value["AlertWay"]["AlertWay"];
auto allAlertWay = value["AlertWay"]["NocWay"];
for (auto value : allAlertWay)
alertRuleEntityObject.alertWay.push_back(value.asString());
pageBean_.alertRules.push_back(alertRuleEntityObject);

View File

@@ -57,7 +57,7 @@ void SearchEventsResult::parse(const std::string &payload)
if(!pageBeanNodeEventEventItem["AlertType"].isNull())
eventItemObject.alertType = std::stoi(pageBeanNodeEventEventItem["AlertType"].asString());
if(!pageBeanNodeEventEventItem["EventLevel"].isNull())
eventItemObject.eventLevel = std::stoi(pageBeanNodeEventEventItem["EventLevel"].asString());
eventItemObject.eventLevel = pageBeanNodeEventEventItem["EventLevel"].asString();
if(!pageBeanNodeEventEventItem["Message"].isNull())
eventItemObject.message = pageBeanNodeEventEventItem["Message"].asString();
if(!pageBeanNodeEventEventItem["AlertId"].isNull())

View File

@@ -113,6 +113,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesRequest.h
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesResult.h
include/alibabacloud/bssopenapi/model/QuerySettleBillRequest.h
include/alibabacloud/bssopenapi/model/QuerySettleBillResult.h
include/alibabacloud/bssopenapi/model/QuerySettlementBillRequest.h
include/alibabacloud/bssopenapi/model/QuerySettlementBillResult.h
include/alibabacloud/bssopenapi/model/QuerySplitItemBillRequest.h
@@ -232,6 +234,8 @@ set(bssopenapi_src
src/model/QueryResellerAvailableQuotaResult.cc
src/model/QueryResourcePackageInstancesRequest.cc
src/model/QueryResourcePackageInstancesResult.cc
src/model/QuerySettleBillRequest.cc
src/model/QuerySettleBillResult.cc
src/model/QuerySettlementBillRequest.cc
src/model/QuerySettlementBillResult.cc
src/model/QuerySplitItemBillRequest.cc

View File

@@ -114,6 +114,8 @@
#include "model/QueryResellerAvailableQuotaResult.h"
#include "model/QueryResourcePackageInstancesRequest.h"
#include "model/QueryResourcePackageInstancesResult.h"
#include "model/QuerySettleBillRequest.h"
#include "model/QuerySettleBillResult.h"
#include "model/QuerySettlementBillRequest.h"
#include "model/QuerySettlementBillResult.h"
#include "model/QuerySplitItemBillRequest.h"
@@ -285,6 +287,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryResourcePackageInstancesResult> QueryResourcePackageInstancesOutcome;
typedef std::future<QueryResourcePackageInstancesOutcome> QueryResourcePackageInstancesOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResourcePackageInstancesRequest&, const QueryResourcePackageInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourcePackageInstancesAsyncHandler;
typedef Outcome<Error, Model::QuerySettleBillResult> QuerySettleBillOutcome;
typedef std::future<QuerySettleBillOutcome> QuerySettleBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettleBillRequest&, const QuerySettleBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettleBillAsyncHandler;
typedef Outcome<Error, Model::QuerySettlementBillResult> QuerySettlementBillOutcome;
typedef std::future<QuerySettlementBillOutcome> QuerySettlementBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettlementBillRequest&, const QuerySettlementBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettlementBillAsyncHandler;
@@ -464,6 +469,9 @@ namespace AlibabaCloud
QueryResourcePackageInstancesOutcome queryResourcePackageInstances(const Model::QueryResourcePackageInstancesRequest &request)const;
void queryResourcePackageInstancesAsync(const Model::QueryResourcePackageInstancesRequest& request, const QueryResourcePackageInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryResourcePackageInstancesOutcomeCallable queryResourcePackageInstancesCallable(const Model::QueryResourcePackageInstancesRequest& request) const;
QuerySettleBillOutcome querySettleBill(const Model::QuerySettleBillRequest &request)const;
void querySettleBillAsync(const Model::QuerySettleBillRequest& request, const QuerySettleBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySettleBillOutcomeCallable querySettleBillCallable(const Model::QuerySettleBillRequest& request) const;
QuerySettlementBillOutcome querySettlementBill(const Model::QuerySettlementBillRequest &request)const;
void querySettlementBillAsync(const Model::QuerySettlementBillRequest& request, const QuerySettlementBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySettlementBillOutcomeCallable querySettlementBillCallable(const Model::QuerySettlementBillRequest& request) const;

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
std::string resourceId;
std::string commodityCode;
long resourceUserId;
std::string apportionCode;
};
public:

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setPageNum(int pageNum);
long getOwnerID()const;
void setOwnerID(long ownerID);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
bool getIsGroupByProduct()const;
void setIsGroupByProduct(bool isGroupByProduct);
int getPageSize()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
std::string billingCycle_;
int pageNum_;
long ownerID_;
long billOwnerId_;
bool isGroupByProduct_;
int pageSize_;

View File

@@ -44,6 +44,7 @@ namespace AlibabaCloud
float outstandingAmount;
float paymentAmount;
float deductedByPrepaidCard;
std::string pipCode;
float invoiceDiscount;
std::string subscriptionType;
float pretaxGrossAmount;

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setSubscriptionType(const std::string& subscriptionType);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
@@ -48,6 +50,7 @@ namespace AlibabaCloud
std::string productCode_;
std::string subscriptionType_;
std::string billingCycle_;
long billOwnerId_;
std::string productType_;
};

View File

@@ -49,12 +49,14 @@ namespace AlibabaCloud
std::string paymentCurrency;
float paymentAmount;
float deductedByPrepaidCard;
std::string pipCode;
float invoiceDiscount;
std::string item;
std::string subscriptionType;
float pretaxGrossAmount;
float pretaxAmount;
std::string currency;
std::string commodityCode;
float pretaxAmountLocal;
};
std::string billingCycle;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
int getPageNum()const;
void setPageNum(int pageNum);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
int getPageSize()const;
@@ -65,6 +67,7 @@ namespace AlibabaCloud
std::string type_;
long ownerId_;
int pageNum_;
long billOwnerId_;
std::string productType_;
int pageSize_;

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
std::string subscriptionType;
float pretaxGrossAmount;
std::string currency;
std::string commodityCode;
std::string usageStartTime;
std::string status;
std::string paymentTransactionID;
@@ -60,6 +61,7 @@ namespace AlibabaCloud
std::string productCode;
std::string productType;
float outstandingAmount;
std::string pipCode;
std::string ownerID;
float pretaxAmount;
std::string recordID;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
int getPageNum()const;
void setPageNum(int pageNum);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getBillingDate()const;
void setBillingDate(const std::string& billingDate);
std::string getProductType()const;
@@ -65,6 +67,7 @@ namespace AlibabaCloud
std::string billingCycle_;
long ownerId_;
int pageNum_;
long billOwnerId_;
std::string billingDate_;
std::string productType_;
bool isBillingItem_;

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
float pretaxGrossAmount;
std::string instanceConfig;
std::string currency;
std::string commodityCode;
std::string costUnit;
std::string resourceGroup;
std::string billingType;
@@ -64,6 +65,7 @@ namespace AlibabaCloud
std::string billingItem;
std::string nickName;
std::string intranetIP;
std::string pipCode;
std::string servicePeriodUnit;
std::string servicePeriod;
std::string deductedByResourcePackage;

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEBILLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySettleBillRequest : public RpcServiceRequest
{
public:
QuerySettleBillRequest();
~QuerySettleBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
bool getIsHideZeroCharge()const;
void setIsHideZeroCharge(bool isHideZeroCharge);
bool getIsDisplayLocalCurrency()const;
void setIsDisplayLocalCurrency(bool isDisplayLocalCurrency);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
std::string getType()const;
void setType(const std::string& type);
long getOwnerId()const;
void setOwnerId(long ownerId);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string productCode_;
bool isHideZeroCharge_;
bool isDisplayLocalCurrency_;
std::string subscriptionType_;
std::string billingCycle_;
std::string type_;
long ownerId_;
long billOwnerId_;
std::string productType_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEBILLREQUEST_H_

View File

@@ -0,0 +1,100 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEBILLRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEBILLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySettleBillResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
float afterTaxAmount;
std::string productName;
std::string subOrderId;
float deductedByCashCoupons;
std::string paymentTime;
float tax;
std::string paymentCurrency;
float paymentAmount;
float deductedByPrepaidCard;
float invoiceDiscount;
std::string usageEndTime;
std::string item;
std::string subscriptionType;
float pretaxGrossAmount;
std::string currency;
std::string commodityCode;
std::string usageStartTime;
std::string status;
std::string paymentTransactionID;
float deductedByCoupons;
std::string roundDownDiscount;
std::string productDetail;
std::string productCode;
std::string productType;
float outstandingAmount;
std::string pipCode;
std::string ownerID;
float pretaxAmount;
std::string recordID;
float pretaxAmountLocal;
};
std::string billingCycle;
int totalCount;
std::string accountID;
std::string nextToken;
int maxResults;
std::vector<Item> items;
std::string accountName;
};
QuerySettleBillResult();
explicit QuerySettleBillResult(const std::string &payload);
~QuerySettleBillResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEBILLRESULT_H_

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
int getPageNum()const;
void setPageNum(int pageNum);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
int getPageSize()const;
@@ -56,6 +58,7 @@ namespace AlibabaCloud
std::string billingCycle_;
long ownerId_;
int pageNum_;
long billOwnerId_;
std::string productType_;
int pageSize_;

View File

@@ -52,6 +52,7 @@ namespace AlibabaCloud
float pretaxGrossAmount;
std::string instanceConfig;
std::string currency;
std::string commodityCode;
std::string costUnit;
std::string resourceGroup;
std::string billingType;
@@ -65,6 +66,7 @@ namespace AlibabaCloud
std::string billingItem;
std::string nickName;
std::string intranetIP;
std::string pipCode;
std::string servicePeriod;
std::string splitItemID;
std::string deductedByResourcePackage;

View File

@@ -1707,6 +1707,42 @@ BssOpenApiClient::QueryResourcePackageInstancesOutcomeCallable BssOpenApiClient:
return task->get_future();
}
BssOpenApiClient::QuerySettleBillOutcome BssOpenApiClient::querySettleBill(const QuerySettleBillRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QuerySettleBillOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QuerySettleBillOutcome(QuerySettleBillResult(outcome.result()));
else
return QuerySettleBillOutcome(outcome.error());
}
void BssOpenApiClient::querySettleBillAsync(const QuerySettleBillRequest& request, const QuerySettleBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, querySettleBill(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QuerySettleBillOutcomeCallable BssOpenApiClient::querySettleBillCallable(const QuerySettleBillRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QuerySettleBillOutcome()>>(
[this, request]()
{
return this->querySettleBill(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QuerySettlementBillOutcome BssOpenApiClient::querySettlementBill(const QuerySettlementBillRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -41,6 +41,7 @@ void AllocateCostUnitResourceRequest::setResourceInstanceList(const std::vector<
setParameter(resourceInstanceListObjStr + ".ResourceId", resourceInstanceListObj.resourceId);
setParameter(resourceInstanceListObjStr + ".CommodityCode", resourceInstanceListObj.commodityCode);
setParameter(resourceInstanceListObjStr + ".ResourceUserId", std::to_string(resourceInstanceListObj.resourceUserId));
setParameter(resourceInstanceListObjStr + ".ApportionCode", resourceInstanceListObj.apportionCode);
}
}

View File

@@ -71,6 +71,17 @@ void QueryAccountBillRequest::setOwnerID(long ownerID)
setParameter("OwnerID", std::to_string(ownerID));
}
long QueryAccountBillRequest::getBillOwnerId()const
{
return billOwnerId_;
}
void QueryAccountBillRequest::setBillOwnerId(long billOwnerId)
{
billOwnerId_ = billOwnerId;
setParameter("BillOwnerId", std::to_string(billOwnerId));
}
bool QueryAccountBillRequest::getIsGroupByProduct()const
{
return isGroupByProduct_;

View File

@@ -86,6 +86,8 @@ void QueryAccountBillResult::parse(const std::string &payload)
itemObject.productName = dataNodeItemsItem["ProductName"].asString();
if(!dataNodeItemsItem["SubscriptionType"].isNull())
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
if(!dataNodeItemsItem["PipCode"].isNull())
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -60,6 +60,17 @@ void QueryBillOverviewRequest::setBillingCycle(const std::string& billingCycle)
setParameter("BillingCycle", billingCycle);
}
long QueryBillOverviewRequest::getBillOwnerId()const
{
return billOwnerId_;
}
void QueryBillOverviewRequest::setBillOwnerId(long billOwnerId)
{
billOwnerId_ = billOwnerId;
setParameter("BillOwnerId", std::to_string(billOwnerId));
}
std::string QueryBillOverviewRequest::getProductType()const
{
return productType_;

View File

@@ -90,6 +90,10 @@ void QueryBillOverviewResult::parse(const std::string &payload)
itemObject.paymentCurrency = dataNodeItemsItem["PaymentCurrency"].asString();
if(!dataNodeItemsItem["RoundDownDiscount"].isNull())
itemObject.roundDownDiscount = dataNodeItemsItem["RoundDownDiscount"].asString();
if(!dataNodeItemsItem["PipCode"].isNull())
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
if(!dataNodeItemsItem["CommodityCode"].isNull())
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -115,6 +115,17 @@ void QueryBillRequest::setPageNum(int pageNum)
setParameter("PageNum", std::to_string(pageNum));
}
long QueryBillRequest::getBillOwnerId()const
{
return billOwnerId_;
}
void QueryBillRequest::setBillOwnerId(long billOwnerId)
{
billOwnerId_ = billOwnerId;
setParameter("BillOwnerId", std::to_string(billOwnerId));
}
std::string QueryBillRequest::getProductType()const
{
return productType_;

View File

@@ -112,6 +112,10 @@ void QueryBillResult::parse(const std::string &payload)
itemObject.roundDownDiscount = dataNodeItemsItem["RoundDownDiscount"].asString();
if(!dataNodeItemsItem["SubOrderId"].isNull())
itemObject.subOrderId = dataNodeItemsItem["SubOrderId"].asString();
if(!dataNodeItemsItem["PipCode"].isNull())
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
if(!dataNodeItemsItem["CommodityCode"].isNull())
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -93,6 +93,17 @@ void QueryInstanceBillRequest::setPageNum(int pageNum)
setParameter("PageNum", std::to_string(pageNum));
}
long QueryInstanceBillRequest::getBillOwnerId()const
{
return billOwnerId_;
}
void QueryInstanceBillRequest::setBillOwnerId(long billOwnerId)
{
billOwnerId_ = billOwnerId;
setParameter("BillOwnerId", std::to_string(billOwnerId));
}
std::string QueryInstanceBillRequest::getBillingDate()const
{
return billingDate_;

View File

@@ -130,6 +130,10 @@ void QueryInstanceBillResult::parse(const std::string &payload)
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
if(!dataNodeItemsItem["ServicePeriodUnit"].isNull())
itemObject.servicePeriodUnit = dataNodeItemsItem["ServicePeriodUnit"].asString();
if(!dataNodeItemsItem["PipCode"].isNull())
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
if(!dataNodeItemsItem["CommodityCode"].isNull())
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -0,0 +1,150 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QuerySettleBillRequest.h>
using AlibabaCloud::BssOpenApi::Model::QuerySettleBillRequest;
QuerySettleBillRequest::QuerySettleBillRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QuerySettleBill")
{
setMethod(HttpRequest::Method::Post);
}
QuerySettleBillRequest::~QuerySettleBillRequest()
{}
std::string QuerySettleBillRequest::getProductCode()const
{
return productCode_;
}
void QuerySettleBillRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setParameter("ProductCode", productCode);
}
bool QuerySettleBillRequest::getIsHideZeroCharge()const
{
return isHideZeroCharge_;
}
void QuerySettleBillRequest::setIsHideZeroCharge(bool isHideZeroCharge)
{
isHideZeroCharge_ = isHideZeroCharge;
setParameter("IsHideZeroCharge", isHideZeroCharge ? "true" : "false");
}
bool QuerySettleBillRequest::getIsDisplayLocalCurrency()const
{
return isDisplayLocalCurrency_;
}
void QuerySettleBillRequest::setIsDisplayLocalCurrency(bool isDisplayLocalCurrency)
{
isDisplayLocalCurrency_ = isDisplayLocalCurrency;
setParameter("IsDisplayLocalCurrency", isDisplayLocalCurrency ? "true" : "false");
}
std::string QuerySettleBillRequest::getSubscriptionType()const
{
return subscriptionType_;
}
void QuerySettleBillRequest::setSubscriptionType(const std::string& subscriptionType)
{
subscriptionType_ = subscriptionType;
setParameter("SubscriptionType", subscriptionType);
}
std::string QuerySettleBillRequest::getBillingCycle()const
{
return billingCycle_;
}
void QuerySettleBillRequest::setBillingCycle(const std::string& billingCycle)
{
billingCycle_ = billingCycle;
setParameter("BillingCycle", billingCycle);
}
std::string QuerySettleBillRequest::getType()const
{
return type_;
}
void QuerySettleBillRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
long QuerySettleBillRequest::getOwnerId()const
{
return ownerId_;
}
void QuerySettleBillRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
long QuerySettleBillRequest::getBillOwnerId()const
{
return billOwnerId_;
}
void QuerySettleBillRequest::setBillOwnerId(long billOwnerId)
{
billOwnerId_ = billOwnerId;
setParameter("BillOwnerId", std::to_string(billOwnerId));
}
std::string QuerySettleBillRequest::getProductType()const
{
return productType_;
}
void QuerySettleBillRequest::setProductType(const std::string& productType)
{
productType_ = productType;
setParameter("ProductType", productType);
}
std::string QuerySettleBillRequest::getNextToken()const
{
return nextToken_;
}
void QuerySettleBillRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
int QuerySettleBillRequest::getMaxResults()const
{
return maxResults_;
}
void QuerySettleBillRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}

View File

@@ -0,0 +1,149 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QuerySettleBillResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QuerySettleBillResult::QuerySettleBillResult() :
ServiceResult()
{}
QuerySettleBillResult::QuerySettleBillResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QuerySettleBillResult::~QuerySettleBillResult()
{}
void QuerySettleBillResult::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["BillingCycle"].isNull())
data_.billingCycle = dataNode["BillingCycle"].asString();
if(!dataNode["AccountID"].isNull())
data_.accountID = dataNode["AccountID"].asString();
if(!dataNode["AccountName"].isNull())
data_.accountName = dataNode["AccountName"].asString();
if(!dataNode["NextToken"].isNull())
data_.nextToken = dataNode["NextToken"].asString();
if(!dataNode["MaxResults"].isNull())
data_.maxResults = std::stoi(dataNode["MaxResults"].asString());
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
auto allItemsNode = dataNode["Items"]["Item"];
for (auto dataNodeItemsItem : allItemsNode)
{
Data::Item itemObject;
if(!dataNodeItemsItem["RecordID"].isNull())
itemObject.recordID = dataNodeItemsItem["RecordID"].asString();
if(!dataNodeItemsItem["Item"].isNull())
itemObject.item = dataNodeItemsItem["Item"].asString();
if(!dataNodeItemsItem["OwnerID"].isNull())
itemObject.ownerID = dataNodeItemsItem["OwnerID"].asString();
if(!dataNodeItemsItem["UsageStartTime"].isNull())
itemObject.usageStartTime = dataNodeItemsItem["UsageStartTime"].asString();
if(!dataNodeItemsItem["UsageEndTime"].isNull())
itemObject.usageEndTime = dataNodeItemsItem["UsageEndTime"].asString();
if(!dataNodeItemsItem["PaymentTime"].isNull())
itemObject.paymentTime = dataNodeItemsItem["PaymentTime"].asString();
if(!dataNodeItemsItem["ProductCode"].isNull())
itemObject.productCode = dataNodeItemsItem["ProductCode"].asString();
if(!dataNodeItemsItem["ProductType"].isNull())
itemObject.productType = dataNodeItemsItem["ProductType"].asString();
if(!dataNodeItemsItem["SubscriptionType"].isNull())
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
if(!dataNodeItemsItem["ProductName"].isNull())
itemObject.productName = dataNodeItemsItem["ProductName"].asString();
if(!dataNodeItemsItem["ProductDetail"].isNull())
itemObject.productDetail = dataNodeItemsItem["ProductDetail"].asString();
if(!dataNodeItemsItem["PretaxGrossAmount"].isNull())
itemObject.pretaxGrossAmount = std::stof(dataNodeItemsItem["PretaxGrossAmount"].asString());
if(!dataNodeItemsItem["DeductedByCoupons"].isNull())
itemObject.deductedByCoupons = std::stof(dataNodeItemsItem["DeductedByCoupons"].asString());
if(!dataNodeItemsItem["InvoiceDiscount"].isNull())
itemObject.invoiceDiscount = std::stof(dataNodeItemsItem["InvoiceDiscount"].asString());
if(!dataNodeItemsItem["PretaxAmount"].isNull())
itemObject.pretaxAmount = std::stof(dataNodeItemsItem["PretaxAmount"].asString());
if(!dataNodeItemsItem["Currency"].isNull())
itemObject.currency = dataNodeItemsItem["Currency"].asString();
if(!dataNodeItemsItem["PretaxAmountLocal"].isNull())
itemObject.pretaxAmountLocal = std::stof(dataNodeItemsItem["PretaxAmountLocal"].asString());
if(!dataNodeItemsItem["Tax"].isNull())
itemObject.tax = std::stof(dataNodeItemsItem["Tax"].asString());
if(!dataNodeItemsItem["PaymentAmount"].isNull())
itemObject.paymentAmount = std::stof(dataNodeItemsItem["PaymentAmount"].asString());
if(!dataNodeItemsItem["DeductedByCashCoupons"].isNull())
itemObject.deductedByCashCoupons = std::stof(dataNodeItemsItem["DeductedByCashCoupons"].asString());
if(!dataNodeItemsItem["DeductedByPrepaidCard"].isNull())
itemObject.deductedByPrepaidCard = std::stof(dataNodeItemsItem["DeductedByPrepaidCard"].asString());
if(!dataNodeItemsItem["OutstandingAmount"].isNull())
itemObject.outstandingAmount = std::stof(dataNodeItemsItem["OutstandingAmount"].asString());
if(!dataNodeItemsItem["AfterTaxAmount"].isNull())
itemObject.afterTaxAmount = std::stof(dataNodeItemsItem["AfterTaxAmount"].asString());
if(!dataNodeItemsItem["Status"].isNull())
itemObject.status = dataNodeItemsItem["Status"].asString();
if(!dataNodeItemsItem["PaymentCurrency"].isNull())
itemObject.paymentCurrency = dataNodeItemsItem["PaymentCurrency"].asString();
if(!dataNodeItemsItem["PaymentTransactionID"].isNull())
itemObject.paymentTransactionID = dataNodeItemsItem["PaymentTransactionID"].asString();
if(!dataNodeItemsItem["RoundDownDiscount"].isNull())
itemObject.roundDownDiscount = dataNodeItemsItem["RoundDownDiscount"].asString();
if(!dataNodeItemsItem["SubOrderId"].isNull())
itemObject.subOrderId = dataNodeItemsItem["SubOrderId"].asString();
if(!dataNodeItemsItem["PipCode"].isNull())
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
if(!dataNodeItemsItem["CommodityCode"].isNull())
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QuerySettleBillResult::getMessage()const
{
return message_;
}
QuerySettleBillResult::Data QuerySettleBillResult::getData()const
{
return data_;
}
std::string QuerySettleBillResult::getCode()const
{
return code_;
}
bool QuerySettleBillResult::getSuccess()const
{
return success_;
}

View File

@@ -82,6 +82,17 @@ void QuerySplitItemBillRequest::setPageNum(int pageNum)
setParameter("PageNum", std::to_string(pageNum));
}
long QuerySplitItemBillRequest::getBillOwnerId()const
{
return billOwnerId_;
}
void QuerySplitItemBillRequest::setBillOwnerId(long billOwnerId)
{
billOwnerId_ = billOwnerId;
setParameter("BillOwnerId", std::to_string(billOwnerId));
}
std::string QuerySplitItemBillRequest::getProductType()const
{
return productType_;

View File

@@ -132,6 +132,10 @@ void QuerySplitItemBillResult::parse(const std::string &payload)
itemObject.splitItemID = dataNodeItemsItem["SplitItemID"].asString();
if(!dataNodeItemsItem["SplitItemName"].isNull())
itemObject.splitItemName = dataNodeItemsItem["SplitItemName"].asString();
if(!dataNodeItemsItem["PipCode"].isNull())
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
if(!dataNodeItemsItem["CommodityCode"].isNull())
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -39,8 +39,14 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getTemplateBodyParams()const;
void setTemplateBodyParams(const std::string& templateBodyParams);
std::string getLink()const;
void setLink(const std::string& link);
std::string getCaption()const;
void setCaption(const std::string& caption);
std::string getType()const;
void setType(const std::string& type);
std::string getBody()const;
void setBody(const std::string& body);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getChannelType()const;
@@ -55,11 +61,16 @@ namespace AlibabaCloud
void setTo(const std::string& to);
std::string getTemplateCode()const;
void setTemplateCode(const std::string& templateCode);
std::string getMediaType()const;
void setMediaType(const std::string& mediaType);
private:
long resourceOwnerId_;
std::string templateBodyParams_;
std::string link_;
std::string caption_;
std::string type_;
std::string body_;
std::string accessKeyId_;
std::string channelType_;
std::string from_;
@@ -67,6 +78,7 @@ namespace AlibabaCloud
long ownerId_;
std::string to_;
std::string templateCode_;
std::string mediaType_;
};
}

View File

@@ -46,7 +46,29 @@ std::string SendMessageRequest::getTemplateBodyParams()const
void SendMessageRequest::setTemplateBodyParams(const std::string& templateBodyParams)
{
templateBodyParams_ = templateBodyParams;
setParameter("TemplateBodyParams", templateBodyParams);
setBodyParameter("TemplateBodyParams", templateBodyParams);
}
std::string SendMessageRequest::getLink()const
{
return link_;
}
void SendMessageRequest::setLink(const std::string& link)
{
link_ = link;
setBodyParameter("Link", link);
}
std::string SendMessageRequest::getCaption()const
{
return caption_;
}
void SendMessageRequest::setCaption(const std::string& caption)
{
caption_ = caption;
setBodyParameter("Caption", caption);
}
std::string SendMessageRequest::getType()const
@@ -57,7 +79,18 @@ std::string SendMessageRequest::getType()const
void SendMessageRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
setBodyParameter("Type", type);
}
std::string SendMessageRequest::getBody()const
{
return body_;
}
void SendMessageRequest::setBody(const std::string& body)
{
body_ = body;
setBodyParameter("Body", body);
}
std::string SendMessageRequest::getAccessKeyId()const
@@ -79,7 +112,7 @@ std::string SendMessageRequest::getChannelType()const
void SendMessageRequest::setChannelType(const std::string& channelType)
{
channelType_ = channelType;
setParameter("ChannelType", channelType);
setBodyParameter("ChannelType", channelType);
}
std::string SendMessageRequest::getFrom()const
@@ -90,7 +123,7 @@ std::string SendMessageRequest::getFrom()const
void SendMessageRequest::setFrom(const std::string& from)
{
from_ = from;
setParameter("From", from);
setBodyParameter("From", from);
}
std::string SendMessageRequest::getResourceOwnerAccount()const
@@ -123,7 +156,7 @@ std::string SendMessageRequest::getTo()const
void SendMessageRequest::setTo(const std::string& to)
{
to_ = to;
setParameter("To", to);
setBodyParameter("To", to);
}
std::string SendMessageRequest::getTemplateCode()const
@@ -134,6 +167,17 @@ std::string SendMessageRequest::getTemplateCode()const
void SendMessageRequest::setTemplateCode(const std::string& templateCode)
{
templateCode_ = templateCode;
setParameter("TemplateCode", templateCode);
setBodyParameter("TemplateCode", templateCode);
}
std::string SendMessageRequest::getMediaType()const
{
return mediaType_;
}
void SendMessageRequest::setMediaType(const std::string& mediaType)
{
mediaType_ = mediaType;
setBodyParameter("MediaType", mediaType);
}

View File

@@ -109,6 +109,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h
include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h
include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h
include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
@@ -289,6 +291,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h
include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h
include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h
include/alibabacloud/cdn/model/DescribeVerifyContentRequest.h
include/alibabacloud/cdn/model/DescribeVerifyContentResult.h
include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h
include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h
include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h
@@ -395,8 +399,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/SetUserGreenManagerConfigResult.h
include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h
include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h
include/alibabacloud/cdn/model/SetWafConfigRequest.h
include/alibabacloud/cdn/model/SetWafConfigResult.h
include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h
include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h
include/alibabacloud/cdn/model/StartCdnDomainRequest.h
@@ -410,7 +412,9 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h
include/alibabacloud/cdn/model/UpdateFCTriggerResult.h
include/alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigRequest.h
include/alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigResult.h )
include/alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigResult.h
include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h
include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h )
set(cdn_src
src/CdnClient.cc
@@ -502,6 +506,8 @@ set(cdn_src
src/model/DescribeCdnUserBillTypeResult.cc
src/model/DescribeCdnUserConfigsRequest.cc
src/model/DescribeCdnUserConfigsResult.cc
src/model/DescribeCdnUserDomainsByFuncRequest.cc
src/model/DescribeCdnUserDomainsByFuncResult.cc
src/model/DescribeCdnUserQuotaRequest.cc
src/model/DescribeCdnUserQuotaResult.cc
src/model/DescribeCdnUserResourcePackageRequest.cc
@@ -682,6 +688,8 @@ set(cdn_src
src/model/DescribeUserUsageDetailDataExportTaskResult.cc
src/model/DescribeUserVipsByDomainRequest.cc
src/model/DescribeUserVipsByDomainResult.cc
src/model/DescribeVerifyContentRequest.cc
src/model/DescribeVerifyContentResult.cc
src/model/DisableRealtimeLogDeliveryRequest.cc
src/model/DisableRealtimeLogDeliveryResult.cc
src/model/EnableRealtimeLogDeliveryRequest.cc
@@ -788,8 +796,6 @@ set(cdn_src
src/model/SetUserGreenManagerConfigResult.cc
src/model/SetVideoSeekConfigRequest.cc
src/model/SetVideoSeekConfigResult.cc
src/model/SetWafConfigRequest.cc
src/model/SetWafConfigResult.cc
src/model/SetWaitingRoomConfigRequest.cc
src/model/SetWaitingRoomConfigResult.cc
src/model/StartCdnDomainRequest.cc
@@ -803,7 +809,9 @@ set(cdn_src
src/model/UpdateFCTriggerRequest.cc
src/model/UpdateFCTriggerResult.cc
src/model/UpdateLiveAppSnapshotConfigRequest.cc
src/model/UpdateLiveAppSnapshotConfigResult.cc )
src/model/UpdateLiveAppSnapshotConfigResult.cc
src/model/VerifyDomainOwnerRequest.cc
src/model/VerifyDomainOwnerResult.cc )
add_library(cdn ${LIB_TYPE}
${cdn_public_header}

View File

@@ -110,6 +110,8 @@
#include "model/DescribeCdnUserBillTypeResult.h"
#include "model/DescribeCdnUserConfigsRequest.h"
#include "model/DescribeCdnUserConfigsResult.h"
#include "model/DescribeCdnUserDomainsByFuncRequest.h"
#include "model/DescribeCdnUserDomainsByFuncResult.h"
#include "model/DescribeCdnUserQuotaRequest.h"
#include "model/DescribeCdnUserQuotaResult.h"
#include "model/DescribeCdnUserResourcePackageRequest.h"
@@ -290,6 +292,8 @@
#include "model/DescribeUserUsageDetailDataExportTaskResult.h"
#include "model/DescribeUserVipsByDomainRequest.h"
#include "model/DescribeUserVipsByDomainResult.h"
#include "model/DescribeVerifyContentRequest.h"
#include "model/DescribeVerifyContentResult.h"
#include "model/DisableRealtimeLogDeliveryRequest.h"
#include "model/DisableRealtimeLogDeliveryResult.h"
#include "model/EnableRealtimeLogDeliveryRequest.h"
@@ -396,8 +400,6 @@
#include "model/SetUserGreenManagerConfigResult.h"
#include "model/SetVideoSeekConfigRequest.h"
#include "model/SetVideoSeekConfigResult.h"
#include "model/SetWafConfigRequest.h"
#include "model/SetWafConfigResult.h"
#include "model/SetWaitingRoomConfigRequest.h"
#include "model/SetWaitingRoomConfigResult.h"
#include "model/StartCdnDomainRequest.h"
@@ -412,6 +414,8 @@
#include "model/UpdateFCTriggerResult.h"
#include "model/UpdateLiveAppSnapshotConfigRequest.h"
#include "model/UpdateLiveAppSnapshotConfigResult.h"
#include "model/VerifyDomainOwnerRequest.h"
#include "model/VerifyDomainOwnerResult.h"
namespace AlibabaCloud
@@ -553,6 +557,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCdnUserConfigsResult> DescribeCdnUserConfigsOutcome;
typedef std::future<DescribeCdnUserConfigsOutcome> DescribeCdnUserConfigsOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserConfigsRequest&, const DescribeCdnUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserConfigsAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserDomainsByFuncResult> DescribeCdnUserDomainsByFuncOutcome;
typedef std::future<DescribeCdnUserDomainsByFuncOutcome> DescribeCdnUserDomainsByFuncOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserDomainsByFuncRequest&, const DescribeCdnUserDomainsByFuncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserDomainsByFuncAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserQuotaResult> DescribeCdnUserQuotaOutcome;
typedef std::future<DescribeCdnUserQuotaOutcome> DescribeCdnUserQuotaOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserQuotaRequest&, const DescribeCdnUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserQuotaAsyncHandler;
@@ -823,6 +830,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeUserVipsByDomainResult> DescribeUserVipsByDomainOutcome;
typedef std::future<DescribeUserVipsByDomainOutcome> DescribeUserVipsByDomainOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeUserVipsByDomainRequest&, const DescribeUserVipsByDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserVipsByDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeVerifyContentResult> DescribeVerifyContentOutcome;
typedef std::future<DescribeVerifyContentOutcome> DescribeVerifyContentOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeVerifyContentRequest&, const DescribeVerifyContentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyContentAsyncHandler;
typedef Outcome<Error, Model::DisableRealtimeLogDeliveryResult> DisableRealtimeLogDeliveryOutcome;
typedef std::future<DisableRealtimeLogDeliveryOutcome> DisableRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DisableRealtimeLogDeliveryRequest&, const DisableRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableRealtimeLogDeliveryAsyncHandler;
@@ -982,9 +992,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetVideoSeekConfigResult> SetVideoSeekConfigOutcome;
typedef std::future<SetVideoSeekConfigOutcome> SetVideoSeekConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetVideoSeekConfigRequest&, const SetVideoSeekConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVideoSeekConfigAsyncHandler;
typedef Outcome<Error, Model::SetWafConfigResult> SetWafConfigOutcome;
typedef std::future<SetWafConfigOutcome> SetWafConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetWafConfigRequest&, const SetWafConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetWafConfigAsyncHandler;
typedef Outcome<Error, Model::SetWaitingRoomConfigResult> SetWaitingRoomConfigOutcome;
typedef std::future<SetWaitingRoomConfigOutcome> SetWaitingRoomConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetWaitingRoomConfigRequest&, const SetWaitingRoomConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetWaitingRoomConfigAsyncHandler;
@@ -1006,6 +1013,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateLiveAppSnapshotConfigResult> UpdateLiveAppSnapshotConfigOutcome;
typedef std::future<UpdateLiveAppSnapshotConfigOutcome> UpdateLiveAppSnapshotConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::UpdateLiveAppSnapshotConfigRequest&, const UpdateLiveAppSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveAppSnapshotConfigAsyncHandler;
typedef Outcome<Error, Model::VerifyDomainOwnerResult> VerifyDomainOwnerOutcome;
typedef std::future<VerifyDomainOwnerOutcome> VerifyDomainOwnerOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::VerifyDomainOwnerRequest&, const VerifyDomainOwnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyDomainOwnerAsyncHandler;
CdnClient(const Credentials &credentials, const ClientConfiguration &configuration);
CdnClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -1143,6 +1153,9 @@ namespace AlibabaCloud
DescribeCdnUserConfigsOutcome describeCdnUserConfigs(const Model::DescribeCdnUserConfigsRequest &request)const;
void describeCdnUserConfigsAsync(const Model::DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserConfigsOutcomeCallable describeCdnUserConfigsCallable(const Model::DescribeCdnUserConfigsRequest& request) const;
DescribeCdnUserDomainsByFuncOutcome describeCdnUserDomainsByFunc(const Model::DescribeCdnUserDomainsByFuncRequest &request)const;
void describeCdnUserDomainsByFuncAsync(const Model::DescribeCdnUserDomainsByFuncRequest& request, const DescribeCdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserDomainsByFuncOutcomeCallable describeCdnUserDomainsByFuncCallable(const Model::DescribeCdnUserDomainsByFuncRequest& request) const;
DescribeCdnUserQuotaOutcome describeCdnUserQuota(const Model::DescribeCdnUserQuotaRequest &request)const;
void describeCdnUserQuotaAsync(const Model::DescribeCdnUserQuotaRequest& request, const DescribeCdnUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserQuotaOutcomeCallable describeCdnUserQuotaCallable(const Model::DescribeCdnUserQuotaRequest& request) const;
@@ -1413,6 +1426,9 @@ namespace AlibabaCloud
DescribeUserVipsByDomainOutcome describeUserVipsByDomain(const Model::DescribeUserVipsByDomainRequest &request)const;
void describeUserVipsByDomainAsync(const Model::DescribeUserVipsByDomainRequest& request, const DescribeUserVipsByDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserVipsByDomainOutcomeCallable describeUserVipsByDomainCallable(const Model::DescribeUserVipsByDomainRequest& request) const;
DescribeVerifyContentOutcome describeVerifyContent(const Model::DescribeVerifyContentRequest &request)const;
void describeVerifyContentAsync(const Model::DescribeVerifyContentRequest& request, const DescribeVerifyContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVerifyContentOutcomeCallable describeVerifyContentCallable(const Model::DescribeVerifyContentRequest& request) const;
DisableRealtimeLogDeliveryOutcome disableRealtimeLogDelivery(const Model::DisableRealtimeLogDeliveryRequest &request)const;
void disableRealtimeLogDeliveryAsync(const Model::DisableRealtimeLogDeliveryRequest& request, const DisableRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableRealtimeLogDeliveryOutcomeCallable disableRealtimeLogDeliveryCallable(const Model::DisableRealtimeLogDeliveryRequest& request) const;
@@ -1572,9 +1588,6 @@ namespace AlibabaCloud
SetVideoSeekConfigOutcome setVideoSeekConfig(const Model::SetVideoSeekConfigRequest &request)const;
void setVideoSeekConfigAsync(const Model::SetVideoSeekConfigRequest& request, const SetVideoSeekConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetVideoSeekConfigOutcomeCallable setVideoSeekConfigCallable(const Model::SetVideoSeekConfigRequest& request) const;
SetWafConfigOutcome setWafConfig(const Model::SetWafConfigRequest &request)const;
void setWafConfigAsync(const Model::SetWafConfigRequest& request, const SetWafConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetWafConfigOutcomeCallable setWafConfigCallable(const Model::SetWafConfigRequest& request) const;
SetWaitingRoomConfigOutcome setWaitingRoomConfig(const Model::SetWaitingRoomConfigRequest &request)const;
void setWaitingRoomConfigAsync(const Model::SetWaitingRoomConfigRequest& request, const SetWaitingRoomConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetWaitingRoomConfigOutcomeCallable setWaitingRoomConfigCallable(const Model::SetWaitingRoomConfigRequest& request) const;
@@ -1596,6 +1609,9 @@ namespace AlibabaCloud
UpdateLiveAppSnapshotConfigOutcome updateLiveAppSnapshotConfig(const Model::UpdateLiveAppSnapshotConfigRequest &request)const;
void updateLiveAppSnapshotConfigAsync(const Model::UpdateLiveAppSnapshotConfigRequest& request, const UpdateLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLiveAppSnapshotConfigOutcomeCallable updateLiveAppSnapshotConfigCallable(const Model::UpdateLiveAppSnapshotConfigRequest& request) const;
VerifyDomainOwnerOutcome verifyDomainOwner(const Model::VerifyDomainOwnerRequest &request)const;
void verifyDomainOwnerAsync(const Model::VerifyDomainOwnerRequest& request, const VerifyDomainOwnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyDomainOwnerOutcomeCallable verifyDomainOwnerCallable(const Model::VerifyDomainOwnerRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserDomainsByFuncRequest : public RpcServiceRequest
{
public:
DescribeCdnUserDomainsByFuncRequest();
~DescribeCdnUserDomainsByFuncRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
int getPageSize()const;
void setPageSize(int pageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getFuncId()const;
void setFuncId(int funcId);
private:
int pageNumber_;
std::string resourceGroupId_;
int pageSize_;
long ownerId_;
int funcId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserDomainsByFuncResult : public ServiceResult
{
public:
struct PageData
{
struct Source
{
std::string type;
std::string content;
std::string priority;
int port;
std::string weight;
};
std::string description;
std::string sslProtocol;
std::string resourceGroupId;
std::string domainName;
std::string gmtModified;
std::string cdnType;
std::string gmtCreated;
std::vector<PageData::Source> sources;
std::string cname;
std::string domainStatus;
std::string sandbox;
};
DescribeCdnUserDomainsByFuncResult();
explicit DescribeCdnUserDomainsByFuncResult(const std::string &payload);
~DescribeCdnUserDomainsByFuncResult();
std::vector<PageData> getDomains()const;
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PageData> domains_;
long totalCount_;
long pageSize_;
long pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_

View File

@@ -35,18 +35,12 @@ namespace AlibabaCloud
DescribeRefreshTaskByIdRequest();
~DescribeRefreshTaskByIdRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
int pageNumber_;
int pageSize_;
std::string taskId_;
long ownerId_;

View File

@@ -49,16 +49,12 @@ namespace AlibabaCloud
~DescribeRefreshTaskByIdResult();
long getTotalCount()const;
std::vector<CDNTask> getTasks()const;
long getPageSize()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::vector<CDNTask> tasks_;
long pageSize_;
long pageNumber_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGREQUEST_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT SetWafConfigRequest : public RpcServiceRequest
class ALIBABACLOUD_CDN_EXPORT DescribeVerifyContentRequest : public RpcServiceRequest
{
public:
SetWafConfigRequest();
~SetWafConfigRequest();
DescribeVerifyContentRequest();
~DescribeVerifyContentRequest();
std::string getEnable()const;
void setEnable(const std::string& enable);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
long getConfigId()const;
void setConfigId(long configId);
private:
std::string enable_;
std::string domainName_;
long ownerId_;
long configId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGREQUEST_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEVERIFYCONTENTREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT VerifyDomainOwnerRequest : public RpcServiceRequest
{
public:
VerifyDomainOwnerRequest();
~VerifyDomainOwnerRequest();
std::string getVerifyType()const;
void setVerifyType(const std::string& verifyType);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string verifyType_;
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGRESULT_H_
#ifndef ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERRESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT SetWafConfigResult : public ServiceResult
class ALIBABACLOUD_CDN_EXPORT VerifyDomainOwnerResult : public ServiceResult
{
public:
SetWafConfigResult();
explicit SetWafConfigResult(const std::string &payload);
~SetWafConfigResult();
VerifyDomainOwnerResult();
explicit VerifyDomainOwnerResult(const std::string &payload);
~VerifyDomainOwnerResult();
std::string getContent()const;
protected:
void parse(const std::string &payload);
private:
std::string content_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGRESULT_H_
#endif // !ALIBABACLOUD_CDN_MODEL_VERIFYDOMAINOWNERRESULT_H_

View File

@@ -1635,6 +1635,42 @@ CdnClient::DescribeCdnUserConfigsOutcomeCallable CdnClient::describeCdnUserConfi
return task->get_future();
}
CdnClient::DescribeCdnUserDomainsByFuncOutcome CdnClient::describeCdnUserDomainsByFunc(const DescribeCdnUserDomainsByFuncRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCdnUserDomainsByFuncOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCdnUserDomainsByFuncOutcome(DescribeCdnUserDomainsByFuncResult(outcome.result()));
else
return DescribeCdnUserDomainsByFuncOutcome(outcome.error());
}
void CdnClient::describeCdnUserDomainsByFuncAsync(const DescribeCdnUserDomainsByFuncRequest& request, const DescribeCdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCdnUserDomainsByFunc(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeCdnUserDomainsByFuncOutcomeCallable CdnClient::describeCdnUserDomainsByFuncCallable(const DescribeCdnUserDomainsByFuncRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCdnUserDomainsByFuncOutcome()>>(
[this, request]()
{
return this->describeCdnUserDomainsByFunc(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeCdnUserQuotaOutcome CdnClient::describeCdnUserQuota(const DescribeCdnUserQuotaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4875,6 +4911,42 @@ CdnClient::DescribeUserVipsByDomainOutcomeCallable CdnClient::describeUserVipsBy
return task->get_future();
}
CdnClient::DescribeVerifyContentOutcome CdnClient::describeVerifyContent(const DescribeVerifyContentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVerifyContentOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVerifyContentOutcome(DescribeVerifyContentResult(outcome.result()));
else
return DescribeVerifyContentOutcome(outcome.error());
}
void CdnClient::describeVerifyContentAsync(const DescribeVerifyContentRequest& request, const DescribeVerifyContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVerifyContent(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeVerifyContentOutcomeCallable CdnClient::describeVerifyContentCallable(const DescribeVerifyContentRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVerifyContentOutcome()>>(
[this, request]()
{
return this->describeVerifyContent(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DisableRealtimeLogDeliveryOutcome CdnClient::disableRealtimeLogDelivery(const DisableRealtimeLogDeliveryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6783,42 +6855,6 @@ CdnClient::SetVideoSeekConfigOutcomeCallable CdnClient::setVideoSeekConfigCallab
return task->get_future();
}
CdnClient::SetWafConfigOutcome CdnClient::setWafConfig(const SetWafConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetWafConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetWafConfigOutcome(SetWafConfigResult(outcome.result()));
else
return SetWafConfigOutcome(outcome.error());
}
void CdnClient::setWafConfigAsync(const SetWafConfigRequest& request, const SetWafConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setWafConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetWafConfigOutcomeCallable CdnClient::setWafConfigCallable(const SetWafConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetWafConfigOutcome()>>(
[this, request]()
{
return this->setWafConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::SetWaitingRoomConfigOutcome CdnClient::setWaitingRoomConfig(const SetWaitingRoomConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7071,3 +7107,39 @@ CdnClient::UpdateLiveAppSnapshotConfigOutcomeCallable CdnClient::updateLiveAppSn
return task->get_future();
}
CdnClient::VerifyDomainOwnerOutcome CdnClient::verifyDomainOwner(const VerifyDomainOwnerRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VerifyDomainOwnerOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VerifyDomainOwnerOutcome(VerifyDomainOwnerResult(outcome.result()));
else
return VerifyDomainOwnerOutcome(outcome.error());
}
void CdnClient::verifyDomainOwnerAsync(const VerifyDomainOwnerRequest& request, const VerifyDomainOwnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, verifyDomainOwner(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::VerifyDomainOwnerOutcomeCallable CdnClient::verifyDomainOwnerCallable(const VerifyDomainOwnerRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VerifyDomainOwnerOutcome()>>(
[this, request]()
{
return this->verifyDomainOwner(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View 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/cdn/model/DescribeCdnUserDomainsByFuncRequest.h>
using AlibabaCloud::Cdn::Model::DescribeCdnUserDomainsByFuncRequest;
DescribeCdnUserDomainsByFuncRequest::DescribeCdnUserDomainsByFuncRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserDomainsByFunc")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCdnUserDomainsByFuncRequest::~DescribeCdnUserDomainsByFuncRequest()
{}
int DescribeCdnUserDomainsByFuncRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeCdnUserDomainsByFuncRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeCdnUserDomainsByFuncRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeCdnUserDomainsByFuncRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
int DescribeCdnUserDomainsByFuncRequest::getPageSize()const
{
return pageSize_;
}
void DescribeCdnUserDomainsByFuncRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
long DescribeCdnUserDomainsByFuncRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeCdnUserDomainsByFuncRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
int DescribeCdnUserDomainsByFuncRequest::getFuncId()const
{
return funcId_;
}
void DescribeCdnUserDomainsByFuncRequest::setFuncId(int funcId)
{
funcId_ = funcId;
setParameter("FuncId", std::to_string(funcId));
}

View File

@@ -0,0 +1,112 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cdn/model/DescribeCdnUserDomainsByFuncResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
DescribeCdnUserDomainsByFuncResult::DescribeCdnUserDomainsByFuncResult() :
ServiceResult()
{}
DescribeCdnUserDomainsByFuncResult::DescribeCdnUserDomainsByFuncResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCdnUserDomainsByFuncResult::~DescribeCdnUserDomainsByFuncResult()
{}
void DescribeCdnUserDomainsByFuncResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDomainsNode = value["Domains"]["PageData"];
for (auto valueDomainsPageData : allDomainsNode)
{
PageData domainsObject;
if(!valueDomainsPageData["DomainName"].isNull())
domainsObject.domainName = valueDomainsPageData["DomainName"].asString();
if(!valueDomainsPageData["Cname"].isNull())
domainsObject.cname = valueDomainsPageData["Cname"].asString();
if(!valueDomainsPageData["CdnType"].isNull())
domainsObject.cdnType = valueDomainsPageData["CdnType"].asString();
if(!valueDomainsPageData["DomainStatus"].isNull())
domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString();
if(!valueDomainsPageData["GmtCreated"].isNull())
domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString();
if(!valueDomainsPageData["GmtModified"].isNull())
domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString();
if(!valueDomainsPageData["Description"].isNull())
domainsObject.description = valueDomainsPageData["Description"].asString();
if(!valueDomainsPageData["SslProtocol"].isNull())
domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString();
if(!valueDomainsPageData["ResourceGroupId"].isNull())
domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString();
if(!valueDomainsPageData["Sandbox"].isNull())
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
auto allSourcesNode = allDomainsNode["Sources"]["Source"];
for (auto allDomainsNodeSourcesSource : allSourcesNode)
{
PageData::Source sourcesObject;
if(!allDomainsNodeSourcesSource["Type"].isNull())
sourcesObject.type = allDomainsNodeSourcesSource["Type"].asString();
if(!allDomainsNodeSourcesSource["Content"].isNull())
sourcesObject.content = allDomainsNodeSourcesSource["Content"].asString();
if(!allDomainsNodeSourcesSource["Port"].isNull())
sourcesObject.port = std::stoi(allDomainsNodeSourcesSource["Port"].asString());
if(!allDomainsNodeSourcesSource["Priority"].isNull())
sourcesObject.priority = allDomainsNodeSourcesSource["Priority"].asString();
if(!allDomainsNodeSourcesSource["Weight"].isNull())
sourcesObject.weight = allDomainsNodeSourcesSource["Weight"].asString();
domainsObject.sources.push_back(sourcesObject);
}
domains_.push_back(domainsObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stol(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stol(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
}
std::vector<DescribeCdnUserDomainsByFuncResult::PageData> DescribeCdnUserDomainsByFuncResult::getDomains()const
{
return domains_;
}
long DescribeCdnUserDomainsByFuncResult::getTotalCount()const
{
return totalCount_;
}
long DescribeCdnUserDomainsByFuncResult::getPageSize()const
{
return pageSize_;
}
long DescribeCdnUserDomainsByFuncResult::getPageNumber()const
{
return pageNumber_;
}

View File

@@ -27,28 +27,6 @@ DescribeRefreshTaskByIdRequest::DescribeRefreshTaskByIdRequest() :
DescribeRefreshTaskByIdRequest::~DescribeRefreshTaskByIdRequest()
{}
int DescribeRefreshTaskByIdRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeRefreshTaskByIdRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int DescribeRefreshTaskByIdRequest::getPageSize()const
{
return pageSize_;
}
void DescribeRefreshTaskByIdRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeRefreshTaskByIdRequest::getTaskId()const
{
return taskId_;

View File

@@ -59,10 +59,6 @@ void DescribeRefreshTaskByIdResult::parse(const std::string &payload)
tasksObject.objectType = valueTasksCDNTask["ObjectType"].asString();
tasks_.push_back(tasksObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stol(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stol(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
@@ -78,13 +74,3 @@ std::vector<DescribeRefreshTaskByIdResult::CDNTask> DescribeRefreshTaskByIdResul
return tasks_;
}
long DescribeRefreshTaskByIdResult::getPageSize()const
{
return pageSize_;
}
long DescribeRefreshTaskByIdResult::getPageNumber()const
{
return pageNumber_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/DescribeVerifyContentRequest.h>
using AlibabaCloud::Cdn::Model::DescribeVerifyContentRequest;
DescribeVerifyContentRequest::DescribeVerifyContentRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeVerifyContent")
{
setMethod(HttpRequest::Method::Post);
}
DescribeVerifyContentRequest::~DescribeVerifyContentRequest()
{}
std::string DescribeVerifyContentRequest::getDomainName()const
{
return domainName_;
}
void DescribeVerifyContentRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DescribeVerifyContentRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeVerifyContentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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