RTC SDK Auto Released By shenshi,Version:1.34.32

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-15 16:02:06 +08:00
parent 7f97b2de78
commit 4a0a5164c7
23 changed files with 1986 additions and 697 deletions

View File

@@ -36,10 +36,10 @@
#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/DeleteChannelRequest.h"
#include "model/DeleteChannelResult.h"
#include "model/RemoveParticipantsRequest.h"
#include "model/RemoveParticipantsResult.h"
#include "model/GetAllTemplateRequest.h"
@@ -54,6 +54,10 @@
#include "model/GetTaskParamResult.h"
#include "model/UpdateChannelRequest.h"
#include "model/UpdateChannelResult.h"
#include "model/StartMPUTaskRequest.h"
#include "model/StartMPUTaskResult.h"
#include "model/StopMPUTaskRequest.h"
#include "model/StopMPUTaskResult.h"
#include "model/StartTaskRequest.h"
#include "model/StartTaskResult.h"
#include "model/ModifyConferenceRequest.h"
@@ -66,20 +70,20 @@
#include "model/UnmuteAudioResult.h"
#include "model/MuteAudioRequest.h"
#include "model/MuteAudioResult.h"
#include "model/StartAppRequest.h"
#include "model/StartAppResult.h"
#include "model/CreateConferenceRequest.h"
#include "model/CreateConferenceResult.h"
#include "model/GetMPUTaskStatusRequest.h"
#include "model/GetMPUTaskStatusResult.h"
#include "model/DescribeRealTimeRecordDetailRequest.h"
#include "model/DescribeRealTimeRecordDetailResult.h"
#include "model/DescribeRealTimeRecordListRequest.h"
#include "model/DescribeRealTimeRecordListResult.h"
#include "model/StopAppRequest.h"
#include "model/StopAppResult.h"
#include "model/RemoveTerminalsRequest.h"
#include "model/RemoveTerminalsResult.h"
#include "model/DeleteConferenceRequest.h"
#include "model/DeleteConferenceResult.h"
#include "model/ReceiveNotifyRequest.h"
#include "model/ReceiveNotifyResult.h"
#include "model/UnmuteAudioAllRequest.h"
#include "model/UnmuteAudioAllResult.h"
#include "model/DescribeRecordDetailRequest.h"
@@ -116,12 +120,12 @@ namespace AlibabaCloud
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::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::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;
@@ -143,6 +147,12 @@ namespace AlibabaCloud
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::StartMPUTaskResult> StartMPUTaskOutcome;
typedef std::future<StartMPUTaskOutcome> StartMPUTaskOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::StartMPUTaskRequest&, const StartMPUTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMPUTaskAsyncHandler;
typedef Outcome<Error, Model::StopMPUTaskResult> StopMPUTaskOutcome;
typedef std::future<StopMPUTaskOutcome> StopMPUTaskOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::StopMPUTaskRequest&, const StopMPUTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMPUTaskAsyncHandler;
typedef Outcome<Error, Model::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;
@@ -161,27 +171,27 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::MuteAudioResult> MuteAudioOutcome;
typedef std::future<MuteAudioOutcome> MuteAudioOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::MuteAudioRequest&, const MuteAudioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MuteAudioAsyncHandler;
typedef Outcome<Error, Model::StartAppResult> StartAppOutcome;
typedef std::future<StartAppOutcome> StartAppOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::StartAppRequest&, const StartAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartAppAsyncHandler;
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::GetMPUTaskStatusResult> GetMPUTaskStatusOutcome;
typedef std::future<GetMPUTaskStatusOutcome> GetMPUTaskStatusOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::GetMPUTaskStatusRequest&, const GetMPUTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMPUTaskStatusAsyncHandler;
typedef Outcome<Error, Model::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::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;
typedef Outcome<Error, Model::StopAppResult> StopAppOutcome;
typedef std::future<StopAppOutcome> StopAppOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::StopAppRequest&, const StopAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopAppAsyncHandler;
typedef Outcome<Error, Model::RemoveTerminalsResult> RemoveTerminalsOutcome;
typedef std::future<RemoveTerminalsOutcome> RemoveTerminalsOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::RemoveTerminalsRequest&, const RemoveTerminalsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveTerminalsAsyncHandler;
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::ReceiveNotifyResult> ReceiveNotifyOutcome;
typedef std::future<ReceiveNotifyOutcome> ReceiveNotifyOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::ReceiveNotifyRequest&, const ReceiveNotifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReceiveNotifyAsyncHandler;
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;
@@ -217,12 +227,12 @@ namespace AlibabaCloud
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;
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;
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;
@@ -244,6 +254,12 @@ namespace AlibabaCloud
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;
StartMPUTaskOutcome startMPUTask(const Model::StartMPUTaskRequest &request)const;
void startMPUTaskAsync(const Model::StartMPUTaskRequest& request, const StartMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartMPUTaskOutcomeCallable startMPUTaskCallable(const Model::StartMPUTaskRequest& request) const;
StopMPUTaskOutcome stopMPUTask(const Model::StopMPUTaskRequest &request)const;
void stopMPUTaskAsync(const Model::StopMPUTaskRequest& request, const StopMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopMPUTaskOutcomeCallable stopMPUTaskCallable(const Model::StopMPUTaskRequest& request) const;
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;
@@ -262,27 +278,27 @@ namespace AlibabaCloud
MuteAudioOutcome muteAudio(const Model::MuteAudioRequest &request)const;
void muteAudioAsync(const Model::MuteAudioRequest& request, const MuteAudioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MuteAudioOutcomeCallable muteAudioCallable(const Model::MuteAudioRequest& request) const;
StartAppOutcome startApp(const Model::StartAppRequest &request)const;
void startAppAsync(const Model::StartAppRequest& request, const StartAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartAppOutcomeCallable startAppCallable(const Model::StartAppRequest& request) const;
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;
GetMPUTaskStatusOutcome getMPUTaskStatus(const Model::GetMPUTaskStatusRequest &request)const;
void getMPUTaskStatusAsync(const Model::GetMPUTaskStatusRequest& request, const GetMPUTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMPUTaskStatusOutcomeCallable getMPUTaskStatusCallable(const Model::GetMPUTaskStatusRequest& request) const;
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;
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;
StopAppOutcome stopApp(const Model::StopAppRequest &request)const;
void stopAppAsync(const Model::StopAppRequest& request, const StopAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopAppOutcomeCallable stopAppCallable(const Model::StopAppRequest& request) const;
RemoveTerminalsOutcome removeTerminals(const Model::RemoveTerminalsRequest &request)const;
void removeTerminalsAsync(const Model::RemoveTerminalsRequest& request, const RemoveTerminalsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveTerminalsOutcomeCallable removeTerminalsCallable(const Model::RemoveTerminalsRequest& request) const;
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;
ReceiveNotifyOutcome receiveNotify(const Model::ReceiveNotifyRequest &request)const;
void receiveNotifyAsync(const Model::ReceiveNotifyRequest& request, const ReceiveNotifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReceiveNotifyOutcomeCallable receiveNotifyCallable(const Model::ReceiveNotifyRequest& 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;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_STOPAPPREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_STOPAPPREQUEST_H_
#ifndef ALIBABACLOUD_RTC_MODEL_GETMPUTASKSTATUSREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_GETMPUTASKSTATUSREQUEST_H_
#include <string>
#include <vector>
@@ -28,17 +28,19 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT StopAppRequest : public RpcServiceRequest
class ALIBABACLOUD_RTC_EXPORT GetMPUTaskStatusRequest : public RpcServiceRequest
{
public:
StopAppRequest();
~StopAppRequest();
GetMPUTaskStatusRequest();
~GetMPUTaskStatusRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
@@ -75,12 +77,15 @@ namespace AlibabaCloud
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string popProduct_;
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
@@ -99,10 +104,11 @@ namespace AlibabaCloud
std::string appId_;
std::string callerBidEmail_;
std::string callerUidEmail_;
std::string taskId_;
long callerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_STOPAPPREQUEST_H_
#endif // !ALIBABACLOUD_RTC_MODEL_GETMPUTASKSTATUSREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_GETMPUTASKSTATUSRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_GETMPUTASKSTATUSRESULT_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 GetMPUTaskStatusResult : public ServiceResult
{
public:
GetMPUTaskStatusResult();
explicit GetMPUTaskStatusResult(const std::string &payload);
~GetMPUTaskStatusResult();
int getStatus()const;
protected:
void parse(const std::string &payload);
private:
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_GETMPUTASKSTATUSRESULT_H_

View File

@@ -0,0 +1,123 @@
/*
* 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_RECEIVENOTIFYREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_RECEIVENOTIFYREQUEST_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 ReceiveNotifyRequest : public RpcServiceRequest
{
public:
ReceiveNotifyRequest();
~ReceiveNotifyRequest();
std::string getTraceId()const;
void setTraceId(const std::string& traceId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
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 getContent()const;
void setContent(const std::string& content);
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 getEvent()const;
void setEvent(const std::string& event);
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);
std::string getContentType()const;
void setContentType(const std::string& contentType);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string traceId_;
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string content_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::string event_;
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_;
std::string contentType_;
bool security_transport_;
std::string requestId_;
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_RECEIVENOTIFYREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_RECEIVENOTIFYRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_RECEIVENOTIFYRESULT_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 ReceiveNotifyResult : public ServiceResult
{
public:
ReceiveNotifyResult();
explicit ReceiveNotifyResult(const std::string &payload);
~ReceiveNotifyResult();
std::string getTraceId()const;
protected:
void parse(const std::string &payload);
private:
std::string traceId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_RECEIVENOTIFYRESULT_H_

View File

@@ -0,0 +1,138 @@
/*
* 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_STARTMPUTASKREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_STARTMPUTASKREQUEST_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 StartMPUTaskRequest : public RpcServiceRequest
{
struct UserPanes
{
int paneId;
std::string userId;
std::string sourceType;
};
public:
StartMPUTaskRequest();
~StartMPUTaskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<UserPanes> getUserPanes()const;
void setUserPanes(const std::vector<UserPanes>& userPanes);
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);
int getBackgroundColor()const;
void setBackgroundColor(int backgroundColor);
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::vector<long> getLayoutIds()const;
void setLayoutIds(const std::vector<long>& layoutIds);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getStreamURL()const;
void setStreamURL(const std::string& streamURL);
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::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAppId()const;
void setAppId(const std::string& appId);
int getMediaEncode()const;
void setMediaEncode(int mediaEncode);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
private:
long resourceOwnerId_;
std::vector<UserPanes> userPanes_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
int backgroundColor_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::vector<long> layoutIds_;
std::string callerUidEmail_;
std::string taskId_;
long callerUid_;
std::string streamURL_;
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::string requestId_;
std::string appId_;
int mediaEncode_;
std::string channelId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_STARTMPUTASKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_STOPAPPRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_STOPAPPRESULT_H_
#ifndef ALIBABACLOUD_RTC_MODEL_STARTMPUTASKRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_STARTMPUTASKRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT StopAppResult : public ServiceResult
class ALIBABACLOUD_RTC_EXPORT StartMPUTaskResult : public ServiceResult
{
public:
StopAppResult();
explicit StopAppResult(const std::string &payload);
~StopAppResult();
StartMPUTaskResult();
explicit StartMPUTaskResult(const std::string &payload);
~StartMPUTaskResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_STOPAPPRESULT_H_
#endif // !ALIBABACLOUD_RTC_MODEL_STARTMPUTASKRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_STARTAPPREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_STARTAPPREQUEST_H_
#ifndef ALIBABACLOUD_RTC_MODEL_STOPMPUTASKREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_STOPMPUTASKREQUEST_H_
#include <string>
#include <vector>
@@ -28,17 +28,19 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT StartAppRequest : public RpcServiceRequest
class ALIBABACLOUD_RTC_EXPORT StopMPUTaskRequest : public RpcServiceRequest
{
public:
StartAppRequest();
~StartAppRequest();
StopMPUTaskRequest();
~StopMPUTaskRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
@@ -75,12 +77,15 @@ namespace AlibabaCloud
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string popProduct_;
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
@@ -99,10 +104,11 @@ namespace AlibabaCloud
std::string appId_;
std::string callerBidEmail_;
std::string callerUidEmail_;
std::string taskId_;
long callerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_STARTAPPREQUEST_H_
#endif // !ALIBABACLOUD_RTC_MODEL_STOPMPUTASKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_STARTAPPRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_STARTAPPRESULT_H_
#ifndef ALIBABACLOUD_RTC_MODEL_STOPMPUTASKRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_STOPMPUTASKRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT StartAppResult : public ServiceResult
class ALIBABACLOUD_RTC_EXPORT StopMPUTaskResult : public ServiceResult
{
public:
StartAppResult();
explicit StartAppResult(const std::string &payload);
~StartAppResult();
StopMPUTaskResult();
explicit StopMPUTaskResult(const std::string &payload);
~StopMPUTaskResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_STARTAPPRESULT_H_
#endif // !ALIBABACLOUD_RTC_MODEL_STOPMPUTASKRESULT_H_