Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3a8fed5ec | ||
|
|
08cc0d55f3 | ||
|
|
648aacf470 | ||
|
|
727bbe9c98 | ||
|
|
c8dd9a4660 | ||
|
|
5e0a06b53b | ||
|
|
685112f414 | ||
|
|
0d6b5d7108 | ||
|
|
f3a5eccfc1 | ||
|
|
abe9edfb61 | ||
|
|
2c761da6cd | ||
|
|
4ee03ced70 | ||
|
|
77822cfe63 | ||
|
|
fe0018aad2 | ||
|
|
9daef8bca3 | ||
|
|
9e1db6ede8 | ||
|
|
79b5e173b0 | ||
|
|
3a2b4a3b0a | ||
|
|
216a31ec31 |
63
CHANGELOG
63
CHANGELOG
@@ -1,3 +1,66 @@
|
||||
2021-06-10 Version: 1.36.779
|
||||
- Generated 2016-04-28 for `Vpc`.
|
||||
|
||||
2021-06-09 Version: 1.36.778
|
||||
- Update TMP API, including QueryDevice, CreateThingModel, UpdateThingModel, ImportThingModelTsl, BatchPickThingModel, ListDeviceDistributeJob.
|
||||
- Add TMP API, including QueryDeviceInfo.
|
||||
- Update OTA API, including CreateOTAVerifyJob, CreateOTAStaticUpgradeJob, CreateOTADynamicUpgradeJob, CancelOTATaskByJob, QueryOTAJob.
|
||||
- Add OTA API, including ListOTAUnfinishedTaskByDevice,ConfirmOTATask.
|
||||
|
||||
2021-06-09 Version: 1.36.777
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2021-06-09 Version: 1.36.776
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-09 Version: 1.36.775
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-09 Version: 1.36.774
|
||||
- Edit GetTrace.
|
||||
|
||||
2021-06-08 Version: 1.36.773
|
||||
- Support Aliyun Workorder OpenAPI.
|
||||
|
||||
2021-06-08 Version: 1.36.772
|
||||
- Refine API response for GetCallDetailRecord.
|
||||
|
||||
2021-06-08 Version: 1.36.771
|
||||
- Support input parameter LaunchConfigurationHostNames and MinTargetCapacity for CreateAutoProvisioningGroup.
|
||||
|
||||
2021-06-08 Version: 1.36.770
|
||||
- Increase detection frequency for availability monitoring.
|
||||
- Add application group to query in batch according to group ID.
|
||||
|
||||
2021-06-05 Version: 1.36.769
|
||||
- Supported new version of Ticket for Alibaba Cloud.
|
||||
|
||||
2021-06-05 Version: 1.36.768
|
||||
- New API Version of Work Order System.
|
||||
|
||||
2021-06-04 Version: 1.36.767
|
||||
- Add Emon-Service support.
|
||||
- Remove Deprecated Interfaces.
|
||||
|
||||
2021-06-04 Version: 1.36.766
|
||||
- Supported multi attach feature for disk.
|
||||
|
||||
2021-06-04 Version: 1.36.765
|
||||
- Delete live API.
|
||||
|
||||
2021-06-03 Version: 1.36.764
|
||||
- Add name.
|
||||
|
||||
2021-06-03 Version: 1.36.763
|
||||
- Support name.
|
||||
|
||||
2021-06-02 Version: 1.36.762
|
||||
- Support key deletion protection.
|
||||
|
||||
2021-05-31 Version: 1.36.761
|
||||
- Support upgrade.
|
||||
|
||||
2021-05-28 Version: 1.36.760
|
||||
- Add TriggerRemoteSync api.
|
||||
|
||||
|
||||
@@ -71,6 +71,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceListRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceListResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||
@@ -81,10 +83,14 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetScreenVerificationCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetScreenVerificationCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetWebSocketTokenRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetWebSocketTokenResult.h
|
||||
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/InviteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
|
||||
@@ -115,6 +121,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMeetingMemberActionRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMeetingMemberActionResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
||||
@@ -123,6 +131,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandResult.h
|
||||
include/alibabacloud/aliyuncvc/model/SendScreenStartRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/SendScreenStartResult.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
||||
@@ -186,6 +196,8 @@ set(aliyuncvc_src
|
||||
src/model/GetDeviceActiveCodeResult.cc
|
||||
src/model/GetDeviceInfoRequest.cc
|
||||
src/model/GetDeviceInfoResult.cc
|
||||
src/model/GetDeviceListRequest.cc
|
||||
src/model/GetDeviceListResult.cc
|
||||
src/model/GetDeviceTokenRequest.cc
|
||||
src/model/GetDeviceTokenResult.cc
|
||||
src/model/GetMeetingRequest.cc
|
||||
@@ -196,10 +208,14 @@ set(aliyuncvc_src
|
||||
src/model/GetMeetingMemberResult.cc
|
||||
src/model/GetMembersRequest.cc
|
||||
src/model/GetMembersResult.cc
|
||||
src/model/GetScreenVerificationCodeRequest.cc
|
||||
src/model/GetScreenVerificationCodeResult.cc
|
||||
src/model/GetStatisticRequest.cc
|
||||
src/model/GetStatisticResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/GetWebSocketTokenRequest.cc
|
||||
src/model/GetWebSocketTokenResult.cc
|
||||
src/model/InviteUserRequest.cc
|
||||
src/model/InviteUserResult.cc
|
||||
src/model/JoinDeviceMeetingRequest.cc
|
||||
@@ -230,6 +246,8 @@ set(aliyuncvc_src
|
||||
src/model/ModifyMeetingPasswordResult.cc
|
||||
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
||||
src/model/ModifyMeetingPasswordInternationalResult.cc
|
||||
src/model/QueryMeetingMemberActionRequest.cc
|
||||
src/model/QueryMeetingMemberActionResult.cc
|
||||
src/model/RefreshDeviceScreenCodeRequest.cc
|
||||
src/model/RefreshDeviceScreenCodeResult.cc
|
||||
src/model/RegisterDeviceRequest.cc
|
||||
@@ -238,6 +256,8 @@ set(aliyuncvc_src
|
||||
src/model/RegisterUemDeviceResult.cc
|
||||
src/model/SendMeetingCommandRequest.cc
|
||||
src/model/SendMeetingCommandResult.cc
|
||||
src/model/SendScreenStartRequest.cc
|
||||
src/model/SendScreenStartResult.cc
|
||||
src/model/StartLiveRequest.cc
|
||||
src/model/StartLiveResult.cc
|
||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||
|
||||
@@ -72,6 +72,8 @@
|
||||
#include "model/GetDeviceActiveCodeResult.h"
|
||||
#include "model/GetDeviceInfoRequest.h"
|
||||
#include "model/GetDeviceInfoResult.h"
|
||||
#include "model/GetDeviceListRequest.h"
|
||||
#include "model/GetDeviceListResult.h"
|
||||
#include "model/GetDeviceTokenRequest.h"
|
||||
#include "model/GetDeviceTokenResult.h"
|
||||
#include "model/GetMeetingRequest.h"
|
||||
@@ -82,10 +84,14 @@
|
||||
#include "model/GetMeetingMemberResult.h"
|
||||
#include "model/GetMembersRequest.h"
|
||||
#include "model/GetMembersResult.h"
|
||||
#include "model/GetScreenVerificationCodeRequest.h"
|
||||
#include "model/GetScreenVerificationCodeResult.h"
|
||||
#include "model/GetStatisticRequest.h"
|
||||
#include "model/GetStatisticResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/GetWebSocketTokenRequest.h"
|
||||
#include "model/GetWebSocketTokenResult.h"
|
||||
#include "model/InviteUserRequest.h"
|
||||
#include "model/InviteUserResult.h"
|
||||
#include "model/JoinDeviceMeetingRequest.h"
|
||||
@@ -116,6 +122,8 @@
|
||||
#include "model/ModifyMeetingPasswordResult.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
||||
#include "model/QueryMeetingMemberActionRequest.h"
|
||||
#include "model/QueryMeetingMemberActionResult.h"
|
||||
#include "model/RefreshDeviceScreenCodeRequest.h"
|
||||
#include "model/RefreshDeviceScreenCodeResult.h"
|
||||
#include "model/RegisterDeviceRequest.h"
|
||||
@@ -124,6 +132,8 @@
|
||||
#include "model/RegisterUemDeviceResult.h"
|
||||
#include "model/SendMeetingCommandRequest.h"
|
||||
#include "model/SendMeetingCommandResult.h"
|
||||
#include "model/SendScreenStartRequest.h"
|
||||
#include "model/SendScreenStartResult.h"
|
||||
#include "model/StartLiveRequest.h"
|
||||
#include "model/StartLiveResult.h"
|
||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||
@@ -218,6 +228,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDeviceInfoResult> GetDeviceInfoOutcome;
|
||||
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceListResult> GetDeviceListOutcome;
|
||||
typedef std::future<GetDeviceListOutcome> GetDeviceListOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceListRequest&, const GetDeviceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
||||
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
||||
@@ -233,12 +246,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
||||
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetScreenVerificationCodeResult> GetScreenVerificationCodeOutcome;
|
||||
typedef std::future<GetScreenVerificationCodeOutcome> GetScreenVerificationCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetScreenVerificationCodeRequest&, const GetScreenVerificationCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetScreenVerificationCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetStatisticResult> GetStatisticOutcome;
|
||||
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWebSocketTokenResult> GetWebSocketTokenOutcome;
|
||||
typedef std::future<GetWebSocketTokenOutcome> GetWebSocketTokenOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetWebSocketTokenRequest&, const GetWebSocketTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWebSocketTokenAsyncHandler;
|
||||
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;
|
||||
@@ -284,6 +303,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
|
||||
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMeetingMemberActionResult> QueryMeetingMemberActionOutcome;
|
||||
typedef std::future<QueryMeetingMemberActionOutcome> QueryMeetingMemberActionOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMeetingMemberActionRequest&, const QueryMeetingMemberActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMeetingMemberActionAsyncHandler;
|
||||
typedef Outcome<Error, Model::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
|
||||
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
|
||||
@@ -296,6 +318,9 @@ namespace AlibabaCloud
|
||||
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::SendScreenStartResult> SendScreenStartOutcome;
|
||||
typedef std::future<SendScreenStartOutcome> SendScreenStartOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::SendScreenStartRequest&, const SendScreenStartOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendScreenStartAsyncHandler;
|
||||
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;
|
||||
@@ -391,6 +416,9 @@ namespace AlibabaCloud
|
||||
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
|
||||
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
|
||||
GetDeviceListOutcome getDeviceList(const Model::GetDeviceListRequest &request)const;
|
||||
void getDeviceListAsync(const Model::GetDeviceListRequest& request, const GetDeviceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeviceListOutcomeCallable getDeviceListCallable(const Model::GetDeviceListRequest& request) const;
|
||||
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
|
||||
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
|
||||
@@ -406,12 +434,18 @@ namespace AlibabaCloud
|
||||
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
||||
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
||||
GetScreenVerificationCodeOutcome getScreenVerificationCode(const Model::GetScreenVerificationCodeRequest &request)const;
|
||||
void getScreenVerificationCodeAsync(const Model::GetScreenVerificationCodeRequest& request, const GetScreenVerificationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetScreenVerificationCodeOutcomeCallable getScreenVerificationCodeCallable(const Model::GetScreenVerificationCodeRequest& request) const;
|
||||
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
|
||||
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
GetWebSocketTokenOutcome getWebSocketToken(const Model::GetWebSocketTokenRequest &request)const;
|
||||
void getWebSocketTokenAsync(const Model::GetWebSocketTokenRequest& request, const GetWebSocketTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWebSocketTokenOutcomeCallable getWebSocketTokenCallable(const Model::GetWebSocketTokenRequest& 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;
|
||||
@@ -457,6 +491,9 @@ namespace AlibabaCloud
|
||||
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
|
||||
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
|
||||
QueryMeetingMemberActionOutcome queryMeetingMemberAction(const Model::QueryMeetingMemberActionRequest &request)const;
|
||||
void queryMeetingMemberActionAsync(const Model::QueryMeetingMemberActionRequest& request, const QueryMeetingMemberActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMeetingMemberActionOutcomeCallable queryMeetingMemberActionCallable(const Model::QueryMeetingMemberActionRequest& request) const;
|
||||
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
|
||||
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
|
||||
@@ -469,6 +506,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
SendScreenStartOutcome sendScreenStart(const Model::SendScreenStartRequest &request)const;
|
||||
void sendScreenStartAsync(const Model::SendScreenStartRequest& request, const SendScreenStartAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendScreenStartOutcomeCallable sendScreenStartCallable(const Model::SendScreenStartRequest& 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;
|
||||
|
||||
@@ -37,9 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getSn()const;
|
||||
void setSn(const std::string& sn);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
std::string groupId_;
|
||||
std::string sn_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
||||
int status;
|
||||
std::string castScreenCode;
|
||||
std::string iP;
|
||||
std::string port;
|
||||
std::string sn;
|
||||
std::string ssid;
|
||||
std::string activationCode;
|
||||
|
||||
@@ -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_GETDEVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_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 GetDeviceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDeviceListRequest();
|
||||
~GetDeviceListRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_H_
|
||||
@@ -14,47 +14,54 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamTranscodeInfoResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainTranscodeInfo
|
||||
struct DataItem
|
||||
{
|
||||
std::string transcodeTemplate;
|
||||
std::string transcodeRecord;
|
||||
std::string transcodeId;
|
||||
std::string transcodeSnapshot;
|
||||
std::string transcodeApp;
|
||||
std::string transcodeName;
|
||||
int status;
|
||||
std::string castScreenCode;
|
||||
std::string iP;
|
||||
std::string port;
|
||||
std::string sN;
|
||||
std::string activationCode;
|
||||
std::string mac;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult();
|
||||
explicit DescribeLiveStreamTranscodeInfoResult(const std::string &payload);
|
||||
~DescribeLiveStreamTranscodeInfoResult();
|
||||
std::vector<DomainTranscodeInfo> getDomainTranscodeList()const;
|
||||
GetDeviceListResult();
|
||||
explicit GetDeviceListResult(const std::string &payload);
|
||||
~GetDeviceListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DomainTranscodeInfo> domainTranscodeList_;
|
||||
std::string message_;
|
||||
std::vector<DataItem> data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||
@@ -48,8 +48,8 @@ namespace AlibabaCloud
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string meetingName;
|
||||
long validTime;
|
||||
std::string password;
|
||||
long validTime;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_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 GetScreenVerificationCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetScreenVerificationCodeRequest();
|
||||
~GetScreenVerificationCodeRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_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 GetScreenVerificationCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetScreenVerificationCodeResult();
|
||||
explicit GetScreenVerificationCodeResult(const std::string &payload);
|
||||
~GetScreenVerificationCodeResult();
|
||||
std::string getMessage()const;
|
||||
std::string getScreenVerificationCode()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string screenVerificationCode_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_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 GetWebSocketTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetWebSocketTokenRequest();
|
||||
~GetWebSocketTokenRequest();
|
||||
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
std::string getOldToken()const;
|
||||
void setOldToken(const std::string& oldToken);
|
||||
|
||||
private:
|
||||
std::string sessionId_;
|
||||
std::string oldToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||
@@ -14,47 +14,50 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveRecordConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetWebSocketTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveAppRecord
|
||||
struct Data
|
||||
{
|
||||
std::string ossEndpoint;
|
||||
std::string domainName;
|
||||
std::string createTime;
|
||||
std::string ossBucket;
|
||||
std::string ossObjectPrefix;
|
||||
std::string appName;
|
||||
std::string token;
|
||||
std::string authWsUrl;
|
||||
std::string wsOuterReConnTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveRecordConfigResult();
|
||||
explicit DescribeLiveRecordConfigResult(const std::string &payload);
|
||||
~DescribeLiveRecordConfigResult();
|
||||
std::vector<LiveAppRecord> getLiveAppRecordList()const;
|
||||
GetWebSocketTokenResult();
|
||||
explicit GetWebSocketTokenResult(const std::string &payload);
|
||||
~GetWebSocketTokenResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LiveAppRecord> liveAppRecordList_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
std::string createTime;
|
||||
std::string manufacturer;
|
||||
std::string pictureUrl;
|
||||
std::string startUpPictureUrl;
|
||||
std::string sN;
|
||||
std::string conferenceName;
|
||||
std::string activationCode;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string screenCode;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string ssId;
|
||||
std::string mac;
|
||||
};
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string castScreenCode;
|
||||
std::string createTime;
|
||||
std::string pictureUrl;
|
||||
std::string startUpPictureUrl;
|
||||
std::string sN;
|
||||
std::string conferenceName;
|
||||
std::string activationCode;
|
||||
|
||||
@@ -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_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_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 QueryMeetingMemberActionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMeetingMemberActionRequest();
|
||||
~QueryMeetingMemberActionRequest();
|
||||
|
||||
std::string getMeetingUnitKey()const;
|
||||
void setMeetingUnitKey(const std::string& meetingUnitKey);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getMemberUUID()const;
|
||||
void setMemberUUID(const std::string& memberUUID);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUnitKey_;
|
||||
long endTime_;
|
||||
std::string memberUUID_;
|
||||
long startTime_;
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_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 QueryMeetingMemberActionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ErrorCodeListItem
|
||||
{
|
||||
long errorCodeCount;
|
||||
long time;
|
||||
};
|
||||
|
||||
|
||||
QueryMeetingMemberActionResult();
|
||||
explicit QueryMeetingMemberActionResult(const std::string &payload);
|
||||
~QueryMeetingMemberActionResult();
|
||||
std::string getMessage()const;
|
||||
int getMeetingStatus()const;
|
||||
int getVideoStatus()const;
|
||||
int getAudioStatus()const;
|
||||
long getErrorCodeCount()const;
|
||||
int getErrorCode()const;
|
||||
std::vector<ErrorCodeListItem> getErrorCodeList()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int meetingStatus_;
|
||||
int videoStatus_;
|
||||
int audioStatus_;
|
||||
long errorCodeCount_;
|
||||
int errorCode_;
|
||||
std::vector<ErrorCodeListItem> errorCodeList_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_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 SendScreenStartRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendScreenStartRequest();
|
||||
~SendScreenStartRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
std::string sessionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||
@@ -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_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_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 SendScreenStartResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct AuthWsChannelConfig
|
||||
{
|
||||
std::string token;
|
||||
std::string authWsUrl;
|
||||
int wsOuterReConnTime;
|
||||
};
|
||||
struct ShareConfig
|
||||
{
|
||||
int shareConfigMaxFrameRate;
|
||||
int shareConfigMinFrameRate;
|
||||
int maxScreenShareBitrate;
|
||||
int maxMultiScreenShareBitrate;
|
||||
};
|
||||
struct SignallingServerConfig
|
||||
{
|
||||
std::string sendMessageUrl;
|
||||
std::string shareScreenMeetingRobUrl;
|
||||
std::string getMessageUrl;
|
||||
std::string getReceiverInfoUrl;
|
||||
std::string clientHeartBeatUrl;
|
||||
};
|
||||
struct IceServersItem
|
||||
{
|
||||
std::string credential;
|
||||
std::string userName;
|
||||
std::string url;
|
||||
};
|
||||
ShareConfig shareConfig;
|
||||
std::string receiverInfo;
|
||||
AuthWsChannelConfig authWsChannelConfig;
|
||||
std::string sessionId;
|
||||
std::vector<IceServersItem> iceServers;
|
||||
SignallingServerConfig signallingServerConfig;
|
||||
};
|
||||
|
||||
|
||||
SendScreenStartResult();
|
||||
explicit SendScreenStartResult(const std::string &payload);
|
||||
~SendScreenStartResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||
@@ -951,6 +951,42 @@ AliyuncvcClient::GetDeviceInfoOutcomeCallable AliyuncvcClient::getDeviceInfoCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceListOutcome AliyuncvcClient::getDeviceList(const GetDeviceListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDeviceListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDeviceListOutcome(GetDeviceListResult(outcome.result()));
|
||||
else
|
||||
return GetDeviceListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getDeviceListAsync(const GetDeviceListRequest& request, const GetDeviceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDeviceList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceListOutcomeCallable AliyuncvcClient::getDeviceListCallable(const GetDeviceListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDeviceListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDeviceList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1131,6 +1167,42 @@ AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetScreenVerificationCodeOutcome AliyuncvcClient::getScreenVerificationCode(const GetScreenVerificationCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetScreenVerificationCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetScreenVerificationCodeOutcome(GetScreenVerificationCodeResult(outcome.result()));
|
||||
else
|
||||
return GetScreenVerificationCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getScreenVerificationCodeAsync(const GetScreenVerificationCodeRequest& request, const GetScreenVerificationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getScreenVerificationCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetScreenVerificationCodeOutcomeCallable AliyuncvcClient::getScreenVerificationCodeCallable(const GetScreenVerificationCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetScreenVerificationCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getScreenVerificationCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1275,42 @@ AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const G
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetWebSocketTokenOutcome AliyuncvcClient::getWebSocketToken(const GetWebSocketTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetWebSocketTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetWebSocketTokenOutcome(GetWebSocketTokenResult(outcome.result()));
|
||||
else
|
||||
return GetWebSocketTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getWebSocketTokenAsync(const GetWebSocketTokenRequest& request, const GetWebSocketTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getWebSocketToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetWebSocketTokenOutcomeCallable AliyuncvcClient::getWebSocketTokenCallable(const GetWebSocketTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetWebSocketTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getWebSocketToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::InviteUserOutcome AliyuncvcClient::inviteUser(const InviteUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1743,6 +1851,42 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingMemberActionOutcome AliyuncvcClient::queryMeetingMemberAction(const QueryMeetingMemberActionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryMeetingMemberActionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryMeetingMemberActionOutcome(QueryMeetingMemberActionResult(outcome.result()));
|
||||
else
|
||||
return QueryMeetingMemberActionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryMeetingMemberActionAsync(const QueryMeetingMemberActionRequest& request, const QueryMeetingMemberActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryMeetingMemberAction(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingMemberActionOutcomeCallable AliyuncvcClient::queryMeetingMemberActionCallable(const QueryMeetingMemberActionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryMeetingMemberActionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryMeetingMemberAction(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1887,6 +2031,42 @@ AliyuncvcClient::SendMeetingCommandOutcomeCallable AliyuncvcClient::sendMeetingC
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendScreenStartOutcome AliyuncvcClient::sendScreenStart(const SendScreenStartRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendScreenStartOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendScreenStartOutcome(SendScreenStartResult(outcome.result()));
|
||||
else
|
||||
return SendScreenStartOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::sendScreenStartAsync(const SendScreenStartRequest& request, const SendScreenStartAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendScreenStart(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendScreenStartOutcomeCallable AliyuncvcClient::sendScreenStartCallable(const SendScreenStartRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendScreenStartOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendScreenStart(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -35,6 +35,28 @@ std::string GetDeviceInfoRequest::getCastScreenCode()const
|
||||
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setBodyParameter("CastScreenCode", castScreenCode);
|
||||
setParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
std::string GetDeviceInfoRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void GetDeviceInfoRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string GetDeviceInfoRequest::getSn()const
|
||||
{
|
||||
return sn_;
|
||||
}
|
||||
|
||||
void GetDeviceInfoRequest::setSn(const std::string& sn)
|
||||
{
|
||||
sn_ = sn;
|
||||
setParameter("Sn", sn);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,24 +40,26 @@ void GetDeviceInfoResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto deviceNode = value["Device"];
|
||||
if(!deviceNode["ActivationCode"].isNull())
|
||||
device_.activationCode = deviceNode["ActivationCode"].asString();
|
||||
if(!deviceNode["CastScreenCode"].isNull())
|
||||
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
||||
if(!deviceNode["Sn"].isNull())
|
||||
device_.sn = deviceNode["Sn"].asString();
|
||||
if(!deviceNode["Status"].isNull())
|
||||
device_.status = std::stoi(deviceNode["Status"].asString());
|
||||
if(!deviceNode["CastScreenCode"].isNull())
|
||||
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
||||
if(!deviceNode["IP"].isNull())
|
||||
device_.iP = deviceNode["IP"].asString();
|
||||
if(!deviceNode["Mac"].isNull())
|
||||
device_.mac = deviceNode["Mac"].asString();
|
||||
if(!deviceNode["Port"].isNull())
|
||||
device_.port = deviceNode["Port"].asString();
|
||||
if(!deviceNode["Sn"].isNull())
|
||||
device_.sn = deviceNode["Sn"].asString();
|
||||
if(!deviceNode["Ssid"].isNull())
|
||||
device_.ssid = deviceNode["Ssid"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!deviceNode["ActivationCode"].isNull())
|
||||
device_.activationCode = deviceNode["ActivationCode"].asString();
|
||||
if(!deviceNode["Mac"].isNull())
|
||||
device_.mac = deviceNode["Mac"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
|
||||
51
aliyuncvc/src/model/GetDeviceListRequest.cc
Normal file
51
aliyuncvc/src/model/GetDeviceListRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetDeviceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetDeviceListRequest;
|
||||
|
||||
GetDeviceListRequest::GetDeviceListRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDeviceListRequest::~GetDeviceListRequest()
|
||||
{}
|
||||
|
||||
std::string GetDeviceListRequest::getCastScreenCode()const
|
||||
{
|
||||
return castScreenCode_;
|
||||
}
|
||||
|
||||
void GetDeviceListRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
std::string GetDeviceListRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void GetDeviceListRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
90
aliyuncvc/src/model/GetDeviceListResult.cc
Normal file
90
aliyuncvc/src/model/GetDeviceListResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetDeviceListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetDeviceListResult::GetDeviceListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDeviceListResult::GetDeviceListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDeviceListResult::~GetDeviceListResult()
|
||||
{}
|
||||
|
||||
void GetDeviceListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["DataItem"];
|
||||
for (auto valueDataDataItem : allDataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valueDataDataItem["Status"].isNull())
|
||||
dataObject.status = std::stoi(valueDataDataItem["Status"].asString());
|
||||
if(!valueDataDataItem["CastScreenCode"].isNull())
|
||||
dataObject.castScreenCode = valueDataDataItem["CastScreenCode"].asString();
|
||||
if(!valueDataDataItem["IP"].isNull())
|
||||
dataObject.iP = valueDataDataItem["IP"].asString();
|
||||
if(!valueDataDataItem["Port"].isNull())
|
||||
dataObject.port = valueDataDataItem["Port"].asString();
|
||||
if(!valueDataDataItem["SN"].isNull())
|
||||
dataObject.sN = valueDataDataItem["SN"].asString();
|
||||
if(!valueDataDataItem["ActivationCode"].isNull())
|
||||
dataObject.activationCode = valueDataDataItem["ActivationCode"].asString();
|
||||
if(!valueDataDataItem["Mac"].isNull())
|
||||
dataObject.mac = valueDataDataItem["Mac"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetDeviceListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetDeviceListResult::DataItem> GetDeviceListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetDeviceListResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetDeviceListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -40,40 +40,40 @@ void GetMeetingResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto meetingInfoNode = value["MeetingInfo"];
|
||||
if(!meetingInfoNode["MeetingName"].isNull())
|
||||
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
|
||||
if(!meetingInfoNode["ValidTime"].isNull())
|
||||
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
if(!meetingInfoNode["CreateTime"].isNull())
|
||||
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
|
||||
if(!meetingInfoNode["UserId"].isNull())
|
||||
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
|
||||
if(!meetingInfoNode["MeetingUUID"].isNull())
|
||||
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
|
||||
if(!meetingInfoNode["Password"].isNull())
|
||||
meetingInfo_.password = meetingInfoNode["Password"].asString();
|
||||
if(!meetingInfoNode["MeetingUUID"].isNull())
|
||||
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
|
||||
if(!meetingInfoNode["ValidTime"].isNull())
|
||||
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
||||
if(!meetingInfoNode["CreateTime"].isNull())
|
||||
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
|
||||
if(!meetingInfoNode["MeetingName"].isNull())
|
||||
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
|
||||
if(!meetingInfoNode["UserId"].isNull())
|
||||
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
|
||||
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
|
||||
{
|
||||
MeetingInfo::MemberListItem memberListItemObject;
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
|
||||
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
|
||||
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
|
||||
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
|
||||
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
|
||||
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
|
||||
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
|
||||
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
|
||||
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
|
||||
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
|
||||
meetingInfo_.memberList.push_back(memberListItemObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
|
||||
40
aliyuncvc/src/model/GetScreenVerificationCodeRequest.cc
Normal file
40
aliyuncvc/src/model/GetScreenVerificationCodeRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetScreenVerificationCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetScreenVerificationCodeRequest;
|
||||
|
||||
GetScreenVerificationCodeRequest::GetScreenVerificationCodeRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetScreenVerificationCode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetScreenVerificationCodeRequest::~GetScreenVerificationCodeRequest()
|
||||
{}
|
||||
|
||||
std::string GetScreenVerificationCodeRequest::getCastScreenCode()const
|
||||
{
|
||||
return castScreenCode_;
|
||||
}
|
||||
|
||||
void GetScreenVerificationCodeRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setBodyParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
72
aliyuncvc/src/model/GetScreenVerificationCodeResult.cc
Normal file
72
aliyuncvc/src/model/GetScreenVerificationCodeResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetScreenVerificationCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetScreenVerificationCodeResult::GetScreenVerificationCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetScreenVerificationCodeResult::GetScreenVerificationCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetScreenVerificationCodeResult::~GetScreenVerificationCodeResult()
|
||||
{}
|
||||
|
||||
void GetScreenVerificationCodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ScreenVerificationCode"].isNull())
|
||||
screenVerificationCode_ = value["ScreenVerificationCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetScreenVerificationCodeResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetScreenVerificationCodeResult::getScreenVerificationCode()const
|
||||
{
|
||||
return screenVerificationCode_;
|
||||
}
|
||||
|
||||
int GetScreenVerificationCodeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetScreenVerificationCodeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/GetWebSocketTokenRequest.cc
Normal file
51
aliyuncvc/src/model/GetWebSocketTokenRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetWebSocketTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetWebSocketTokenRequest;
|
||||
|
||||
GetWebSocketTokenRequest::GetWebSocketTokenRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetWebSocketToken")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWebSocketTokenRequest::~GetWebSocketTokenRequest()
|
||||
{}
|
||||
|
||||
std::string GetWebSocketTokenRequest::getSessionId()const
|
||||
{
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
void GetWebSocketTokenRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
std::string GetWebSocketTokenRequest::getOldToken()const
|
||||
{
|
||||
return oldToken_;
|
||||
}
|
||||
|
||||
void GetWebSocketTokenRequest::setOldToken(const std::string& oldToken)
|
||||
{
|
||||
oldToken_ = oldToken;
|
||||
setParameter("OldToken", oldToken);
|
||||
}
|
||||
|
||||
77
aliyuncvc/src/model/GetWebSocketTokenResult.cc
Normal file
77
aliyuncvc/src/model/GetWebSocketTokenResult.cc
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetWebSocketTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetWebSocketTokenResult::GetWebSocketTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWebSocketTokenResult::GetWebSocketTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWebSocketTokenResult::~GetWebSocketTokenResult()
|
||||
{}
|
||||
|
||||
void GetWebSocketTokenResult::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["AuthWsUrl"].isNull())
|
||||
data_.authWsUrl = dataNode["AuthWsUrl"].asString();
|
||||
if(!dataNode["Token"].isNull())
|
||||
data_.token = dataNode["Token"].asString();
|
||||
if(!dataNode["WsOuterReConnTime"].isNull())
|
||||
data_.wsOuterReConnTime = dataNode["WsOuterReConnTime"].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 GetWebSocketTokenResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetWebSocketTokenResult::Data GetWebSocketTokenResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetWebSocketTokenResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetWebSocketTokenResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,8 @@ void ListConferenceDevicesResult::parse(const std::string &payload)
|
||||
dataObject.status = conferencesDatasNodeConferencesdata["Status"].asString();
|
||||
if(!conferencesDatasNodeConferencesdata["CastScreenCode"].isNull())
|
||||
dataObject.castScreenCode = conferencesDatasNodeConferencesdata["CastScreenCode"].asString();
|
||||
if(!conferencesDatasNodeConferencesdata["StartUpPictureUrl"].isNull())
|
||||
dataObject.startUpPictureUrl = conferencesDatasNodeConferencesdata["StartUpPictureUrl"].asString();
|
||||
conferencesDatas_.conferences.push_back(dataObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
@@ -51,6 +51,8 @@ void ListDeviceIpResult::parse(const std::string &payload)
|
||||
devicesObject.mac = valueDevicesDevicesItem["Mac"].asString();
|
||||
if(!valueDevicesDevicesItem["SsId"].isNull())
|
||||
devicesObject.ssId = valueDevicesDevicesItem["SsId"].asString();
|
||||
if(!valueDevicesDevicesItem["Port"].isNull())
|
||||
devicesObject.port = valueDevicesDevicesItem["Port"].asString();
|
||||
devices_.push_back(devicesObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
@@ -66,6 +66,8 @@ void ListDevicesResult::parse(const std::string &payload)
|
||||
deviceObject.status = dataNodeDevicesDevice["Status"].asString();
|
||||
if(!dataNodeDevicesDevice["CastScreenCode"].isNull())
|
||||
deviceObject.castScreenCode = dataNodeDevicesDevice["CastScreenCode"].asString();
|
||||
if(!dataNodeDevicesDevice["StartUpPictureUrl"].isNull())
|
||||
deviceObject.startUpPictureUrl = dataNodeDevicesDevice["StartUpPictureUrl"].asString();
|
||||
data_.devices.push_back(deviceObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
84
aliyuncvc/src/model/QueryMeetingMemberActionRequest.cc
Normal file
84
aliyuncvc/src/model/QueryMeetingMemberActionRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryMeetingMemberActionRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::QueryMeetingMemberActionRequest;
|
||||
|
||||
QueryMeetingMemberActionRequest::QueryMeetingMemberActionRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "QueryMeetingMemberAction")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryMeetingMemberActionRequest::~QueryMeetingMemberActionRequest()
|
||||
{}
|
||||
|
||||
std::string QueryMeetingMemberActionRequest::getMeetingUnitKey()const
|
||||
{
|
||||
return meetingUnitKey_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setMeetingUnitKey(const std::string& meetingUnitKey)
|
||||
{
|
||||
meetingUnitKey_ = meetingUnitKey;
|
||||
setBodyParameter("MeetingUnitKey", meetingUnitKey);
|
||||
}
|
||||
|
||||
long QueryMeetingMemberActionRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string QueryMeetingMemberActionRequest::getMemberUUID()const
|
||||
{
|
||||
return memberUUID_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setMemberUUID(const std::string& memberUUID)
|
||||
{
|
||||
memberUUID_ = memberUUID;
|
||||
setBodyParameter("MemberUUID", memberUUID);
|
||||
}
|
||||
|
||||
long QueryMeetingMemberActionRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string QueryMeetingMemberActionRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
108
aliyuncvc/src/model/QueryMeetingMemberActionResult.cc
Normal file
108
aliyuncvc/src/model/QueryMeetingMemberActionResult.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/QueryMeetingMemberActionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
QueryMeetingMemberActionResult::QueryMeetingMemberActionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMeetingMemberActionResult::QueryMeetingMemberActionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMeetingMemberActionResult::~QueryMeetingMemberActionResult()
|
||||
{}
|
||||
|
||||
void QueryMeetingMemberActionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allErrorCodeListNode = value["ErrorCodeList"]["ErrorCodeListItem"];
|
||||
for (auto valueErrorCodeListErrorCodeListItem : allErrorCodeListNode)
|
||||
{
|
||||
ErrorCodeListItem errorCodeListObject;
|
||||
if(!valueErrorCodeListErrorCodeListItem["ErrorCodeCount"].isNull())
|
||||
errorCodeListObject.errorCodeCount = std::stol(valueErrorCodeListErrorCodeListItem["ErrorCodeCount"].asString());
|
||||
if(!valueErrorCodeListErrorCodeListItem["Time"].isNull())
|
||||
errorCodeListObject.time = std::stol(valueErrorCodeListErrorCodeListItem["Time"].asString());
|
||||
errorCodeList_.push_back(errorCodeListObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["MeetingStatus"].isNull())
|
||||
meetingStatus_ = std::stoi(value["MeetingStatus"].asString());
|
||||
if(!value["VideoStatus"].isNull())
|
||||
videoStatus_ = std::stoi(value["VideoStatus"].asString());
|
||||
if(!value["AudioStatus"].isNull())
|
||||
audioStatus_ = std::stoi(value["AudioStatus"].asString());
|
||||
if(!value["ErrorCodeCount"].isNull())
|
||||
errorCodeCount_ = std::stol(value["ErrorCodeCount"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string QueryMeetingMemberActionResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getMeetingStatus()const
|
||||
{
|
||||
return meetingStatus_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getVideoStatus()const
|
||||
{
|
||||
return videoStatus_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getAudioStatus()const
|
||||
{
|
||||
return audioStatus_;
|
||||
}
|
||||
|
||||
long QueryMeetingMemberActionResult::getErrorCodeCount()const
|
||||
{
|
||||
return errorCodeCount_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::vector<QueryMeetingMemberActionResult::ErrorCodeListItem> QueryMeetingMemberActionResult::getErrorCodeList()const
|
||||
{
|
||||
return errorCodeList_;
|
||||
}
|
||||
|
||||
bool QueryMeetingMemberActionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/SendScreenStartRequest.cc
Normal file
51
aliyuncvc/src/model/SendScreenStartRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/SendScreenStartRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::SendScreenStartRequest;
|
||||
|
||||
SendScreenStartRequest::SendScreenStartRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "SendScreenStart")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendScreenStartRequest::~SendScreenStartRequest()
|
||||
{}
|
||||
|
||||
std::string SendScreenStartRequest::getCastScreenCode()const
|
||||
{
|
||||
return castScreenCode_;
|
||||
}
|
||||
|
||||
void SendScreenStartRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setBodyParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
std::string SendScreenStartRequest::getSessionId()const
|
||||
{
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
void SendScreenStartRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setBodyParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
114
aliyuncvc/src/model/SendScreenStartResult.cc
Normal file
114
aliyuncvc/src/model/SendScreenStartResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/SendScreenStartResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
SendScreenStartResult::SendScreenStartResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendScreenStartResult::SendScreenStartResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendScreenStartResult::~SendScreenStartResult()
|
||||
{}
|
||||
|
||||
void SendScreenStartResult::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["ReceiverInfo"].isNull())
|
||||
data_.receiverInfo = dataNode["ReceiverInfo"].asString();
|
||||
if(!dataNode["SessionId"].isNull())
|
||||
data_.sessionId = dataNode["SessionId"].asString();
|
||||
auto allIceServersNode = dataNode["IceServers"]["IceServersItem"];
|
||||
for (auto dataNodeIceServersIceServersItem : allIceServersNode)
|
||||
{
|
||||
Data::IceServersItem iceServersItemObject;
|
||||
if(!dataNodeIceServersIceServersItem["Credential"].isNull())
|
||||
iceServersItemObject.credential = dataNodeIceServersIceServersItem["Credential"].asString();
|
||||
if(!dataNodeIceServersIceServersItem["Url"].isNull())
|
||||
iceServersItemObject.url = dataNodeIceServersIceServersItem["Url"].asString();
|
||||
if(!dataNodeIceServersIceServersItem["UserName"].isNull())
|
||||
iceServersItemObject.userName = dataNodeIceServersIceServersItem["UserName"].asString();
|
||||
data_.iceServers.push_back(iceServersItemObject);
|
||||
}
|
||||
auto authWsChannelConfigNode = dataNode["AuthWsChannelConfig"];
|
||||
if(!authWsChannelConfigNode["AuthWsUrl"].isNull())
|
||||
data_.authWsChannelConfig.authWsUrl = authWsChannelConfigNode["AuthWsUrl"].asString();
|
||||
if(!authWsChannelConfigNode["Token"].isNull())
|
||||
data_.authWsChannelConfig.token = authWsChannelConfigNode["Token"].asString();
|
||||
if(!authWsChannelConfigNode["WsOuterReConnTime"].isNull())
|
||||
data_.authWsChannelConfig.wsOuterReConnTime = std::stoi(authWsChannelConfigNode["WsOuterReConnTime"].asString());
|
||||
auto shareConfigNode = dataNode["ShareConfig"];
|
||||
if(!shareConfigNode["MaxMultiScreenShareBitrate"].isNull())
|
||||
data_.shareConfig.maxMultiScreenShareBitrate = std::stoi(shareConfigNode["MaxMultiScreenShareBitrate"].asString());
|
||||
if(!shareConfigNode["MaxScreenShareBitrate"].isNull())
|
||||
data_.shareConfig.maxScreenShareBitrate = std::stoi(shareConfigNode["MaxScreenShareBitrate"].asString());
|
||||
if(!shareConfigNode["ShareConfigMaxFrameRate"].isNull())
|
||||
data_.shareConfig.shareConfigMaxFrameRate = std::stoi(shareConfigNode["ShareConfigMaxFrameRate"].asString());
|
||||
if(!shareConfigNode["ShareConfigMinFrameRate"].isNull())
|
||||
data_.shareConfig.shareConfigMinFrameRate = std::stoi(shareConfigNode["ShareConfigMinFrameRate"].asString());
|
||||
auto signallingServerConfigNode = dataNode["SignallingServerConfig"];
|
||||
if(!signallingServerConfigNode["ClientHeartBeatUrl"].isNull())
|
||||
data_.signallingServerConfig.clientHeartBeatUrl = signallingServerConfigNode["ClientHeartBeatUrl"].asString();
|
||||
if(!signallingServerConfigNode["GetMessageUrl"].isNull())
|
||||
data_.signallingServerConfig.getMessageUrl = signallingServerConfigNode["GetMessageUrl"].asString();
|
||||
if(!signallingServerConfigNode["GetReceiverInfoUrl"].isNull())
|
||||
data_.signallingServerConfig.getReceiverInfoUrl = signallingServerConfigNode["GetReceiverInfoUrl"].asString();
|
||||
if(!signallingServerConfigNode["SendMessageUrl"].isNull())
|
||||
data_.signallingServerConfig.sendMessageUrl = signallingServerConfigNode["SendMessageUrl"].asString();
|
||||
if(!signallingServerConfigNode["ShareScreenMeetingRobUrl"].isNull())
|
||||
data_.signallingServerConfig.shareScreenMeetingRobUrl = signallingServerConfigNode["ShareScreenMeetingRobUrl"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string SendScreenStartResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
SendScreenStartResult::Data SendScreenStartResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int SendScreenStartResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool SendScreenStartResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -89,8 +89,12 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageRequest.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageResult.h
|
||||
include/alibabacloud/arms/model/GetArmsConsoleUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetArmsConsoleUrlResult.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotResult.h
|
||||
include/alibabacloud/arms/model/GetExploreUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetExploreUrlResult.h
|
||||
include/alibabacloud/arms/model/GetIntegrationTokenRequest.h
|
||||
include/alibabacloud/arms/model/GetIntegrationTokenResult.h
|
||||
include/alibabacloud/arms/model/GetMultipleTraceRequest.h
|
||||
@@ -268,8 +272,12 @@ set(arms_src
|
||||
src/model/GetAgentDownloadUrlResult.cc
|
||||
src/model/GetAppApiByPageRequest.cc
|
||||
src/model/GetAppApiByPageResult.cc
|
||||
src/model/GetArmsConsoleUrlRequest.cc
|
||||
src/model/GetArmsConsoleUrlResult.cc
|
||||
src/model/GetConsistencySnapshotRequest.cc
|
||||
src/model/GetConsistencySnapshotResult.cc
|
||||
src/model/GetExploreUrlRequest.cc
|
||||
src/model/GetExploreUrlResult.cc
|
||||
src/model/GetIntegrationTokenRequest.cc
|
||||
src/model/GetIntegrationTokenResult.cc
|
||||
src/model/GetMultipleTraceRequest.cc
|
||||
|
||||
@@ -90,8 +90,12 @@
|
||||
#include "model/GetAgentDownloadUrlResult.h"
|
||||
#include "model/GetAppApiByPageRequest.h"
|
||||
#include "model/GetAppApiByPageResult.h"
|
||||
#include "model/GetArmsConsoleUrlRequest.h"
|
||||
#include "model/GetArmsConsoleUrlResult.h"
|
||||
#include "model/GetConsistencySnapshotRequest.h"
|
||||
#include "model/GetConsistencySnapshotResult.h"
|
||||
#include "model/GetExploreUrlRequest.h"
|
||||
#include "model/GetExploreUrlResult.h"
|
||||
#include "model/GetIntegrationTokenRequest.h"
|
||||
#include "model/GetIntegrationTokenResult.h"
|
||||
#include "model/GetMultipleTraceRequest.h"
|
||||
@@ -309,9 +313,15 @@ namespace AlibabaCloud
|
||||
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::GetArmsConsoleUrlResult> GetArmsConsoleUrlOutcome;
|
||||
typedef std::future<GetArmsConsoleUrlOutcome> GetArmsConsoleUrlOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetArmsConsoleUrlRequest&, const GetArmsConsoleUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetArmsConsoleUrlAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::GetExploreUrlResult> GetExploreUrlOutcome;
|
||||
typedef std::future<GetExploreUrlOutcome> GetExploreUrlOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetExploreUrlRequest&, const GetExploreUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExploreUrlAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetIntegrationTokenResult> GetIntegrationTokenOutcome;
|
||||
typedef std::future<GetIntegrationTokenOutcome> GetIntegrationTokenOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetIntegrationTokenRequest&, const GetIntegrationTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetIntegrationTokenAsyncHandler;
|
||||
@@ -578,9 +588,15 @@ namespace AlibabaCloud
|
||||
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;
|
||||
GetArmsConsoleUrlOutcome getArmsConsoleUrl(const Model::GetArmsConsoleUrlRequest &request)const;
|
||||
void getArmsConsoleUrlAsync(const Model::GetArmsConsoleUrlRequest& request, const GetArmsConsoleUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetArmsConsoleUrlOutcomeCallable getArmsConsoleUrlCallable(const Model::GetArmsConsoleUrlRequest& 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;
|
||||
GetExploreUrlOutcome getExploreUrl(const Model::GetExploreUrlRequest &request)const;
|
||||
void getExploreUrlAsync(const Model::GetExploreUrlRequest& request, const GetExploreUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetExploreUrlOutcomeCallable getExploreUrlCallable(const Model::GetExploreUrlRequest& request) const;
|
||||
GetIntegrationTokenOutcome getIntegrationToken(const Model::GetIntegrationTokenRequest &request)const;
|
||||
void getIntegrationTokenAsync(const Model::GetIntegrationTokenRequest& request, const GetIntegrationTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetIntegrationTokenOutcomeCallable getIntegrationTokenCallable(const Model::GetIntegrationTokenRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_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 GetArmsConsoleUrlRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetArmsConsoleUrlRequest();
|
||||
~GetArmsConsoleUrlRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_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 GetArmsConsoleUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetArmsConsoleUrlResult();
|
||||
explicit GetArmsConsoleUrlResult(const std::string &payload);
|
||||
~GetArmsConsoleUrlResult();
|
||||
std::string getArmsConsoleUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string armsConsoleUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_
|
||||
57
arms/include/alibabacloud/arms/model/GetExploreUrlRequest.h
Normal file
57
arms/include/alibabacloud/arms/model/GetExploreUrlRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_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 GetExploreUrlRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetExploreUrlRequest();
|
||||
~GetExploreUrlRequest();
|
||||
|
||||
std::string getExpression()const;
|
||||
void setExpression(const std::string& expression);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string expression_;
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT AddLiveAppRecordConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetExploreUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddLiveAppRecordConfigResult();
|
||||
explicit AddLiveAppRecordConfigResult(const std::string &payload);
|
||||
~AddLiveAppRecordConfigResult();
|
||||
GetExploreUrlResult();
|
||||
explicit GetExploreUrlResult(const std::string &payload);
|
||||
~GetExploreUrlResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
|
||||
@@ -39,10 +39,16 @@ namespace AlibabaCloud
|
||||
void setTraceID(const std::string& traceID);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
|
||||
private:
|
||||
std::string traceID_;
|
||||
std::string regionId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
std::string time;
|
||||
std::string exporter;
|
||||
std::string url;
|
||||
std::string httpUrl;
|
||||
std::string name;
|
||||
std::string uid;
|
||||
std::string type;
|
||||
@@ -46,6 +47,7 @@ namespace AlibabaCloud
|
||||
std::string kind;
|
||||
std::string id;
|
||||
std::string dashboardType;
|
||||
std::string httpsUrl;
|
||||
std::vector<std::string> tags;
|
||||
bool isArmsExporter;
|
||||
};
|
||||
|
||||
@@ -1275,6 +1275,42 @@ ARMSClient::GetAppApiByPageOutcomeCallable ARMSClient::getAppApiByPageCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetArmsConsoleUrlOutcome ARMSClient::getArmsConsoleUrl(const GetArmsConsoleUrlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetArmsConsoleUrlOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetArmsConsoleUrlOutcome(GetArmsConsoleUrlResult(outcome.result()));
|
||||
else
|
||||
return GetArmsConsoleUrlOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getArmsConsoleUrlAsync(const GetArmsConsoleUrlRequest& request, const GetArmsConsoleUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getArmsConsoleUrl(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetArmsConsoleUrlOutcomeCallable ARMSClient::getArmsConsoleUrlCallable(const GetArmsConsoleUrlRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetArmsConsoleUrlOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getArmsConsoleUrl(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1347,42 @@ ARMSClient::GetConsistencySnapshotOutcomeCallable ARMSClient::getConsistencySnap
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetExploreUrlOutcome ARMSClient::getExploreUrl(const GetExploreUrlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetExploreUrlOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetExploreUrlOutcome(GetExploreUrlResult(outcome.result()));
|
||||
else
|
||||
return GetExploreUrlOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getExploreUrlAsync(const GetExploreUrlRequest& request, const GetExploreUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getExploreUrl(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetExploreUrlOutcomeCallable ARMSClient::getExploreUrlCallable(const GetExploreUrlRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetExploreUrlOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getExploreUrl(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetIntegrationTokenOutcome ARMSClient::getIntegrationToken(const GetIntegrationTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -14,27 +14,27 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h>
|
||||
#include <alibabacloud/arms/model/GetArmsConsoleUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeUserCustomLogConfigRequest;
|
||||
using AlibabaCloud::ARMS::Model::GetArmsConsoleUrlRequest;
|
||||
|
||||
DescribeUserCustomLogConfigRequest::DescribeUserCustomLogConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeUserCustomLogConfig")
|
||||
GetArmsConsoleUrlRequest::GetArmsConsoleUrlRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "GetArmsConsoleUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeUserCustomLogConfigRequest::~DescribeUserCustomLogConfigRequest()
|
||||
GetArmsConsoleUrlRequest::~GetArmsConsoleUrlRequest()
|
||||
{}
|
||||
|
||||
long DescribeUserCustomLogConfigRequest::getOwnerId()const
|
||||
std::string GetArmsConsoleUrlRequest::getRegionId()const
|
||||
{
|
||||
return ownerId_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomLogConfigRequest::setOwnerId(long ownerId)
|
||||
void GetArmsConsoleUrlRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
51
arms/src/model/GetArmsConsoleUrlResult.cc
Normal file
51
arms/src/model/GetArmsConsoleUrlResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetArmsConsoleUrlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetArmsConsoleUrlResult::GetArmsConsoleUrlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetArmsConsoleUrlResult::GetArmsConsoleUrlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetArmsConsoleUrlResult::~GetArmsConsoleUrlResult()
|
||||
{}
|
||||
|
||||
void GetArmsConsoleUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ArmsConsoleUrl"].isNull())
|
||||
armsConsoleUrl_ = value["ArmsConsoleUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetArmsConsoleUrlResult::getArmsConsoleUrl()const
|
||||
{
|
||||
return armsConsoleUrl_;
|
||||
}
|
||||
|
||||
73
arms/src/model/GetExploreUrlRequest.cc
Normal file
73
arms/src/model/GetExploreUrlRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetExploreUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetExploreUrlRequest;
|
||||
|
||||
GetExploreUrlRequest::GetExploreUrlRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "GetExploreUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetExploreUrlRequest::~GetExploreUrlRequest()
|
||||
{}
|
||||
|
||||
std::string GetExploreUrlRequest::getExpression()const
|
||||
{
|
||||
return expression_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setExpression(const std::string& expression)
|
||||
{
|
||||
expression_ = expression;
|
||||
setParameter("Expression", expression);
|
||||
}
|
||||
|
||||
std::string GetExploreUrlRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetExploreUrlRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string GetExploreUrlRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
51
arms/src/model/GetExploreUrlResult.cc
Normal file
51
arms/src/model/GetExploreUrlResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetExploreUrlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetExploreUrlResult::GetExploreUrlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetExploreUrlResult::GetExploreUrlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetExploreUrlResult::~GetExploreUrlResult()
|
||||
{}
|
||||
|
||||
void GetExploreUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetExploreUrlResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -49,3 +49,25 @@ void GetTraceRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetTraceRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetTraceRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long GetTraceRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void GetTraceRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,10 @@ void ListDashboardsResult::parse(const std::string &payload)
|
||||
dashboardVosObject.kind = valueDashboardVosDashboardVosItem["Kind"].asString();
|
||||
if(!valueDashboardVosDashboardVosItem["NeedUpdate"].isNull())
|
||||
dashboardVosObject.needUpdate = valueDashboardVosDashboardVosItem["NeedUpdate"].asString() == "true";
|
||||
if(!valueDashboardVosDashboardVosItem["HttpUrl"].isNull())
|
||||
dashboardVosObject.httpUrl = valueDashboardVosDashboardVosItem["HttpUrl"].asString();
|
||||
if(!valueDashboardVosDashboardVosItem["HttpsUrl"].isNull())
|
||||
dashboardVosObject.httpsUrl = valueDashboardVosDashboardVosItem["HttpsUrl"].asString();
|
||||
auto allTags = value["Tags"]["Tags"];
|
||||
for (auto value : allTags)
|
||||
dashboardVosObject.tags.push_back(value.asString());
|
||||
|
||||
@@ -34,19 +34,19 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CdrAgentEventsItem
|
||||
struct AgentEventsItem
|
||||
{
|
||||
struct EventSequenceItem
|
||||
{
|
||||
long eventTime;
|
||||
std::string event;
|
||||
};
|
||||
std::vector<CdrAgentEventsItem::EventSequenceItem> eventSequence;
|
||||
std::vector<AgentEventsItem::EventSequenceItem> eventSequence;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
std::string skillGroupId;
|
||||
};
|
||||
struct CdrIvrEventsItem
|
||||
struct IvrEventsItem
|
||||
{
|
||||
struct EventSequenceItem2
|
||||
{
|
||||
@@ -54,9 +54,9 @@ namespace AlibabaCloud
|
||||
std::string event;
|
||||
};
|
||||
std::string flowId;
|
||||
std::vector<CdrIvrEventsItem::EventSequenceItem2> eventSequence1;
|
||||
std::vector<IvrEventsItem::EventSequenceItem2> eventSequence1;
|
||||
};
|
||||
struct CdrQueueEventsItem
|
||||
struct QueueEventsItem
|
||||
{
|
||||
struct EventSequenceItem4
|
||||
{
|
||||
@@ -64,33 +64,33 @@ namespace AlibabaCloud
|
||||
std::string event;
|
||||
};
|
||||
std::string flowId;
|
||||
std::vector<CdrQueueEventsItem::EventSequenceItem4> eventSequence3;
|
||||
std::vector<QueueEventsItem::EventSequenceItem4> eventSequence3;
|
||||
std::string queueId;
|
||||
std::string queueName;
|
||||
int queueType;
|
||||
};
|
||||
std::vector<AgentEventsItem> agentEvents;
|
||||
std::string skillGroupIds;
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string contactDisposition;
|
||||
std::string instanceId;
|
||||
std::string releaseInitiator;
|
||||
std::vector<CdrIvrEventsItem> cdrIvrEvents;
|
||||
int satisfaction;
|
||||
long startTime;
|
||||
std::string contactId;
|
||||
long callDuration;
|
||||
std::string callingNumber;
|
||||
std::vector<QueueEventsItem> queueEvents;
|
||||
long releaseTime;
|
||||
bool recordingReady;
|
||||
std::string skillGroupNames;
|
||||
std::vector<CdrQueueEventsItem> cdrQueueEvents;
|
||||
std::string satisfactionSurveyChannel;
|
||||
std::string agentIds;
|
||||
bool satisfactionSurveyOffered;
|
||||
std::vector<CdrAgentEventsItem> cdrAgentEvents;
|
||||
long establishedTime;
|
||||
std::string agentNames;
|
||||
std::vector<IvrEventsItem> ivrEvents;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -78,69 +78,69 @@ void GetCallDetailRecordResult::parse(const std::string &payload)
|
||||
data_.releaseInitiator = dataNode["ReleaseInitiator"].asString();
|
||||
if(!dataNode["RecordingReady"].isNull())
|
||||
data_.recordingReady = dataNode["RecordingReady"].asString() == "true";
|
||||
auto allCdrAgentEventsNode = dataNode["CdrAgentEvents"]["CdrAgentEventsItem"];
|
||||
for (auto dataNodeCdrAgentEventsCdrAgentEventsItem : allCdrAgentEventsNode)
|
||||
auto allAgentEventsNode = dataNode["AgentEvents"]["AgentEventsItem"];
|
||||
for (auto dataNodeAgentEventsAgentEventsItem : allAgentEventsNode)
|
||||
{
|
||||
Data::CdrAgentEventsItem cdrAgentEventsItemObject;
|
||||
if(!dataNodeCdrAgentEventsCdrAgentEventsItem["AgentId"].isNull())
|
||||
cdrAgentEventsItemObject.agentId = dataNodeCdrAgentEventsCdrAgentEventsItem["AgentId"].asString();
|
||||
if(!dataNodeCdrAgentEventsCdrAgentEventsItem["AgentName"].isNull())
|
||||
cdrAgentEventsItemObject.agentName = dataNodeCdrAgentEventsCdrAgentEventsItem["AgentName"].asString();
|
||||
if(!dataNodeCdrAgentEventsCdrAgentEventsItem["SkillGroupId"].isNull())
|
||||
cdrAgentEventsItemObject.skillGroupId = dataNodeCdrAgentEventsCdrAgentEventsItem["SkillGroupId"].asString();
|
||||
auto allEventSequenceNode = dataNodeCdrAgentEventsCdrAgentEventsItem["EventSequence"]["EventSequenceItem"];
|
||||
for (auto dataNodeCdrAgentEventsCdrAgentEventsItemEventSequenceEventSequenceItem : allEventSequenceNode)
|
||||
Data::AgentEventsItem agentEventsItemObject;
|
||||
if(!dataNodeAgentEventsAgentEventsItem["AgentId"].isNull())
|
||||
agentEventsItemObject.agentId = dataNodeAgentEventsAgentEventsItem["AgentId"].asString();
|
||||
if(!dataNodeAgentEventsAgentEventsItem["AgentName"].isNull())
|
||||
agentEventsItemObject.agentName = dataNodeAgentEventsAgentEventsItem["AgentName"].asString();
|
||||
if(!dataNodeAgentEventsAgentEventsItem["SkillGroupId"].isNull())
|
||||
agentEventsItemObject.skillGroupId = dataNodeAgentEventsAgentEventsItem["SkillGroupId"].asString();
|
||||
auto allEventSequenceNode = dataNodeAgentEventsAgentEventsItem["EventSequence"]["EventSequenceItem"];
|
||||
for (auto dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem : allEventSequenceNode)
|
||||
{
|
||||
Data::CdrAgentEventsItem::EventSequenceItem eventSequenceObject;
|
||||
if(!dataNodeCdrAgentEventsCdrAgentEventsItemEventSequenceEventSequenceItem["Event"].isNull())
|
||||
eventSequenceObject.event = dataNodeCdrAgentEventsCdrAgentEventsItemEventSequenceEventSequenceItem["Event"].asString();
|
||||
if(!dataNodeCdrAgentEventsCdrAgentEventsItemEventSequenceEventSequenceItem["EventTime"].isNull())
|
||||
eventSequenceObject.eventTime = std::stol(dataNodeCdrAgentEventsCdrAgentEventsItemEventSequenceEventSequenceItem["EventTime"].asString());
|
||||
cdrAgentEventsItemObject.eventSequence.push_back(eventSequenceObject);
|
||||
Data::AgentEventsItem::EventSequenceItem eventSequenceObject;
|
||||
if(!dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["Event"].isNull())
|
||||
eventSequenceObject.event = dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["Event"].asString();
|
||||
if(!dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["EventTime"].isNull())
|
||||
eventSequenceObject.eventTime = std::stol(dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["EventTime"].asString());
|
||||
agentEventsItemObject.eventSequence.push_back(eventSequenceObject);
|
||||
}
|
||||
data_.cdrAgentEvents.push_back(cdrAgentEventsItemObject);
|
||||
data_.agentEvents.push_back(agentEventsItemObject);
|
||||
}
|
||||
auto allCdrIvrEventsNode = dataNode["CdrIvrEvents"]["CdrIvrEventsItem"];
|
||||
for (auto dataNodeCdrIvrEventsCdrIvrEventsItem : allCdrIvrEventsNode)
|
||||
auto allIvrEventsNode = dataNode["IvrEvents"]["IvrEventsItem"];
|
||||
for (auto dataNodeIvrEventsIvrEventsItem : allIvrEventsNode)
|
||||
{
|
||||
Data::CdrIvrEventsItem cdrIvrEventsItemObject;
|
||||
if(!dataNodeCdrIvrEventsCdrIvrEventsItem["FlowId"].isNull())
|
||||
cdrIvrEventsItemObject.flowId = dataNodeCdrIvrEventsCdrIvrEventsItem["FlowId"].asString();
|
||||
auto allEventSequence1Node = dataNodeCdrIvrEventsCdrIvrEventsItem["EventSequence"]["EventSequenceItem"];
|
||||
for (auto dataNodeCdrIvrEventsCdrIvrEventsItemEventSequenceEventSequenceItem : allEventSequence1Node)
|
||||
Data::IvrEventsItem ivrEventsItemObject;
|
||||
if(!dataNodeIvrEventsIvrEventsItem["FlowId"].isNull())
|
||||
ivrEventsItemObject.flowId = dataNodeIvrEventsIvrEventsItem["FlowId"].asString();
|
||||
auto allEventSequence1Node = dataNodeIvrEventsIvrEventsItem["EventSequence"]["EventSequenceItem"];
|
||||
for (auto dataNodeIvrEventsIvrEventsItemEventSequenceEventSequenceItem : allEventSequence1Node)
|
||||
{
|
||||
Data::CdrIvrEventsItem::EventSequenceItem2 eventSequence1Object;
|
||||
if(!dataNodeCdrIvrEventsCdrIvrEventsItemEventSequenceEventSequenceItem["Event"].isNull())
|
||||
eventSequence1Object.event = dataNodeCdrIvrEventsCdrIvrEventsItemEventSequenceEventSequenceItem["Event"].asString();
|
||||
if(!dataNodeCdrIvrEventsCdrIvrEventsItemEventSequenceEventSequenceItem["EventTime"].isNull())
|
||||
eventSequence1Object.eventTime = std::stol(dataNodeCdrIvrEventsCdrIvrEventsItemEventSequenceEventSequenceItem["EventTime"].asString());
|
||||
cdrIvrEventsItemObject.eventSequence1.push_back(eventSequence1Object);
|
||||
Data::IvrEventsItem::EventSequenceItem2 eventSequence1Object;
|
||||
if(!dataNodeIvrEventsIvrEventsItemEventSequenceEventSequenceItem["Event"].isNull())
|
||||
eventSequence1Object.event = dataNodeIvrEventsIvrEventsItemEventSequenceEventSequenceItem["Event"].asString();
|
||||
if(!dataNodeIvrEventsIvrEventsItemEventSequenceEventSequenceItem["EventTime"].isNull())
|
||||
eventSequence1Object.eventTime = std::stol(dataNodeIvrEventsIvrEventsItemEventSequenceEventSequenceItem["EventTime"].asString());
|
||||
ivrEventsItemObject.eventSequence1.push_back(eventSequence1Object);
|
||||
}
|
||||
data_.cdrIvrEvents.push_back(cdrIvrEventsItemObject);
|
||||
data_.ivrEvents.push_back(ivrEventsItemObject);
|
||||
}
|
||||
auto allCdrQueueEventsNode = dataNode["CdrQueueEvents"]["CdrQueueEventsItem"];
|
||||
for (auto dataNodeCdrQueueEventsCdrQueueEventsItem : allCdrQueueEventsNode)
|
||||
auto allQueueEventsNode = dataNode["QueueEvents"]["QueueEventsItem"];
|
||||
for (auto dataNodeQueueEventsQueueEventsItem : allQueueEventsNode)
|
||||
{
|
||||
Data::CdrQueueEventsItem cdrQueueEventsItemObject;
|
||||
if(!dataNodeCdrQueueEventsCdrQueueEventsItem["FlowId"].isNull())
|
||||
cdrQueueEventsItemObject.flowId = dataNodeCdrQueueEventsCdrQueueEventsItem["FlowId"].asString();
|
||||
if(!dataNodeCdrQueueEventsCdrQueueEventsItem["QueueId"].isNull())
|
||||
cdrQueueEventsItemObject.queueId = dataNodeCdrQueueEventsCdrQueueEventsItem["QueueId"].asString();
|
||||
if(!dataNodeCdrQueueEventsCdrQueueEventsItem["QueueName"].isNull())
|
||||
cdrQueueEventsItemObject.queueName = dataNodeCdrQueueEventsCdrQueueEventsItem["QueueName"].asString();
|
||||
if(!dataNodeCdrQueueEventsCdrQueueEventsItem["QueueType"].isNull())
|
||||
cdrQueueEventsItemObject.queueType = std::stoi(dataNodeCdrQueueEventsCdrQueueEventsItem["QueueType"].asString());
|
||||
auto allEventSequence3Node = dataNodeCdrQueueEventsCdrQueueEventsItem["EventSequence"]["EventSequenceItem"];
|
||||
for (auto dataNodeCdrQueueEventsCdrQueueEventsItemEventSequenceEventSequenceItem : allEventSequence3Node)
|
||||
Data::QueueEventsItem queueEventsItemObject;
|
||||
if(!dataNodeQueueEventsQueueEventsItem["FlowId"].isNull())
|
||||
queueEventsItemObject.flowId = dataNodeQueueEventsQueueEventsItem["FlowId"].asString();
|
||||
if(!dataNodeQueueEventsQueueEventsItem["QueueId"].isNull())
|
||||
queueEventsItemObject.queueId = dataNodeQueueEventsQueueEventsItem["QueueId"].asString();
|
||||
if(!dataNodeQueueEventsQueueEventsItem["QueueName"].isNull())
|
||||
queueEventsItemObject.queueName = dataNodeQueueEventsQueueEventsItem["QueueName"].asString();
|
||||
if(!dataNodeQueueEventsQueueEventsItem["QueueType"].isNull())
|
||||
queueEventsItemObject.queueType = std::stoi(dataNodeQueueEventsQueueEventsItem["QueueType"].asString());
|
||||
auto allEventSequence3Node = dataNodeQueueEventsQueueEventsItem["EventSequence"]["EventSequenceItem"];
|
||||
for (auto dataNodeQueueEventsQueueEventsItemEventSequenceEventSequenceItem : allEventSequence3Node)
|
||||
{
|
||||
Data::CdrQueueEventsItem::EventSequenceItem4 eventSequence3Object;
|
||||
if(!dataNodeCdrQueueEventsCdrQueueEventsItemEventSequenceEventSequenceItem["Event"].isNull())
|
||||
eventSequence3Object.event = dataNodeCdrQueueEventsCdrQueueEventsItemEventSequenceEventSequenceItem["Event"].asString();
|
||||
if(!dataNodeCdrQueueEventsCdrQueueEventsItemEventSequenceEventSequenceItem["EventTime"].isNull())
|
||||
eventSequence3Object.eventTime = std::stol(dataNodeCdrQueueEventsCdrQueueEventsItemEventSequenceEventSequenceItem["EventTime"].asString());
|
||||
cdrQueueEventsItemObject.eventSequence3.push_back(eventSequence3Object);
|
||||
Data::QueueEventsItem::EventSequenceItem4 eventSequence3Object;
|
||||
if(!dataNodeQueueEventsQueueEventsItemEventSequenceEventSequenceItem["Event"].isNull())
|
||||
eventSequence3Object.event = dataNodeQueueEventsQueueEventsItemEventSequenceEventSequenceItem["Event"].asString();
|
||||
if(!dataNodeQueueEventsQueueEventsItemEventSequenceEventSequenceItem["EventTime"].isNull())
|
||||
eventSequence3Object.eventTime = std::stol(dataNodeQueueEventsQueueEventsItemEventSequenceEventSequenceItem["EventTime"].asString());
|
||||
queueEventsItemObject.eventSequence3.push_back(eventSequence3Object);
|
||||
}
|
||||
data_.cdrQueueEvents.push_back(cdrQueueEventsItemObject);
|
||||
data_.queueEvents.push_back(queueEventsItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
@@ -25,12 +25,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/AddCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/AddFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/AddFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h
|
||||
@@ -67,8 +63,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h
|
||||
include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h
|
||||
include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h
|
||||
@@ -203,8 +197,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h
|
||||
@@ -245,14 +237,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeIpInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h
|
||||
@@ -265,12 +251,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h
|
||||
@@ -297,8 +279,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h
|
||||
@@ -420,12 +400,8 @@ set(cdn_src
|
||||
src/model/AddCdnDomainResult.cc
|
||||
src/model/AddFCTriggerRequest.cc
|
||||
src/model/AddFCTriggerResult.cc
|
||||
src/model/AddLiveAppRecordConfigRequest.cc
|
||||
src/model/AddLiveAppRecordConfigResult.cc
|
||||
src/model/BatchAddCdnDomainRequest.cc
|
||||
src/model/BatchAddCdnDomainResult.cc
|
||||
src/model/BatchDeleteCdnDomainConfigRequest.cc
|
||||
src/model/BatchDeleteCdnDomainConfigResult.cc
|
||||
src/model/BatchSetCdnDomainConfigRequest.cc
|
||||
src/model/BatchSetCdnDomainConfigResult.cc
|
||||
src/model/BatchSetCdnDomainServerCertificateRequest.cc
|
||||
@@ -462,8 +438,6 @@ set(cdn_src
|
||||
src/model/DeleteCdnSubTaskResult.cc
|
||||
src/model/DeleteFCTriggerRequest.cc
|
||||
src/model/DeleteFCTriggerResult.cc
|
||||
src/model/DeleteHttpHeaderConfigRequest.cc
|
||||
src/model/DeleteHttpHeaderConfigResult.cc
|
||||
src/model/DeleteRealtimeLogDeliveryRequest.cc
|
||||
src/model/DeleteRealtimeLogDeliveryResult.cc
|
||||
src/model/DeleteSpecificConfigRequest.cc
|
||||
@@ -598,8 +572,6 @@ set(cdn_src
|
||||
src/model/DescribeDomainRegionDataResult.cc
|
||||
src/model/DescribeDomainReqHitRateDataRequest.cc
|
||||
src/model/DescribeDomainReqHitRateDataResult.cc
|
||||
src/model/DescribeDomainSlowRatioRequest.cc
|
||||
src/model/DescribeDomainSlowRatioResult.cc
|
||||
src/model/DescribeDomainSrcBpsDataRequest.cc
|
||||
src/model/DescribeDomainSrcBpsDataResult.cc
|
||||
src/model/DescribeDomainSrcFlowDataRequest.cc
|
||||
@@ -640,14 +612,8 @@ set(cdn_src
|
||||
src/model/DescribeIpInfoResult.cc
|
||||
src/model/DescribeL2VipsByDomainRequest.cc
|
||||
src/model/DescribeL2VipsByDomainResult.cc
|
||||
src/model/DescribeL2VipsByDynamicDomainRequest.cc
|
||||
src/model/DescribeL2VipsByDynamicDomainResult.cc
|
||||
src/model/DescribeLivePullStreamConfigRequest.cc
|
||||
src/model/DescribeLivePullStreamConfigResult.cc
|
||||
src/model/DescribeLiveRecordConfigRequest.cc
|
||||
src/model/DescribeLiveRecordConfigResult.cc
|
||||
src/model/DescribeLiveSnapshotConfigRequest.cc
|
||||
src/model/DescribeLiveSnapshotConfigResult.cc
|
||||
src/model/DescribeLiveStreamBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamBitRateDataResult.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumRequest.cc
|
||||
@@ -660,12 +626,8 @@ set(cdn_src
|
||||
src/model/DescribeLiveStreamRecordIndexFilesResult.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoRequest.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoResult.cc
|
||||
src/model/DescribeLiveStreamTranscodeInfoRequest.cc
|
||||
src/model/DescribeLiveStreamTranscodeInfoResult.cc
|
||||
src/model/DescribeLiveStreamsBlockListRequest.cc
|
||||
src/model/DescribeLiveStreamsBlockListResult.cc
|
||||
src/model/DescribeLiveStreamsControlHistoryRequest.cc
|
||||
src/model/DescribeLiveStreamsControlHistoryResult.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc
|
||||
src/model/DescribeLiveStreamsOnlineListRequest.cc
|
||||
@@ -692,8 +654,6 @@ set(cdn_src
|
||||
src/model/DescribeUserCertificateExpireCountResult.cc
|
||||
src/model/DescribeUserConfigsRequest.cc
|
||||
src/model/DescribeUserConfigsResult.cc
|
||||
src/model/DescribeUserCustomLogConfigRequest.cc
|
||||
src/model/DescribeUserCustomLogConfigResult.cc
|
||||
src/model/DescribeUserCustomerLabelsRequest.cc
|
||||
src/model/DescribeUserCustomerLabelsResult.cc
|
||||
src/model/DescribeUserDomainsRequest.cc
|
||||
|
||||
@@ -26,12 +26,8 @@
|
||||
#include "model/AddCdnDomainResult.h"
|
||||
#include "model/AddFCTriggerRequest.h"
|
||||
#include "model/AddFCTriggerResult.h"
|
||||
#include "model/AddLiveAppRecordConfigRequest.h"
|
||||
#include "model/AddLiveAppRecordConfigResult.h"
|
||||
#include "model/BatchAddCdnDomainRequest.h"
|
||||
#include "model/BatchAddCdnDomainResult.h"
|
||||
#include "model/BatchDeleteCdnDomainConfigRequest.h"
|
||||
#include "model/BatchDeleteCdnDomainConfigResult.h"
|
||||
#include "model/BatchSetCdnDomainConfigRequest.h"
|
||||
#include "model/BatchSetCdnDomainConfigResult.h"
|
||||
#include "model/BatchSetCdnDomainServerCertificateRequest.h"
|
||||
@@ -68,8 +64,6 @@
|
||||
#include "model/DeleteCdnSubTaskResult.h"
|
||||
#include "model/DeleteFCTriggerRequest.h"
|
||||
#include "model/DeleteFCTriggerResult.h"
|
||||
#include "model/DeleteHttpHeaderConfigRequest.h"
|
||||
#include "model/DeleteHttpHeaderConfigResult.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryRequest.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryResult.h"
|
||||
#include "model/DeleteSpecificConfigRequest.h"
|
||||
@@ -204,8 +198,6 @@
|
||||
#include "model/DescribeDomainRegionDataResult.h"
|
||||
#include "model/DescribeDomainReqHitRateDataRequest.h"
|
||||
#include "model/DescribeDomainReqHitRateDataResult.h"
|
||||
#include "model/DescribeDomainSlowRatioRequest.h"
|
||||
#include "model/DescribeDomainSlowRatioResult.h"
|
||||
#include "model/DescribeDomainSrcBpsDataRequest.h"
|
||||
#include "model/DescribeDomainSrcBpsDataResult.h"
|
||||
#include "model/DescribeDomainSrcFlowDataRequest.h"
|
||||
@@ -246,14 +238,8 @@
|
||||
#include "model/DescribeIpInfoResult.h"
|
||||
#include "model/DescribeL2VipsByDomainRequest.h"
|
||||
#include "model/DescribeL2VipsByDomainResult.h"
|
||||
#include "model/DescribeL2VipsByDynamicDomainRequest.h"
|
||||
#include "model/DescribeL2VipsByDynamicDomainResult.h"
|
||||
#include "model/DescribeLivePullStreamConfigRequest.h"
|
||||
#include "model/DescribeLivePullStreamConfigResult.h"
|
||||
#include "model/DescribeLiveRecordConfigRequest.h"
|
||||
#include "model/DescribeLiveRecordConfigResult.h"
|
||||
#include "model/DescribeLiveSnapshotConfigRequest.h"
|
||||
#include "model/DescribeLiveSnapshotConfigResult.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataResult.h"
|
||||
#include "model/DescribeLiveStreamOnlineUserNumRequest.h"
|
||||
@@ -266,12 +252,8 @@
|
||||
#include "model/DescribeLiveStreamRecordIndexFilesResult.h"
|
||||
#include "model/DescribeLiveStreamSnapshotInfoRequest.h"
|
||||
#include "model/DescribeLiveStreamSnapshotInfoResult.h"
|
||||
#include "model/DescribeLiveStreamTranscodeInfoRequest.h"
|
||||
#include "model/DescribeLiveStreamTranscodeInfoResult.h"
|
||||
#include "model/DescribeLiveStreamsBlockListRequest.h"
|
||||
#include "model/DescribeLiveStreamsBlockListResult.h"
|
||||
#include "model/DescribeLiveStreamsControlHistoryRequest.h"
|
||||
#include "model/DescribeLiveStreamsControlHistoryResult.h"
|
||||
#include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h"
|
||||
#include "model/DescribeLiveStreamsOnlineListRequest.h"
|
||||
@@ -298,8 +280,6 @@
|
||||
#include "model/DescribeUserCertificateExpireCountResult.h"
|
||||
#include "model/DescribeUserConfigsRequest.h"
|
||||
#include "model/DescribeUserConfigsResult.h"
|
||||
#include "model/DescribeUserCustomLogConfigRequest.h"
|
||||
#include "model/DescribeUserCustomLogConfigResult.h"
|
||||
#include "model/DescribeUserCustomerLabelsRequest.h"
|
||||
#include "model/DescribeUserCustomerLabelsResult.h"
|
||||
#include "model/DescribeUserDomainsRequest.h"
|
||||
@@ -429,15 +409,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddFCTriggerResult> AddFCTriggerOutcome;
|
||||
typedef std::future<AddFCTriggerOutcome> AddFCTriggerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::AddFCTriggerRequest&, const AddFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddFCTriggerAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddLiveAppRecordConfigResult> AddLiveAppRecordConfigOutcome;
|
||||
typedef std::future<AddLiveAppRecordConfigOutcome> AddLiveAppRecordConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::AddLiveAppRecordConfigRequest&, const AddLiveAppRecordConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLiveAppRecordConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchAddCdnDomainResult> BatchAddCdnDomainOutcome;
|
||||
typedef std::future<BatchAddCdnDomainOutcome> BatchAddCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchAddCdnDomainRequest&, const BatchAddCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchAddCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchDeleteCdnDomainConfigResult> BatchDeleteCdnDomainConfigOutcome;
|
||||
typedef std::future<BatchDeleteCdnDomainConfigOutcome> BatchDeleteCdnDomainConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchDeleteCdnDomainConfigRequest&, const BatchDeleteCdnDomainConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteCdnDomainConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchSetCdnDomainConfigResult> BatchSetCdnDomainConfigOutcome;
|
||||
typedef std::future<BatchSetCdnDomainConfigOutcome> BatchSetCdnDomainConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchSetCdnDomainConfigRequest&, const BatchSetCdnDomainConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchSetCdnDomainConfigAsyncHandler;
|
||||
@@ -492,9 +466,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteFCTriggerResult> DeleteFCTriggerOutcome;
|
||||
typedef std::future<DeleteFCTriggerOutcome> DeleteFCTriggerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteFCTriggerRequest&, const DeleteFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFCTriggerAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteHttpHeaderConfigResult> DeleteHttpHeaderConfigOutcome;
|
||||
typedef std::future<DeleteHttpHeaderConfigOutcome> DeleteHttpHeaderConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteHttpHeaderConfigRequest&, const DeleteHttpHeaderConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHttpHeaderConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRealtimeLogDeliveryResult> DeleteRealtimeLogDeliveryOutcome;
|
||||
typedef std::future<DeleteRealtimeLogDeliveryOutcome> DeleteRealtimeLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteRealtimeLogDeliveryRequest&, const DeleteRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRealtimeLogDeliveryAsyncHandler;
|
||||
@@ -696,9 +667,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainReqHitRateDataResult> DescribeDomainReqHitRateDataOutcome;
|
||||
typedef std::future<DescribeDomainReqHitRateDataOutcome> DescribeDomainReqHitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainReqHitRateDataRequest&, const DescribeDomainReqHitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainReqHitRateDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainSlowRatioResult> DescribeDomainSlowRatioOutcome;
|
||||
typedef std::future<DescribeDomainSlowRatioOutcome> DescribeDomainSlowRatioOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainSlowRatioRequest&, const DescribeDomainSlowRatioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainSlowRatioAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainSrcBpsDataResult> DescribeDomainSrcBpsDataOutcome;
|
||||
typedef std::future<DescribeDomainSrcBpsDataOutcome> DescribeDomainSrcBpsDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainSrcBpsDataRequest&, const DescribeDomainSrcBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainSrcBpsDataAsyncHandler;
|
||||
@@ -759,18 +727,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeL2VipsByDomainResult> DescribeL2VipsByDomainOutcome;
|
||||
typedef std::future<DescribeL2VipsByDomainOutcome> DescribeL2VipsByDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeL2VipsByDomainRequest&, const DescribeL2VipsByDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeL2VipsByDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeL2VipsByDynamicDomainResult> DescribeL2VipsByDynamicDomainOutcome;
|
||||
typedef std::future<DescribeL2VipsByDynamicDomainOutcome> DescribeL2VipsByDynamicDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeL2VipsByDynamicDomainRequest&, const DescribeL2VipsByDynamicDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeL2VipsByDynamicDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLivePullStreamConfigResult> DescribeLivePullStreamConfigOutcome;
|
||||
typedef std::future<DescribeLivePullStreamConfigOutcome> DescribeLivePullStreamConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLivePullStreamConfigRequest&, const DescribeLivePullStreamConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLivePullStreamConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveRecordConfigResult> DescribeLiveRecordConfigOutcome;
|
||||
typedef std::future<DescribeLiveRecordConfigOutcome> DescribeLiveRecordConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveRecordConfigRequest&, const DescribeLiveRecordConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveRecordConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveSnapshotConfigResult> DescribeLiveSnapshotConfigOutcome;
|
||||
typedef std::future<DescribeLiveSnapshotConfigOutcome> DescribeLiveSnapshotConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveSnapshotConfigRequest&, const DescribeLiveSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveSnapshotConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamBitRateDataResult> DescribeLiveStreamBitRateDataOutcome;
|
||||
typedef std::future<DescribeLiveStreamBitRateDataOutcome> DescribeLiveStreamBitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamBitRateDataRequest&, const DescribeLiveStreamBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamBitRateDataAsyncHandler;
|
||||
@@ -789,15 +748,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamSnapshotInfoResult> DescribeLiveStreamSnapshotInfoOutcome;
|
||||
typedef std::future<DescribeLiveStreamSnapshotInfoOutcome> DescribeLiveStreamSnapshotInfoOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamSnapshotInfoRequest&, const DescribeLiveStreamSnapshotInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamSnapshotInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamTranscodeInfoResult> DescribeLiveStreamTranscodeInfoOutcome;
|
||||
typedef std::future<DescribeLiveStreamTranscodeInfoOutcome> DescribeLiveStreamTranscodeInfoOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamTranscodeInfoRequest&, const DescribeLiveStreamTranscodeInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamTranscodeInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsBlockListResult> DescribeLiveStreamsBlockListOutcome;
|
||||
typedef std::future<DescribeLiveStreamsBlockListOutcome> DescribeLiveStreamsBlockListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsBlockListRequest&, const DescribeLiveStreamsBlockListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsBlockListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsControlHistoryResult> DescribeLiveStreamsControlHistoryOutcome;
|
||||
typedef std::future<DescribeLiveStreamsControlHistoryOutcome> DescribeLiveStreamsControlHistoryOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsControlHistoryRequest&, const DescribeLiveStreamsControlHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsControlHistoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsFrameRateAndBitRateDataResult> DescribeLiveStreamsFrameRateAndBitRateDataOutcome;
|
||||
typedef std::future<DescribeLiveStreamsFrameRateAndBitRateDataOutcome> DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest&, const DescribeLiveStreamsFrameRateAndBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler;
|
||||
@@ -837,9 +790,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeUserConfigsResult> DescribeUserConfigsOutcome;
|
||||
typedef std::future<DescribeUserConfigsOutcome> DescribeUserConfigsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserConfigsRequest&, const DescribeUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserCustomLogConfigResult> DescribeUserCustomLogConfigOutcome;
|
||||
typedef std::future<DescribeUserCustomLogConfigOutcome> DescribeUserCustomLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserCustomLogConfigRequest&, const DescribeUserCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserCustomLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserCustomerLabelsResult> DescribeUserCustomerLabelsOutcome;
|
||||
typedef std::future<DescribeUserCustomerLabelsOutcome> DescribeUserCustomerLabelsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserCustomerLabelsRequest&, const DescribeUserCustomerLabelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserCustomerLabelsAsyncHandler;
|
||||
@@ -1022,15 +972,9 @@ namespace AlibabaCloud
|
||||
AddFCTriggerOutcome addFCTrigger(const Model::AddFCTriggerRequest &request)const;
|
||||
void addFCTriggerAsync(const Model::AddFCTriggerRequest& request, const AddFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddFCTriggerOutcomeCallable addFCTriggerCallable(const Model::AddFCTriggerRequest& request) const;
|
||||
AddLiveAppRecordConfigOutcome addLiveAppRecordConfig(const Model::AddLiveAppRecordConfigRequest &request)const;
|
||||
void addLiveAppRecordConfigAsync(const Model::AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddLiveAppRecordConfigOutcomeCallable addLiveAppRecordConfigCallable(const Model::AddLiveAppRecordConfigRequest& request) const;
|
||||
BatchAddCdnDomainOutcome batchAddCdnDomain(const Model::BatchAddCdnDomainRequest &request)const;
|
||||
void batchAddCdnDomainAsync(const Model::BatchAddCdnDomainRequest& request, const BatchAddCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchAddCdnDomainOutcomeCallable batchAddCdnDomainCallable(const Model::BatchAddCdnDomainRequest& request) const;
|
||||
BatchDeleteCdnDomainConfigOutcome batchDeleteCdnDomainConfig(const Model::BatchDeleteCdnDomainConfigRequest &request)const;
|
||||
void batchDeleteCdnDomainConfigAsync(const Model::BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchDeleteCdnDomainConfigOutcomeCallable batchDeleteCdnDomainConfigCallable(const Model::BatchDeleteCdnDomainConfigRequest& request) const;
|
||||
BatchSetCdnDomainConfigOutcome batchSetCdnDomainConfig(const Model::BatchSetCdnDomainConfigRequest &request)const;
|
||||
void batchSetCdnDomainConfigAsync(const Model::BatchSetCdnDomainConfigRequest& request, const BatchSetCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchSetCdnDomainConfigOutcomeCallable batchSetCdnDomainConfigCallable(const Model::BatchSetCdnDomainConfigRequest& request) const;
|
||||
@@ -1085,9 +1029,6 @@ namespace AlibabaCloud
|
||||
DeleteFCTriggerOutcome deleteFCTrigger(const Model::DeleteFCTriggerRequest &request)const;
|
||||
void deleteFCTriggerAsync(const Model::DeleteFCTriggerRequest& request, const DeleteFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFCTriggerOutcomeCallable deleteFCTriggerCallable(const Model::DeleteFCTriggerRequest& request) const;
|
||||
DeleteHttpHeaderConfigOutcome deleteHttpHeaderConfig(const Model::DeleteHttpHeaderConfigRequest &request)const;
|
||||
void deleteHttpHeaderConfigAsync(const Model::DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteHttpHeaderConfigOutcomeCallable deleteHttpHeaderConfigCallable(const Model::DeleteHttpHeaderConfigRequest& request) const;
|
||||
DeleteRealtimeLogDeliveryOutcome deleteRealtimeLogDelivery(const Model::DeleteRealtimeLogDeliveryRequest &request)const;
|
||||
void deleteRealtimeLogDeliveryAsync(const Model::DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRealtimeLogDeliveryOutcomeCallable deleteRealtimeLogDeliveryCallable(const Model::DeleteRealtimeLogDeliveryRequest& request) const;
|
||||
@@ -1289,9 +1230,6 @@ namespace AlibabaCloud
|
||||
DescribeDomainReqHitRateDataOutcome describeDomainReqHitRateData(const Model::DescribeDomainReqHitRateDataRequest &request)const;
|
||||
void describeDomainReqHitRateDataAsync(const Model::DescribeDomainReqHitRateDataRequest& request, const DescribeDomainReqHitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainReqHitRateDataOutcomeCallable describeDomainReqHitRateDataCallable(const Model::DescribeDomainReqHitRateDataRequest& request) const;
|
||||
DescribeDomainSlowRatioOutcome describeDomainSlowRatio(const Model::DescribeDomainSlowRatioRequest &request)const;
|
||||
void describeDomainSlowRatioAsync(const Model::DescribeDomainSlowRatioRequest& request, const DescribeDomainSlowRatioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainSlowRatioOutcomeCallable describeDomainSlowRatioCallable(const Model::DescribeDomainSlowRatioRequest& request) const;
|
||||
DescribeDomainSrcBpsDataOutcome describeDomainSrcBpsData(const Model::DescribeDomainSrcBpsDataRequest &request)const;
|
||||
void describeDomainSrcBpsDataAsync(const Model::DescribeDomainSrcBpsDataRequest& request, const DescribeDomainSrcBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainSrcBpsDataOutcomeCallable describeDomainSrcBpsDataCallable(const Model::DescribeDomainSrcBpsDataRequest& request) const;
|
||||
@@ -1352,18 +1290,9 @@ namespace AlibabaCloud
|
||||
DescribeL2VipsByDomainOutcome describeL2VipsByDomain(const Model::DescribeL2VipsByDomainRequest &request)const;
|
||||
void describeL2VipsByDomainAsync(const Model::DescribeL2VipsByDomainRequest& request, const DescribeL2VipsByDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeL2VipsByDomainOutcomeCallable describeL2VipsByDomainCallable(const Model::DescribeL2VipsByDomainRequest& request) const;
|
||||
DescribeL2VipsByDynamicDomainOutcome describeL2VipsByDynamicDomain(const Model::DescribeL2VipsByDynamicDomainRequest &request)const;
|
||||
void describeL2VipsByDynamicDomainAsync(const Model::DescribeL2VipsByDynamicDomainRequest& request, const DescribeL2VipsByDynamicDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeL2VipsByDynamicDomainOutcomeCallable describeL2VipsByDynamicDomainCallable(const Model::DescribeL2VipsByDynamicDomainRequest& request) const;
|
||||
DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const;
|
||||
void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const;
|
||||
DescribeLiveRecordConfigOutcome describeLiveRecordConfig(const Model::DescribeLiveRecordConfigRequest &request)const;
|
||||
void describeLiveRecordConfigAsync(const Model::DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveRecordConfigOutcomeCallable describeLiveRecordConfigCallable(const Model::DescribeLiveRecordConfigRequest& request) const;
|
||||
DescribeLiveSnapshotConfigOutcome describeLiveSnapshotConfig(const Model::DescribeLiveSnapshotConfigRequest &request)const;
|
||||
void describeLiveSnapshotConfigAsync(const Model::DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveSnapshotConfigOutcomeCallable describeLiveSnapshotConfigCallable(const Model::DescribeLiveSnapshotConfigRequest& request) const;
|
||||
DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const;
|
||||
void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamBitRateDataOutcomeCallable describeLiveStreamBitRateDataCallable(const Model::DescribeLiveStreamBitRateDataRequest& request) const;
|
||||
@@ -1382,15 +1311,9 @@ namespace AlibabaCloud
|
||||
DescribeLiveStreamSnapshotInfoOutcome describeLiveStreamSnapshotInfo(const Model::DescribeLiveStreamSnapshotInfoRequest &request)const;
|
||||
void describeLiveStreamSnapshotInfoAsync(const Model::DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamSnapshotInfoOutcomeCallable describeLiveStreamSnapshotInfoCallable(const Model::DescribeLiveStreamSnapshotInfoRequest& request) const;
|
||||
DescribeLiveStreamTranscodeInfoOutcome describeLiveStreamTranscodeInfo(const Model::DescribeLiveStreamTranscodeInfoRequest &request)const;
|
||||
void describeLiveStreamTranscodeInfoAsync(const Model::DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamTranscodeInfoOutcomeCallable describeLiveStreamTranscodeInfoCallable(const Model::DescribeLiveStreamTranscodeInfoRequest& request) const;
|
||||
DescribeLiveStreamsBlockListOutcome describeLiveStreamsBlockList(const Model::DescribeLiveStreamsBlockListRequest &request)const;
|
||||
void describeLiveStreamsBlockListAsync(const Model::DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsBlockListOutcomeCallable describeLiveStreamsBlockListCallable(const Model::DescribeLiveStreamsBlockListRequest& request) const;
|
||||
DescribeLiveStreamsControlHistoryOutcome describeLiveStreamsControlHistory(const Model::DescribeLiveStreamsControlHistoryRequest &request)const;
|
||||
void describeLiveStreamsControlHistoryAsync(const Model::DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsControlHistoryOutcomeCallable describeLiveStreamsControlHistoryCallable(const Model::DescribeLiveStreamsControlHistoryRequest& request) const;
|
||||
DescribeLiveStreamsFrameRateAndBitRateDataOutcome describeLiveStreamsFrameRateAndBitRateData(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest &request)const;
|
||||
void describeLiveStreamsFrameRateAndBitRateDataAsync(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable describeLiveStreamsFrameRateAndBitRateDataCallable(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request) const;
|
||||
@@ -1430,9 +1353,6 @@ namespace AlibabaCloud
|
||||
DescribeUserConfigsOutcome describeUserConfigs(const Model::DescribeUserConfigsRequest &request)const;
|
||||
void describeUserConfigsAsync(const Model::DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserConfigsOutcomeCallable describeUserConfigsCallable(const Model::DescribeUserConfigsRequest& request) const;
|
||||
DescribeUserCustomLogConfigOutcome describeUserCustomLogConfig(const Model::DescribeUserCustomLogConfigRequest &request)const;
|
||||
void describeUserCustomLogConfigAsync(const Model::DescribeUserCustomLogConfigRequest& request, const DescribeUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserCustomLogConfigOutcomeCallable describeUserCustomLogConfigCallable(const Model::DescribeUserCustomLogConfigRequest& request) const;
|
||||
DescribeUserCustomerLabelsOutcome describeUserCustomerLabels(const Model::DescribeUserCustomerLabelsRequest &request)const;
|
||||
void describeUserCustomerLabelsAsync(const Model::DescribeUserCustomerLabelsRequest& request, const DescribeUserCustomerLabelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserCustomerLabelsOutcomeCallable describeUserCustomerLabelsCallable(const Model::DescribeUserCustomerLabelsRequest& request) const;
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ADDLIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_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 AddLiveAppRecordConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddLiveAppRecordConfigRequest();
|
||||
~AddLiveAppRecordConfigRequest();
|
||||
|
||||
std::string getOssEndpoint()const;
|
||||
void setOssEndpoint(const std::string& ossEndpoint);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getOssBucket()const;
|
||||
void setOssBucket(const std::string& ossBucket);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getOssObjectPrefix()const;
|
||||
void setOssObjectPrefix(const std::string& ossObjectPrefix);
|
||||
|
||||
private:
|
||||
std::string ossEndpoint_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string ossBucket_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string ossObjectPrefix_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_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 BatchDeleteCdnDomainConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchDeleteCdnDomainConfigRequest();
|
||||
~BatchDeleteCdnDomainConfigRequest();
|
||||
|
||||
std::string getFunctionNames()const;
|
||||
void setFunctionNames(const std::string& functionNames);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string functionNames_;
|
||||
std::string domainNames_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DELETEHTTPHEADERCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_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 DeleteHttpHeaderConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteHttpHeaderConfigRequest();
|
||||
~DeleteHttpHeaderConfigRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getConfigID()const;
|
||||
void setConfigID(const std::string& configID);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string configID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_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 DescribeL2VipsByDynamicDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult();
|
||||
explicit DescribeL2VipsByDynamicDomainResult(const std::string &payload);
|
||||
~DescribeL2VipsByDynamicDomainResult();
|
||||
std::string getDomainName()const;
|
||||
std::vector<std::string> getVips()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::vector<std::string> vips_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_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 DescribeLiveSnapshotConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveSnapshotConfigRequest();
|
||||
~DescribeLiveSnapshotConfigRequest();
|
||||
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getStreamName()const;
|
||||
void setStreamName(const std::string& streamName);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
int pageNum_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
int pageSize_;
|
||||
std::string streamName_;
|
||||
std::string order_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_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 DescribeLiveSnapshotConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveStreamSnapshotConfig
|
||||
{
|
||||
std::string overwriteOssObject;
|
||||
std::string sequenceOssObject;
|
||||
int timeInterval;
|
||||
std::string ossEndpoint;
|
||||
std::string domainName;
|
||||
std::string createTime;
|
||||
std::string ossBucket;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveSnapshotConfigResult();
|
||||
explicit DescribeLiveSnapshotConfigResult(const std::string &payload);
|
||||
~DescribeLiveSnapshotConfigResult();
|
||||
std::string getOrder()const;
|
||||
int getTotalNum()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
std::vector<LiveStreamSnapshotConfig> getLiveStreamSnapshotConfigList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string order_;
|
||||
int totalNum_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
std::vector<LiveStreamSnapshotConfig> liveStreamSnapshotConfigList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_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 DescribeLiveStreamTranscodeInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamTranscodeInfoRequest();
|
||||
~DescribeLiveStreamTranscodeInfoRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDomainTranscodeName()const;
|
||||
void setDomainTranscodeName(const std::string& domainTranscodeName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string domainTranscodeName_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_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 DescribeLiveStreamsControlHistoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamsControlHistoryRequest();
|
||||
~DescribeLiveStreamsControlHistoryRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_
|
||||
@@ -123,42 +123,6 @@ CdnClient::AddFCTriggerOutcomeCallable CdnClient::addFCTriggerCallable(const Add
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::AddLiveAppRecordConfigOutcome CdnClient::addLiveAppRecordConfig(const AddLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddLiveAppRecordConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddLiveAppRecordConfigOutcome(AddLiveAppRecordConfigResult(outcome.result()));
|
||||
else
|
||||
return AddLiveAppRecordConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::addLiveAppRecordConfigAsync(const AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addLiveAppRecordConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::AddLiveAppRecordConfigOutcomeCallable CdnClient::addLiveAppRecordConfigCallable(const AddLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddLiveAppRecordConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addLiveAppRecordConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchAddCdnDomainOutcome CdnClient::batchAddCdnDomain(const BatchAddCdnDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,42 +159,6 @@ CdnClient::BatchAddCdnDomainOutcomeCallable CdnClient::batchAddCdnDomainCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchDeleteCdnDomainConfigOutcome CdnClient::batchDeleteCdnDomainConfig(const BatchDeleteCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchDeleteCdnDomainConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchDeleteCdnDomainConfigOutcome(BatchDeleteCdnDomainConfigResult(outcome.result()));
|
||||
else
|
||||
return BatchDeleteCdnDomainConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::batchDeleteCdnDomainConfigAsync(const BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchDeleteCdnDomainConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::BatchDeleteCdnDomainConfigOutcomeCallable CdnClient::batchDeleteCdnDomainConfigCallable(const BatchDeleteCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchDeleteCdnDomainConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchDeleteCdnDomainConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchSetCdnDomainConfigOutcome CdnClient::batchSetCdnDomainConfig(const BatchSetCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -879,42 +807,6 @@ CdnClient::DeleteFCTriggerOutcomeCallable CdnClient::deleteFCTriggerCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteHttpHeaderConfigOutcome CdnClient::deleteHttpHeaderConfig(const DeleteHttpHeaderConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteHttpHeaderConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteHttpHeaderConfigOutcome(DeleteHttpHeaderConfigResult(outcome.result()));
|
||||
else
|
||||
return DeleteHttpHeaderConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteHttpHeaderConfigAsync(const DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteHttpHeaderConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteHttpHeaderConfigOutcomeCallable CdnClient::deleteHttpHeaderConfigCallable(const DeleteHttpHeaderConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteHttpHeaderConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteHttpHeaderConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteRealtimeLogDeliveryOutcome CdnClient::deleteRealtimeLogDelivery(const DeleteRealtimeLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3327,42 +3219,6 @@ CdnClient::DescribeDomainReqHitRateDataOutcomeCallable CdnClient::describeDomain
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainSlowRatioOutcome CdnClient::describeDomainSlowRatio(const DescribeDomainSlowRatioRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainSlowRatioOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainSlowRatioOutcome(DescribeDomainSlowRatioResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainSlowRatioOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeDomainSlowRatioAsync(const DescribeDomainSlowRatioRequest& request, const DescribeDomainSlowRatioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainSlowRatio(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainSlowRatioOutcomeCallable CdnClient::describeDomainSlowRatioCallable(const DescribeDomainSlowRatioRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainSlowRatioOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainSlowRatio(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainSrcBpsDataOutcome CdnClient::describeDomainSrcBpsData(const DescribeDomainSrcBpsDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4083,42 +3939,6 @@ CdnClient::DescribeL2VipsByDomainOutcomeCallable CdnClient::describeL2VipsByDoma
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeL2VipsByDynamicDomainOutcome CdnClient::describeL2VipsByDynamicDomain(const DescribeL2VipsByDynamicDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeL2VipsByDynamicDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeL2VipsByDynamicDomainOutcome(DescribeL2VipsByDynamicDomainResult(outcome.result()));
|
||||
else
|
||||
return DescribeL2VipsByDynamicDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeL2VipsByDynamicDomainAsync(const DescribeL2VipsByDynamicDomainRequest& request, const DescribeL2VipsByDynamicDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeL2VipsByDynamicDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeL2VipsByDynamicDomainOutcomeCallable CdnClient::describeL2VipsByDynamicDomainCallable(const DescribeL2VipsByDynamicDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeL2VipsByDynamicDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeL2VipsByDynamicDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLivePullStreamConfigOutcome CdnClient::describeLivePullStreamConfig(const DescribeLivePullStreamConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4155,78 +3975,6 @@ CdnClient::DescribeLivePullStreamConfigOutcomeCallable CdnClient::describeLivePu
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveRecordConfigOutcome CdnClient::describeLiveRecordConfig(const DescribeLiveRecordConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveRecordConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveRecordConfigOutcome(DescribeLiveRecordConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveRecordConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveRecordConfigAsync(const DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveRecordConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveRecordConfigOutcomeCallable CdnClient::describeLiveRecordConfigCallable(const DescribeLiveRecordConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveRecordConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveRecordConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveSnapshotConfigOutcome CdnClient::describeLiveSnapshotConfig(const DescribeLiveSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveSnapshotConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveSnapshotConfigOutcome(DescribeLiveSnapshotConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveSnapshotConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveSnapshotConfigAsync(const DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveSnapshotConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveSnapshotConfigOutcomeCallable CdnClient::describeLiveSnapshotConfigCallable(const DescribeLiveSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveSnapshotConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveSnapshotConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamBitRateDataOutcome CdnClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4443,42 +4191,6 @@ CdnClient::DescribeLiveStreamSnapshotInfoOutcomeCallable CdnClient::describeLive
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamTranscodeInfoOutcome CdnClient::describeLiveStreamTranscodeInfo(const DescribeLiveStreamTranscodeInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveStreamTranscodeInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveStreamTranscodeInfoOutcome(DescribeLiveStreamTranscodeInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveStreamTranscodeInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveStreamTranscodeInfoAsync(const DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveStreamTranscodeInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamTranscodeInfoOutcomeCallable CdnClient::describeLiveStreamTranscodeInfoCallable(const DescribeLiveStreamTranscodeInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamTranscodeInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveStreamTranscodeInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsBlockListOutcome CdnClient::describeLiveStreamsBlockList(const DescribeLiveStreamsBlockListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4515,42 +4227,6 @@ CdnClient::DescribeLiveStreamsBlockListOutcomeCallable CdnClient::describeLiveSt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsControlHistoryOutcome CdnClient::describeLiveStreamsControlHistory(const DescribeLiveStreamsControlHistoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveStreamsControlHistoryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveStreamsControlHistoryOutcome(DescribeLiveStreamsControlHistoryResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveStreamsControlHistoryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveStreamsControlHistoryAsync(const DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveStreamsControlHistory(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsControlHistoryOutcomeCallable CdnClient::describeLiveStreamsControlHistoryCallable(const DescribeLiveStreamsControlHistoryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamsControlHistoryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveStreamsControlHistory(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcome CdnClient::describeLiveStreamsFrameRateAndBitRateData(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5019,42 +4695,6 @@ CdnClient::DescribeUserConfigsOutcomeCallable CdnClient::describeUserConfigsCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomLogConfigOutcome CdnClient::describeUserCustomLogConfig(const DescribeUserCustomLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeUserCustomLogConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeUserCustomLogConfigOutcome(DescribeUserCustomLogConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeUserCustomLogConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeUserCustomLogConfigAsync(const DescribeUserCustomLogConfigRequest& request, const DescribeUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeUserCustomLogConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomLogConfigOutcomeCallable CdnClient::describeUserCustomLogConfigCallable(const DescribeUserCustomLogConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeUserCustomLogConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeUserCustomLogConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomerLabelsOutcome CdnClient::describeUserCustomerLabels(const DescribeUserCustomerLabelsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/AddLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::AddLiveAppRecordConfigRequest;
|
||||
|
||||
AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "AddLiveAppRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long AddLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssObjectPrefix()const
|
||||
{
|
||||
return ossObjectPrefix_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssObjectPrefix(const std::string& ossObjectPrefix)
|
||||
{
|
||||
ossObjectPrefix_ = ossObjectPrefix;
|
||||
setParameter("OssObjectPrefix", ossObjectPrefix);
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/BatchDeleteCdnDomainConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::BatchDeleteCdnDomainConfigRequest;
|
||||
|
||||
BatchDeleteCdnDomainConfigRequest::BatchDeleteCdnDomainConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "BatchDeleteCdnDomainConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchDeleteCdnDomainConfigRequest::~BatchDeleteCdnDomainConfigRequest()
|
||||
{}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getFunctionNames()const
|
||||
{
|
||||
return functionNames_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setFunctionNames(const std::string& functionNames)
|
||||
{
|
||||
functionNames_ = functionNames;
|
||||
setParameter("FunctionNames", functionNames);
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long BatchDeleteCdnDomainConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DeleteHttpHeaderConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteHttpHeaderConfigRequest;
|
||||
|
||||
DeleteHttpHeaderConfigRequest::DeleteHttpHeaderConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteHttpHeaderConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteHttpHeaderConfigRequest::~DeleteHttpHeaderConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteHttpHeaderConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteHttpHeaderConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteHttpHeaderConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteHttpHeaderConfigRequest::getConfigID()const
|
||||
{
|
||||
return configID_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setConfigID(const std::string& configID)
|
||||
{
|
||||
configID_ = configID;
|
||||
setParameter("ConfigID", configID);
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDomainSlowRatioRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeDomainSlowRatioRequest;
|
||||
|
||||
DescribeDomainSlowRatioRequest::DescribeDomainSlowRatioRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainSlowRatio")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeDomainSlowRatioRequest::~DescribeDomainSlowRatioRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainSlowRatioRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDomainSlowRatioRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,113 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDomainSlowRatioResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeDomainSlowRatioResult::DescribeDomainSlowRatioResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDomainSlowRatioResult::DescribeDomainSlowRatioResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDomainSlowRatioResult::~DescribeDomainSlowRatioResult()
|
||||
{}
|
||||
|
||||
void DescribeDomainSlowRatioResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSlowRatioDataPerIntervalNode = value["SlowRatioDataPerInterval"]["SlowRatioData"];
|
||||
for (auto valueSlowRatioDataPerIntervalSlowRatioData : allSlowRatioDataPerIntervalNode)
|
||||
{
|
||||
SlowRatioData slowRatioDataPerIntervalObject;
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["TotalUsers"].isNull())
|
||||
slowRatioDataPerIntervalObject.totalUsers = std::stoi(valueSlowRatioDataPerIntervalSlowRatioData["TotalUsers"].asString());
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["SlowUsers"].isNull())
|
||||
slowRatioDataPerIntervalObject.slowUsers = std::stoi(valueSlowRatioDataPerIntervalSlowRatioData["SlowUsers"].asString());
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["SlowRatio"].isNull())
|
||||
slowRatioDataPerIntervalObject.slowRatio = std::stof(valueSlowRatioDataPerIntervalSlowRatioData["SlowRatio"].asString());
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["RegionNameZh"].isNull())
|
||||
slowRatioDataPerIntervalObject.regionNameZh = valueSlowRatioDataPerIntervalSlowRatioData["RegionNameZh"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["RegionNameEn"].isNull())
|
||||
slowRatioDataPerIntervalObject.regionNameEn = valueSlowRatioDataPerIntervalSlowRatioData["RegionNameEn"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["IspNameZh"].isNull())
|
||||
slowRatioDataPerIntervalObject.ispNameZh = valueSlowRatioDataPerIntervalSlowRatioData["IspNameZh"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["IspNameEn"].isNull())
|
||||
slowRatioDataPerIntervalObject.ispNameEn = valueSlowRatioDataPerIntervalSlowRatioData["IspNameEn"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["Time"].isNull())
|
||||
slowRatioDataPerIntervalObject.time = valueSlowRatioDataPerIntervalSlowRatioData["Time"].asString();
|
||||
slowRatioDataPerInterval_.push_back(slowRatioDataPerIntervalObject);
|
||||
}
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = std::stoi(value["DataInterval"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainSlowRatioResult::SlowRatioData> DescribeDomainSlowRatioResult::getSlowRatioDataPerInterval()const
|
||||
{
|
||||
return slowRatioDataPerInterval_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeL2VipsByDynamicDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeL2VipsByDynamicDomainRequest;
|
||||
|
||||
DescribeL2VipsByDynamicDomainRequest::DescribeL2VipsByDynamicDomainRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeL2VipsByDynamicDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeL2VipsByDynamicDomainRequest::~DescribeL2VipsByDynamicDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeL2VipsByDynamicDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeL2VipsByDynamicDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeL2VipsByDynamicDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeL2VipsByDynamicDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeL2VipsByDynamicDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult::DescribeL2VipsByDynamicDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult::DescribeL2VipsByDynamicDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult::~DescribeL2VipsByDynamicDomainResult()
|
||||
{}
|
||||
|
||||
void DescribeL2VipsByDynamicDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allVips = value["Vips"]["Vip"];
|
||||
for (const auto &item : allVips)
|
||||
vips_.push_back(item.asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeL2VipsByDynamicDomainResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeL2VipsByDynamicDomainResult::getVips()const
|
||||
{
|
||||
return vips_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveRecordConfigRequest;
|
||||
|
||||
DescribeLiveRecordConfigRequest::DescribeLiveRecordConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveRecordConfigRequest::~DescribeLiveRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLiveRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeLiveRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveRecordConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveRecordConfigResult::~DescribeLiveRecordConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveRecordConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveAppRecordListNode = value["LiveAppRecordList"]["LiveAppRecord"];
|
||||
for (auto valueLiveAppRecordListLiveAppRecord : allLiveAppRecordListNode)
|
||||
{
|
||||
LiveAppRecord liveAppRecordListObject;
|
||||
if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull())
|
||||
liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["AppName"].isNull())
|
||||
liveAppRecordListObject.appName = valueLiveAppRecordListLiveAppRecord["AppName"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["OssEndpoint"].isNull())
|
||||
liveAppRecordListObject.ossEndpoint = valueLiveAppRecordListLiveAppRecord["OssEndpoint"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["OssBucket"].isNull())
|
||||
liveAppRecordListObject.ossBucket = valueLiveAppRecordListLiveAppRecord["OssBucket"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["OssObjectPrefix"].isNull())
|
||||
liveAppRecordListObject.ossObjectPrefix = valueLiveAppRecordListLiveAppRecord["OssObjectPrefix"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["CreateTime"].isNull())
|
||||
liveAppRecordListObject.createTime = valueLiveAppRecordListLiveAppRecord["CreateTime"].asString();
|
||||
liveAppRecordList_.push_back(liveAppRecordListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveRecordConfigResult::LiveAppRecord> DescribeLiveRecordConfigResult::getLiveAppRecordList()const
|
||||
{
|
||||
return liveAppRecordList_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveSnapshotConfigRequest;
|
||||
|
||||
DescribeLiveSnapshotConfigRequest::DescribeLiveSnapshotConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveSnapshotConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveSnapshotConfigRequest::~DescribeLiveSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
int DescribeLiveSnapshotConfigRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeLiveSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveSnapshotConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveSnapshotConfigResult::~DescribeLiveSnapshotConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveSnapshotConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveStreamSnapshotConfigListNode = value["LiveStreamSnapshotConfigList"]["LiveStreamSnapshotConfig"];
|
||||
for (auto valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig : allLiveStreamSnapshotConfigListNode)
|
||||
{
|
||||
LiveStreamSnapshotConfig liveStreamSnapshotConfigListObject;
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].isNull())
|
||||
liveStreamSnapshotConfigListObject.domainName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].isNull())
|
||||
liveStreamSnapshotConfigListObject.appName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].isNull())
|
||||
liveStreamSnapshotConfigListObject.timeInterval = std::stoi(valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].asString());
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].isNull())
|
||||
liveStreamSnapshotConfigListObject.ossEndpoint = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].isNull())
|
||||
liveStreamSnapshotConfigListObject.ossBucket = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].isNull())
|
||||
liveStreamSnapshotConfigListObject.overwriteOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].isNull())
|
||||
liveStreamSnapshotConfigListObject.sequenceOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].isNull())
|
||||
liveStreamSnapshotConfigListObject.createTime = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].asString();
|
||||
liveStreamSnapshotConfigList_.push_back(liveStreamSnapshotConfigListObject);
|
||||
}
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Order"].isNull())
|
||||
order_ = value["Order"].asString();
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stoi(value["TotalNum"].asString());
|
||||
if(!value["TotalPage"].isNull())
|
||||
totalPage_ = std::stoi(value["TotalPage"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigResult::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getTotalPage()const
|
||||
{
|
||||
return totalPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveSnapshotConfigResult::LiveStreamSnapshotConfig> DescribeLiveSnapshotConfigResult::getLiveStreamSnapshotConfigList()const
|
||||
{
|
||||
return liveStreamSnapshotConfigList_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveStreamTranscodeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveStreamTranscodeInfoRequest;
|
||||
|
||||
DescribeLiveStreamTranscodeInfoRequest::DescribeLiveStreamTranscodeInfoRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamTranscodeInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveStreamTranscodeInfoRequest::~DescribeLiveStreamTranscodeInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeLiveStreamTranscodeInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()const
|
||||
{
|
||||
return domainTranscodeName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string& domainTranscodeName)
|
||||
{
|
||||
domainTranscodeName_ = domainTranscodeName;
|
||||
setParameter("DomainTranscodeName", domainTranscodeName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamTranscodeInfoRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveStreamTranscodeInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult::~DescribeLiveStreamTranscodeInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainTranscodeListNode = value["DomainTranscodeList"]["DomainTranscodeInfo"];
|
||||
for (auto valueDomainTranscodeListDomainTranscodeInfo : allDomainTranscodeListNode)
|
||||
{
|
||||
DomainTranscodeInfo domainTranscodeListObject;
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].isNull())
|
||||
domainTranscodeListObject.transcodeApp = valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeId"].isNull())
|
||||
domainTranscodeListObject.transcodeId = valueDomainTranscodeListDomainTranscodeInfo["TranscodeId"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].isNull())
|
||||
domainTranscodeListObject.transcodeName = valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeRecord"].isNull())
|
||||
domainTranscodeListObject.transcodeRecord = valueDomainTranscodeListDomainTranscodeInfo["TranscodeRecord"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeSnapshot"].isNull())
|
||||
domainTranscodeListObject.transcodeSnapshot = valueDomainTranscodeListDomainTranscodeInfo["TranscodeSnapshot"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].isNull())
|
||||
domainTranscodeListObject.transcodeTemplate = valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].asString();
|
||||
domainTranscodeList_.push_back(domainTranscodeListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveStreamTranscodeInfoResult::DomainTranscodeInfo> DescribeLiveStreamTranscodeInfoResult::getDomainTranscodeList()const
|
||||
{
|
||||
return domainTranscodeList_;
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveStreamsControlHistoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveStreamsControlHistoryRequest;
|
||||
|
||||
DescribeLiveStreamsControlHistoryRequest::DescribeLiveStreamsControlHistoryRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamsControlHistory")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveStreamsControlHistoryRequest::~DescribeLiveStreamsControlHistoryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLiveStreamsControlHistoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveStreamsControlHistoryResult::~DescribeLiveStreamsControlHistoryResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allControlInfoNode = value["ControlInfo"]["LiveStreamControlInfo"];
|
||||
for (auto valueControlInfoLiveStreamControlInfo : allControlInfoNode)
|
||||
{
|
||||
LiveStreamControlInfo controlInfoObject;
|
||||
if(!valueControlInfoLiveStreamControlInfo["StreamName"].isNull())
|
||||
controlInfoObject.streamName = valueControlInfoLiveStreamControlInfo["StreamName"].asString();
|
||||
if(!valueControlInfoLiveStreamControlInfo["ClientIP"].isNull())
|
||||
controlInfoObject.clientIP = valueControlInfoLiveStreamControlInfo["ClientIP"].asString();
|
||||
if(!valueControlInfoLiveStreamControlInfo["Action"].isNull())
|
||||
controlInfoObject.action = valueControlInfoLiveStreamControlInfo["Action"].asString();
|
||||
if(!valueControlInfoLiveStreamControlInfo["TimeStamp"].isNull())
|
||||
controlInfoObject.timeStamp = valueControlInfoLiveStreamControlInfo["TimeStamp"].asString();
|
||||
controlInfo_.push_back(controlInfoObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveStreamsControlHistoryResult::LiveStreamControlInfo> DescribeLiveStreamsControlHistoryResult::getControlInfo()const
|
||||
{
|
||||
return controlInfo_;
|
||||
}
|
||||
|
||||
@@ -58,6 +58,8 @@ namespace AlibabaCloud
|
||||
void setTaskOptionHttpResponseCharset(const std::string& taskOptionHttpResponseCharset);
|
||||
bool getTaskOptionHttpNegative()const;
|
||||
void setTaskOptionHttpNegative(bool taskOptionHttpNegative);
|
||||
int getTaskOptionInterval()const;
|
||||
void setTaskOptionInterval(int taskOptionInterval);
|
||||
int getAlertConfigNotifyType()const;
|
||||
void setAlertConfigNotifyType(int alertConfigNotifyType);
|
||||
std::string getTaskOptionTelnetOrPingHost()const;
|
||||
@@ -91,6 +93,7 @@ namespace AlibabaCloud
|
||||
int alertConfigSilenceTime_;
|
||||
std::string taskOptionHttpResponseCharset_;
|
||||
bool taskOptionHttpNegative_;
|
||||
int taskOptionInterval_;
|
||||
int alertConfigNotifyType_;
|
||||
std::string taskOptionTelnetOrPingHost_;
|
||||
std::string taskOptionHttpResponseMatchContent_;
|
||||
|
||||
@@ -35,28 +35,34 @@ namespace AlibabaCloud
|
||||
CreateSiteMonitorRequest();
|
||||
~CreateSiteMonitorRequest();
|
||||
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
std::string getAlertIds()const;
|
||||
void setAlertIds(const std::string& alertIds);
|
||||
std::string getAddress()const;
|
||||
void setAddress(const std::string& address);
|
||||
std::string getTaskType()const;
|
||||
void setTaskType(const std::string& taskType);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getIspCities()const;
|
||||
void setIspCities(const std::string& ispCities);
|
||||
std::string getOptionsJson()const;
|
||||
void setOptionsJson(const std::string& optionsJson);
|
||||
std::string getAlertIds()const;
|
||||
void setAlertIds(const std::string& alertIds);
|
||||
std::string getIntervalUnit()const;
|
||||
void setIntervalUnit(const std::string& intervalUnit);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
std::string taskName_;
|
||||
std::string alertIds_;
|
||||
std::string address_;
|
||||
std::string taskType_;
|
||||
std::string taskName_;
|
||||
long endTime_;
|
||||
std::string ispCities_;
|
||||
std::string optionsJson_;
|
||||
std::string alertIds_;
|
||||
std::string intervalUnit_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string httpURI;
|
||||
bool httpNegative;
|
||||
std::string httpMethod;
|
||||
int interval;
|
||||
};
|
||||
struct AlertConfig
|
||||
{
|
||||
|
||||
@@ -68,6 +68,7 @@ namespace AlibabaCloud
|
||||
std::string noEffectiveInterval;
|
||||
int silenceTime;
|
||||
std::string contactGroups;
|
||||
std::string groupBy;
|
||||
std::string mailSubject;
|
||||
std::string ruleId;
|
||||
std::string sourceType;
|
||||
|
||||
@@ -88,13 +88,20 @@ namespace AlibabaCloud
|
||||
int quotaPackage;
|
||||
int quotaLimit;
|
||||
};
|
||||
struct EnterpriseQuota
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string suitInfo;
|
||||
};
|
||||
SiteMonitorOperatorProbe siteMonitorOperatorProbe;
|
||||
std::string instanceId;
|
||||
LogMonitor logMonitor;
|
||||
std::string cRMType;
|
||||
EnterpriseQuota enterpriseQuota;
|
||||
Phone phone;
|
||||
std::string suitInfo;
|
||||
SiteMonitorTask siteMonitorTask;
|
||||
SMS sMS;
|
||||
LogMonitor logMonitor;
|
||||
Api api;
|
||||
SiteMonitorEcsProbe siteMonitorEcsProbe;
|
||||
std::string expireTime;
|
||||
|
||||
@@ -66,6 +66,7 @@ namespace AlibabaCloud
|
||||
OptionJson optionJson;
|
||||
std::string taskId;
|
||||
std::string address;
|
||||
std::string endTime;
|
||||
std::string taskName;
|
||||
std::string taskType;
|
||||
std::vector<IspCity> ispCities;
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
std::string expect_value;
|
||||
std::string http_method;
|
||||
long time_out;
|
||||
std::string group_id;
|
||||
std::string header;
|
||||
std::string response_content;
|
||||
std::string username;
|
||||
@@ -58,6 +59,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string taskId;
|
||||
std::string address;
|
||||
std::string endTime;
|
||||
OptionsJson optionsJson;
|
||||
std::string taskName;
|
||||
std::string taskType;
|
||||
|
||||
@@ -58,6 +58,8 @@ namespace AlibabaCloud
|
||||
void setTaskOptionHttpResponseCharset(const std::string& taskOptionHttpResponseCharset);
|
||||
bool getTaskOptionHttpNegative()const;
|
||||
void setTaskOptionHttpNegative(bool taskOptionHttpNegative);
|
||||
int getTaskOptionInterval()const;
|
||||
void setTaskOptionInterval(int taskOptionInterval);
|
||||
int getAlertConfigNotifyType()const;
|
||||
void setAlertConfigNotifyType(int alertConfigNotifyType);
|
||||
std::string getTaskOptionTelnetOrPingHost()const;
|
||||
@@ -91,6 +93,7 @@ namespace AlibabaCloud
|
||||
int alertConfigSilenceTime_;
|
||||
std::string taskOptionHttpResponseCharset_;
|
||||
bool taskOptionHttpNegative_;
|
||||
int taskOptionInterval_;
|
||||
int alertConfigNotifyType_;
|
||||
std::string taskOptionTelnetOrPingHost_;
|
||||
std::string taskOptionHttpResponseMatchContent_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setOptionsJson(const std::string& optionsJson);
|
||||
std::string getAlertIds()const;
|
||||
void setAlertIds(const std::string& alertIds);
|
||||
std::string getIntervalUnit()const;
|
||||
void setIntervalUnit(const std::string& intervalUnit);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getTaskId()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
std::string ispCities_;
|
||||
std::string optionsJson_;
|
||||
std::string alertIds_;
|
||||
std::string intervalUnit_;
|
||||
std::string interval_;
|
||||
std::string taskId_;
|
||||
|
||||
|
||||
@@ -69,6 +69,8 @@ namespace AlibabaCloud
|
||||
void setResources(const std::string& resources);
|
||||
int getEscalationsInfoTimes()const;
|
||||
void setEscalationsInfoTimes(int escalationsInfoTimes);
|
||||
std::string getGroupBy()const;
|
||||
void setGroupBy(const std::string& groupBy);
|
||||
int getEscalationsCriticalTimes()const;
|
||||
void setEscalationsCriticalTimes(int escalationsCriticalTimes);
|
||||
std::string getEscalationsWarnStatistics()const;
|
||||
@@ -104,6 +106,7 @@ namespace AlibabaCloud
|
||||
std::string escalationsCriticalStatistics_;
|
||||
std::string resources_;
|
||||
int escalationsInfoTimes_;
|
||||
std::string groupBy_;
|
||||
int escalationsCriticalTimes_;
|
||||
std::string escalationsWarnStatistics_;
|
||||
std::string escalationsInfoThreshold_;
|
||||
|
||||
@@ -112,6 +112,17 @@ void CreateHostAvailabilityRequest::setTaskOptionHttpNegative(bool taskOptionHtt
|
||||
setParameter("TaskOptionHttpNegative", taskOptionHttpNegative ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateHostAvailabilityRequest::getTaskOptionInterval()const
|
||||
{
|
||||
return taskOptionInterval_;
|
||||
}
|
||||
|
||||
void CreateHostAvailabilityRequest::setTaskOptionInterval(int taskOptionInterval)
|
||||
{
|
||||
taskOptionInterval_ = taskOptionInterval;
|
||||
setParameter("TaskOptionInterval", std::to_string(taskOptionInterval));
|
||||
}
|
||||
|
||||
int CreateHostAvailabilityRequest::getAlertConfigNotifyType()const
|
||||
{
|
||||
return alertConfigNotifyType_;
|
||||
|
||||
@@ -27,6 +27,28 @@ CreateSiteMonitorRequest::CreateSiteMonitorRequest() :
|
||||
CreateSiteMonitorRequest::~CreateSiteMonitorRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSiteMonitorRequest::getTaskName()const
|
||||
{
|
||||
return taskName_;
|
||||
}
|
||||
|
||||
void CreateSiteMonitorRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
std::string CreateSiteMonitorRequest::getAlertIds()const
|
||||
{
|
||||
return alertIds_;
|
||||
}
|
||||
|
||||
void CreateSiteMonitorRequest::setAlertIds(const std::string& alertIds)
|
||||
{
|
||||
alertIds_ = alertIds;
|
||||
setParameter("AlertIds", alertIds);
|
||||
}
|
||||
|
||||
std::string CreateSiteMonitorRequest::getAddress()const
|
||||
{
|
||||
return address_;
|
||||
@@ -49,15 +71,15 @@ void CreateSiteMonitorRequest::setTaskType(const std::string& taskType)
|
||||
setParameter("TaskType", taskType);
|
||||
}
|
||||
|
||||
std::string CreateSiteMonitorRequest::getTaskName()const
|
||||
long CreateSiteMonitorRequest::getEndTime()const
|
||||
{
|
||||
return taskName_;
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void CreateSiteMonitorRequest::setTaskName(const std::string& taskName)
|
||||
void CreateSiteMonitorRequest::setEndTime(long endTime)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setParameter("TaskName", taskName);
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string CreateSiteMonitorRequest::getIspCities()const
|
||||
@@ -82,15 +104,15 @@ void CreateSiteMonitorRequest::setOptionsJson(const std::string& optionsJson)
|
||||
setParameter("OptionsJson", optionsJson);
|
||||
}
|
||||
|
||||
std::string CreateSiteMonitorRequest::getAlertIds()const
|
||||
std::string CreateSiteMonitorRequest::getIntervalUnit()const
|
||||
{
|
||||
return alertIds_;
|
||||
return intervalUnit_;
|
||||
}
|
||||
|
||||
void CreateSiteMonitorRequest::setAlertIds(const std::string& alertIds)
|
||||
void CreateSiteMonitorRequest::setIntervalUnit(const std::string& intervalUnit)
|
||||
{
|
||||
alertIds_ = alertIds;
|
||||
setParameter("AlertIds", alertIds);
|
||||
intervalUnit_ = intervalUnit;
|
||||
setParameter("IntervalUnit", intervalUnit);
|
||||
}
|
||||
|
||||
std::string CreateSiteMonitorRequest::getInterval()const
|
||||
|
||||
@@ -72,6 +72,8 @@ void DescribeHostAvailabilityListResult::parse(const std::string &payload)
|
||||
taskListObject.taskOption.httpMethod = taskOptionNode["HttpMethod"].asString();
|
||||
if(!taskOptionNode["HttpNegative"].isNull())
|
||||
taskListObject.taskOption.httpNegative = taskOptionNode["HttpNegative"].asString() == "true";
|
||||
if(!taskOptionNode["Interval"].isNull())
|
||||
taskListObject.taskOption.interval = std::stoi(taskOptionNode["Interval"].asString());
|
||||
auto alertConfigNode = value["AlertConfig"];
|
||||
if(!alertConfigNode["NotifyType"].isNull())
|
||||
taskListObject.alertConfig.notifyType = std::stoi(alertConfigNode["NotifyType"].asString());
|
||||
|
||||
@@ -79,6 +79,8 @@ void DescribeMetricRuleListResult::parse(const std::string &payload)
|
||||
alarmsObject.dimensions = valueAlarmsAlarm["Dimensions"].asString();
|
||||
if(!valueAlarmsAlarm["SourceType"].isNull())
|
||||
alarmsObject.sourceType = valueAlarmsAlarm["SourceType"].asString();
|
||||
if(!valueAlarmsAlarm["GroupBy"].isNull())
|
||||
alarmsObject.groupBy = valueAlarmsAlarm["GroupBy"].asString();
|
||||
auto escalationsNode = value["Escalations"];
|
||||
auto infoNode = escalationsNode["Info"];
|
||||
if(!infoNode["ComparisonOperator"].isNull())
|
||||
|
||||
@@ -44,6 +44,8 @@ void DescribeMonitorResourceQuotaAttributeResult::parse(const std::string &paylo
|
||||
resourceQuota_.expireTime = resourceQuotaNode["ExpireTime"].asString();
|
||||
if(!resourceQuotaNode["SuitInfo"].isNull())
|
||||
resourceQuota_.suitInfo = resourceQuotaNode["SuitInfo"].asString();
|
||||
if(!resourceQuotaNode["CRMType"].isNull())
|
||||
resourceQuota_.cRMType = resourceQuotaNode["CRMType"].asString();
|
||||
if(!resourceQuotaNode["InstanceId"].isNull())
|
||||
resourceQuota_.instanceId = resourceQuotaNode["InstanceId"].asString();
|
||||
auto siteMonitorEcsProbeNode = resourceQuotaNode["SiteMonitorEcsProbe"];
|
||||
@@ -109,6 +111,11 @@ void DescribeMonitorResourceQuotaAttributeResult::parse(const std::string &paylo
|
||||
resourceQuota_.phone.quotaPackage = std::stoi(phoneNode["QuotaPackage"].asString());
|
||||
if(!phoneNode["QuotaUsed"].isNull())
|
||||
resourceQuota_.phone.quotaUsed = std::stoi(phoneNode["QuotaUsed"].asString());
|
||||
auto enterpriseQuotaNode = resourceQuotaNode["EnterpriseQuota"];
|
||||
if(!enterpriseQuotaNode["SuitInfo"].isNull())
|
||||
resourceQuota_.enterpriseQuota.suitInfo = enterpriseQuotaNode["SuitInfo"].asString();
|
||||
if(!enterpriseQuotaNode["InstanceId"].isNull())
|
||||
resourceQuota_.enterpriseQuota.instanceId = enterpriseQuotaNode["InstanceId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -90,6 +90,8 @@ void DescribeSiteMonitorAttributeResult::parse(const std::string &payload)
|
||||
siteMonitors_.interval = siteMonitorsNode["Interval"].asString();
|
||||
if(!siteMonitorsNode["TaskId"].isNull())
|
||||
siteMonitors_.taskId = siteMonitorsNode["TaskId"].asString();
|
||||
if(!siteMonitorsNode["EndTime"].isNull())
|
||||
siteMonitors_.endTime = siteMonitorsNode["EndTime"].asString();
|
||||
auto allIspCitiesNode = siteMonitorsNode["IspCities"]["IspCity"];
|
||||
for (auto siteMonitorsNodeIspCitiesIspCity : allIspCitiesNode)
|
||||
{
|
||||
|
||||
@@ -59,11 +59,15 @@ void DescribeSiteMonitorListResult::parse(const std::string &payload)
|
||||
siteMonitorsObject.interval = valueSiteMonitorsSiteMonitor["Interval"].asString();
|
||||
if(!valueSiteMonitorsSiteMonitor["UpdateTime"].isNull())
|
||||
siteMonitorsObject.updateTime = valueSiteMonitorsSiteMonitor["UpdateTime"].asString();
|
||||
if(!valueSiteMonitorsSiteMonitor["EndTime"].isNull())
|
||||
siteMonitorsObject.endTime = valueSiteMonitorsSiteMonitor["EndTime"].asString();
|
||||
auto optionsJsonNode = value["OptionsJson"];
|
||||
if(!optionsJsonNode["dns_type"].isNull())
|
||||
siteMonitorsObject.optionsJson.dns_type = optionsJsonNode["dns_type"].asString();
|
||||
if(!optionsJsonNode["dns_server"].isNull())
|
||||
siteMonitorsObject.optionsJson.dns_server = optionsJsonNode["dns_server"].asString();
|
||||
if(!optionsJsonNode["group_id"].isNull())
|
||||
siteMonitorsObject.optionsJson.group_id = optionsJsonNode["group_id"].asString();
|
||||
if(!optionsJsonNode["expect_value"].isNull())
|
||||
siteMonitorsObject.optionsJson.expect_value = optionsJsonNode["expect_value"].asString();
|
||||
if(!optionsJsonNode["http_method"].isNull())
|
||||
|
||||
@@ -112,6 +112,17 @@ void ModifyHostAvailabilityRequest::setTaskOptionHttpNegative(bool taskOptionHtt
|
||||
setParameter("TaskOptionHttpNegative", taskOptionHttpNegative ? "true" : "false");
|
||||
}
|
||||
|
||||
int ModifyHostAvailabilityRequest::getTaskOptionInterval()const
|
||||
{
|
||||
return taskOptionInterval_;
|
||||
}
|
||||
|
||||
void ModifyHostAvailabilityRequest::setTaskOptionInterval(int taskOptionInterval)
|
||||
{
|
||||
taskOptionInterval_ = taskOptionInterval;
|
||||
setParameter("TaskOptionInterval", std::to_string(taskOptionInterval));
|
||||
}
|
||||
|
||||
int ModifyHostAvailabilityRequest::getAlertConfigNotifyType()const
|
||||
{
|
||||
return alertConfigNotifyType_;
|
||||
|
||||
@@ -82,6 +82,17 @@ void ModifySiteMonitorRequest::setAlertIds(const std::string& alertIds)
|
||||
setParameter("AlertIds", alertIds);
|
||||
}
|
||||
|
||||
std::string ModifySiteMonitorRequest::getIntervalUnit()const
|
||||
{
|
||||
return intervalUnit_;
|
||||
}
|
||||
|
||||
void ModifySiteMonitorRequest::setIntervalUnit(const std::string& intervalUnit)
|
||||
{
|
||||
intervalUnit_ = intervalUnit;
|
||||
setParameter("IntervalUnit", intervalUnit);
|
||||
}
|
||||
|
||||
std::string ModifySiteMonitorRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
|
||||
@@ -214,6 +214,17 @@ void PutResourceMetricRuleRequest::setEscalationsInfoTimes(int escalationsInfoTi
|
||||
setParameter("EscalationsInfoTimes", std::to_string(escalationsInfoTimes));
|
||||
}
|
||||
|
||||
std::string PutResourceMetricRuleRequest::getGroupBy()const
|
||||
{
|
||||
return groupBy_;
|
||||
}
|
||||
|
||||
void PutResourceMetricRuleRequest::setGroupBy(const std::string& groupBy)
|
||||
{
|
||||
groupBy_ = groupBy;
|
||||
setParameter("GroupBy", groupBy);
|
||||
}
|
||||
|
||||
int PutResourceMetricRuleRequest::getEscalationsCriticalTimes()const
|
||||
{
|
||||
return escalationsCriticalTimes_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user