Compare commits
2 Commits
vs-patch
...
ivision-pa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2de19aea44 | ||
|
|
23cb861a2f |
@@ -1,3 +1,9 @@
|
||||
2020-09-22 Version: patch
|
||||
- Generated 2019-03-08 for `ivision`.
|
||||
|
||||
2020-09-22 Version: patch
|
||||
- Generated 2018-01-11 for `rtc`.
|
||||
|
||||
2020-09-22 Version: patch
|
||||
- Generated 2018-12-12 for `vs`.
|
||||
|
||||
|
||||
@@ -21,22 +21,32 @@ set(rtc_public_header
|
||||
include/alibabacloud/rtc/RtcExport.h )
|
||||
|
||||
set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/AddRecordTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/AddRecordTemplateResult.h
|
||||
include/alibabacloud/rtc/model/CreateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/CreateChannelResult.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceResult.h
|
||||
include/alibabacloud/rtc/model/CreateMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/CreateMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/CreateTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/CreateTemplateResult.h
|
||||
include/alibabacloud/rtc/model/CreateMPULayoutRequest.h
|
||||
include/alibabacloud/rtc/model/CreateMPULayoutResult.h
|
||||
include/alibabacloud/rtc/model/CreateMPURuleRequest.h
|
||||
include/alibabacloud/rtc/model/CreateMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/CreateServiceLinkedRoleForRtcRequest.h
|
||||
include/alibabacloud/rtc/model/CreateServiceLinkedRoleForRtcResult.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelResult.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceResult.h
|
||||
include/alibabacloud/rtc/model/DeleteMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/DeleteTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteTemplateResult.h
|
||||
include/alibabacloud/rtc/model/DeleteMPULayoutRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteMPULayoutResult.h
|
||||
include/alibabacloud/rtc/model/DeleteMPURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/DeleteRecordTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteRecordTemplateResult.h
|
||||
include/alibabacloud/rtc/model/DescribeAppsRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeAppsResult.h
|
||||
include/alibabacloud/rtc/model/DescribeChannelParticipantsRequest.h
|
||||
@@ -47,8 +57,18 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/DescribeConferenceAuthInfoResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutInfoRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutInfoResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutInfoListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutInfoListResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutListResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMPURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRTCAppKeyRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRTCAppKeyResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordTemplatesRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordTemplatesResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelCntDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelCntDataResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelListRequest.h
|
||||
@@ -73,16 +93,20 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/DescribeUserInfoInChannelResult.h
|
||||
include/alibabacloud/rtc/model/DisableMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DisableMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/DisableMPURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DisableMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/EnableMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/EnableMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/EnableMPURuleRequest.h
|
||||
include/alibabacloud/rtc/model/EnableMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/GetMPUTaskStatusRequest.h
|
||||
include/alibabacloud/rtc/model/GetMPUTaskStatusResult.h
|
||||
include/alibabacloud/rtc/model/GetTaskStatusRequest.h
|
||||
include/alibabacloud/rtc/model/GetTaskStatusResult.h
|
||||
include/alibabacloud/rtc/model/ModifyAppRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyAppResult.h
|
||||
include/alibabacloud/rtc/model/ModifyConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyConferenceResult.h
|
||||
include/alibabacloud/rtc/model/ModifyMPULayoutRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyMPULayoutResult.h
|
||||
include/alibabacloud/rtc/model/MuteAudioRequest.h
|
||||
include/alibabacloud/rtc/model/MuteAudioResult.h
|
||||
include/alibabacloud/rtc/model/MuteAudioAllRequest.h
|
||||
@@ -97,12 +121,14 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/SetChannelPropertyResult.h
|
||||
include/alibabacloud/rtc/model/StartMPUTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StartMPUTaskResult.h
|
||||
include/alibabacloud/rtc/model/StartTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StartTaskResult.h
|
||||
include/alibabacloud/rtc/model/StartRecordTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StartRecordTaskResult.h
|
||||
include/alibabacloud/rtc/model/StopChannelUserPublishRequest.h
|
||||
include/alibabacloud/rtc/model/StopChannelUserPublishResult.h
|
||||
include/alibabacloud/rtc/model/StopMPUTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopMPUTaskResult.h
|
||||
include/alibabacloud/rtc/model/StopTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopTaskResult.h
|
||||
include/alibabacloud/rtc/model/StopRecordTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopRecordTaskResult.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioRequest.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioResult.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioAllRequest.h
|
||||
@@ -110,26 +136,38 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/UpdateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateChannelResult.h
|
||||
include/alibabacloud/rtc/model/UpdateMPULayoutRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateMPULayoutResult.h )
|
||||
include/alibabacloud/rtc/model/UpdateMPULayoutResult.h
|
||||
include/alibabacloud/rtc/model/UpdateRecordTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateRecordTemplateResult.h )
|
||||
|
||||
set(rtc_src
|
||||
src/RtcClient.cc
|
||||
src/model/AddRecordTemplateRequest.cc
|
||||
src/model/AddRecordTemplateResult.cc
|
||||
src/model/CreateChannelRequest.cc
|
||||
src/model/CreateChannelResult.cc
|
||||
src/model/CreateConferenceRequest.cc
|
||||
src/model/CreateConferenceResult.cc
|
||||
src/model/CreateMAURuleRequest.cc
|
||||
src/model/CreateMAURuleResult.cc
|
||||
src/model/CreateTemplateRequest.cc
|
||||
src/model/CreateTemplateResult.cc
|
||||
src/model/CreateMPULayoutRequest.cc
|
||||
src/model/CreateMPULayoutResult.cc
|
||||
src/model/CreateMPURuleRequest.cc
|
||||
src/model/CreateMPURuleResult.cc
|
||||
src/model/CreateServiceLinkedRoleForRtcRequest.cc
|
||||
src/model/CreateServiceLinkedRoleForRtcResult.cc
|
||||
src/model/DeleteChannelRequest.cc
|
||||
src/model/DeleteChannelResult.cc
|
||||
src/model/DeleteConferenceRequest.cc
|
||||
src/model/DeleteConferenceResult.cc
|
||||
src/model/DeleteMAURuleRequest.cc
|
||||
src/model/DeleteMAURuleResult.cc
|
||||
src/model/DeleteTemplateRequest.cc
|
||||
src/model/DeleteTemplateResult.cc
|
||||
src/model/DeleteMPULayoutRequest.cc
|
||||
src/model/DeleteMPULayoutResult.cc
|
||||
src/model/DeleteMPURuleRequest.cc
|
||||
src/model/DeleteMPURuleResult.cc
|
||||
src/model/DeleteRecordTemplateRequest.cc
|
||||
src/model/DeleteRecordTemplateResult.cc
|
||||
src/model/DescribeAppsRequest.cc
|
||||
src/model/DescribeAppsResult.cc
|
||||
src/model/DescribeChannelParticipantsRequest.cc
|
||||
@@ -140,8 +178,18 @@ set(rtc_src
|
||||
src/model/DescribeConferenceAuthInfoResult.cc
|
||||
src/model/DescribeMAURuleRequest.cc
|
||||
src/model/DescribeMAURuleResult.cc
|
||||
src/model/DescribeMPULayoutInfoRequest.cc
|
||||
src/model/DescribeMPULayoutInfoResult.cc
|
||||
src/model/DescribeMPULayoutInfoListRequest.cc
|
||||
src/model/DescribeMPULayoutInfoListResult.cc
|
||||
src/model/DescribeMPULayoutListRequest.cc
|
||||
src/model/DescribeMPULayoutListResult.cc
|
||||
src/model/DescribeMPURuleRequest.cc
|
||||
src/model/DescribeMPURuleResult.cc
|
||||
src/model/DescribeRTCAppKeyRequest.cc
|
||||
src/model/DescribeRTCAppKeyResult.cc
|
||||
src/model/DescribeRecordTemplatesRequest.cc
|
||||
src/model/DescribeRecordTemplatesResult.cc
|
||||
src/model/DescribeRtcChannelCntDataRequest.cc
|
||||
src/model/DescribeRtcChannelCntDataResult.cc
|
||||
src/model/DescribeRtcChannelListRequest.cc
|
||||
@@ -166,16 +214,20 @@ set(rtc_src
|
||||
src/model/DescribeUserInfoInChannelResult.cc
|
||||
src/model/DisableMAURuleRequest.cc
|
||||
src/model/DisableMAURuleResult.cc
|
||||
src/model/DisableMPURuleRequest.cc
|
||||
src/model/DisableMPURuleResult.cc
|
||||
src/model/EnableMAURuleRequest.cc
|
||||
src/model/EnableMAURuleResult.cc
|
||||
src/model/EnableMPURuleRequest.cc
|
||||
src/model/EnableMPURuleResult.cc
|
||||
src/model/GetMPUTaskStatusRequest.cc
|
||||
src/model/GetMPUTaskStatusResult.cc
|
||||
src/model/GetTaskStatusRequest.cc
|
||||
src/model/GetTaskStatusResult.cc
|
||||
src/model/ModifyAppRequest.cc
|
||||
src/model/ModifyAppResult.cc
|
||||
src/model/ModifyConferenceRequest.cc
|
||||
src/model/ModifyConferenceResult.cc
|
||||
src/model/ModifyMPULayoutRequest.cc
|
||||
src/model/ModifyMPULayoutResult.cc
|
||||
src/model/MuteAudioRequest.cc
|
||||
src/model/MuteAudioResult.cc
|
||||
src/model/MuteAudioAllRequest.cc
|
||||
@@ -190,12 +242,14 @@ set(rtc_src
|
||||
src/model/SetChannelPropertyResult.cc
|
||||
src/model/StartMPUTaskRequest.cc
|
||||
src/model/StartMPUTaskResult.cc
|
||||
src/model/StartTaskRequest.cc
|
||||
src/model/StartTaskResult.cc
|
||||
src/model/StartRecordTaskRequest.cc
|
||||
src/model/StartRecordTaskResult.cc
|
||||
src/model/StopChannelUserPublishRequest.cc
|
||||
src/model/StopChannelUserPublishResult.cc
|
||||
src/model/StopMPUTaskRequest.cc
|
||||
src/model/StopMPUTaskResult.cc
|
||||
src/model/StopTaskRequest.cc
|
||||
src/model/StopTaskResult.cc
|
||||
src/model/StopRecordTaskRequest.cc
|
||||
src/model/StopRecordTaskResult.cc
|
||||
src/model/UnmuteAudioRequest.cc
|
||||
src/model/UnmuteAudioResult.cc
|
||||
src/model/UnmuteAudioAllRequest.cc
|
||||
@@ -203,7 +257,9 @@ set(rtc_src
|
||||
src/model/UpdateChannelRequest.cc
|
||||
src/model/UpdateChannelResult.cc
|
||||
src/model/UpdateMPULayoutRequest.cc
|
||||
src/model/UpdateMPULayoutResult.cc )
|
||||
src/model/UpdateMPULayoutResult.cc
|
||||
src/model/UpdateRecordTemplateRequest.cc
|
||||
src/model/UpdateRecordTemplateResult.cc )
|
||||
|
||||
add_library(rtc ${LIB_TYPE}
|
||||
${rtc_public_header}
|
||||
|
||||
@@ -22,22 +22,32 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "RtcExport.h"
|
||||
#include "model/AddRecordTemplateRequest.h"
|
||||
#include "model/AddRecordTemplateResult.h"
|
||||
#include "model/CreateChannelRequest.h"
|
||||
#include "model/CreateChannelResult.h"
|
||||
#include "model/CreateConferenceRequest.h"
|
||||
#include "model/CreateConferenceResult.h"
|
||||
#include "model/CreateMAURuleRequest.h"
|
||||
#include "model/CreateMAURuleResult.h"
|
||||
#include "model/CreateTemplateRequest.h"
|
||||
#include "model/CreateTemplateResult.h"
|
||||
#include "model/CreateMPULayoutRequest.h"
|
||||
#include "model/CreateMPULayoutResult.h"
|
||||
#include "model/CreateMPURuleRequest.h"
|
||||
#include "model/CreateMPURuleResult.h"
|
||||
#include "model/CreateServiceLinkedRoleForRtcRequest.h"
|
||||
#include "model/CreateServiceLinkedRoleForRtcResult.h"
|
||||
#include "model/DeleteChannelRequest.h"
|
||||
#include "model/DeleteChannelResult.h"
|
||||
#include "model/DeleteConferenceRequest.h"
|
||||
#include "model/DeleteConferenceResult.h"
|
||||
#include "model/DeleteMAURuleRequest.h"
|
||||
#include "model/DeleteMAURuleResult.h"
|
||||
#include "model/DeleteTemplateRequest.h"
|
||||
#include "model/DeleteTemplateResult.h"
|
||||
#include "model/DeleteMPULayoutRequest.h"
|
||||
#include "model/DeleteMPULayoutResult.h"
|
||||
#include "model/DeleteMPURuleRequest.h"
|
||||
#include "model/DeleteMPURuleResult.h"
|
||||
#include "model/DeleteRecordTemplateRequest.h"
|
||||
#include "model/DeleteRecordTemplateResult.h"
|
||||
#include "model/DescribeAppsRequest.h"
|
||||
#include "model/DescribeAppsResult.h"
|
||||
#include "model/DescribeChannelParticipantsRequest.h"
|
||||
@@ -48,8 +58,18 @@
|
||||
#include "model/DescribeConferenceAuthInfoResult.h"
|
||||
#include "model/DescribeMAURuleRequest.h"
|
||||
#include "model/DescribeMAURuleResult.h"
|
||||
#include "model/DescribeMPULayoutInfoRequest.h"
|
||||
#include "model/DescribeMPULayoutInfoResult.h"
|
||||
#include "model/DescribeMPULayoutInfoListRequest.h"
|
||||
#include "model/DescribeMPULayoutInfoListResult.h"
|
||||
#include "model/DescribeMPULayoutListRequest.h"
|
||||
#include "model/DescribeMPULayoutListResult.h"
|
||||
#include "model/DescribeMPURuleRequest.h"
|
||||
#include "model/DescribeMPURuleResult.h"
|
||||
#include "model/DescribeRTCAppKeyRequest.h"
|
||||
#include "model/DescribeRTCAppKeyResult.h"
|
||||
#include "model/DescribeRecordTemplatesRequest.h"
|
||||
#include "model/DescribeRecordTemplatesResult.h"
|
||||
#include "model/DescribeRtcChannelCntDataRequest.h"
|
||||
#include "model/DescribeRtcChannelCntDataResult.h"
|
||||
#include "model/DescribeRtcChannelListRequest.h"
|
||||
@@ -74,16 +94,20 @@
|
||||
#include "model/DescribeUserInfoInChannelResult.h"
|
||||
#include "model/DisableMAURuleRequest.h"
|
||||
#include "model/DisableMAURuleResult.h"
|
||||
#include "model/DisableMPURuleRequest.h"
|
||||
#include "model/DisableMPURuleResult.h"
|
||||
#include "model/EnableMAURuleRequest.h"
|
||||
#include "model/EnableMAURuleResult.h"
|
||||
#include "model/EnableMPURuleRequest.h"
|
||||
#include "model/EnableMPURuleResult.h"
|
||||
#include "model/GetMPUTaskStatusRequest.h"
|
||||
#include "model/GetMPUTaskStatusResult.h"
|
||||
#include "model/GetTaskStatusRequest.h"
|
||||
#include "model/GetTaskStatusResult.h"
|
||||
#include "model/ModifyAppRequest.h"
|
||||
#include "model/ModifyAppResult.h"
|
||||
#include "model/ModifyConferenceRequest.h"
|
||||
#include "model/ModifyConferenceResult.h"
|
||||
#include "model/ModifyMPULayoutRequest.h"
|
||||
#include "model/ModifyMPULayoutResult.h"
|
||||
#include "model/MuteAudioRequest.h"
|
||||
#include "model/MuteAudioResult.h"
|
||||
#include "model/MuteAudioAllRequest.h"
|
||||
@@ -98,12 +122,14 @@
|
||||
#include "model/SetChannelPropertyResult.h"
|
||||
#include "model/StartMPUTaskRequest.h"
|
||||
#include "model/StartMPUTaskResult.h"
|
||||
#include "model/StartTaskRequest.h"
|
||||
#include "model/StartTaskResult.h"
|
||||
#include "model/StartRecordTaskRequest.h"
|
||||
#include "model/StartRecordTaskResult.h"
|
||||
#include "model/StopChannelUserPublishRequest.h"
|
||||
#include "model/StopChannelUserPublishResult.h"
|
||||
#include "model/StopMPUTaskRequest.h"
|
||||
#include "model/StopMPUTaskResult.h"
|
||||
#include "model/StopTaskRequest.h"
|
||||
#include "model/StopTaskResult.h"
|
||||
#include "model/StopRecordTaskRequest.h"
|
||||
#include "model/StopRecordTaskResult.h"
|
||||
#include "model/UnmuteAudioRequest.h"
|
||||
#include "model/UnmuteAudioResult.h"
|
||||
#include "model/UnmuteAudioAllRequest.h"
|
||||
@@ -112,6 +138,8 @@
|
||||
#include "model/UpdateChannelResult.h"
|
||||
#include "model/UpdateMPULayoutRequest.h"
|
||||
#include "model/UpdateMPULayoutResult.h"
|
||||
#include "model/UpdateRecordTemplateRequest.h"
|
||||
#include "model/UpdateRecordTemplateResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -121,6 +149,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_RTC_EXPORT RtcClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddRecordTemplateResult> AddRecordTemplateOutcome;
|
||||
typedef std::future<AddRecordTemplateOutcome> AddRecordTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::AddRecordTemplateRequest&, const AddRecordTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddRecordTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateChannelResult> CreateChannelOutcome;
|
||||
typedef std::future<CreateChannelOutcome> CreateChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateChannelRequest&, const CreateChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateChannelAsyncHandler;
|
||||
@@ -130,9 +161,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateMAURuleResult> CreateMAURuleOutcome;
|
||||
typedef std::future<CreateMAURuleOutcome> CreateMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateMAURuleRequest&, const CreateMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTemplateResult> CreateTemplateOutcome;
|
||||
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateTemplateRequest&, const CreateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMPULayoutResult> CreateMPULayoutOutcome;
|
||||
typedef std::future<CreateMPULayoutOutcome> CreateMPULayoutOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateMPULayoutRequest&, const CreateMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMPULayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMPURuleResult> CreateMPURuleOutcome;
|
||||
typedef std::future<CreateMPURuleOutcome> CreateMPURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateMPURuleRequest&, const CreateMPURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMPURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceLinkedRoleForRtcResult> CreateServiceLinkedRoleForRtcOutcome;
|
||||
typedef std::future<CreateServiceLinkedRoleForRtcOutcome> CreateServiceLinkedRoleForRtcOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateServiceLinkedRoleForRtcRequest&, const CreateServiceLinkedRoleForRtcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceLinkedRoleForRtcAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteChannelResult> DeleteChannelOutcome;
|
||||
typedef std::future<DeleteChannelOutcome> DeleteChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteChannelRequest&, const DeleteChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteChannelAsyncHandler;
|
||||
@@ -142,9 +179,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteMAURuleResult> DeleteMAURuleOutcome;
|
||||
typedef std::future<DeleteMAURuleOutcome> DeleteMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteMAURuleRequest&, const DeleteMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTemplateResult> DeleteTemplateOutcome;
|
||||
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteTemplateRequest&, const DeleteTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMPULayoutResult> DeleteMPULayoutOutcome;
|
||||
typedef std::future<DeleteMPULayoutOutcome> DeleteMPULayoutOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteMPULayoutRequest&, const DeleteMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMPULayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMPURuleResult> DeleteMPURuleOutcome;
|
||||
typedef std::future<DeleteMPURuleOutcome> DeleteMPURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteMPURuleRequest&, const DeleteMPURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMPURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRecordTemplateResult> DeleteRecordTemplateOutcome;
|
||||
typedef std::future<DeleteRecordTemplateOutcome> DeleteRecordTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteRecordTemplateRequest&, const DeleteRecordTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRecordTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAppsResult> DescribeAppsOutcome;
|
||||
typedef std::future<DescribeAppsOutcome> DescribeAppsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeAppsRequest&, const DescribeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppsAsyncHandler;
|
||||
@@ -160,9 +203,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeMAURuleResult> DescribeMAURuleOutcome;
|
||||
typedef std::future<DescribeMAURuleOutcome> DescribeMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeMAURuleRequest&, const DescribeMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMPULayoutInfoResult> DescribeMPULayoutInfoOutcome;
|
||||
typedef std::future<DescribeMPULayoutInfoOutcome> DescribeMPULayoutInfoOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeMPULayoutInfoRequest&, const DescribeMPULayoutInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMPULayoutInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMPULayoutInfoListResult> DescribeMPULayoutInfoListOutcome;
|
||||
typedef std::future<DescribeMPULayoutInfoListOutcome> DescribeMPULayoutInfoListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeMPULayoutInfoListRequest&, const DescribeMPULayoutInfoListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMPULayoutInfoListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMPULayoutListResult> DescribeMPULayoutListOutcome;
|
||||
typedef std::future<DescribeMPULayoutListOutcome> DescribeMPULayoutListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeMPULayoutListRequest&, const DescribeMPULayoutListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMPULayoutListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMPURuleResult> DescribeMPURuleOutcome;
|
||||
typedef std::future<DescribeMPURuleOutcome> DescribeMPURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeMPURuleRequest&, const DescribeMPURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMPURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRTCAppKeyResult> DescribeRTCAppKeyOutcome;
|
||||
typedef std::future<DescribeRTCAppKeyOutcome> DescribeRTCAppKeyOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRTCAppKeyRequest&, const DescribeRTCAppKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRTCAppKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRecordTemplatesResult> DescribeRecordTemplatesOutcome;
|
||||
typedef std::future<DescribeRecordTemplatesOutcome> DescribeRecordTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordTemplatesRequest&, const DescribeRecordTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelCntDataResult> DescribeRtcChannelCntDataOutcome;
|
||||
typedef std::future<DescribeRtcChannelCntDataOutcome> DescribeRtcChannelCntDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelCntDataRequest&, const DescribeRtcChannelCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelCntDataAsyncHandler;
|
||||
@@ -199,21 +257,27 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DisableMAURuleResult> DisableMAURuleOutcome;
|
||||
typedef std::future<DisableMAURuleOutcome> DisableMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DisableMAURuleRequest&, const DisableMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableMPURuleResult> DisableMPURuleOutcome;
|
||||
typedef std::future<DisableMPURuleOutcome> DisableMPURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DisableMPURuleRequest&, const DisableMPURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableMPURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableMAURuleResult> EnableMAURuleOutcome;
|
||||
typedef std::future<EnableMAURuleOutcome> EnableMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::EnableMAURuleRequest&, const EnableMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableMPURuleResult> EnableMPURuleOutcome;
|
||||
typedef std::future<EnableMPURuleOutcome> EnableMPURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::EnableMPURuleRequest&, const EnableMPURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableMPURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMPUTaskStatusResult> GetMPUTaskStatusOutcome;
|
||||
typedef std::future<GetMPUTaskStatusOutcome> GetMPUTaskStatusOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetMPUTaskStatusRequest&, const GetMPUTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMPUTaskStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTaskStatusResult> GetTaskStatusOutcome;
|
||||
typedef std::future<GetTaskStatusOutcome> GetTaskStatusOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetTaskStatusRequest&, const GetTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAppResult> ModifyAppOutcome;
|
||||
typedef std::future<ModifyAppOutcome> ModifyAppOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::ModifyAppRequest&, const ModifyAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyConferenceResult> ModifyConferenceOutcome;
|
||||
typedef std::future<ModifyConferenceOutcome> ModifyConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::ModifyConferenceRequest&, const ModifyConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyMPULayoutResult> ModifyMPULayoutOutcome;
|
||||
typedef std::future<ModifyMPULayoutOutcome> ModifyMPULayoutOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::ModifyMPULayoutRequest&, const ModifyMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMPULayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::MuteAudioResult> MuteAudioOutcome;
|
||||
typedef std::future<MuteAudioOutcome> MuteAudioOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::MuteAudioRequest&, const MuteAudioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MuteAudioAsyncHandler;
|
||||
@@ -235,15 +299,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartMPUTaskResult> StartMPUTaskOutcome;
|
||||
typedef std::future<StartMPUTaskOutcome> StartMPUTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StartMPUTaskRequest&, const StartMPUTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMPUTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartTaskResult> StartTaskOutcome;
|
||||
typedef std::future<StartTaskOutcome> StartTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StartTaskRequest&, const StartTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartRecordTaskResult> StartRecordTaskOutcome;
|
||||
typedef std::future<StartRecordTaskOutcome> StartRecordTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StartRecordTaskRequest&, const StartRecordTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartRecordTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopChannelUserPublishResult> StopChannelUserPublishOutcome;
|
||||
typedef std::future<StopChannelUserPublishOutcome> StopChannelUserPublishOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopChannelUserPublishRequest&, const StopChannelUserPublishOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopChannelUserPublishAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMPUTaskResult> StopMPUTaskOutcome;
|
||||
typedef std::future<StopMPUTaskOutcome> StopMPUTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopMPUTaskRequest&, const StopMPUTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMPUTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopTaskResult> StopTaskOutcome;
|
||||
typedef std::future<StopTaskOutcome> StopTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopTaskRequest&, const StopTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopRecordTaskResult> StopRecordTaskOutcome;
|
||||
typedef std::future<StopRecordTaskOutcome> StopRecordTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopRecordTaskRequest&, const StopRecordTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopRecordTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnmuteAudioResult> UnmuteAudioOutcome;
|
||||
typedef std::future<UnmuteAudioOutcome> UnmuteAudioOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UnmuteAudioRequest&, const UnmuteAudioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnmuteAudioAsyncHandler;
|
||||
@@ -256,11 +323,17 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateMPULayoutResult> UpdateMPULayoutOutcome;
|
||||
typedef std::future<UpdateMPULayoutOutcome> UpdateMPULayoutOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateMPULayoutRequest&, const UpdateMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMPULayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateRecordTemplateResult> UpdateRecordTemplateOutcome;
|
||||
typedef std::future<UpdateRecordTemplateOutcome> UpdateRecordTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateRecordTemplateRequest&, const UpdateRecordTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRecordTemplateAsyncHandler;
|
||||
|
||||
RtcClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
RtcClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
RtcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~RtcClient();
|
||||
AddRecordTemplateOutcome addRecordTemplate(const Model::AddRecordTemplateRequest &request)const;
|
||||
void addRecordTemplateAsync(const Model::AddRecordTemplateRequest& request, const AddRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddRecordTemplateOutcomeCallable addRecordTemplateCallable(const Model::AddRecordTemplateRequest& request) const;
|
||||
CreateChannelOutcome createChannel(const Model::CreateChannelRequest &request)const;
|
||||
void createChannelAsync(const Model::CreateChannelRequest& request, const CreateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateChannelOutcomeCallable createChannelCallable(const Model::CreateChannelRequest& request) const;
|
||||
@@ -270,9 +343,15 @@ namespace AlibabaCloud
|
||||
CreateMAURuleOutcome createMAURule(const Model::CreateMAURuleRequest &request)const;
|
||||
void createMAURuleAsync(const Model::CreateMAURuleRequest& request, const CreateMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMAURuleOutcomeCallable createMAURuleCallable(const Model::CreateMAURuleRequest& request) const;
|
||||
CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const;
|
||||
void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const;
|
||||
CreateMPULayoutOutcome createMPULayout(const Model::CreateMPULayoutRequest &request)const;
|
||||
void createMPULayoutAsync(const Model::CreateMPULayoutRequest& request, const CreateMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMPULayoutOutcomeCallable createMPULayoutCallable(const Model::CreateMPULayoutRequest& request) const;
|
||||
CreateMPURuleOutcome createMPURule(const Model::CreateMPURuleRequest &request)const;
|
||||
void createMPURuleAsync(const Model::CreateMPURuleRequest& request, const CreateMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMPURuleOutcomeCallable createMPURuleCallable(const Model::CreateMPURuleRequest& request) const;
|
||||
CreateServiceLinkedRoleForRtcOutcome createServiceLinkedRoleForRtc(const Model::CreateServiceLinkedRoleForRtcRequest &request)const;
|
||||
void createServiceLinkedRoleForRtcAsync(const Model::CreateServiceLinkedRoleForRtcRequest& request, const CreateServiceLinkedRoleForRtcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceLinkedRoleForRtcOutcomeCallable createServiceLinkedRoleForRtcCallable(const Model::CreateServiceLinkedRoleForRtcRequest& request) const;
|
||||
DeleteChannelOutcome deleteChannel(const Model::DeleteChannelRequest &request)const;
|
||||
void deleteChannelAsync(const Model::DeleteChannelRequest& request, const DeleteChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteChannelOutcomeCallable deleteChannelCallable(const Model::DeleteChannelRequest& request) const;
|
||||
@@ -282,9 +361,15 @@ namespace AlibabaCloud
|
||||
DeleteMAURuleOutcome deleteMAURule(const Model::DeleteMAURuleRequest &request)const;
|
||||
void deleteMAURuleAsync(const Model::DeleteMAURuleRequest& request, const DeleteMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMAURuleOutcomeCallable deleteMAURuleCallable(const Model::DeleteMAURuleRequest& request) const;
|
||||
DeleteTemplateOutcome deleteTemplate(const Model::DeleteTemplateRequest &request)const;
|
||||
void deleteTemplateAsync(const Model::DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTemplateOutcomeCallable deleteTemplateCallable(const Model::DeleteTemplateRequest& request) const;
|
||||
DeleteMPULayoutOutcome deleteMPULayout(const Model::DeleteMPULayoutRequest &request)const;
|
||||
void deleteMPULayoutAsync(const Model::DeleteMPULayoutRequest& request, const DeleteMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMPULayoutOutcomeCallable deleteMPULayoutCallable(const Model::DeleteMPULayoutRequest& request) const;
|
||||
DeleteMPURuleOutcome deleteMPURule(const Model::DeleteMPURuleRequest &request)const;
|
||||
void deleteMPURuleAsync(const Model::DeleteMPURuleRequest& request, const DeleteMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMPURuleOutcomeCallable deleteMPURuleCallable(const Model::DeleteMPURuleRequest& request) const;
|
||||
DeleteRecordTemplateOutcome deleteRecordTemplate(const Model::DeleteRecordTemplateRequest &request)const;
|
||||
void deleteRecordTemplateAsync(const Model::DeleteRecordTemplateRequest& request, const DeleteRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRecordTemplateOutcomeCallable deleteRecordTemplateCallable(const Model::DeleteRecordTemplateRequest& request) const;
|
||||
DescribeAppsOutcome describeApps(const Model::DescribeAppsRequest &request)const;
|
||||
void describeAppsAsync(const Model::DescribeAppsRequest& request, const DescribeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAppsOutcomeCallable describeAppsCallable(const Model::DescribeAppsRequest& request) const;
|
||||
@@ -300,9 +385,24 @@ namespace AlibabaCloud
|
||||
DescribeMAURuleOutcome describeMAURule(const Model::DescribeMAURuleRequest &request)const;
|
||||
void describeMAURuleAsync(const Model::DescribeMAURuleRequest& request, const DescribeMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMAURuleOutcomeCallable describeMAURuleCallable(const Model::DescribeMAURuleRequest& request) const;
|
||||
DescribeMPULayoutInfoOutcome describeMPULayoutInfo(const Model::DescribeMPULayoutInfoRequest &request)const;
|
||||
void describeMPULayoutInfoAsync(const Model::DescribeMPULayoutInfoRequest& request, const DescribeMPULayoutInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMPULayoutInfoOutcomeCallable describeMPULayoutInfoCallable(const Model::DescribeMPULayoutInfoRequest& request) const;
|
||||
DescribeMPULayoutInfoListOutcome describeMPULayoutInfoList(const Model::DescribeMPULayoutInfoListRequest &request)const;
|
||||
void describeMPULayoutInfoListAsync(const Model::DescribeMPULayoutInfoListRequest& request, const DescribeMPULayoutInfoListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMPULayoutInfoListOutcomeCallable describeMPULayoutInfoListCallable(const Model::DescribeMPULayoutInfoListRequest& request) const;
|
||||
DescribeMPULayoutListOutcome describeMPULayoutList(const Model::DescribeMPULayoutListRequest &request)const;
|
||||
void describeMPULayoutListAsync(const Model::DescribeMPULayoutListRequest& request, const DescribeMPULayoutListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMPULayoutListOutcomeCallable describeMPULayoutListCallable(const Model::DescribeMPULayoutListRequest& request) const;
|
||||
DescribeMPURuleOutcome describeMPURule(const Model::DescribeMPURuleRequest &request)const;
|
||||
void describeMPURuleAsync(const Model::DescribeMPURuleRequest& request, const DescribeMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMPURuleOutcomeCallable describeMPURuleCallable(const Model::DescribeMPURuleRequest& request) const;
|
||||
DescribeRTCAppKeyOutcome describeRTCAppKey(const Model::DescribeRTCAppKeyRequest &request)const;
|
||||
void describeRTCAppKeyAsync(const Model::DescribeRTCAppKeyRequest& request, const DescribeRTCAppKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRTCAppKeyOutcomeCallable describeRTCAppKeyCallable(const Model::DescribeRTCAppKeyRequest& request) const;
|
||||
DescribeRecordTemplatesOutcome describeRecordTemplates(const Model::DescribeRecordTemplatesRequest &request)const;
|
||||
void describeRecordTemplatesAsync(const Model::DescribeRecordTemplatesRequest& request, const DescribeRecordTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordTemplatesOutcomeCallable describeRecordTemplatesCallable(const Model::DescribeRecordTemplatesRequest& request) const;
|
||||
DescribeRtcChannelCntDataOutcome describeRtcChannelCntData(const Model::DescribeRtcChannelCntDataRequest &request)const;
|
||||
void describeRtcChannelCntDataAsync(const Model::DescribeRtcChannelCntDataRequest& request, const DescribeRtcChannelCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelCntDataOutcomeCallable describeRtcChannelCntDataCallable(const Model::DescribeRtcChannelCntDataRequest& request) const;
|
||||
@@ -339,21 +439,27 @@ namespace AlibabaCloud
|
||||
DisableMAURuleOutcome disableMAURule(const Model::DisableMAURuleRequest &request)const;
|
||||
void disableMAURuleAsync(const Model::DisableMAURuleRequest& request, const DisableMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableMAURuleOutcomeCallable disableMAURuleCallable(const Model::DisableMAURuleRequest& request) const;
|
||||
DisableMPURuleOutcome disableMPURule(const Model::DisableMPURuleRequest &request)const;
|
||||
void disableMPURuleAsync(const Model::DisableMPURuleRequest& request, const DisableMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableMPURuleOutcomeCallable disableMPURuleCallable(const Model::DisableMPURuleRequest& request) const;
|
||||
EnableMAURuleOutcome enableMAURule(const Model::EnableMAURuleRequest &request)const;
|
||||
void enableMAURuleAsync(const Model::EnableMAURuleRequest& request, const EnableMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableMAURuleOutcomeCallable enableMAURuleCallable(const Model::EnableMAURuleRequest& request) const;
|
||||
EnableMPURuleOutcome enableMPURule(const Model::EnableMPURuleRequest &request)const;
|
||||
void enableMPURuleAsync(const Model::EnableMPURuleRequest& request, const EnableMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableMPURuleOutcomeCallable enableMPURuleCallable(const Model::EnableMPURuleRequest& request) const;
|
||||
GetMPUTaskStatusOutcome getMPUTaskStatus(const Model::GetMPUTaskStatusRequest &request)const;
|
||||
void getMPUTaskStatusAsync(const Model::GetMPUTaskStatusRequest& request, const GetMPUTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMPUTaskStatusOutcomeCallable getMPUTaskStatusCallable(const Model::GetMPUTaskStatusRequest& request) const;
|
||||
GetTaskStatusOutcome getTaskStatus(const Model::GetTaskStatusRequest &request)const;
|
||||
void getTaskStatusAsync(const Model::GetTaskStatusRequest& request, const GetTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTaskStatusOutcomeCallable getTaskStatusCallable(const Model::GetTaskStatusRequest& request) const;
|
||||
ModifyAppOutcome modifyApp(const Model::ModifyAppRequest &request)const;
|
||||
void modifyAppAsync(const Model::ModifyAppRequest& request, const ModifyAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAppOutcomeCallable modifyAppCallable(const Model::ModifyAppRequest& request) const;
|
||||
ModifyConferenceOutcome modifyConference(const Model::ModifyConferenceRequest &request)const;
|
||||
void modifyConferenceAsync(const Model::ModifyConferenceRequest& request, const ModifyConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyConferenceOutcomeCallable modifyConferenceCallable(const Model::ModifyConferenceRequest& request) const;
|
||||
ModifyMPULayoutOutcome modifyMPULayout(const Model::ModifyMPULayoutRequest &request)const;
|
||||
void modifyMPULayoutAsync(const Model::ModifyMPULayoutRequest& request, const ModifyMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyMPULayoutOutcomeCallable modifyMPULayoutCallable(const Model::ModifyMPULayoutRequest& request) const;
|
||||
MuteAudioOutcome muteAudio(const Model::MuteAudioRequest &request)const;
|
||||
void muteAudioAsync(const Model::MuteAudioRequest& request, const MuteAudioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MuteAudioOutcomeCallable muteAudioCallable(const Model::MuteAudioRequest& request) const;
|
||||
@@ -375,15 +481,18 @@ namespace AlibabaCloud
|
||||
StartMPUTaskOutcome startMPUTask(const Model::StartMPUTaskRequest &request)const;
|
||||
void startMPUTaskAsync(const Model::StartMPUTaskRequest& request, const StartMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMPUTaskOutcomeCallable startMPUTaskCallable(const Model::StartMPUTaskRequest& request) const;
|
||||
StartTaskOutcome startTask(const Model::StartTaskRequest &request)const;
|
||||
void startTaskAsync(const Model::StartTaskRequest& request, const StartTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartTaskOutcomeCallable startTaskCallable(const Model::StartTaskRequest& request) const;
|
||||
StartRecordTaskOutcome startRecordTask(const Model::StartRecordTaskRequest &request)const;
|
||||
void startRecordTaskAsync(const Model::StartRecordTaskRequest& request, const StartRecordTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartRecordTaskOutcomeCallable startRecordTaskCallable(const Model::StartRecordTaskRequest& request) const;
|
||||
StopChannelUserPublishOutcome stopChannelUserPublish(const Model::StopChannelUserPublishRequest &request)const;
|
||||
void stopChannelUserPublishAsync(const Model::StopChannelUserPublishRequest& request, const StopChannelUserPublishAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopChannelUserPublishOutcomeCallable stopChannelUserPublishCallable(const Model::StopChannelUserPublishRequest& request) const;
|
||||
StopMPUTaskOutcome stopMPUTask(const Model::StopMPUTaskRequest &request)const;
|
||||
void stopMPUTaskAsync(const Model::StopMPUTaskRequest& request, const StopMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMPUTaskOutcomeCallable stopMPUTaskCallable(const Model::StopMPUTaskRequest& request) const;
|
||||
StopTaskOutcome stopTask(const Model::StopTaskRequest &request)const;
|
||||
void stopTaskAsync(const Model::StopTaskRequest& request, const StopTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopTaskOutcomeCallable stopTaskCallable(const Model::StopTaskRequest& request) const;
|
||||
StopRecordTaskOutcome stopRecordTask(const Model::StopRecordTaskRequest &request)const;
|
||||
void stopRecordTaskAsync(const Model::StopRecordTaskRequest& request, const StopRecordTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopRecordTaskOutcomeCallable stopRecordTaskCallable(const Model::StopRecordTaskRequest& request) const;
|
||||
UnmuteAudioOutcome unmuteAudio(const Model::UnmuteAudioRequest &request)const;
|
||||
void unmuteAudioAsync(const Model::UnmuteAudioRequest& request, const UnmuteAudioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnmuteAudioOutcomeCallable unmuteAudioCallable(const Model::UnmuteAudioRequest& request) const;
|
||||
@@ -396,6 +505,9 @@ namespace AlibabaCloud
|
||||
UpdateMPULayoutOutcome updateMPULayout(const Model::UpdateMPULayoutRequest &request)const;
|
||||
void updateMPULayoutAsync(const Model::UpdateMPULayoutRequest& request, const UpdateMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMPULayoutOutcomeCallable updateMPULayoutCallable(const Model::UpdateMPULayoutRequest& request) const;
|
||||
UpdateRecordTemplateOutcome updateRecordTemplate(const Model::UpdateRecordTemplateRequest &request)const;
|
||||
void updateRecordTemplateAsync(const Model::UpdateRecordTemplateRequest& request, const UpdateRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateRecordTemplateOutcomeCallable updateRecordTemplateCallable(const Model::UpdateRecordTemplateRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_ADDRECORDTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_ADDRECORDTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT AddRecordTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddRecordTemplateRequest();
|
||||
~AddRecordTemplateRequest();
|
||||
|
||||
std::vector<std::string> getFormats()const;
|
||||
void setFormats(const std::vector<std::string>& formats);
|
||||
std::string getOssFilePrefix()const;
|
||||
void setOssFilePrefix(const std::string& ossFilePrefix);
|
||||
int getBackgroundColor()const;
|
||||
void setBackgroundColor(int backgroundColor);
|
||||
std::string getTaskProfile()const;
|
||||
void setTaskProfile(const std::string& taskProfile);
|
||||
std::vector<long> getLayoutIds()const;
|
||||
void setLayoutIds(const std::vector<long>& layoutIds);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getOssBucket()const;
|
||||
void setOssBucket(const std::string& ossBucket);
|
||||
std::string getMnsQueue()const;
|
||||
void setMnsQueue(const std::string& mnsQueue);
|
||||
int getFileSplitInterval()const;
|
||||
void setFileSplitInterval(int fileSplitInterval);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
int getMediaEncode()const;
|
||||
void setMediaEncode(int mediaEncode);
|
||||
|
||||
private:
|
||||
std::vector<std::string> formats_;
|
||||
std::string ossFilePrefix_;
|
||||
int backgroundColor_;
|
||||
std::string taskProfile_;
|
||||
std::vector<long> layoutIds_;
|
||||
std::string showLog_;
|
||||
std::string ossBucket_;
|
||||
std::string mnsQueue_;
|
||||
int fileSplitInterval_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string name_;
|
||||
int mediaEncode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_ADDRECORDTEMPLATEREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/AddRecordTemplateResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/AddRecordTemplateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_ADDRECORDTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_ADDRECORDTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT AddRecordTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddRecordTemplateResult();
|
||||
explicit AddRecordTemplateResult(const std::string &payload);
|
||||
~AddRecordTemplateResult();
|
||||
std::string getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_ADDRECORDTEMPLATERESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
CreateChannelRequest();
|
||||
~CreateChannelRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setType(const std::string& type);
|
||||
std::string getConferenceName()const;
|
||||
void setConferenceName(const std::string& conferenceName);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
std::string startTime_;
|
||||
std::string type_;
|
||||
std::string conferenceName_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
int remindNotice_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setUseridPrefix(const std::string& useridPrefix);
|
||||
std::string getChannelPrefix()const;
|
||||
void setChannelPrefix(const std::string& channelPrefix);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getMauTemplateId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string useridPrefix_;
|
||||
std::string channelPrefix_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
long mauTemplateId_;
|
||||
std::string appId_;
|
||||
|
||||
71
rtc/include/alibabacloud/rtc/model/CreateMPULayoutRequest.h
Normal file
71
rtc/include/alibabacloud/rtc/model/CreateMPULayoutRequest.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateMPULayoutRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Panes
|
||||
{
|
||||
int paneId;
|
||||
int majorPane;
|
||||
float x;
|
||||
float y;
|
||||
float width;
|
||||
float height;
|
||||
int zOrder;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateMPULayoutRequest();
|
||||
~CreateMPULayoutRequest();
|
||||
|
||||
std::vector<Panes> getPanes()const;
|
||||
void setPanes(const std::vector<Panes>& panes);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
int getAudioMixCount()const;
|
||||
void setAudioMixCount(int audioMixCount);
|
||||
|
||||
private:
|
||||
std::vector<Panes> panes_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
int audioMixCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/CreateMPULayoutResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/CreateMPULayoutResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateMPULayoutResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateMPULayoutResult();
|
||||
explicit CreateMPULayoutResult(const std::string &payload);
|
||||
~CreateMPULayoutResult();
|
||||
long getLayoutId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long layoutId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTRESULT_H_
|
||||
78
rtc/include/alibabacloud/rtc/model/CreateMPURuleRequest.h
Normal file
78
rtc/include/alibabacloud/rtc/model/CreateMPURuleRequest.h
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATEMPURULEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATEMPURULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateMPURuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateMPURuleRequest();
|
||||
~CreateMPURuleRequest();
|
||||
|
||||
int getBackgroundColor()const;
|
||||
void setBackgroundColor(int backgroundColor);
|
||||
int getCropMode()const;
|
||||
void setCropMode(int cropMode);
|
||||
std::string getChannelPrefix()const;
|
||||
void setChannelPrefix(const std::string& channelPrefix);
|
||||
std::string getTaskProfile()const;
|
||||
void setTaskProfile(const std::string& taskProfile);
|
||||
std::vector<long> getLayoutIds()const;
|
||||
void setLayoutIds(const std::vector<long>& layoutIds);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getPlayDomain()const;
|
||||
void setPlayDomain(const std::string& playDomain);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
int getMediaEncode()const;
|
||||
void setMediaEncode(int mediaEncode);
|
||||
std::string getCallBack()const;
|
||||
void setCallBack(const std::string& callBack);
|
||||
|
||||
private:
|
||||
int backgroundColor_;
|
||||
int cropMode_;
|
||||
std::string channelPrefix_;
|
||||
std::string taskProfile_;
|
||||
std::vector<long> layoutIds_;
|
||||
std::string showLog_;
|
||||
std::string playDomain_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
int mediaEncode_;
|
||||
std::string callBack_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATEMPURULEREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/CreateMPURuleResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/CreateMPURuleResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATEMPURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATEMPURULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateMPURuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateMPURuleResult();
|
||||
explicit CreateMPURuleResult(const std::string &payload);
|
||||
~CreateMPURuleResult();
|
||||
long getRuleId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long ruleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATEMPURULERESULT_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_RTC_MODEL_CREATESERVICELINKEDROLEFORRTCREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATESERVICELINKEDROLEFORRTCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateServiceLinkedRoleForRtcRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateServiceLinkedRoleForRtcRequest();
|
||||
~CreateServiceLinkedRoleForRtcRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATESERVICELINKEDROLEFORRTCREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATESERVICELINKEDROLEFORRTCRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATESERVICELINKEDROLEFORRTCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateServiceLinkedRoleForRtcResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateServiceLinkedRoleForRtcResult();
|
||||
explicit CreateServiceLinkedRoleForRtcResult(const std::string &payload);
|
||||
~CreateServiceLinkedRoleForRtcResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATESERVICELINKEDROLEFORRTCRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATETEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATETEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct LiveConfig
|
||||
{
|
||||
std::string domainName;
|
||||
std::string appName;
|
||||
};
|
||||
struct RecordConfig
|
||||
{
|
||||
std::string storageType;
|
||||
int fileFormat;
|
||||
std::string ossEndPoint;
|
||||
std::string ossBucket;
|
||||
int vodTransCodeGroupId;
|
||||
};
|
||||
struct LayOut
|
||||
{
|
||||
std::string color;
|
||||
int cutMode;
|
||||
int layOutId;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateTemplateRequest();
|
||||
~CreateTemplateRequest();
|
||||
|
||||
int getServiceMode()const;
|
||||
void setServiceMode(int serviceMode);
|
||||
std::vector<LiveConfig> getLiveConfig()const;
|
||||
void setLiveConfig(const std::vector<LiveConfig>& liveConfig);
|
||||
int getMediaConfig()const;
|
||||
void setMediaConfig(int mediaConfig);
|
||||
int getMaxMixStreamCount()const;
|
||||
void setMaxMixStreamCount(int maxMixStreamCount);
|
||||
std::vector<RecordConfig> getRecordConfig()const;
|
||||
void setRecordConfig(const std::vector<RecordConfig>& recordConfig);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<LayOut> getLayOut()const;
|
||||
void setLayOut(const std::vector<LayOut>& layOut);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallBack()const;
|
||||
void setCallBack(const std::string& callBack);
|
||||
int getMixMode()const;
|
||||
void setMixMode(int mixMode);
|
||||
|
||||
private:
|
||||
int serviceMode_;
|
||||
std::vector<LiveConfig> liveConfig_;
|
||||
int mediaConfig_;
|
||||
int maxMixStreamCount_;
|
||||
std::vector<RecordConfig> recordConfig_;
|
||||
long ownerId_;
|
||||
std::vector<LayOut> layOut_;
|
||||
std::string appId_;
|
||||
std::string callBack_;
|
||||
int mixMode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATETEMPLATEREQUEST_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DeleteChannelRequest();
|
||||
~DeleteChannelRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getConferenceId()const;
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -44,6 +46,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string conferenceId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DeleteMAURuleRequest();
|
||||
~DeleteMAURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setRuleId(long ruleId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
long ruleId_;
|
||||
|
||||
57
rtc/include/alibabacloud/rtc/model/DeleteMPULayoutRequest.h
Normal file
57
rtc/include/alibabacloud/rtc/model/DeleteMPULayoutRequest.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_RTC_MODEL_DELETEMPULAYOUTREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETEMPULAYOUTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteMPULayoutRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMPULayoutRequest();
|
||||
~DeleteMPULayoutRequest();
|
||||
|
||||
long getLayoutId()const;
|
||||
void setLayoutId(long layoutId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
long layoutId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMPULAYOUTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STARTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STARTTASKRESULT_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETEMPULAYOUTRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETEMPULAYOUTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StartTaskResult : public ServiceResult
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteMPULayoutResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartTaskResult();
|
||||
explicit StartTaskResult(const std::string &payload);
|
||||
~StartTaskResult();
|
||||
long getTaskId()const;
|
||||
DeleteMPULayoutResult();
|
||||
explicit DeleteMPULayoutResult(const std::string &payload);
|
||||
~DeleteMPULayoutResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STARTTASKRESULT_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMPULAYOUTRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETEMPURULEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETEMPURULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT GetTaskStatusRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteMPURuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTaskStatusRequest();
|
||||
~GetTaskStatusRequest();
|
||||
DeleteMPURuleRequest();
|
||||
~DeleteMPURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
long getRuleId()const;
|
||||
void setRuleId(long ruleId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
long taskId_;
|
||||
long ruleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMPURULEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STOPTASKRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPTASKRESULT_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETEMPURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETEMPURULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StopTaskResult : public ServiceResult
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteMPURuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopTaskResult();
|
||||
explicit StopTaskResult(const std::string &payload);
|
||||
~StopTaskResult();
|
||||
DeleteMPURuleResult();
|
||||
explicit DeleteMPURuleResult(const std::string &payload);
|
||||
~DeleteMPURuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPTASKRESULT_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMPURULERESULT_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_RTC_MODEL_DELETERECORDTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETERECORDTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteRecordTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteRecordTemplateRequest();
|
||||
~DeleteRecordTemplateRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETERECORDTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETERECORDTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETERECORDTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteRecordTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRecordTemplateResult();
|
||||
explicit DeleteRecordTemplateResult(const std::string &payload);
|
||||
~DeleteRecordTemplateResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETERECORDTEMPLATERESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
long getOwnerId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
std::string showLog_;
|
||||
std::string order_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
long getOwnerId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
std::string showLog_;
|
||||
std::string order_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeChannelUsersRequest();
|
||||
~DescribeChannelUsersRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -35,16 +35,19 @@ namespace AlibabaCloud
|
||||
DescribeConferenceAuthInfoRequest();
|
||||
~DescribeConferenceAuthInfoRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getConferenceId()const;
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string conferenceId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,12 +35,15 @@ namespace AlibabaCloud
|
||||
DescribeMAURuleRequest();
|
||||
~DescribeMAURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPULayoutInfoListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeMPULayoutInfoListRequest();
|
||||
~DescribeMPULayoutInfoListRequest();
|
||||
|
||||
long getPageNum()const;
|
||||
void setPageNum(long pageNum);
|
||||
long getLayoutId()const;
|
||||
void setLayoutId(long layoutId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long pageNum_;
|
||||
long layoutId_;
|
||||
long pageSize_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOLISTREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOLISTRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPULayoutInfoListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Layout
|
||||
{
|
||||
struct PanesItem
|
||||
{
|
||||
int majorPane;
|
||||
int zOrder;
|
||||
float x;
|
||||
float y;
|
||||
float height;
|
||||
int paneId;
|
||||
float width;
|
||||
};
|
||||
int audioMixCount;
|
||||
long layoutId;
|
||||
std::vector<Layout::PanesItem> panes;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeMPULayoutInfoListResult();
|
||||
explicit DescribeMPULayoutInfoListResult(const std::string &payload);
|
||||
~DescribeMPULayoutInfoListResult();
|
||||
long getTotalNum()const;
|
||||
std::vector<Layout> getLayouts()const;
|
||||
long getTotalPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
std::vector<Layout> layouts_;
|
||||
long totalPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOLISTRESULT_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_RTC_MODEL_DESCRIBEMPULAYOUTINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPULayoutInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeMPULayoutInfoRequest();
|
||||
~DescribeMPULayoutInfoRequest();
|
||||
|
||||
long getLayoutId()const;
|
||||
void setLayoutId(long layoutId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
long layoutId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFOREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFORESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPULayoutInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Layout
|
||||
{
|
||||
struct PanesItem
|
||||
{
|
||||
int majorPane;
|
||||
int zOrder;
|
||||
float x;
|
||||
float y;
|
||||
float height;
|
||||
int paneId;
|
||||
float width;
|
||||
};
|
||||
int audioMixCount;
|
||||
long layoutId;
|
||||
std::vector<PanesItem> panes;
|
||||
};
|
||||
|
||||
|
||||
DescribeMPULayoutInfoResult();
|
||||
explicit DescribeMPULayoutInfoResult(const std::string &payload);
|
||||
~DescribeMPULayoutInfoResult();
|
||||
Layout getLayout()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Layout layout_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTINFORESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STOPTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPTASKREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StopTaskRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPULayoutListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopTaskRequest();
|
||||
~StopTaskRequest();
|
||||
DescribeMPULayoutListRequest();
|
||||
~DescribeMPULayoutListRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPTASKREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTLISTREQUEST_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_RTC_MODEL_DESCRIBEMPULAYOUTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPULayoutListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeMPULayoutListResult();
|
||||
explicit DescribeMPULayoutListResult(const std::string &payload);
|
||||
~DescribeMPULayoutListResult();
|
||||
std::vector<std::string> getLayoutIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> layoutIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPULAYOUTLISTRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETETEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETETEMPLATEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEMPURULEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPURULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,27 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteTemplateRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPURuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTemplateRequest();
|
||||
~DeleteTemplateRequest();
|
||||
DescribeMPURuleRequest();
|
||||
~DescribeMPURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
long templateId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETETEMPLATEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPURULEREQUEST_H_
|
||||
64
rtc/include/alibabacloud/rtc/model/DescribeMPURuleResult.h
Normal file
64
rtc/include/alibabacloud/rtc/model/DescribeMPURuleResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEMPURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMPURULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeMPURuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Rule
|
||||
{
|
||||
std::string channelPrefix;
|
||||
int backgroudColor;
|
||||
int isEnable;
|
||||
std::string callBack;
|
||||
std::string taskProfile;
|
||||
std::string playDomain;
|
||||
long ruleId;
|
||||
int mediaEncode;
|
||||
std::vector<std::string> layoutIds;
|
||||
int cropMode;
|
||||
};
|
||||
|
||||
|
||||
DescribeMPURuleResult();
|
||||
explicit DescribeMPURuleResult(const std::string &payload);
|
||||
~DescribeMPURuleResult();
|
||||
std::vector<Rule> getRules()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Rule> rules_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMPURULERESULT_H_
|
||||
@@ -35,12 +35,15 @@ namespace AlibabaCloud
|
||||
DescribeRTCAppKeyRequest();
|
||||
~DescribeRTCAppKeyRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTEMPLATESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRecordTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRecordTemplatesRequest();
|
||||
~DescribeRecordTemplatesRequest();
|
||||
|
||||
std::vector<std::string> getTemplateIds()const;
|
||||
void setTemplateIds(const std::vector<std::string>& templateIds);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
std::vector<std::string> templateIds_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTEMPLATESREQUEST_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_RTC_MODEL_DESCRIBERECORDTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTEMPLATESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRecordTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Template
|
||||
{
|
||||
int fileSplitInterval;
|
||||
std::string ossFilePrefix;
|
||||
std::string taskProfile;
|
||||
std::string createTime;
|
||||
std::string ossBucket;
|
||||
int mediaEncode;
|
||||
std::vector<std::string> layoutIds;
|
||||
std::vector<std::string> formats;
|
||||
std::string templateId;
|
||||
std::string mnsQueue;
|
||||
std::string name;
|
||||
int backgroundColor;
|
||||
};
|
||||
|
||||
|
||||
DescribeRecordTemplatesResult();
|
||||
explicit DescribeRecordTemplatesResult(const std::string &payload);
|
||||
~DescribeRecordTemplatesResult();
|
||||
long getTotalNum()const;
|
||||
long getTotalPage()const;
|
||||
std::vector<_Template> getTemplates()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long totalPage_;
|
||||
std::vector<_Template> templates_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTEMPLATESRESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string serviceArea_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getPageNo()const;
|
||||
@@ -59,6 +61,7 @@ namespace AlibabaCloud
|
||||
std::string userId_;
|
||||
std::string serviceArea_;
|
||||
long pageSize_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
long pageNo_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeRtcChannelMetricRequest();
|
||||
~DescribeRtcChannelMetricRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -45,6 +47,7 @@ namespace AlibabaCloud
|
||||
void setTimePoint(const std::string& timePoint);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getPageNo()const;
|
||||
@@ -50,6 +52,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long pageSize_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
long pageNo_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string serviceArea_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string serviceArea_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string serviceArea_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getSubUser()const;
|
||||
void setSubUser(const std::string& subUser);
|
||||
std::string getEndTime()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string showLog_;
|
||||
std::string subUser_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string serviceArea_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -37,10 +37,16 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getSubUser()const;
|
||||
void setSubUser(const std::string& subUser);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPubUser()const;
|
||||
void setPubUser(const std::string& pubUser);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
@@ -48,8 +54,11 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string showLog_;
|
||||
std::string subUser_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string pubUser_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -46,6 +48,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DisableMAURuleRequest();
|
||||
~DisableMAURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setRuleId(long ruleId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
long ruleId_;
|
||||
|
||||
57
rtc/include/alibabacloud/rtc/model/DisableMPURuleRequest.h
Normal file
57
rtc/include/alibabacloud/rtc/model/DisableMPURuleRequest.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_RTC_MODEL_DISABLEMPURULEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DISABLEMPURULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DisableMPURuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableMPURuleRequest();
|
||||
~DisableMPURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
long getRuleId()const;
|
||||
void setRuleId(long ruleId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
long ruleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DISABLEMPURULEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETETEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETETEMPLATERESULT_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DISABLEMPURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DISABLEMPURULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteTemplateResult : public ServiceResult
|
||||
class ALIBABACLOUD_RTC_EXPORT DisableMPURuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTemplateResult();
|
||||
explicit DeleteTemplateResult(const std::string &payload);
|
||||
~DeleteTemplateResult();
|
||||
DisableMPURuleResult();
|
||||
explicit DisableMPURuleResult(const std::string &payload);
|
||||
~DisableMPURuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETETEMPLATERESULT_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DISABLEMPURULERESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
EnableMAURuleRequest();
|
||||
~EnableMAURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setRuleId(long ruleId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
long ruleId_;
|
||||
|
||||
57
rtc/include/alibabacloud/rtc/model/EnableMPURuleRequest.h
Normal file
57
rtc/include/alibabacloud/rtc/model/EnableMPURuleRequest.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_RTC_MODEL_ENABLEMPURULEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_ENABLEMPURULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT EnableMPURuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableMPURuleRequest();
|
||||
~EnableMPURuleRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
long getRuleId()const;
|
||||
void setRuleId(long ruleId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
long ruleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_ENABLEMPURULEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_ENABLEMPURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_ENABLEMPURULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT GetTaskStatusResult : public ServiceResult
|
||||
class ALIBABACLOUD_RTC_EXPORT EnableMPURuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTaskStatusResult();
|
||||
explicit GetTaskStatusResult(const std::string &payload);
|
||||
~GetTaskStatusResult();
|
||||
int getStatus()const;
|
||||
EnableMPURuleResult();
|
||||
explicit EnableMPURuleResult(const std::string &payload);
|
||||
~EnableMPURuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_ENABLEMPURULERESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -44,6 +46,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -35,16 +35,19 @@ namespace AlibabaCloud
|
||||
ModifyAppRequest();
|
||||
~ModifyAppRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string appName_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getConferenceName()const;
|
||||
void setConferenceName(const std::string& conferenceName);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
std::string type_;
|
||||
std::string conferenceId_;
|
||||
std::string conferenceName_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
int remindNotice_;
|
||||
|
||||
77
rtc/include/alibabacloud/rtc/model/ModifyMPULayoutRequest.h
Normal file
77
rtc/include/alibabacloud/rtc/model/ModifyMPULayoutRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_MODIFYMPULAYOUTREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_MODIFYMPULAYOUTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT ModifyMPULayoutRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Panes
|
||||
{
|
||||
int paneId;
|
||||
int majorPane;
|
||||
float x;
|
||||
float y;
|
||||
float width;
|
||||
float height;
|
||||
int zOrder;
|
||||
};
|
||||
|
||||
public:
|
||||
ModifyMPULayoutRequest();
|
||||
~ModifyMPULayoutRequest();
|
||||
|
||||
long getLayoutId()const;
|
||||
void setLayoutId(long layoutId);
|
||||
std::vector<Panes> getPanes()const;
|
||||
void setPanes(const std::vector<Panes>& panes);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
int getAudioMixCount()const;
|
||||
void setAudioMixCount(int audioMixCount);
|
||||
|
||||
private:
|
||||
long layoutId_;
|
||||
std::vector<Panes> panes_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string name_;
|
||||
int audioMixCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_MODIFYMPULAYOUTREQUEST_H_
|
||||
49
rtc/include/alibabacloud/rtc/model/ModifyMPULayoutResult.h
Normal file
49
rtc/include/alibabacloud/rtc/model/ModifyMPULayoutResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_MODIFYMPULAYOUTRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_MODIFYMPULAYOUTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT ModifyMPULayoutResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyMPULayoutResult();
|
||||
explicit ModifyMPULayoutResult(const std::string &payload);
|
||||
~ModifyMPULayoutResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_MODIFYMPULAYOUTRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getConferenceId()const;
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getParticipantId()const;
|
||||
@@ -46,6 +48,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string conferenceId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string participantId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setParticipantIds(const std::vector<std::string>& participantIds);
|
||||
std::string getConferenceId()const;
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<std::string> participantIds_;
|
||||
std::string conferenceId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setContent(const std::string& content);
|
||||
std::string getEvent()const;
|
||||
void setEvent(const std::string& event);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getContentType()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string traceId_;
|
||||
std::string content_;
|
||||
std::string event_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string contentType_;
|
||||
std::string bizId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setParticipantIds(const std::vector<std::string>& participantIds);
|
||||
std::string getConferenceId()const;
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<std::string> participantIds_;
|
||||
std::string conferenceId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::vector<std::string> getTerminalIds()const;
|
||||
void setTerminalIds(const std::vector<std::string>& terminalIds);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -46,6 +48,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::vector<std::string> terminalIds_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setMaxUserNum(int maxUserNum);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getTopics()const;
|
||||
void setTopics(const std::string& topics);
|
||||
long getOwnerId()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
int startTime_;
|
||||
int maxUserNum_;
|
||||
int duration_;
|
||||
std::string showLog_;
|
||||
std::string topics_;
|
||||
long ownerId_;
|
||||
std::string priority_;
|
||||
|
||||
@@ -42,42 +42,60 @@ namespace AlibabaCloud
|
||||
StartMPUTaskRequest();
|
||||
~StartMPUTaskRequest();
|
||||
|
||||
int getPayloadType()const;
|
||||
void setPayloadType(int payloadType);
|
||||
std::vector<UserPanes> getUserPanes()const;
|
||||
void setUserPanes(const std::vector<UserPanes>& userPanes);
|
||||
int getRtpExtInfo()const;
|
||||
void setRtpExtInfo(int rtpExtInfo);
|
||||
int getBackgroundColor()const;
|
||||
void setBackgroundColor(int backgroundColor);
|
||||
int getCropMode()const;
|
||||
void setCropMode(int cropMode);
|
||||
int getReportVad()const;
|
||||
void setReportVad(int reportVad);
|
||||
std::string getTaskProfile()const;
|
||||
void setTaskProfile(const std::string& taskProfile);
|
||||
std::vector<long> getLayoutIds()const;
|
||||
void setLayoutIds(const std::vector<long>& layoutIds);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getStreamURL()const;
|
||||
void setStreamURL(const std::string& streamURL);
|
||||
long getVadInterval()const;
|
||||
void setVadInterval(long vadInterval);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<std::string> getSubSpecUsers()const;
|
||||
void setSubSpecUsers(const std::vector<std::string>& subSpecUsers);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
long getTimeStampRef()const;
|
||||
void setTimeStampRef(long timeStampRef);
|
||||
int getMediaEncode()const;
|
||||
void setMediaEncode(int mediaEncode);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
int payloadType_;
|
||||
std::vector<UserPanes> userPanes_;
|
||||
int rtpExtInfo_;
|
||||
int backgroundColor_;
|
||||
int cropMode_;
|
||||
int reportVad_;
|
||||
std::string taskProfile_;
|
||||
std::vector<long> layoutIds_;
|
||||
std::string taskId_;
|
||||
std::string showLog_;
|
||||
std::string streamURL_;
|
||||
long vadInterval_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> subSpecUsers_;
|
||||
std::string appId_;
|
||||
long timeStampRef_;
|
||||
int mediaEncode_;
|
||||
std::string channelId_;
|
||||
|
||||
|
||||
76
rtc/include/alibabacloud/rtc/model/StartRecordTaskRequest.h
Normal file
76
rtc/include/alibabacloud/rtc/model/StartRecordTaskRequest.h
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STARTRECORDTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STARTRECORDTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StartRecordTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct UserPanes
|
||||
{
|
||||
int paneId;
|
||||
std::string userId;
|
||||
std::string sourceType;
|
||||
};
|
||||
|
||||
public:
|
||||
StartRecordTaskRequest();
|
||||
~StartRecordTaskRequest();
|
||||
|
||||
std::vector<UserPanes> getUserPanes()const;
|
||||
void setUserPanes(const std::vector<UserPanes>& userPanes);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::vector<std::string> getSubSpecUsers()const;
|
||||
void setSubSpecUsers(const std::vector<std::string>& subSpecUsers);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::vector<UserPanes> userPanes_;
|
||||
std::string taskId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::vector<std::string> subSpecUsers_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STARTRECORDTASKREQUEST_H_
|
||||
49
rtc/include/alibabacloud/rtc/model/StartRecordTaskResult.h
Normal file
49
rtc/include/alibabacloud/rtc/model/StartRecordTaskResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STARTRECORDTASKRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STARTRECORDTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StartRecordTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartRecordTaskResult();
|
||||
explicit StartRecordTaskResult(const std::string &payload);
|
||||
~StartRecordTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STARTRECORDTASKRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STARTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STARTTASKREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STOPCHANNELUSERPUBLISHREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPCHANNELUSERPUBLISHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,38 +28,28 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StartTaskRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_RTC_EXPORT StopChannelUserPublishRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct MixPanes
|
||||
{
|
||||
int paneId;
|
||||
std::string userId;
|
||||
std::string sourceType;
|
||||
};
|
||||
|
||||
public:
|
||||
StartTaskRequest();
|
||||
~StartTaskRequest();
|
||||
StopChannelUserPublishRequest();
|
||||
~StopChannelUserPublishRequest();
|
||||
|
||||
std::vector<MixPanes> getMixPanes()const;
|
||||
void setMixPanes(const std::vector<MixPanes>& mixPanes);
|
||||
std::string getIdempotentId()const;
|
||||
void setIdempotentId(const std::string& idempotentId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::vector<MixPanes> mixPanes_;
|
||||
std::string idempotentId_;
|
||||
std::string userId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
long templateId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -67,4 +57,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STARTTASKREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPCHANNELUSERPUBLISHREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STOPCHANNELUSERPUBLISHRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPCHANNELUSERPUBLISHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StopChannelUserPublishResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopChannelUserPublishResult();
|
||||
explicit StopChannelUserPublishResult(const std::string &payload);
|
||||
~StopChannelUserPublishResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPCHANNELUSERPUBLISHRESULT_H_
|
||||
@@ -35,17 +35,20 @@ namespace AlibabaCloud
|
||||
StopMPUTaskRequest();
|
||||
~StopMPUTaskRequest();
|
||||
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
57
rtc/include/alibabacloud/rtc/model/StopRecordTaskRequest.h
Normal file
57
rtc/include/alibabacloud/rtc/model/StopRecordTaskRequest.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_RTC_MODEL_STOPRECORDTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPRECORDTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT StopRecordTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopRecordTaskRequest();
|
||||
~StopRecordTaskRequest();
|
||||
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPRECORDTASKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATETEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATETEMPLATERESULT_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STOPRECORDTASKRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPRECORDTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateTemplateResult : public ServiceResult
|
||||
class ALIBABACLOUD_RTC_EXPORT StopRecordTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTemplateResult();
|
||||
explicit CreateTemplateResult(const std::string &payload);
|
||||
~CreateTemplateResult();
|
||||
long getTemplateId()const;
|
||||
StopRecordTaskResult();
|
||||
explicit StopRecordTaskResult(const std::string &payload);
|
||||
~StopRecordTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATETEMPLATERESULT_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPRECORDTASKRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getConferenceId()const;
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getParticipantId()const;
|
||||
@@ -46,6 +48,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string conferenceId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string participantId_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setParticipantIds(const std::vector<std::string>& participantIds);
|
||||
std::string getConferenceId()const;
|
||||
void setConferenceId(const std::string& conferenceId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<std::string> participantIds_;
|
||||
std::string conferenceId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
UpdateChannelRequest();
|
||||
~UpdateChannelRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getNonce()const;
|
||||
@@ -45,6 +47,7 @@ namespace AlibabaCloud
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string nonce_;
|
||||
std::string appId_;
|
||||
|
||||
@@ -52,6 +52,8 @@ namespace AlibabaCloud
|
||||
void setLayoutIds(const std::vector<long>& layoutIds);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
@@ -63,6 +65,7 @@ namespace AlibabaCloud
|
||||
int cropMode_;
|
||||
std::vector<long> layoutIds_;
|
||||
std::string taskId_;
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_RTC_MODEL_UPDATERECORDTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_UPDATERECORDTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT UpdateRecordTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateRecordTemplateRequest();
|
||||
~UpdateRecordTemplateRequest();
|
||||
|
||||
std::vector<std::string> getFormats()const;
|
||||
void setFormats(const std::vector<std::string>& formats);
|
||||
std::string getOssFilePrefix()const;
|
||||
void setOssFilePrefix(const std::string& ossFilePrefix);
|
||||
int getBackgroundColor()const;
|
||||
void setBackgroundColor(int backgroundColor);
|
||||
std::string getTaskProfile()const;
|
||||
void setTaskProfile(const std::string& taskProfile);
|
||||
std::vector<long> getLayoutIds()const;
|
||||
void setLayoutIds(const std::vector<long>& layoutIds);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getOssBucket()const;
|
||||
void setOssBucket(const std::string& ossBucket);
|
||||
std::string getMnsQueue()const;
|
||||
void setMnsQueue(const std::string& mnsQueue);
|
||||
int getFileSplitInterval()const;
|
||||
void setFileSplitInterval(int fileSplitInterval);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
int getMediaEncode()const;
|
||||
void setMediaEncode(int mediaEncode);
|
||||
|
||||
private:
|
||||
std::vector<std::string> formats_;
|
||||
std::string ossFilePrefix_;
|
||||
int backgroundColor_;
|
||||
std::string taskProfile_;
|
||||
std::vector<long> layoutIds_;
|
||||
std::string showLog_;
|
||||
std::string ossBucket_;
|
||||
std::string mnsQueue_;
|
||||
int fileSplitInterval_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string appId_;
|
||||
std::string name_;
|
||||
int mediaEncode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_UPDATERECORDTEMPLATEREQUEST_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_RTC_MODEL_UPDATERECORDTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_UPDATERECORDTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT UpdateRecordTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateRecordTemplateResult();
|
||||
explicit UpdateRecordTemplateResult(const std::string &payload);
|
||||
~UpdateRecordTemplateResult();
|
||||
std::string getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_UPDATERECORDTEMPLATERESULT_H_
|
||||
@@ -31,26 +31,62 @@ RtcClient::RtcClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "rtc");
|
||||
}
|
||||
|
||||
RtcClient::RtcClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "rtc");
|
||||
}
|
||||
|
||||
RtcClient::RtcClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "rtc");
|
||||
}
|
||||
|
||||
RtcClient::~RtcClient()
|
||||
{}
|
||||
|
||||
RtcClient::AddRecordTemplateOutcome RtcClient::addRecordTemplate(const AddRecordTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddRecordTemplateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddRecordTemplateOutcome(AddRecordTemplateResult(outcome.result()));
|
||||
else
|
||||
return AddRecordTemplateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::addRecordTemplateAsync(const AddRecordTemplateRequest& request, const AddRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addRecordTemplate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::AddRecordTemplateOutcomeCallable RtcClient::addRecordTemplateCallable(const AddRecordTemplateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddRecordTemplateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addRecordTemplate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateChannelOutcome RtcClient::createChannel(const CreateChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -159,36 +195,108 @@ RtcClient::CreateMAURuleOutcomeCallable RtcClient::createMAURuleCallable(const C
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateTemplateOutcome RtcClient::createTemplate(const CreateTemplateRequest &request) const
|
||||
RtcClient::CreateMPULayoutOutcome RtcClient::createMPULayout(const CreateMPULayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateTemplateOutcome(endpointOutcome.error());
|
||||
return CreateMPULayoutOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateTemplateOutcome(CreateTemplateResult(outcome.result()));
|
||||
return CreateMPULayoutOutcome(CreateMPULayoutResult(outcome.result()));
|
||||
else
|
||||
return CreateTemplateOutcome(outcome.error());
|
||||
return CreateMPULayoutOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::createTemplateAsync(const CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void RtcClient::createMPULayoutAsync(const CreateMPULayoutRequest& request, const CreateMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createTemplate(request), context);
|
||||
handler(this, request, createMPULayout(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::CreateTemplateOutcomeCallable RtcClient::createTemplateCallable(const CreateTemplateRequest &request) const
|
||||
RtcClient::CreateMPULayoutOutcomeCallable RtcClient::createMPULayoutCallable(const CreateMPULayoutRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateTemplateOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<CreateMPULayoutOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createTemplate(request);
|
||||
return this->createMPULayout(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateMPURuleOutcome RtcClient::createMPURule(const CreateMPURuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateMPURuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateMPURuleOutcome(CreateMPURuleResult(outcome.result()));
|
||||
else
|
||||
return CreateMPURuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::createMPURuleAsync(const CreateMPURuleRequest& request, const CreateMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createMPURule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::CreateMPURuleOutcomeCallable RtcClient::createMPURuleCallable(const CreateMPURuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateMPURuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createMPURule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateServiceLinkedRoleForRtcOutcome RtcClient::createServiceLinkedRoleForRtc(const CreateServiceLinkedRoleForRtcRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateServiceLinkedRoleForRtcOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateServiceLinkedRoleForRtcOutcome(CreateServiceLinkedRoleForRtcResult(outcome.result()));
|
||||
else
|
||||
return CreateServiceLinkedRoleForRtcOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::createServiceLinkedRoleForRtcAsync(const CreateServiceLinkedRoleForRtcRequest& request, const CreateServiceLinkedRoleForRtcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createServiceLinkedRoleForRtc(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::CreateServiceLinkedRoleForRtcOutcomeCallable RtcClient::createServiceLinkedRoleForRtcCallable(const CreateServiceLinkedRoleForRtcRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateServiceLinkedRoleForRtcOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createServiceLinkedRoleForRtc(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -303,36 +411,108 @@ RtcClient::DeleteMAURuleOutcomeCallable RtcClient::deleteMAURuleCallable(const D
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteTemplateOutcome RtcClient::deleteTemplate(const DeleteTemplateRequest &request) const
|
||||
RtcClient::DeleteMPULayoutOutcome RtcClient::deleteMPULayout(const DeleteMPULayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteTemplateOutcome(endpointOutcome.error());
|
||||
return DeleteMPULayoutOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteTemplateOutcome(DeleteTemplateResult(outcome.result()));
|
||||
return DeleteMPULayoutOutcome(DeleteMPULayoutResult(outcome.result()));
|
||||
else
|
||||
return DeleteTemplateOutcome(outcome.error());
|
||||
return DeleteMPULayoutOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::deleteTemplateAsync(const DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void RtcClient::deleteMPULayoutAsync(const DeleteMPULayoutRequest& request, const DeleteMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteTemplate(request), context);
|
||||
handler(this, request, deleteMPULayout(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DeleteTemplateOutcomeCallable RtcClient::deleteTemplateCallable(const DeleteTemplateRequest &request) const
|
||||
RtcClient::DeleteMPULayoutOutcomeCallable RtcClient::deleteMPULayoutCallable(const DeleteMPULayoutRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteTemplateOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DeleteMPULayoutOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteTemplate(request);
|
||||
return this->deleteMPULayout(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteMPURuleOutcome RtcClient::deleteMPURule(const DeleteMPURuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteMPURuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteMPURuleOutcome(DeleteMPURuleResult(outcome.result()));
|
||||
else
|
||||
return DeleteMPURuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::deleteMPURuleAsync(const DeleteMPURuleRequest& request, const DeleteMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteMPURule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DeleteMPURuleOutcomeCallable RtcClient::deleteMPURuleCallable(const DeleteMPURuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteMPURuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteMPURule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteRecordTemplateOutcome RtcClient::deleteRecordTemplate(const DeleteRecordTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteRecordTemplateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteRecordTemplateOutcome(DeleteRecordTemplateResult(outcome.result()));
|
||||
else
|
||||
return DeleteRecordTemplateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::deleteRecordTemplateAsync(const DeleteRecordTemplateRequest& request, const DeleteRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteRecordTemplate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DeleteRecordTemplateOutcomeCallable RtcClient::deleteRecordTemplateCallable(const DeleteRecordTemplateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteRecordTemplateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteRecordTemplate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -519,6 +699,150 @@ RtcClient::DescribeMAURuleOutcomeCallable RtcClient::describeMAURuleCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPULayoutInfoOutcome RtcClient::describeMPULayoutInfo(const DescribeMPULayoutInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeMPULayoutInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeMPULayoutInfoOutcome(DescribeMPULayoutInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribeMPULayoutInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeMPULayoutInfoAsync(const DescribeMPULayoutInfoRequest& request, const DescribeMPULayoutInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeMPULayoutInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPULayoutInfoOutcomeCallable RtcClient::describeMPULayoutInfoCallable(const DescribeMPULayoutInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeMPULayoutInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeMPULayoutInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPULayoutInfoListOutcome RtcClient::describeMPULayoutInfoList(const DescribeMPULayoutInfoListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeMPULayoutInfoListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeMPULayoutInfoListOutcome(DescribeMPULayoutInfoListResult(outcome.result()));
|
||||
else
|
||||
return DescribeMPULayoutInfoListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeMPULayoutInfoListAsync(const DescribeMPULayoutInfoListRequest& request, const DescribeMPULayoutInfoListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeMPULayoutInfoList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPULayoutInfoListOutcomeCallable RtcClient::describeMPULayoutInfoListCallable(const DescribeMPULayoutInfoListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeMPULayoutInfoListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeMPULayoutInfoList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPULayoutListOutcome RtcClient::describeMPULayoutList(const DescribeMPULayoutListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeMPULayoutListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeMPULayoutListOutcome(DescribeMPULayoutListResult(outcome.result()));
|
||||
else
|
||||
return DescribeMPULayoutListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeMPULayoutListAsync(const DescribeMPULayoutListRequest& request, const DescribeMPULayoutListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeMPULayoutList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPULayoutListOutcomeCallable RtcClient::describeMPULayoutListCallable(const DescribeMPULayoutListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeMPULayoutListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeMPULayoutList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPURuleOutcome RtcClient::describeMPURule(const DescribeMPURuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeMPURuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeMPURuleOutcome(DescribeMPURuleResult(outcome.result()));
|
||||
else
|
||||
return DescribeMPURuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeMPURuleAsync(const DescribeMPURuleRequest& request, const DescribeMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeMPURule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeMPURuleOutcomeCallable RtcClient::describeMPURuleCallable(const DescribeMPURuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeMPURuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeMPURule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRTCAppKeyOutcome RtcClient::describeRTCAppKey(const DescribeRTCAppKeyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +879,42 @@ RtcClient::DescribeRTCAppKeyOutcomeCallable RtcClient::describeRTCAppKeyCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRecordTemplatesOutcome RtcClient::describeRecordTemplates(const DescribeRecordTemplatesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRecordTemplatesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRecordTemplatesOutcome(DescribeRecordTemplatesResult(outcome.result()));
|
||||
else
|
||||
return DescribeRecordTemplatesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRecordTemplatesAsync(const DescribeRecordTemplatesRequest& request, const DescribeRecordTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRecordTemplates(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRecordTemplatesOutcomeCallable RtcClient::describeRecordTemplatesCallable(const DescribeRecordTemplatesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRecordTemplatesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRecordTemplates(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelCntDataOutcome RtcClient::describeRtcChannelCntData(const DescribeRtcChannelCntDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1347,42 @@ RtcClient::DisableMAURuleOutcomeCallable RtcClient::disableMAURuleCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DisableMPURuleOutcome RtcClient::disableMPURule(const DisableMPURuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DisableMPURuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DisableMPURuleOutcome(DisableMPURuleResult(outcome.result()));
|
||||
else
|
||||
return DisableMPURuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::disableMPURuleAsync(const DisableMPURuleRequest& request, const DisableMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, disableMPURule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DisableMPURuleOutcomeCallable RtcClient::disableMPURuleCallable(const DisableMPURuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DisableMPURuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->disableMPURule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::EnableMAURuleOutcome RtcClient::enableMAURule(const EnableMAURuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,6 +1419,42 @@ RtcClient::EnableMAURuleOutcomeCallable RtcClient::enableMAURuleCallable(const E
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::EnableMPURuleOutcome RtcClient::enableMPURule(const EnableMPURuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableMPURuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableMPURuleOutcome(EnableMPURuleResult(outcome.result()));
|
||||
else
|
||||
return EnableMPURuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::enableMPURuleAsync(const EnableMPURuleRequest& request, const EnableMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableMPURule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::EnableMPURuleOutcomeCallable RtcClient::enableMPURuleCallable(const EnableMPURuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableMPURuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableMPURule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetMPUTaskStatusOutcome RtcClient::getMPUTaskStatus(const GetMPUTaskStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,42 +1491,6 @@ RtcClient::GetMPUTaskStatusOutcomeCallable RtcClient::getMPUTaskStatusCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetTaskStatusOutcome RtcClient::getTaskStatus(const GetTaskStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTaskStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTaskStatusOutcome(GetTaskStatusResult(outcome.result()));
|
||||
else
|
||||
return GetTaskStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::getTaskStatusAsync(const GetTaskStatusRequest& request, const GetTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTaskStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::GetTaskStatusOutcomeCallable RtcClient::getTaskStatusCallable(const GetTaskStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTaskStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTaskStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcome RtcClient::modifyApp(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1167,6 +1563,42 @@ RtcClient::ModifyConferenceOutcomeCallable RtcClient::modifyConferenceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyMPULayoutOutcome RtcClient::modifyMPULayout(const ModifyMPULayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyMPULayoutOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyMPULayoutOutcome(ModifyMPULayoutResult(outcome.result()));
|
||||
else
|
||||
return ModifyMPULayoutOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::modifyMPULayoutAsync(const ModifyMPULayoutRequest& request, const ModifyMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyMPULayout(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::ModifyMPULayoutOutcomeCallable RtcClient::modifyMPULayoutCallable(const ModifyMPULayoutRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyMPULayoutOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyMPULayout(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::MuteAudioOutcome RtcClient::muteAudio(const MuteAudioRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1419,36 +1851,72 @@ RtcClient::StartMPUTaskOutcomeCallable RtcClient::startMPUTaskCallable(const Sta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StartTaskOutcome RtcClient::startTask(const StartTaskRequest &request) const
|
||||
RtcClient::StartRecordTaskOutcome RtcClient::startRecordTask(const StartRecordTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartTaskOutcome(endpointOutcome.error());
|
||||
return StartRecordTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartTaskOutcome(StartTaskResult(outcome.result()));
|
||||
return StartRecordTaskOutcome(StartRecordTaskResult(outcome.result()));
|
||||
else
|
||||
return StartTaskOutcome(outcome.error());
|
||||
return StartRecordTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::startTaskAsync(const StartTaskRequest& request, const StartTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void RtcClient::startRecordTaskAsync(const StartRecordTaskRequest& request, const StartRecordTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startTask(request), context);
|
||||
handler(this, request, startRecordTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StartTaskOutcomeCallable RtcClient::startTaskCallable(const StartTaskRequest &request) const
|
||||
RtcClient::StartRecordTaskOutcomeCallable RtcClient::startRecordTaskCallable(const StartRecordTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartTaskOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<StartRecordTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startTask(request);
|
||||
return this->startRecordTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StopChannelUserPublishOutcome RtcClient::stopChannelUserPublish(const StopChannelUserPublishRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopChannelUserPublishOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopChannelUserPublishOutcome(StopChannelUserPublishResult(outcome.result()));
|
||||
else
|
||||
return StopChannelUserPublishOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::stopChannelUserPublishAsync(const StopChannelUserPublishRequest& request, const StopChannelUserPublishAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopChannelUserPublish(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StopChannelUserPublishOutcomeCallable RtcClient::stopChannelUserPublishCallable(const StopChannelUserPublishRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopChannelUserPublishOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopChannelUserPublish(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -1491,36 +1959,36 @@ RtcClient::StopMPUTaskOutcomeCallable RtcClient::stopMPUTaskCallable(const StopM
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcome RtcClient::stopTask(const StopTaskRequest &request) const
|
||||
RtcClient::StopRecordTaskOutcome RtcClient::stopRecordTask(const StopRecordTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopTaskOutcome(endpointOutcome.error());
|
||||
return StopRecordTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopTaskOutcome(StopTaskResult(outcome.result()));
|
||||
return StopRecordTaskOutcome(StopRecordTaskResult(outcome.result()));
|
||||
else
|
||||
return StopTaskOutcome(outcome.error());
|
||||
return StopRecordTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::stopTaskAsync(const StopTaskRequest& request, const StopTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void RtcClient::stopRecordTaskAsync(const StopRecordTaskRequest& request, const StopRecordTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopTask(request), context);
|
||||
handler(this, request, stopRecordTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcomeCallable RtcClient::stopTaskCallable(const StopTaskRequest &request) const
|
||||
RtcClient::StopRecordTaskOutcomeCallable RtcClient::stopRecordTaskCallable(const StopRecordTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopTaskOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<StopRecordTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopTask(request);
|
||||
return this->stopRecordTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -1671,3 +2139,39 @@ RtcClient::UpdateMPULayoutOutcomeCallable RtcClient::updateMPULayoutCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::UpdateRecordTemplateOutcome RtcClient::updateRecordTemplate(const UpdateRecordTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateRecordTemplateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateRecordTemplateOutcome(UpdateRecordTemplateResult(outcome.result()));
|
||||
else
|
||||
return UpdateRecordTemplateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::updateRecordTemplateAsync(const UpdateRecordTemplateRequest& request, const UpdateRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateRecordTemplate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::UpdateRecordTemplateOutcomeCallable RtcClient::updateRecordTemplateCallable(const UpdateRecordTemplateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateRecordTemplateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateRecordTemplate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
176
rtc/src/model/AddRecordTemplateRequest.cc
Normal file
176
rtc/src/model/AddRecordTemplateRequest.cc
Normal file
@@ -0,0 +1,176 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/rtc/model/AddRecordTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::AddRecordTemplateRequest;
|
||||
|
||||
AddRecordTemplateRequest::AddRecordTemplateRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "AddRecordTemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddRecordTemplateRequest::~AddRecordTemplateRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> AddRecordTemplateRequest::getFormats()const
|
||||
{
|
||||
return formats_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setFormats(const std::vector<std::string>& formats)
|
||||
{
|
||||
formats_ = formats;
|
||||
for(int dep1 = 0; dep1!= formats.size(); dep1++) {
|
||||
setParameter("Formats."+ std::to_string(dep1), formats.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddRecordTemplateRequest::getOssFilePrefix()const
|
||||
{
|
||||
return ossFilePrefix_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setOssFilePrefix(const std::string& ossFilePrefix)
|
||||
{
|
||||
ossFilePrefix_ = ossFilePrefix;
|
||||
setParameter("OssFilePrefix", ossFilePrefix);
|
||||
}
|
||||
|
||||
int AddRecordTemplateRequest::getBackgroundColor()const
|
||||
{
|
||||
return backgroundColor_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setBackgroundColor(int backgroundColor)
|
||||
{
|
||||
backgroundColor_ = backgroundColor;
|
||||
setParameter("BackgroundColor", std::to_string(backgroundColor));
|
||||
}
|
||||
|
||||
std::string AddRecordTemplateRequest::getTaskProfile()const
|
||||
{
|
||||
return taskProfile_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setTaskProfile(const std::string& taskProfile)
|
||||
{
|
||||
taskProfile_ = taskProfile;
|
||||
setParameter("TaskProfile", taskProfile);
|
||||
}
|
||||
|
||||
std::vector<long> AddRecordTemplateRequest::getLayoutIds()const
|
||||
{
|
||||
return layoutIds_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setLayoutIds(const std::vector<long>& layoutIds)
|
||||
{
|
||||
layoutIds_ = layoutIds;
|
||||
for(int dep1 = 0; dep1!= layoutIds.size(); dep1++) {
|
||||
setParameter("LayoutIds."+ std::to_string(dep1), std::to_string(layoutIds.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddRecordTemplateRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string AddRecordTemplateRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
}
|
||||
|
||||
std::string AddRecordTemplateRequest::getMnsQueue()const
|
||||
{
|
||||
return mnsQueue_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setMnsQueue(const std::string& mnsQueue)
|
||||
{
|
||||
mnsQueue_ = mnsQueue;
|
||||
setParameter("MnsQueue", mnsQueue);
|
||||
}
|
||||
|
||||
int AddRecordTemplateRequest::getFileSplitInterval()const
|
||||
{
|
||||
return fileSplitInterval_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setFileSplitInterval(int fileSplitInterval)
|
||||
{
|
||||
fileSplitInterval_ = fileSplitInterval;
|
||||
setParameter("FileSplitInterval", std::to_string(fileSplitInterval));
|
||||
}
|
||||
|
||||
long AddRecordTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddRecordTemplateRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string AddRecordTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
int AddRecordTemplateRequest::getMediaEncode()const
|
||||
{
|
||||
return mediaEncode_;
|
||||
}
|
||||
|
||||
void AddRecordTemplateRequest::setMediaEncode(int mediaEncode)
|
||||
{
|
||||
mediaEncode_ = mediaEncode;
|
||||
setParameter("MediaEncode", std::to_string(mediaEncode));
|
||||
}
|
||||
|
||||
@@ -14,37 +14,37 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/CreateTemplateResult.h>
|
||||
#include <alibabacloud/rtc/model/AddRecordTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
CreateTemplateResult::CreateTemplateResult() :
|
||||
AddRecordTemplateResult::AddRecordTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTemplateResult::CreateTemplateResult(const std::string &payload) :
|
||||
AddRecordTemplateResult::AddRecordTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTemplateResult::~CreateTemplateResult()
|
||||
AddRecordTemplateResult::~AddRecordTemplateResult()
|
||||
{}
|
||||
|
||||
void CreateTemplateResult::parse(const std::string &payload)
|
||||
void AddRecordTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = std::stol(value["TemplateId"].asString());
|
||||
templateId_ = value["TemplateId"].asString();
|
||||
|
||||
}
|
||||
|
||||
long CreateTemplateResult::getTemplateId()const
|
||||
std::string AddRecordTemplateResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
@@ -27,6 +27,17 @@ CreateChannelRequest::CreateChannelRequest() :
|
||||
CreateChannelRequest::~CreateChannelRequest()
|
||||
{}
|
||||
|
||||
std::string CreateChannelRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -71,6 +71,17 @@ void CreateConferenceRequest::setConferenceName(const std::string& conferenceNam
|
||||
setParameter("ConferenceName", conferenceName);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateConferenceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateConferenceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -49,6 +49,17 @@ void CreateMAURuleRequest::setChannelPrefix(const std::string& channelPrefix)
|
||||
setParameter("ChannelPrefix", channelPrefix);
|
||||
}
|
||||
|
||||
std::string CreateMAURuleRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateMAURuleRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateMAURuleRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
94
rtc/src/model/CreateMPULayoutRequest.cc
Normal file
94
rtc/src/model/CreateMPULayoutRequest.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/rtc/model/CreateMPULayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::CreateMPULayoutRequest;
|
||||
|
||||
CreateMPULayoutRequest::CreateMPULayoutRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "CreateMPULayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMPULayoutRequest::~CreateMPULayoutRequest()
|
||||
{}
|
||||
|
||||
std::vector<CreateMPULayoutRequest::Panes> CreateMPULayoutRequest::getPanes()const
|
||||
{
|
||||
return panes_;
|
||||
}
|
||||
|
||||
void CreateMPULayoutRequest::setPanes(const std::vector<Panes>& panes)
|
||||
{
|
||||
panes_ = panes;
|
||||
for(int dep1 = 0; dep1!= panes.size(); dep1++) {
|
||||
auto panesObj = panes.at(dep1);
|
||||
std::string panesObjStr = "Panes." + std::to_string(dep1 + 1);
|
||||
setParameter(panesObjStr + ".PaneId", std::to_string(panesObj.paneId));
|
||||
setParameter(panesObjStr + ".MajorPane", std::to_string(panesObj.majorPane));
|
||||
setParameter(panesObjStr + ".X", std::to_string(panesObj.x));
|
||||
setParameter(panesObjStr + ".Y", std::to_string(panesObj.y));
|
||||
setParameter(panesObjStr + ".Width", std::to_string(panesObj.width));
|
||||
setParameter(panesObjStr + ".Height", std::to_string(panesObj.height));
|
||||
setParameter(panesObjStr + ".ZOrder", std::to_string(panesObj.zOrder));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateMPULayoutRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateMPULayoutRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateMPULayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateMPULayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateMPULayoutRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateMPULayoutRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
int CreateMPULayoutRequest::getAudioMixCount()const
|
||||
{
|
||||
return audioMixCount_;
|
||||
}
|
||||
|
||||
void CreateMPULayoutRequest::setAudioMixCount(int audioMixCount)
|
||||
{
|
||||
audioMixCount_ = audioMixCount;
|
||||
setParameter("AudioMixCount", std::to_string(audioMixCount));
|
||||
}
|
||||
|
||||
51
rtc/src/model/CreateMPULayoutResult.cc
Normal file
51
rtc/src/model/CreateMPULayoutResult.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/rtc/model/CreateMPULayoutResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
CreateMPULayoutResult::CreateMPULayoutResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMPULayoutResult::CreateMPULayoutResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMPULayoutResult::~CreateMPULayoutResult()
|
||||
{}
|
||||
|
||||
void CreateMPULayoutResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LayoutId"].isNull())
|
||||
layoutId_ = std::stol(value["LayoutId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long CreateMPULayoutResult::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
152
rtc/src/model/CreateMPURuleRequest.cc
Normal file
152
rtc/src/model/CreateMPURuleRequest.cc
Normal file
@@ -0,0 +1,152 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/rtc/model/CreateMPURuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::CreateMPURuleRequest;
|
||||
|
||||
CreateMPURuleRequest::CreateMPURuleRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "CreateMPURule")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMPURuleRequest::~CreateMPURuleRequest()
|
||||
{}
|
||||
|
||||
int CreateMPURuleRequest::getBackgroundColor()const
|
||||
{
|
||||
return backgroundColor_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setBackgroundColor(int backgroundColor)
|
||||
{
|
||||
backgroundColor_ = backgroundColor;
|
||||
setParameter("BackgroundColor", std::to_string(backgroundColor));
|
||||
}
|
||||
|
||||
int CreateMPURuleRequest::getCropMode()const
|
||||
{
|
||||
return cropMode_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setCropMode(int cropMode)
|
||||
{
|
||||
cropMode_ = cropMode;
|
||||
setParameter("CropMode", std::to_string(cropMode));
|
||||
}
|
||||
|
||||
std::string CreateMPURuleRequest::getChannelPrefix()const
|
||||
{
|
||||
return channelPrefix_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setChannelPrefix(const std::string& channelPrefix)
|
||||
{
|
||||
channelPrefix_ = channelPrefix;
|
||||
setParameter("ChannelPrefix", channelPrefix);
|
||||
}
|
||||
|
||||
std::string CreateMPURuleRequest::getTaskProfile()const
|
||||
{
|
||||
return taskProfile_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setTaskProfile(const std::string& taskProfile)
|
||||
{
|
||||
taskProfile_ = taskProfile;
|
||||
setParameter("TaskProfile", taskProfile);
|
||||
}
|
||||
|
||||
std::vector<long> CreateMPURuleRequest::getLayoutIds()const
|
||||
{
|
||||
return layoutIds_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setLayoutIds(const std::vector<long>& layoutIds)
|
||||
{
|
||||
layoutIds_ = layoutIds;
|
||||
for(int dep1 = 0; dep1!= layoutIds.size(); dep1++) {
|
||||
setParameter("LayoutIds."+ std::to_string(dep1), std::to_string(layoutIds.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateMPURuleRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateMPURuleRequest::getPlayDomain()const
|
||||
{
|
||||
return playDomain_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setPlayDomain(const std::string& playDomain)
|
||||
{
|
||||
playDomain_ = playDomain;
|
||||
setParameter("PlayDomain", playDomain);
|
||||
}
|
||||
|
||||
long CreateMPURuleRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateMPURuleRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
int CreateMPURuleRequest::getMediaEncode()const
|
||||
{
|
||||
return mediaEncode_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setMediaEncode(int mediaEncode)
|
||||
{
|
||||
mediaEncode_ = mediaEncode;
|
||||
setParameter("MediaEncode", std::to_string(mediaEncode));
|
||||
}
|
||||
|
||||
std::string CreateMPURuleRequest::getCallBack()const
|
||||
{
|
||||
return callBack_;
|
||||
}
|
||||
|
||||
void CreateMPURuleRequest::setCallBack(const std::string& callBack)
|
||||
{
|
||||
callBack_ = callBack;
|
||||
setParameter("CallBack", callBack);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/GetTaskStatusResult.h>
|
||||
#include <alibabacloud/rtc/model/CreateMPURuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
GetTaskStatusResult::GetTaskStatusResult() :
|
||||
CreateMPURuleResult::CreateMPURuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTaskStatusResult::GetTaskStatusResult(const std::string &payload) :
|
||||
CreateMPURuleResult::CreateMPURuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTaskStatusResult::~GetTaskStatusResult()
|
||||
CreateMPURuleResult::~CreateMPURuleResult()
|
||||
{}
|
||||
|
||||
void GetTaskStatusResult::parse(const std::string &payload)
|
||||
void CreateMPURuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = std::stoi(value["Status"].asString());
|
||||
if(!value["RuleId"].isNull())
|
||||
ruleId_ = std::stol(value["RuleId"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetTaskStatusResult::getStatus()const
|
||||
long CreateMPURuleResult::getRuleId()const
|
||||
{
|
||||
return status_;
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
51
rtc/src/model/CreateServiceLinkedRoleForRtcRequest.cc
Normal file
51
rtc/src/model/CreateServiceLinkedRoleForRtcRequest.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/rtc/model/CreateServiceLinkedRoleForRtcRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::CreateServiceLinkedRoleForRtcRequest;
|
||||
|
||||
CreateServiceLinkedRoleForRtcRequest::CreateServiceLinkedRoleForRtcRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "CreateServiceLinkedRoleForRtc")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateServiceLinkedRoleForRtcRequest::~CreateServiceLinkedRoleForRtcRequest()
|
||||
{}
|
||||
|
||||
std::string CreateServiceLinkedRoleForRtcRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateServiceLinkedRoleForRtcRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateServiceLinkedRoleForRtcRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateServiceLinkedRoleForRtcRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
rtc/src/model/CreateServiceLinkedRoleForRtcResult.cc
Normal file
44
rtc/src/model/CreateServiceLinkedRoleForRtcResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/CreateServiceLinkedRoleForRtcResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
CreateServiceLinkedRoleForRtcResult::CreateServiceLinkedRoleForRtcResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateServiceLinkedRoleForRtcResult::CreateServiceLinkedRoleForRtcResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateServiceLinkedRoleForRtcResult::~CreateServiceLinkedRoleForRtcResult()
|
||||
{}
|
||||
|
||||
void CreateServiceLinkedRoleForRtcResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,158 +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/rtc/model/CreateTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::CreateTemplateRequest;
|
||||
|
||||
CreateTemplateRequest::CreateTemplateRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "CreateTemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTemplateRequest::~CreateTemplateRequest()
|
||||
{}
|
||||
|
||||
int CreateTemplateRequest::getServiceMode()const
|
||||
{
|
||||
return serviceMode_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setServiceMode(int serviceMode)
|
||||
{
|
||||
serviceMode_ = serviceMode;
|
||||
setParameter("ServiceMode", std::to_string(serviceMode));
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::LiveConfig> CreateTemplateRequest::getLiveConfig()const
|
||||
{
|
||||
return liveConfig_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setLiveConfig(const std::vector<LiveConfig>& liveConfig)
|
||||
{
|
||||
liveConfig_ = liveConfig;
|
||||
for(int dep1 = 0; dep1!= liveConfig.size(); dep1++) {
|
||||
auto liveConfigObj = liveConfig.at(dep1);
|
||||
std::string liveConfigObjStr = "LiveConfig." + std::to_string(dep1 + 1);
|
||||
setParameter(liveConfigObjStr + ".DomainName", liveConfigObj.domainName);
|
||||
setParameter(liveConfigObjStr + ".AppName", liveConfigObj.appName);
|
||||
}
|
||||
}
|
||||
|
||||
int CreateTemplateRequest::getMediaConfig()const
|
||||
{
|
||||
return mediaConfig_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setMediaConfig(int mediaConfig)
|
||||
{
|
||||
mediaConfig_ = mediaConfig;
|
||||
setParameter("MediaConfig", std::to_string(mediaConfig));
|
||||
}
|
||||
|
||||
int CreateTemplateRequest::getMaxMixStreamCount()const
|
||||
{
|
||||
return maxMixStreamCount_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setMaxMixStreamCount(int maxMixStreamCount)
|
||||
{
|
||||
maxMixStreamCount_ = maxMixStreamCount;
|
||||
setParameter("MaxMixStreamCount", std::to_string(maxMixStreamCount));
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::RecordConfig> CreateTemplateRequest::getRecordConfig()const
|
||||
{
|
||||
return recordConfig_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setRecordConfig(const std::vector<RecordConfig>& recordConfig)
|
||||
{
|
||||
recordConfig_ = recordConfig;
|
||||
for(int dep1 = 0; dep1!= recordConfig.size(); dep1++) {
|
||||
auto recordConfigObj = recordConfig.at(dep1);
|
||||
std::string recordConfigObjStr = "RecordConfig." + std::to_string(dep1 + 1);
|
||||
setParameter(recordConfigObjStr + ".StorageType", recordConfigObj.storageType);
|
||||
setParameter(recordConfigObjStr + ".FileFormat", std::to_string(recordConfigObj.fileFormat));
|
||||
setParameter(recordConfigObjStr + ".OssEndPoint", recordConfigObj.ossEndPoint);
|
||||
setParameter(recordConfigObjStr + ".OssBucket", recordConfigObj.ossBucket);
|
||||
setParameter(recordConfigObjStr + ".VodTransCodeGroupId", std::to_string(recordConfigObj.vodTransCodeGroupId));
|
||||
}
|
||||
}
|
||||
|
||||
long CreateTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::LayOut> CreateTemplateRequest::getLayOut()const
|
||||
{
|
||||
return layOut_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setLayOut(const std::vector<LayOut>& layOut)
|
||||
{
|
||||
layOut_ = layOut;
|
||||
for(int dep1 = 0; dep1!= layOut.size(); dep1++) {
|
||||
auto layOutObj = layOut.at(dep1);
|
||||
std::string layOutObjStr = "LayOut." + std::to_string(dep1 + 1);
|
||||
setParameter(layOutObjStr + ".Color", layOutObj.color);
|
||||
setParameter(layOutObjStr + ".CutMode", std::to_string(layOutObj.cutMode));
|
||||
setParameter(layOutObjStr + ".LayOutId", std::to_string(layOutObj.layOutId));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallBack()const
|
||||
{
|
||||
return callBack_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setCallBack(const std::string& callBack)
|
||||
{
|
||||
callBack_ = callBack;
|
||||
setParameter("CallBack", callBack);
|
||||
}
|
||||
|
||||
int CreateTemplateRequest::getMixMode()const
|
||||
{
|
||||
return mixMode_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setMixMode(int mixMode)
|
||||
{
|
||||
mixMode_ = mixMode;
|
||||
setParameter("MixMode", std::to_string(mixMode));
|
||||
}
|
||||
|
||||
@@ -27,6 +27,17 @@ DeleteChannelRequest::DeleteChannelRequest() :
|
||||
DeleteChannelRequest::~DeleteChannelRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteChannelRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DeleteChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -38,6 +38,17 @@ void DeleteConferenceRequest::setConferenceId(const std::string& conferenceId)
|
||||
setParameter("ConferenceId", conferenceId);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteConferenceRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DeleteConferenceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ DeleteMAURuleRequest::DeleteMAURuleRequest() :
|
||||
DeleteMAURuleRequest::~DeleteMAURuleRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteMAURuleRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteMAURuleRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DeleteMAURuleRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
73
rtc/src/model/DeleteMPULayoutRequest.cc
Normal file
73
rtc/src/model/DeleteMPULayoutRequest.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/rtc/model/DeleteMPULayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DeleteMPULayoutRequest;
|
||||
|
||||
DeleteMPULayoutRequest::DeleteMPULayoutRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DeleteMPULayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMPULayoutRequest::~DeleteMPULayoutRequest()
|
||||
{}
|
||||
|
||||
long DeleteMPULayoutRequest::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
void DeleteMPULayoutRequest::setLayoutId(long layoutId)
|
||||
{
|
||||
layoutId_ = layoutId;
|
||||
setParameter("LayoutId", std::to_string(layoutId));
|
||||
}
|
||||
|
||||
std::string DeleteMPULayoutRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeleteMPULayoutRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DeleteMPULayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteMPULayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteMPULayoutRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteMPULayoutRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
44
rtc/src/model/DeleteMPULayoutResult.cc
Normal file
44
rtc/src/model/DeleteMPULayoutResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DeleteMPULayoutResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DeleteMPULayoutResult::DeleteMPULayoutResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMPULayoutResult::DeleteMPULayoutResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMPULayoutResult::~DeleteMPULayoutResult()
|
||||
{}
|
||||
|
||||
void DeleteMPULayoutResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user