RTC SDK Auto Released By renrang.yl,Version:1.30.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2018-11-07 Version: 1.30.2
|
||||
1, Add API CreateTemplate,DeleteTemplate,GetAllTemplate,GetTemplateInfo.
|
||||
2, Add API GetTaskStatus,StartTask,StopTask.
|
||||
3, Add API GetTaskParam,UpdateTaskParam.
|
||||
|
||||
|
||||
2018-11-02 Version: 1.30.1
|
||||
1, deviceName and productKey can be used instead of iotId.
|
||||
2, New productKey fields for queryauthentication output parameter.
|
||||
|
||||
@@ -23,14 +23,44 @@ set(rtc_public_header
|
||||
set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/DescribeAppsRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeAppsResult.h
|
||||
include/alibabacloud/rtc/model/GetTaskStatusRequest.h
|
||||
include/alibabacloud/rtc/model/GetTaskStatusResult.h
|
||||
include/alibabacloud/rtc/model/MuteAudioAllRequest.h
|
||||
include/alibabacloud/rtc/model/MuteAudioAllResult.h
|
||||
include/alibabacloud/rtc/model/UpdateTaskParamRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateTaskParamResult.h
|
||||
include/alibabacloud/rtc/model/DeleteTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteTemplateResult.h
|
||||
include/alibabacloud/rtc/model/CreateTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/CreateTemplateResult.h
|
||||
include/alibabacloud/rtc/model/GetTemplateInfoRequest.h
|
||||
include/alibabacloud/rtc/model/GetTemplateInfoResult.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelResult.h
|
||||
include/alibabacloud/rtc/model/ModifyAppRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyAppResult.h
|
||||
include/alibabacloud/rtc/model/RemoveParticipantsRequest.h
|
||||
include/alibabacloud/rtc/model/RemoveParticipantsResult.h
|
||||
include/alibabacloud/rtc/model/GetAllTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/GetAllTemplateResult.h
|
||||
include/alibabacloud/rtc/model/DescribeStatisRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeStatisResult.h
|
||||
include/alibabacloud/rtc/model/CreateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/CreateChannelResult.h
|
||||
include/alibabacloud/rtc/model/StopTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopTaskResult.h
|
||||
include/alibabacloud/rtc/model/GetTaskParamRequest.h
|
||||
include/alibabacloud/rtc/model/GetTaskParamResult.h
|
||||
include/alibabacloud/rtc/model/UpdateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateChannelResult.h
|
||||
include/alibabacloud/rtc/model/StartTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StartTaskResult.h
|
||||
include/alibabacloud/rtc/model/ModifyConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyConferenceResult.h
|
||||
include/alibabacloud/rtc/model/DescribeConferenceAuthInfoRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeConferenceAuthInfoResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordListResult.h
|
||||
include/alibabacloud/rtc/model/MuteAudioAllRequest.h
|
||||
include/alibabacloud/rtc/model/MuteAudioAllResult.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioRequest.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioResult.h
|
||||
include/alibabacloud/rtc/model/MuteAudioRequest.h
|
||||
@@ -39,18 +69,8 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/StartAppResult.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceResult.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelResult.h
|
||||
include/alibabacloud/rtc/model/ModifyAppRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyAppResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordDetailRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordDetailResult.h
|
||||
include/alibabacloud/rtc/model/RemoveParticipantsRequest.h
|
||||
include/alibabacloud/rtc/model/RemoveParticipantsResult.h
|
||||
include/alibabacloud/rtc/model/DescribeStatisRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeStatisResult.h
|
||||
include/alibabacloud/rtc/model/CreateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/CreateChannelResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordListResult.h
|
||||
include/alibabacloud/rtc/model/StopAppRequest.h
|
||||
@@ -59,8 +79,6 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/RemoveTerminalsResult.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceResult.h
|
||||
include/alibabacloud/rtc/model/UpdateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateChannelResult.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioAllRequest.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioAllResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordDetailRequest.h
|
||||
@@ -72,14 +90,44 @@ set(rtc_src
|
||||
src/RtcClient.cc
|
||||
src/model/DescribeAppsRequest.cc
|
||||
src/model/DescribeAppsResult.cc
|
||||
src/model/GetTaskStatusRequest.cc
|
||||
src/model/GetTaskStatusResult.cc
|
||||
src/model/MuteAudioAllRequest.cc
|
||||
src/model/MuteAudioAllResult.cc
|
||||
src/model/UpdateTaskParamRequest.cc
|
||||
src/model/UpdateTaskParamResult.cc
|
||||
src/model/DeleteTemplateRequest.cc
|
||||
src/model/DeleteTemplateResult.cc
|
||||
src/model/CreateTemplateRequest.cc
|
||||
src/model/CreateTemplateResult.cc
|
||||
src/model/GetTemplateInfoRequest.cc
|
||||
src/model/GetTemplateInfoResult.cc
|
||||
src/model/DeleteChannelRequest.cc
|
||||
src/model/DeleteChannelResult.cc
|
||||
src/model/ModifyAppRequest.cc
|
||||
src/model/ModifyAppResult.cc
|
||||
src/model/RemoveParticipantsRequest.cc
|
||||
src/model/RemoveParticipantsResult.cc
|
||||
src/model/GetAllTemplateRequest.cc
|
||||
src/model/GetAllTemplateResult.cc
|
||||
src/model/DescribeStatisRequest.cc
|
||||
src/model/DescribeStatisResult.cc
|
||||
src/model/CreateChannelRequest.cc
|
||||
src/model/CreateChannelResult.cc
|
||||
src/model/StopTaskRequest.cc
|
||||
src/model/StopTaskResult.cc
|
||||
src/model/GetTaskParamRequest.cc
|
||||
src/model/GetTaskParamResult.cc
|
||||
src/model/UpdateChannelRequest.cc
|
||||
src/model/UpdateChannelResult.cc
|
||||
src/model/StartTaskRequest.cc
|
||||
src/model/StartTaskResult.cc
|
||||
src/model/ModifyConferenceRequest.cc
|
||||
src/model/ModifyConferenceResult.cc
|
||||
src/model/DescribeConferenceAuthInfoRequest.cc
|
||||
src/model/DescribeConferenceAuthInfoResult.cc
|
||||
src/model/DescribeRecordListRequest.cc
|
||||
src/model/DescribeRecordListResult.cc
|
||||
src/model/MuteAudioAllRequest.cc
|
||||
src/model/MuteAudioAllResult.cc
|
||||
src/model/UnmuteAudioRequest.cc
|
||||
src/model/UnmuteAudioResult.cc
|
||||
src/model/MuteAudioRequest.cc
|
||||
@@ -88,18 +136,8 @@ set(rtc_src
|
||||
src/model/StartAppResult.cc
|
||||
src/model/CreateConferenceRequest.cc
|
||||
src/model/CreateConferenceResult.cc
|
||||
src/model/DeleteChannelRequest.cc
|
||||
src/model/DeleteChannelResult.cc
|
||||
src/model/ModifyAppRequest.cc
|
||||
src/model/ModifyAppResult.cc
|
||||
src/model/DescribeRealTimeRecordDetailRequest.cc
|
||||
src/model/DescribeRealTimeRecordDetailResult.cc
|
||||
src/model/RemoveParticipantsRequest.cc
|
||||
src/model/RemoveParticipantsResult.cc
|
||||
src/model/DescribeStatisRequest.cc
|
||||
src/model/DescribeStatisResult.cc
|
||||
src/model/CreateChannelRequest.cc
|
||||
src/model/CreateChannelResult.cc
|
||||
src/model/DescribeRealTimeRecordListRequest.cc
|
||||
src/model/DescribeRealTimeRecordListResult.cc
|
||||
src/model/StopAppRequest.cc
|
||||
@@ -108,8 +146,6 @@ set(rtc_src
|
||||
src/model/RemoveTerminalsResult.cc
|
||||
src/model/DeleteConferenceRequest.cc
|
||||
src/model/DeleteConferenceResult.cc
|
||||
src/model/UpdateChannelRequest.cc
|
||||
src/model/UpdateChannelResult.cc
|
||||
src/model/UnmuteAudioAllRequest.cc
|
||||
src/model/UnmuteAudioAllResult.cc
|
||||
src/model/DescribeRecordDetailRequest.cc
|
||||
|
||||
@@ -24,14 +24,44 @@
|
||||
#include "RtcExport.h"
|
||||
#include "model/DescribeAppsRequest.h"
|
||||
#include "model/DescribeAppsResult.h"
|
||||
#include "model/GetTaskStatusRequest.h"
|
||||
#include "model/GetTaskStatusResult.h"
|
||||
#include "model/MuteAudioAllRequest.h"
|
||||
#include "model/MuteAudioAllResult.h"
|
||||
#include "model/UpdateTaskParamRequest.h"
|
||||
#include "model/UpdateTaskParamResult.h"
|
||||
#include "model/DeleteTemplateRequest.h"
|
||||
#include "model/DeleteTemplateResult.h"
|
||||
#include "model/CreateTemplateRequest.h"
|
||||
#include "model/CreateTemplateResult.h"
|
||||
#include "model/GetTemplateInfoRequest.h"
|
||||
#include "model/GetTemplateInfoResult.h"
|
||||
#include "model/DeleteChannelRequest.h"
|
||||
#include "model/DeleteChannelResult.h"
|
||||
#include "model/ModifyAppRequest.h"
|
||||
#include "model/ModifyAppResult.h"
|
||||
#include "model/RemoveParticipantsRequest.h"
|
||||
#include "model/RemoveParticipantsResult.h"
|
||||
#include "model/GetAllTemplateRequest.h"
|
||||
#include "model/GetAllTemplateResult.h"
|
||||
#include "model/DescribeStatisRequest.h"
|
||||
#include "model/DescribeStatisResult.h"
|
||||
#include "model/CreateChannelRequest.h"
|
||||
#include "model/CreateChannelResult.h"
|
||||
#include "model/StopTaskRequest.h"
|
||||
#include "model/StopTaskResult.h"
|
||||
#include "model/GetTaskParamRequest.h"
|
||||
#include "model/GetTaskParamResult.h"
|
||||
#include "model/UpdateChannelRequest.h"
|
||||
#include "model/UpdateChannelResult.h"
|
||||
#include "model/StartTaskRequest.h"
|
||||
#include "model/StartTaskResult.h"
|
||||
#include "model/ModifyConferenceRequest.h"
|
||||
#include "model/ModifyConferenceResult.h"
|
||||
#include "model/DescribeConferenceAuthInfoRequest.h"
|
||||
#include "model/DescribeConferenceAuthInfoResult.h"
|
||||
#include "model/DescribeRecordListRequest.h"
|
||||
#include "model/DescribeRecordListResult.h"
|
||||
#include "model/MuteAudioAllRequest.h"
|
||||
#include "model/MuteAudioAllResult.h"
|
||||
#include "model/UnmuteAudioRequest.h"
|
||||
#include "model/UnmuteAudioResult.h"
|
||||
#include "model/MuteAudioRequest.h"
|
||||
@@ -40,18 +70,8 @@
|
||||
#include "model/StartAppResult.h"
|
||||
#include "model/CreateConferenceRequest.h"
|
||||
#include "model/CreateConferenceResult.h"
|
||||
#include "model/DeleteChannelRequest.h"
|
||||
#include "model/DeleteChannelResult.h"
|
||||
#include "model/ModifyAppRequest.h"
|
||||
#include "model/ModifyAppResult.h"
|
||||
#include "model/DescribeRealTimeRecordDetailRequest.h"
|
||||
#include "model/DescribeRealTimeRecordDetailResult.h"
|
||||
#include "model/RemoveParticipantsRequest.h"
|
||||
#include "model/RemoveParticipantsResult.h"
|
||||
#include "model/DescribeStatisRequest.h"
|
||||
#include "model/DescribeStatisResult.h"
|
||||
#include "model/CreateChannelRequest.h"
|
||||
#include "model/CreateChannelResult.h"
|
||||
#include "model/DescribeRealTimeRecordListRequest.h"
|
||||
#include "model/DescribeRealTimeRecordListResult.h"
|
||||
#include "model/StopAppRequest.h"
|
||||
@@ -60,8 +80,6 @@
|
||||
#include "model/RemoveTerminalsResult.h"
|
||||
#include "model/DeleteConferenceRequest.h"
|
||||
#include "model/DeleteConferenceResult.h"
|
||||
#include "model/UpdateChannelRequest.h"
|
||||
#include "model/UpdateChannelResult.h"
|
||||
#include "model/UnmuteAudioAllRequest.h"
|
||||
#include "model/UnmuteAudioAllResult.h"
|
||||
#include "model/DescribeRecordDetailRequest.h"
|
||||
@@ -80,6 +98,54 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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::MuteAudioAllResult> MuteAudioAllOutcome;
|
||||
typedef std::future<MuteAudioAllOutcome> MuteAudioAllOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::MuteAudioAllRequest&, const MuteAudioAllOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MuteAudioAllAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateTaskParamResult> UpdateTaskParamOutcome;
|
||||
typedef std::future<UpdateTaskParamOutcome> UpdateTaskParamOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateTaskParamRequest&, const UpdateTaskParamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTaskParamAsyncHandler;
|
||||
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::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::GetTemplateInfoResult> GetTemplateInfoOutcome;
|
||||
typedef std::future<GetTemplateInfoOutcome> GetTemplateInfoOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetTemplateInfoRequest&, const GetTemplateInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTemplateInfoAsyncHandler;
|
||||
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;
|
||||
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::RemoveParticipantsResult> RemoveParticipantsOutcome;
|
||||
typedef std::future<RemoveParticipantsOutcome> RemoveParticipantsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::RemoveParticipantsRequest&, const RemoveParticipantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveParticipantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAllTemplateResult> GetAllTemplateOutcome;
|
||||
typedef std::future<GetAllTemplateOutcome> GetAllTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetAllTemplateRequest&, const GetAllTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAllTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStatisResult> DescribeStatisOutcome;
|
||||
typedef std::future<DescribeStatisOutcome> DescribeStatisOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeStatisRequest&, const DescribeStatisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStatisAsyncHandler;
|
||||
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;
|
||||
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::GetTaskParamResult> GetTaskParamOutcome;
|
||||
typedef std::future<GetTaskParamOutcome> GetTaskParamOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetTaskParamRequest&, const GetTaskParamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskParamAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateChannelResult> UpdateChannelOutcome;
|
||||
typedef std::future<UpdateChannelOutcome> UpdateChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateChannelRequest&, const UpdateChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateChannelAsyncHandler;
|
||||
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::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;
|
||||
@@ -89,9 +155,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRecordListResult> DescribeRecordListOutcome;
|
||||
typedef std::future<DescribeRecordListOutcome> DescribeRecordListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordListRequest&, const DescribeRecordListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordListAsyncHandler;
|
||||
typedef Outcome<Error, Model::MuteAudioAllResult> MuteAudioAllOutcome;
|
||||
typedef std::future<MuteAudioAllOutcome> MuteAudioAllOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::MuteAudioAllRequest&, const MuteAudioAllOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MuteAudioAllAsyncHandler;
|
||||
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;
|
||||
@@ -104,24 +167,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConferenceResult> CreateConferenceOutcome;
|
||||
typedef std::future<CreateConferenceOutcome> CreateConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateConferenceRequest&, const CreateConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConferenceAsyncHandler;
|
||||
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;
|
||||
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::DescribeRealTimeRecordDetailResult> DescribeRealTimeRecordDetailOutcome;
|
||||
typedef std::future<DescribeRealTimeRecordDetailOutcome> DescribeRealTimeRecordDetailOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRealTimeRecordDetailRequest&, const DescribeRealTimeRecordDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRealTimeRecordDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveParticipantsResult> RemoveParticipantsOutcome;
|
||||
typedef std::future<RemoveParticipantsOutcome> RemoveParticipantsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::RemoveParticipantsRequest&, const RemoveParticipantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveParticipantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStatisResult> DescribeStatisOutcome;
|
||||
typedef std::future<DescribeStatisOutcome> DescribeStatisOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeStatisRequest&, const DescribeStatisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStatisAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::DescribeRealTimeRecordListResult> DescribeRealTimeRecordListOutcome;
|
||||
typedef std::future<DescribeRealTimeRecordListOutcome> DescribeRealTimeRecordListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRealTimeRecordListRequest&, const DescribeRealTimeRecordListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRealTimeRecordListAsyncHandler;
|
||||
@@ -134,9 +182,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteConferenceResult> DeleteConferenceOutcome;
|
||||
typedef std::future<DeleteConferenceOutcome> DeleteConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteConferenceRequest&, const DeleteConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateChannelResult> UpdateChannelOutcome;
|
||||
typedef std::future<UpdateChannelOutcome> UpdateChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateChannelRequest&, const UpdateChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnmuteAudioAllResult> UnmuteAudioAllOutcome;
|
||||
typedef std::future<UnmuteAudioAllOutcome> UnmuteAudioAllOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UnmuteAudioAllRequest&, const UnmuteAudioAllOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnmuteAudioAllAsyncHandler;
|
||||
@@ -154,6 +199,54 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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;
|
||||
MuteAudioAllOutcome muteAudioAll(const Model::MuteAudioAllRequest &request)const;
|
||||
void muteAudioAllAsync(const Model::MuteAudioAllRequest& request, const MuteAudioAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MuteAudioAllOutcomeCallable muteAudioAllCallable(const Model::MuteAudioAllRequest& request) const;
|
||||
UpdateTaskParamOutcome updateTaskParam(const Model::UpdateTaskParamRequest &request)const;
|
||||
void updateTaskParamAsync(const Model::UpdateTaskParamRequest& request, const UpdateTaskParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateTaskParamOutcomeCallable updateTaskParamCallable(const Model::UpdateTaskParamRequest& 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;
|
||||
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;
|
||||
GetTemplateInfoOutcome getTemplateInfo(const Model::GetTemplateInfoRequest &request)const;
|
||||
void getTemplateInfoAsync(const Model::GetTemplateInfoRequest& request, const GetTemplateInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTemplateInfoOutcomeCallable getTemplateInfoCallable(const Model::GetTemplateInfoRequest& 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;
|
||||
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;
|
||||
RemoveParticipantsOutcome removeParticipants(const Model::RemoveParticipantsRequest &request)const;
|
||||
void removeParticipantsAsync(const Model::RemoveParticipantsRequest& request, const RemoveParticipantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveParticipantsOutcomeCallable removeParticipantsCallable(const Model::RemoveParticipantsRequest& request) const;
|
||||
GetAllTemplateOutcome getAllTemplate(const Model::GetAllTemplateRequest &request)const;
|
||||
void getAllTemplateAsync(const Model::GetAllTemplateRequest& request, const GetAllTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAllTemplateOutcomeCallable getAllTemplateCallable(const Model::GetAllTemplateRequest& request) const;
|
||||
DescribeStatisOutcome describeStatis(const Model::DescribeStatisRequest &request)const;
|
||||
void describeStatisAsync(const Model::DescribeStatisRequest& request, const DescribeStatisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStatisOutcomeCallable describeStatisCallable(const Model::DescribeStatisRequest& 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;
|
||||
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;
|
||||
GetTaskParamOutcome getTaskParam(const Model::GetTaskParamRequest &request)const;
|
||||
void getTaskParamAsync(const Model::GetTaskParamRequest& request, const GetTaskParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTaskParamOutcomeCallable getTaskParamCallable(const Model::GetTaskParamRequest& request) const;
|
||||
UpdateChannelOutcome updateChannel(const Model::UpdateChannelRequest &request)const;
|
||||
void updateChannelAsync(const Model::UpdateChannelRequest& request, const UpdateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateChannelOutcomeCallable updateChannelCallable(const Model::UpdateChannelRequest& 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;
|
||||
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;
|
||||
@@ -163,9 +256,6 @@ namespace AlibabaCloud
|
||||
DescribeRecordListOutcome describeRecordList(const Model::DescribeRecordListRequest &request)const;
|
||||
void describeRecordListAsync(const Model::DescribeRecordListRequest& request, const DescribeRecordListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordListOutcomeCallable describeRecordListCallable(const Model::DescribeRecordListRequest& request) const;
|
||||
MuteAudioAllOutcome muteAudioAll(const Model::MuteAudioAllRequest &request)const;
|
||||
void muteAudioAllAsync(const Model::MuteAudioAllRequest& request, const MuteAudioAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MuteAudioAllOutcomeCallable muteAudioAllCallable(const Model::MuteAudioAllRequest& 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;
|
||||
@@ -178,24 +268,9 @@ namespace AlibabaCloud
|
||||
CreateConferenceOutcome createConference(const Model::CreateConferenceRequest &request)const;
|
||||
void createConferenceAsync(const Model::CreateConferenceRequest& request, const CreateConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConferenceOutcomeCallable createConferenceCallable(const Model::CreateConferenceRequest& 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;
|
||||
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;
|
||||
DescribeRealTimeRecordDetailOutcome describeRealTimeRecordDetail(const Model::DescribeRealTimeRecordDetailRequest &request)const;
|
||||
void describeRealTimeRecordDetailAsync(const Model::DescribeRealTimeRecordDetailRequest& request, const DescribeRealTimeRecordDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRealTimeRecordDetailOutcomeCallable describeRealTimeRecordDetailCallable(const Model::DescribeRealTimeRecordDetailRequest& request) const;
|
||||
RemoveParticipantsOutcome removeParticipants(const Model::RemoveParticipantsRequest &request)const;
|
||||
void removeParticipantsAsync(const Model::RemoveParticipantsRequest& request, const RemoveParticipantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveParticipantsOutcomeCallable removeParticipantsCallable(const Model::RemoveParticipantsRequest& request) const;
|
||||
DescribeStatisOutcome describeStatis(const Model::DescribeStatisRequest &request)const;
|
||||
void describeStatisAsync(const Model::DescribeStatisRequest& request, const DescribeStatisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStatisOutcomeCallable describeStatisCallable(const Model::DescribeStatisRequest& 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;
|
||||
DescribeRealTimeRecordListOutcome describeRealTimeRecordList(const Model::DescribeRealTimeRecordListRequest &request)const;
|
||||
void describeRealTimeRecordListAsync(const Model::DescribeRealTimeRecordListRequest& request, const DescribeRealTimeRecordListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRealTimeRecordListOutcomeCallable describeRealTimeRecordListCallable(const Model::DescribeRealTimeRecordListRequest& request) const;
|
||||
@@ -208,9 +283,6 @@ namespace AlibabaCloud
|
||||
DeleteConferenceOutcome deleteConference(const Model::DeleteConferenceRequest &request)const;
|
||||
void deleteConferenceAsync(const Model::DeleteConferenceRequest& request, const DeleteConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConferenceOutcomeCallable deleteConferenceCallable(const Model::DeleteConferenceRequest& request) const;
|
||||
UpdateChannelOutcome updateChannel(const Model::UpdateChannelRequest &request)const;
|
||||
void updateChannelAsync(const Model::UpdateChannelRequest& request, const UpdateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateChannelOutcomeCallable updateChannelCallable(const Model::UpdateChannelRequest& request) const;
|
||||
UnmuteAudioAllOutcome unmuteAudioAll(const Model::UnmuteAudioAllRequest &request)const;
|
||||
void unmuteAudioAllAsync(const Model::UnmuteAudioAllRequest& request, const UnmuteAudioAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnmuteAudioAllOutcomeCallable unmuteAudioAllCallable(const Model::UnmuteAudioAllRequest& request) const;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
@@ -82,6 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
|
||||
@@ -69,8 +69,6 @@ namespace AlibabaCloud
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
@@ -108,7 +106,6 @@ namespace AlibabaCloud
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
|
||||
151
rtc/include/alibabacloud/rtc/model/CreateTemplateRequest.h
Normal file
151
rtc/include/alibabacloud/rtc/model/CreateTemplateRequest.h
Normal file
@@ -0,0 +1,151 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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
|
||||
{
|
||||
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);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
int getMediaConfig()const;
|
||||
void setMediaConfig(int mediaConfig);
|
||||
int getMaxMixStreamCount()const;
|
||||
void setMaxMixStreamCount(int maxMixStreamCount);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::vector<RecordConfig> getRecordConfig()const;
|
||||
void setRecordConfig(const std::vector<RecordConfig>& recordConfig);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::vector<LayOut> getLayOut()const;
|
||||
void setLayOut(const std::vector<LayOut>& layOut);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
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_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
int mediaConfig_;
|
||||
int maxMixStreamCount_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::vector<RecordConfig> recordConfig_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::vector<LayOut> layOut_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string callBack_;
|
||||
int mixMode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATETEMPLATEREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/CreateTemplateResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/CreateTemplateResult.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_CREATETEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATETEMPLATERESULT_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 CreateTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTemplateResult();
|
||||
explicit CreateTemplateResult(const std::string &payload);
|
||||
~CreateTemplateResult();
|
||||
long getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATETEMPLATERESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
@@ -82,6 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
|
||||
111
rtc/include/alibabacloud/rtc/model/DeleteTemplateRequest.h
Normal file
111
rtc/include/alibabacloud/rtc/model/DeleteTemplateRequest.h
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DELETETEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETETEMPLATEREQUEST_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 DeleteTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTemplateRequest();
|
||||
~DeleteTemplateRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
long templateId_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETETEMPLATEREQUEST_H_
|
||||
49
rtc/include/alibabacloud/rtc/model/DeleteTemplateResult.h
Normal file
49
rtc/include/alibabacloud/rtc/model/DeleteTemplateResult.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_DELETETEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETETEMPLATERESULT_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 DeleteTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTemplateResult();
|
||||
explicit DeleteTemplateResult(const std::string &payload);
|
||||
~DeleteTemplateResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETETEMPLATERESULT_H_
|
||||
@@ -67,8 +67,6 @@ namespace AlibabaCloud
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
@@ -105,7 +103,6 @@ namespace AlibabaCloud
|
||||
std::string order_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -82,7 +82,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -84,7 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -82,7 +82,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string endTime_;
|
||||
|
||||
@@ -61,8 +61,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
@@ -100,7 +100,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -69,8 +69,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
@@ -112,7 +112,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -67,8 +67,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
@@ -107,7 +107,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
|
||||
108
rtc/include/alibabacloud/rtc/model/GetAllTemplateRequest.h
Normal file
108
rtc/include/alibabacloud/rtc/model/GetAllTemplateRequest.h
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_GETALLTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETALLTEMPLATEREQUEST_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 GetAllTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAllTemplateRequest();
|
||||
~GetAllTemplateRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETALLTEMPLATEREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/GetAllTemplateResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/GetAllTemplateResult.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_GETALLTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETALLTEMPLATERESULT_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 GetAllTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAllTemplateResult();
|
||||
explicit GetAllTemplateResult(const std::string &payload);
|
||||
~GetAllTemplateResult();
|
||||
std::vector<std::string> getTemplateIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> templateIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETALLTEMPLATERESULT_H_
|
||||
111
rtc/include/alibabacloud/rtc/model/GetTaskParamRequest.h
Normal file
111
rtc/include/alibabacloud/rtc/model/GetTaskParamRequest.h
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_GETTASKPARAMREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTASKPARAMREQUEST_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 GetTaskParamRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTaskParamRequest();
|
||||
~GetTaskParamRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long taskId_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTASKPARAMREQUEST_H_
|
||||
61
rtc/include/alibabacloud/rtc/model/GetTaskParamResult.h
Normal file
61
rtc/include/alibabacloud/rtc/model/GetTaskParamResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_GETTASKPARAMRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTASKPARAMRESULT_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 GetTaskParamResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MixPaneItem
|
||||
{
|
||||
std::string userId;
|
||||
std::string sourceType;
|
||||
int paneId;
|
||||
};
|
||||
|
||||
|
||||
GetTaskParamResult();
|
||||
explicit GetTaskParamResult(const std::string &payload);
|
||||
~GetTaskParamResult();
|
||||
std::vector<MixPaneItem> getMixPane()const;
|
||||
std::string getChannelId()const;
|
||||
long getTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MixPaneItem> mixPane_;
|
||||
std::string channelId_;
|
||||
long templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTASKPARAMRESULT_H_
|
||||
114
rtc/include/alibabacloud/rtc/model/GetTaskStatusRequest.h
Normal file
114
rtc/include/alibabacloud/rtc/model/GetTaskStatusRequest.h
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSREQUEST_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 GetTaskStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTaskStatusRequest();
|
||||
~GetTaskStatusRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
std::string channelId_;
|
||||
long taskId_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/GetTaskStatusResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/GetTaskStatusResult.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_GETTASKSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSRESULT_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 GetTaskStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTaskStatusResult();
|
||||
explicit GetTaskStatusResult(const std::string &payload);
|
||||
~GetTaskStatusResult();
|
||||
int getStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTASKSTATUSRESULT_H_
|
||||
111
rtc/include/alibabacloud/rtc/model/GetTemplateInfoRequest.h
Normal file
111
rtc/include/alibabacloud/rtc/model/GetTemplateInfoRequest.h
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_GETTEMPLATEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTEMPLATEINFOREQUEST_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 GetTemplateInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTemplateInfoRequest();
|
||||
~GetTemplateInfoRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
long templateId_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTEMPLATEINFOREQUEST_H_
|
||||
84
rtc/include/alibabacloud/rtc/model/GetTemplateInfoResult.h
Normal file
84
rtc/include/alibabacloud/rtc/model/GetTemplateInfoResult.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_GETTEMPLATEINFORESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_GETTEMPLATEINFORESULT_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 GetTemplateInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LayOut
|
||||
{
|
||||
int layoutID;
|
||||
std::string color;
|
||||
int cutmode;
|
||||
};
|
||||
struct RecordConfig
|
||||
{
|
||||
std::string storageType;
|
||||
std::string ossEndpoint;
|
||||
std::string ossBucket;
|
||||
int fileFormat;
|
||||
int vodTranscodeGroupId;
|
||||
};
|
||||
struct LiveConfig
|
||||
{
|
||||
std::string domainName;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
GetTemplateInfoResult();
|
||||
explicit GetTemplateInfoResult(const std::string &payload);
|
||||
~GetTemplateInfoResult();
|
||||
std::string getCallBack()const;
|
||||
int getMixMode()const;
|
||||
LayOut getLayOut()const;
|
||||
int getMaxMixStreamCount()const;
|
||||
LiveConfig getLiveConfig()const;
|
||||
int getServiceMode()const;
|
||||
int getMediaConfig()const;
|
||||
RecordConfig getRecordConfig()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string callBack_;
|
||||
int mixMode_;
|
||||
LayOut layOut_;
|
||||
int maxMixStreamCount_;
|
||||
LiveConfig liveConfig_;
|
||||
int serviceMode_;
|
||||
int mediaConfig_;
|
||||
RecordConfig recordConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_GETTEMPLATEINFORESULT_H_
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -82,7 +82,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
@@ -67,8 +67,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
@@ -105,7 +105,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -84,7 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::vector<std::string> getParticipantIds()const;
|
||||
void setParticipantIds(const std::vector<std::string>& participantIds);
|
||||
long getCallerParentId()const;
|
||||
@@ -84,7 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::vector<std::string> participantIds_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::vector<std::string> getParticipantIds()const;
|
||||
void setParticipantIds(const std::vector<std::string>& participantIds);
|
||||
long getCallerParentId()const;
|
||||
@@ -84,7 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::vector<std::string> participantIds_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -80,7 +80,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
126
rtc/include/alibabacloud/rtc/model/StartTaskRequest.h
Normal file
126
rtc/include/alibabacloud/rtc/model/StartTaskRequest.h
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_STARTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STARTTASKREQUEST_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 StartTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
struct MixPanes
|
||||
{
|
||||
int paneId;
|
||||
std::string userId;
|
||||
std::string sourceType;
|
||||
};
|
||||
|
||||
public:
|
||||
StartTaskRequest();
|
||||
~StartTaskRequest();
|
||||
|
||||
std::vector<MixPanes> getMixPanes()const;
|
||||
void setMixPanes(const std::vector<MixPanes>& mixPanes);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
std::string getIdempotentId()const;
|
||||
void setIdempotentId(const std::string& idempotentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
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_;
|
||||
long callerParentId_;
|
||||
std::string idempotentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
long templateId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STARTTASKREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/StartTaskResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/StartTaskResult.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_STARTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STARTTASKRESULT_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 StartTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartTaskResult();
|
||||
explicit StartTaskResult(const std::string &payload);
|
||||
~StartTaskResult();
|
||||
long getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STARTTASKRESULT_H_
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -80,7 +80,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
114
rtc/include/alibabacloud/rtc/model/StopTaskRequest.h
Normal file
114
rtc/include/alibabacloud/rtc/model/StopTaskRequest.h
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_STOPTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPTASKREQUEST_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 StopTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopTaskRequest();
|
||||
~StopTaskRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
std::string channelId_;
|
||||
long taskId_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPTASKREQUEST_H_
|
||||
49
rtc/include/alibabacloud/rtc/model/StopTaskResult.h
Normal file
49
rtc/include/alibabacloud/rtc/model/StopTaskResult.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_STOPTASKRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_STOPTASKRESULT_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 StopTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopTaskResult();
|
||||
explicit StopTaskResult(const std::string &payload);
|
||||
~StopTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_STOPTASKRESULT_H_
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -84,7 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::vector<std::string> getParticipantIds()const;
|
||||
void setParticipantIds(const std::vector<std::string>& participantIds);
|
||||
long getCallerParentId()const;
|
||||
@@ -84,7 +84,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::vector<std::string> participantIds_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
|
||||
@@ -35,77 +35,80 @@ namespace AlibabaCloud
|
||||
UpdateChannelRequest();
|
||||
~UpdateChannelRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getNonce()const;
|
||||
void setNonce(const std::string& nonce);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getNonce()const;
|
||||
void setNonce(const std::string& nonce);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string nonce_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
std::string channelId_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
std::string nonce_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
126
rtc/include/alibabacloud/rtc/model/UpdateTaskParamRequest.h
Normal file
126
rtc/include/alibabacloud/rtc/model/UpdateTaskParamRequest.h
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_UPDATETASKPARAMREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMREQUEST_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 UpdateTaskParamRequest : public RpcServiceRequest
|
||||
{
|
||||
struct MixPanes
|
||||
{
|
||||
int paneId;
|
||||
std::string userId;
|
||||
std::string sourceType;
|
||||
};
|
||||
|
||||
public:
|
||||
UpdateTaskParamRequest();
|
||||
~UpdateTaskParamRequest();
|
||||
|
||||
std::vector<MixPanes> getMixPanes()const;
|
||||
void setMixPanes(const std::vector<MixPanes>& mixPanes);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
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_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long taskId_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
long templateId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMREQUEST_H_
|
||||
51
rtc/include/alibabacloud/rtc/model/UpdateTaskParamResult.h
Normal file
51
rtc/include/alibabacloud/rtc/model/UpdateTaskParamResult.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_UPDATETASKPARAMRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_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 UpdateTaskParamResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateTaskParamResult();
|
||||
explicit UpdateTaskParamResult(const std::string &payload);
|
||||
~UpdateTaskParamResult();
|
||||
long getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_H_
|
||||
@@ -87,6 +87,582 @@ RtcClient::DescribeAppsOutcomeCallable RtcClient::describeAppsCallable(const Des
|
||||
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::MuteAudioAllOutcome RtcClient::muteAudioAll(const MuteAudioAllRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MuteAudioAllOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MuteAudioAllOutcome(MuteAudioAllResult(outcome.result()));
|
||||
else
|
||||
return MuteAudioAllOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::muteAudioAllAsync(const MuteAudioAllRequest& request, const MuteAudioAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, muteAudioAll(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::MuteAudioAllOutcomeCallable RtcClient::muteAudioAllCallable(const MuteAudioAllRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MuteAudioAllOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->muteAudioAll(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::UpdateTaskParamOutcome RtcClient::updateTaskParam(const UpdateTaskParamRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateTaskParamOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateTaskParamOutcome(UpdateTaskParamResult(outcome.result()));
|
||||
else
|
||||
return UpdateTaskParamOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::updateTaskParamAsync(const UpdateTaskParamRequest& request, const UpdateTaskParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateTaskParam(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::UpdateTaskParamOutcomeCallable RtcClient::updateTaskParamCallable(const UpdateTaskParamRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateTaskParamOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateTaskParam(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteTemplateOutcome RtcClient::deleteTemplate(const DeleteTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteTemplateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteTemplateOutcome(DeleteTemplateResult(outcome.result()));
|
||||
else
|
||||
return DeleteTemplateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::deleteTemplateAsync(const DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteTemplate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DeleteTemplateOutcomeCallable RtcClient::deleteTemplateCallable(const DeleteTemplateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteTemplateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteTemplate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateTemplateOutcome RtcClient::createTemplate(const CreateTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateTemplateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateTemplateOutcome(CreateTemplateResult(outcome.result()));
|
||||
else
|
||||
return CreateTemplateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::createTemplateAsync(const CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createTemplate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::CreateTemplateOutcomeCallable RtcClient::createTemplateCallable(const CreateTemplateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateTemplateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createTemplate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetTemplateInfoOutcome RtcClient::getTemplateInfo(const GetTemplateInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTemplateInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTemplateInfoOutcome(GetTemplateInfoResult(outcome.result()));
|
||||
else
|
||||
return GetTemplateInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::getTemplateInfoAsync(const GetTemplateInfoRequest& request, const GetTemplateInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTemplateInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::GetTemplateInfoOutcomeCallable RtcClient::getTemplateInfoCallable(const GetTemplateInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTemplateInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTemplateInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteChannelOutcome RtcClient::deleteChannel(const DeleteChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteChannelOutcome(DeleteChannelResult(outcome.result()));
|
||||
else
|
||||
return DeleteChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::deleteChannelAsync(const DeleteChannelRequest& request, const DeleteChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DeleteChannelOutcomeCallable RtcClient::deleteChannelCallable(const DeleteChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcome RtcClient::modifyApp(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAppOutcome(ModifyAppResult(outcome.result()));
|
||||
else
|
||||
return ModifyAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::modifyAppAsync(const ModifyAppRequest& request, const ModifyAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcomeCallable RtcClient::modifyAppCallable(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::RemoveParticipantsOutcome RtcClient::removeParticipants(const RemoveParticipantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveParticipantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveParticipantsOutcome(RemoveParticipantsResult(outcome.result()));
|
||||
else
|
||||
return RemoveParticipantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::removeParticipantsAsync(const RemoveParticipantsRequest& request, const RemoveParticipantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeParticipants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::RemoveParticipantsOutcomeCallable RtcClient::removeParticipantsCallable(const RemoveParticipantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveParticipantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeParticipants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetAllTemplateOutcome RtcClient::getAllTemplate(const GetAllTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAllTemplateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAllTemplateOutcome(GetAllTemplateResult(outcome.result()));
|
||||
else
|
||||
return GetAllTemplateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::getAllTemplateAsync(const GetAllTemplateRequest& request, const GetAllTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAllTemplate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::GetAllTemplateOutcomeCallable RtcClient::getAllTemplateCallable(const GetAllTemplateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAllTemplateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAllTemplate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeStatisOutcome RtcClient::describeStatis(const DescribeStatisRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeStatisOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeStatisOutcome(DescribeStatisResult(outcome.result()));
|
||||
else
|
||||
return DescribeStatisOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeStatisAsync(const DescribeStatisRequest& request, const DescribeStatisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeStatis(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeStatisOutcomeCallable RtcClient::describeStatisCallable(const DescribeStatisRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeStatisOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeStatis(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateChannelOutcome RtcClient::createChannel(const CreateChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateChannelOutcome(CreateChannelResult(outcome.result()));
|
||||
else
|
||||
return CreateChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::createChannelAsync(const CreateChannelRequest& request, const CreateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::CreateChannelOutcomeCallable RtcClient::createChannelCallable(const CreateChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcome RtcClient::stopTask(const StopTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopTaskOutcome(StopTaskResult(outcome.result()));
|
||||
else
|
||||
return StopTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::stopTaskAsync(const StopTaskRequest& request, const StopTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcomeCallable RtcClient::stopTaskCallable(const StopTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetTaskParamOutcome RtcClient::getTaskParam(const GetTaskParamRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTaskParamOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTaskParamOutcome(GetTaskParamResult(outcome.result()));
|
||||
else
|
||||
return GetTaskParamOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::getTaskParamAsync(const GetTaskParamRequest& request, const GetTaskParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTaskParam(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::GetTaskParamOutcomeCallable RtcClient::getTaskParamCallable(const GetTaskParamRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTaskParamOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTaskParam(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::UpdateChannelOutcome RtcClient::updateChannel(const UpdateChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateChannelOutcome(UpdateChannelResult(outcome.result()));
|
||||
else
|
||||
return UpdateChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::updateChannelAsync(const UpdateChannelRequest& request, const UpdateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::UpdateChannelOutcomeCallable RtcClient::updateChannelCallable(const UpdateChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StartTaskOutcome RtcClient::startTask(const StartTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartTaskOutcome(StartTaskResult(outcome.result()));
|
||||
else
|
||||
return StartTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::startTaskAsync(const StartTaskRequest& request, const StartTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StartTaskOutcomeCallable RtcClient::startTaskCallable(const StartTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyConferenceOutcome RtcClient::modifyConference(const ModifyConferenceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,42 +771,6 @@ RtcClient::DescribeRecordListOutcomeCallable RtcClient::describeRecordListCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::MuteAudioAllOutcome RtcClient::muteAudioAll(const MuteAudioAllRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MuteAudioAllOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MuteAudioAllOutcome(MuteAudioAllResult(outcome.result()));
|
||||
else
|
||||
return MuteAudioAllOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::muteAudioAllAsync(const MuteAudioAllRequest& request, const MuteAudioAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, muteAudioAll(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::MuteAudioAllOutcomeCallable RtcClient::muteAudioAllCallable(const MuteAudioAllRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MuteAudioAllOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->muteAudioAll(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::UnmuteAudioOutcome RtcClient::unmuteAudio(const UnmuteAudioRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,78 +915,6 @@ RtcClient::CreateConferenceOutcomeCallable RtcClient::createConferenceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteChannelOutcome RtcClient::deleteChannel(const DeleteChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteChannelOutcome(DeleteChannelResult(outcome.result()));
|
||||
else
|
||||
return DeleteChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::deleteChannelAsync(const DeleteChannelRequest& request, const DeleteChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DeleteChannelOutcomeCallable RtcClient::deleteChannelCallable(const DeleteChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcome RtcClient::modifyApp(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAppOutcome(ModifyAppResult(outcome.result()));
|
||||
else
|
||||
return ModifyAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::modifyAppAsync(const ModifyAppRequest& request, const ModifyAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcomeCallable RtcClient::modifyAppCallable(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRealTimeRecordDetailOutcome RtcClient::describeRealTimeRecordDetail(const DescribeRealTimeRecordDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,114 +951,6 @@ RtcClient::DescribeRealTimeRecordDetailOutcomeCallable RtcClient::describeRealTi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::RemoveParticipantsOutcome RtcClient::removeParticipants(const RemoveParticipantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveParticipantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveParticipantsOutcome(RemoveParticipantsResult(outcome.result()));
|
||||
else
|
||||
return RemoveParticipantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::removeParticipantsAsync(const RemoveParticipantsRequest& request, const RemoveParticipantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeParticipants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::RemoveParticipantsOutcomeCallable RtcClient::removeParticipantsCallable(const RemoveParticipantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveParticipantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeParticipants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeStatisOutcome RtcClient::describeStatis(const DescribeStatisRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeStatisOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeStatisOutcome(DescribeStatisResult(outcome.result()));
|
||||
else
|
||||
return DescribeStatisOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeStatisAsync(const DescribeStatisRequest& request, const DescribeStatisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeStatis(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeStatisOutcomeCallable RtcClient::describeStatisCallable(const DescribeStatisRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeStatisOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeStatis(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateChannelOutcome RtcClient::createChannel(const CreateChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateChannelOutcome(CreateChannelResult(outcome.result()));
|
||||
else
|
||||
return CreateChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::createChannelAsync(const CreateChannelRequest& request, const CreateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::CreateChannelOutcomeCallable RtcClient::createChannelCallable(const CreateChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRealTimeRecordListOutcome RtcClient::describeRealTimeRecordList(const DescribeRealTimeRecordListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,42 +1095,6 @@ RtcClient::DeleteConferenceOutcomeCallable RtcClient::deleteConferenceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::UpdateChannelOutcome RtcClient::updateChannel(const UpdateChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateChannelOutcome(UpdateChannelResult(outcome.result()));
|
||||
else
|
||||
return UpdateChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::updateChannelAsync(const UpdateChannelRequest& request, const UpdateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::UpdateChannelOutcomeCallable RtcClient::updateChannelCallable(const UpdateChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::UnmuteAudioAllOutcome RtcClient::unmuteAudioAll(const UnmuteAudioAllRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -36,6 +36,17 @@ void CreateChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
|
||||
@@ -212,17 +212,6 @@ void CreateConferenceRequest::setPopProduct(const std::string& popProduct)
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void CreateConferenceRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
|
||||
368
rtc/src/model/CreateTemplateRequest.cc
Normal file
368
rtc/src/model/CreateTemplateRequest.cc
Normal file
@@ -0,0 +1,368 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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")
|
||||
{}
|
||||
|
||||
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;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= liveConfig.size(); i++) {
|
||||
auto obj = liveConfig.at(i);
|
||||
std::string str ="LiveConfig."+ std::to_string(i);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".AppName", obj.appName);
|
||||
}
|
||||
}
|
||||
|
||||
long CreateTemplateRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
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::string CreateTemplateRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::RecordConfig> CreateTemplateRequest::getRecordConfig()const
|
||||
{
|
||||
return recordConfig_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setRecordConfig(const std::vector<RecordConfig>& recordConfig)
|
||||
{
|
||||
recordConfig_ = recordConfig;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= recordConfig.size(); i++) {
|
||||
auto obj = recordConfig.at(i);
|
||||
std::string str ="RecordConfig."+ std::to_string(i);
|
||||
setParameter(str + ".StorageType", obj.storageType);
|
||||
setParameter(str + ".FileFormat", std::to_string(obj.fileFormat));
|
||||
setParameter(str + ".OssEndPoint", obj.ossEndPoint);
|
||||
setParameter(str + ".OssBucket", obj.ossBucket);
|
||||
setParameter(str + ".VodTransCodeGroupId", std::to_string(obj.vodTransCodeGroupId));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTemplateRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::LayOut> CreateTemplateRequest::getLayOut()const
|
||||
{
|
||||
return layOut_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setLayOut(const std::vector<LayOut>& layOut)
|
||||
{
|
||||
layOut_ = layOut;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= layOut.size(); i++) {
|
||||
auto obj = layOut.at(i);
|
||||
std::string str ="LayOut."+ std::to_string(i);
|
||||
setParameter(str + ".Color", obj.color);
|
||||
setParameter(str + ".CutMode", std::to_string(obj.cutMode));
|
||||
setParameter(str + ".LayOutId", std::to_string(obj.layOutId));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
52
rtc/src/model/CreateTemplateResult.cc
Normal file
52
rtc/src/model/CreateTemplateResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/CreateTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
CreateTemplateResult::CreateTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTemplateResult::CreateTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTemplateResult::~CreateTemplateResult()
|
||||
{}
|
||||
|
||||
void CreateTemplateResult::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());
|
||||
|
||||
}
|
||||
|
||||
long CreateTemplateResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
@@ -36,6 +36,17 @@ void DeleteChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
|
||||
269
rtc/src/model/DeleteTemplateRequest.cc
Normal file
269
rtc/src/model/DeleteTemplateRequest.cc
Normal file
@@ -0,0 +1,269 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DeleteTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DeleteTemplateRequest;
|
||||
|
||||
DeleteTemplateRequest::DeleteTemplateRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DeleteTemplate")
|
||||
{}
|
||||
|
||||
DeleteTemplateRequest::~DeleteTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTemplateRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteTemplateRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
45
rtc/src/model/DeleteTemplateResult.cc
Normal file
45
rtc/src/model/DeleteTemplateResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DeleteTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DeleteTemplateResult::DeleteTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTemplateResult::DeleteTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTemplateResult::~DeleteTemplateResult()
|
||||
{}
|
||||
|
||||
void DeleteTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -201,17 +201,6 @@ void DescribeAppsRequest::setPopProduct(const std::string& popProduct)
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeAppsRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
|
||||
@@ -36,15 +36,15 @@ void DescribeConferenceAuthInfoRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getProduct()const
|
||||
std::string DescribeConferenceAuthInfoRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeConferenceAuthInfoRequest::setProduct(const std::string& product)
|
||||
void DescribeConferenceAuthInfoRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeConferenceAuthInfoRequest::getCallerParentId()const
|
||||
|
||||
@@ -36,15 +36,15 @@ void DescribeRealTimeRecordDetailRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getProduct()const
|
||||
std::string DescribeRealTimeRecordDetailRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRealTimeRecordDetailRequest::setProduct(const std::string& product)
|
||||
void DescribeRealTimeRecordDetailRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordDetailRequest::getCallerParentId()const
|
||||
|
||||
@@ -36,15 +36,15 @@ void DescribeRealTimeRecordListRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getProduct()const
|
||||
std::string DescribeRealTimeRecordListRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRealTimeRecordListRequest::setProduct(const std::string& product)
|
||||
void DescribeRealTimeRecordListRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordListRequest::getCallerParentId()const
|
||||
|
||||
@@ -168,15 +168,15 @@ void DescribeRecordDetailRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getProduct()const
|
||||
std::string DescribeRecordDetailRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRecordDetailRequest::setProduct(const std::string& product)
|
||||
void DescribeRecordDetailRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getEndTime()const
|
||||
|
||||
@@ -212,15 +212,15 @@ void DescribeRecordListRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getProduct()const
|
||||
std::string DescribeRecordListRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRecordListRequest::setProduct(const std::string& product)
|
||||
void DescribeRecordListRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getEndTime()const
|
||||
|
||||
@@ -201,15 +201,15 @@ void DescribeStatisRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getProduct()const
|
||||
std::string DescribeStatisRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeStatisRequest::setProduct(const std::string& product)
|
||||
void DescribeStatisRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getEndTime()const
|
||||
|
||||
258
rtc/src/model/GetAllTemplateRequest.cc
Normal file
258
rtc/src/model/GetAllTemplateRequest.cc
Normal file
@@ -0,0 +1,258 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetAllTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::GetAllTemplateRequest;
|
||||
|
||||
GetAllTemplateRequest::GetAllTemplateRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "GetAllTemplate")
|
||||
{}
|
||||
|
||||
GetAllTemplateRequest::~GetAllTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string GetAllTemplateRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetAllTemplateRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetAllTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long GetAllTemplateRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void GetAllTemplateRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
53
rtc/src/model/GetAllTemplateResult.cc
Normal file
53
rtc/src/model/GetAllTemplateResult.cc
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetAllTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
GetAllTemplateResult::GetAllTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAllTemplateResult::GetAllTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAllTemplateResult::~GetAllTemplateResult()
|
||||
{}
|
||||
|
||||
void GetAllTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTemplateIds = value["TemplateIds"]["TemplateId"];
|
||||
for (const auto &item : allTemplateIds)
|
||||
templateIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> GetAllTemplateResult::getTemplateIds()const
|
||||
{
|
||||
return templateIds_;
|
||||
}
|
||||
|
||||
269
rtc/src/model/GetTaskParamRequest.cc
Normal file
269
rtc/src/model/GetTaskParamRequest.cc
Normal file
@@ -0,0 +1,269 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetTaskParamRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::GetTaskParamRequest;
|
||||
|
||||
GetTaskParamRequest::GetTaskParamRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "GetTaskParam")
|
||||
{}
|
||||
|
||||
GetTaskParamRequest::~GetTaskParamRequest()
|
||||
{}
|
||||
|
||||
std::string GetTaskParamRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void GetTaskParamRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
76
rtc/src/model/GetTaskParamResult.cc
Normal file
76
rtc/src/model/GetTaskParamResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/GetTaskParamResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
GetTaskParamResult::GetTaskParamResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTaskParamResult::GetTaskParamResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTaskParamResult::~GetTaskParamResult()
|
||||
{}
|
||||
|
||||
void GetTaskParamResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allMixPane = value["MixPane"]["MixPaneItem"];
|
||||
for (auto value : allMixPane)
|
||||
{
|
||||
MixPaneItem mixPaneObject;
|
||||
if(!value["PaneId"].isNull())
|
||||
mixPaneObject.paneId = std::stoi(value["PaneId"].asString());
|
||||
if(!value["UserId"].isNull())
|
||||
mixPaneObject.userId = value["UserId"].asString();
|
||||
if(!value["SourceType"].isNull())
|
||||
mixPaneObject.sourceType = value["SourceType"].asString();
|
||||
mixPane_.push_back(mixPaneObject);
|
||||
}
|
||||
if(!value["ChannelId"].isNull())
|
||||
channelId_ = value["ChannelId"].asString();
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = std::stol(value["TemplateId"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetTaskParamResult::MixPaneItem> GetTaskParamResult::getMixPane()const
|
||||
{
|
||||
return mixPane_;
|
||||
}
|
||||
|
||||
std::string GetTaskParamResult::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
long GetTaskParamResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
280
rtc/src/model/GetTaskStatusRequest.cc
Normal file
280
rtc/src/model/GetTaskStatusRequest.cc
Normal file
@@ -0,0 +1,280 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetTaskStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::GetTaskStatusRequest;
|
||||
|
||||
GetTaskStatusRequest::GetTaskStatusRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "GetTaskStatus")
|
||||
{}
|
||||
|
||||
GetTaskStatusRequest::~GetTaskStatusRequest()
|
||||
{}
|
||||
|
||||
std::string GetTaskStatusRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void GetTaskStatusRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
52
rtc/src/model/GetTaskStatusResult.cc
Normal file
52
rtc/src/model/GetTaskStatusResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetTaskStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
GetTaskStatusResult::GetTaskStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTaskStatusResult::GetTaskStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTaskStatusResult::~GetTaskStatusResult()
|
||||
{}
|
||||
|
||||
void GetTaskStatusResult::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());
|
||||
|
||||
}
|
||||
|
||||
int GetTaskStatusResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
269
rtc/src/model/GetTemplateInfoRequest.cc
Normal file
269
rtc/src/model/GetTemplateInfoRequest.cc
Normal file
@@ -0,0 +1,269 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetTemplateInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::GetTemplateInfoRequest;
|
||||
|
||||
GetTemplateInfoRequest::GetTemplateInfoRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "GetTemplateInfo")
|
||||
{}
|
||||
|
||||
GetTemplateInfoRequest::~GetTemplateInfoRequest()
|
||||
{}
|
||||
|
||||
std::string GetTemplateInfoRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void GetTemplateInfoRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
118
rtc/src/model/GetTemplateInfoResult.cc
Normal file
118
rtc/src/model/GetTemplateInfoResult.cc
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetTemplateInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
GetTemplateInfoResult::GetTemplateInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTemplateInfoResult::GetTemplateInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTemplateInfoResult::~GetTemplateInfoResult()
|
||||
{}
|
||||
|
||||
void GetTemplateInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto layOutNode = value["LayOut"];
|
||||
if(!layOutNode["Color"].isNull())
|
||||
layOut_.color = layOutNode["Color"].asString();
|
||||
if(!layOutNode["Cutmode"].isNull())
|
||||
layOut_.cutmode = std::stoi(layOutNode["Cutmode"].asString());
|
||||
if(!layOutNode["LayoutID"].isNull())
|
||||
layOut_.layoutID = std::stoi(layOutNode["LayoutID"].asString());
|
||||
auto recordConfigNode = value["RecordConfig"];
|
||||
if(!recordConfigNode["StorageType"].isNull())
|
||||
recordConfig_.storageType = recordConfigNode["StorageType"].asString();
|
||||
if(!recordConfigNode["FileFormat"].isNull())
|
||||
recordConfig_.fileFormat = std::stoi(recordConfigNode["FileFormat"].asString());
|
||||
if(!recordConfigNode["OssEndpoint"].isNull())
|
||||
recordConfig_.ossEndpoint = recordConfigNode["OssEndpoint"].asString();
|
||||
if(!recordConfigNode["OssBucket"].isNull())
|
||||
recordConfig_.ossBucket = recordConfigNode["OssBucket"].asString();
|
||||
if(!recordConfigNode["VodTranscodeGroupId"].isNull())
|
||||
recordConfig_.vodTranscodeGroupId = std::stoi(recordConfigNode["VodTranscodeGroupId"].asString());
|
||||
auto liveConfigNode = value["LiveConfig"];
|
||||
if(!liveConfigNode["DomainName"].isNull())
|
||||
liveConfig_.domainName = liveConfigNode["DomainName"].asString();
|
||||
if(!liveConfigNode["AppName"].isNull())
|
||||
liveConfig_.appName = liveConfigNode["AppName"].asString();
|
||||
if(!value["MixMode"].isNull())
|
||||
mixMode_ = std::stoi(value["MixMode"].asString());
|
||||
if(!value["ServiceMode"].isNull())
|
||||
serviceMode_ = std::stoi(value["ServiceMode"].asString());
|
||||
if(!value["CallBack"].isNull())
|
||||
callBack_ = value["CallBack"].asString();
|
||||
if(!value["MaxMixStreamCount"].isNull())
|
||||
maxMixStreamCount_ = std::stoi(value["MaxMixStreamCount"].asString());
|
||||
if(!value["MediaConfig"].isNull())
|
||||
mediaConfig_ = std::stoi(value["MediaConfig"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoResult::getCallBack()const
|
||||
{
|
||||
return callBack_;
|
||||
}
|
||||
|
||||
int GetTemplateInfoResult::getMixMode()const
|
||||
{
|
||||
return mixMode_;
|
||||
}
|
||||
|
||||
GetTemplateInfoResult::LayOut GetTemplateInfoResult::getLayOut()const
|
||||
{
|
||||
return layOut_;
|
||||
}
|
||||
|
||||
int GetTemplateInfoResult::getMaxMixStreamCount()const
|
||||
{
|
||||
return maxMixStreamCount_;
|
||||
}
|
||||
|
||||
GetTemplateInfoResult::LiveConfig GetTemplateInfoResult::getLiveConfig()const
|
||||
{
|
||||
return liveConfig_;
|
||||
}
|
||||
|
||||
int GetTemplateInfoResult::getServiceMode()const
|
||||
{
|
||||
return serviceMode_;
|
||||
}
|
||||
|
||||
int GetTemplateInfoResult::getMediaConfig()const
|
||||
{
|
||||
return mediaConfig_;
|
||||
}
|
||||
|
||||
GetTemplateInfoResult::RecordConfig GetTemplateInfoResult::getRecordConfig()const
|
||||
{
|
||||
return recordConfig_;
|
||||
}
|
||||
|
||||
@@ -36,15 +36,15 @@ void ModifyAppRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getProduct()const
|
||||
std::string ModifyAppRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void ModifyAppRequest::setProduct(const std::string& product)
|
||||
void ModifyAppRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long ModifyAppRequest::getCallerParentId()const
|
||||
|
||||
@@ -201,15 +201,15 @@ void ModifyConferenceRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getProduct()const
|
||||
std::string ModifyConferenceRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void ModifyConferenceRequest::setProduct(const std::string& product)
|
||||
void ModifyConferenceRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getCallerBid()const
|
||||
|
||||
@@ -36,15 +36,15 @@ void MuteAudioAllRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getProduct()const
|
||||
std::string MuteAudioAllRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void MuteAudioAllRequest::setProduct(const std::string& product)
|
||||
void MuteAudioAllRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long MuteAudioAllRequest::getCallerParentId()const
|
||||
|
||||
@@ -36,15 +36,15 @@ void MuteAudioRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getProduct()const
|
||||
std::string MuteAudioRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void MuteAudioRequest::setProduct(const std::string& product)
|
||||
void MuteAudioRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::vector<std::string> MuteAudioRequest::getParticipantIds()const
|
||||
|
||||
@@ -36,15 +36,15 @@ void RemoveParticipantsRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getProduct()const
|
||||
std::string RemoveParticipantsRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void RemoveParticipantsRequest::setProduct(const std::string& product)
|
||||
void RemoveParticipantsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::vector<std::string> RemoveParticipantsRequest::getParticipantIds()const
|
||||
|
||||
@@ -36,15 +36,15 @@ void StartAppRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StartAppRequest::getProduct()const
|
||||
std::string StartAppRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void StartAppRequest::setProduct(const std::string& product)
|
||||
void StartAppRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long StartAppRequest::getCallerParentId()const
|
||||
|
||||
309
rtc/src/model/StartTaskRequest.cc
Normal file
309
rtc/src/model/StartTaskRequest.cc
Normal file
@@ -0,0 +1,309 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/StartTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::StartTaskRequest;
|
||||
|
||||
StartTaskRequest::StartTaskRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "StartTask")
|
||||
{}
|
||||
|
||||
StartTaskRequest::~StartTaskRequest()
|
||||
{}
|
||||
|
||||
std::vector<StartTaskRequest::MixPanes> StartTaskRequest::getMixPanes()const
|
||||
{
|
||||
return mixPanes_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setMixPanes(const std::vector<MixPanes>& mixPanes)
|
||||
{
|
||||
mixPanes_ = mixPanes;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= mixPanes.size(); i++) {
|
||||
auto obj = mixPanes.at(i);
|
||||
std::string str ="MixPanes."+ std::to_string(i);
|
||||
setParameter(str + ".PaneId", std::to_string(obj.paneId));
|
||||
setParameter(str + ".UserId", obj.userId);
|
||||
setParameter(str + ".SourceType", obj.sourceType);
|
||||
}
|
||||
}
|
||||
|
||||
long StartTaskRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getIdempotentId()const
|
||||
{
|
||||
return idempotentId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setIdempotentId(const std::string& idempotentId)
|
||||
{
|
||||
idempotentId_ = idempotentId;
|
||||
setParameter("IdempotentId", idempotentId);
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long StartTaskRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long StartTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long StartTaskRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void StartTaskRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
52
rtc/src/model/StartTaskResult.cc
Normal file
52
rtc/src/model/StartTaskResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/StartTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
StartTaskResult::StartTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartTaskResult::StartTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartTaskResult::~StartTaskResult()
|
||||
{}
|
||||
|
||||
void StartTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stol(value["TaskId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long StartTaskResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
@@ -36,15 +36,15 @@ void StopAppRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StopAppRequest::getProduct()const
|
||||
std::string StopAppRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void StopAppRequest::setProduct(const std::string& product)
|
||||
void StopAppRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long StopAppRequest::getCallerParentId()const
|
||||
|
||||
280
rtc/src/model/StopTaskRequest.cc
Normal file
280
rtc/src/model/StopTaskRequest.cc
Normal file
@@ -0,0 +1,280 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/StopTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::StopTaskRequest;
|
||||
|
||||
StopTaskRequest::StopTaskRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "StopTask")
|
||||
{}
|
||||
|
||||
StopTaskRequest::~StopTaskRequest()
|
||||
{}
|
||||
|
||||
std::string StopTaskRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long StopTaskRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool StopTaskRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long StopTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool StopTaskRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool StopTaskRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool StopTaskRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string StopTaskRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
long StopTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
long StopTaskRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void StopTaskRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
45
rtc/src/model/StopTaskResult.cc
Normal file
45
rtc/src/model/StopTaskResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/StopTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
StopTaskResult::StopTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StopTaskResult::StopTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StopTaskResult::~StopTaskResult()
|
||||
{}
|
||||
|
||||
void StopTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,15 +36,15 @@ void UnmuteAudioAllRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string UnmuteAudioAllRequest::getProduct()const
|
||||
std::string UnmuteAudioAllRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void UnmuteAudioAllRequest::setProduct(const std::string& product)
|
||||
void UnmuteAudioAllRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long UnmuteAudioAllRequest::getCallerParentId()const
|
||||
|
||||
@@ -36,15 +36,15 @@ void UnmuteAudioRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string UnmuteAudioRequest::getProduct()const
|
||||
std::string UnmuteAudioRequest::getPopProduct()const
|
||||
{
|
||||
return product_;
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void UnmuteAudioRequest::setProduct(const std::string& product)
|
||||
void UnmuteAudioRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::vector<std::string> UnmuteAudioRequest::getParticipantIds()const
|
||||
|
||||
@@ -25,28 +25,6 @@ UpdateChannelRequest::UpdateChannelRequest() :
|
||||
UpdateChannelRequest::~UpdateChannelRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateChannelRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
long UpdateChannelRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
@@ -69,28 +47,6 @@ void UpdateChannelRequest::setProxy_original_security_transport(bool proxy_origi
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long UpdateChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
@@ -102,28 +58,6 @@ void UpdateChannelRequest::setProxy_original_source_ip(const std::string& proxy_
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getNonce()const
|
||||
{
|
||||
return nonce_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setNonce(const std::string& nonce)
|
||||
{
|
||||
nonce_ = nonce;
|
||||
setParameter("Nonce", nonce);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
@@ -146,28 +80,6 @@ void UpdateChannelRequest::setCallerType(const std::string& callerType)
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool UpdateChannelRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool UpdateChannelRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -179,17 +91,6 @@ void UpdateChannelRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool UpdateChannelRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
@@ -201,17 +102,6 @@ void UpdateChannelRequest::setSecurityToken(const std::string& securityToken)
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
@@ -223,17 +113,6 @@ void UpdateChannelRequest::setRequestContent(const std::string& requestContent)
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
@@ -256,17 +135,6 @@ void UpdateChannelRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
long UpdateChannelRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
@@ -278,3 +146,146 @@ void UpdateChannelRequest::setCallerUid(long callerUid)
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long UpdateChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getNonce()const
|
||||
{
|
||||
return nonce_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setNonce(const std::string& nonce)
|
||||
{
|
||||
nonce_ = nonce;
|
||||
setParameter("Nonce", nonce);
|
||||
}
|
||||
|
||||
bool UpdateChannelRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool UpdateChannelRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool UpdateChannelRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string UpdateChannelRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void UpdateChannelRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
309
rtc/src/model/UpdateTaskParamRequest.cc
Normal file
309
rtc/src/model/UpdateTaskParamRequest.cc
Normal file
@@ -0,0 +1,309 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/UpdateTaskParamRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::UpdateTaskParamRequest;
|
||||
|
||||
UpdateTaskParamRequest::UpdateTaskParamRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "UpdateTaskParam")
|
||||
{}
|
||||
|
||||
UpdateTaskParamRequest::~UpdateTaskParamRequest()
|
||||
{}
|
||||
|
||||
std::vector<UpdateTaskParamRequest::MixPanes> UpdateTaskParamRequest::getMixPanes()const
|
||||
{
|
||||
return mixPanes_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setMixPanes(const std::vector<MixPanes>& mixPanes)
|
||||
{
|
||||
mixPanes_ = mixPanes;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= mixPanes.size(); i++) {
|
||||
auto obj = mixPanes.at(i);
|
||||
std::string str ="MixPanes."+ std::to_string(i);
|
||||
setParameter(str + ".PaneId", std::to_string(obj.paneId));
|
||||
setParameter(str + ".UserId", obj.userId);
|
||||
setParameter(str + ".SourceType", obj.sourceType);
|
||||
}
|
||||
}
|
||||
|
||||
long UpdateTaskParamRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool UpdateTaskParamRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long UpdateTaskParamRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
long UpdateTaskParamRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long UpdateTaskParamRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long UpdateTaskParamRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool UpdateTaskParamRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool UpdateTaskParamRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool UpdateTaskParamRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string UpdateTaskParamRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void UpdateTaskParamRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
52
rtc/src/model/UpdateTaskParamResult.cc
Normal file
52
rtc/src/model/UpdateTaskParamResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/UpdateTaskParamResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
UpdateTaskParamResult::UpdateTaskParamResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateTaskParamResult::UpdateTaskParamResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateTaskParamResult::~UpdateTaskParamResult()
|
||||
{}
|
||||
|
||||
void UpdateTaskParamResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stol(value["TaskId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long UpdateTaskParamResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user