Update to support new apis.

This commit is contained in:
sdk-team
2024-07-05 09:46:59 +00:00
parent fd5e85ebf9
commit 8c7efaba0f
41 changed files with 139 additions and 2109 deletions

View File

@@ -1 +1 @@
1.36.1948
1.36.1949

View File

@@ -89,8 +89,6 @@ set(live_public_header_model
include/alibabacloud/live/model/AddStudioLayoutResult.h
include/alibabacloud/live/model/AddTrancodeSEIRequest.h
include/alibabacloud/live/model/AddTrancodeSEIResult.h
include/alibabacloud/live/model/AllowPushStreamRequest.h
include/alibabacloud/live/model/AllowPushStreamResult.h
include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h
include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h
include/alibabacloud/live/model/BatchGetOnlineUsersRequest.h
@@ -247,8 +245,6 @@ set(live_public_header_model
include/alibabacloud/live/model/DeletePlaylistResult.h
include/alibabacloud/live/model/DeletePlaylistItemsRequest.h
include/alibabacloud/live/model/DeletePlaylistItemsResult.h
include/alibabacloud/live/model/DeleteRoomRequest.h
include/alibabacloud/live/model/DeleteRoomResult.h
include/alibabacloud/live/model/DeleteRtcAsrTaskRequest.h
include/alibabacloud/live/model/DeleteRtcAsrTaskResult.h
include/alibabacloud/live/model/DeleteRtcMPUEventSubRequest.h
@@ -291,8 +287,6 @@ set(live_public_header_model
include/alibabacloud/live/model/DescribeDomainUsageDataResult.h
include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h
include/alibabacloud/live/model/DescribeDomainWithIntegrityResult.h
include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h
include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h
include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h
include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h
include/alibabacloud/live/model/DescribeLiveAIProduceRulesRequest.h
@@ -529,10 +523,6 @@ set(live_public_header_model
include/alibabacloud/live/model/DescribeRTSNativeSDKPlayTimeResult.h
include/alibabacloud/live/model/DescribeRTSNativeSDKVvDataRequest.h
include/alibabacloud/live/model/DescribeRTSNativeSDKVvDataResult.h
include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h
include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h
include/alibabacloud/live/model/DescribeRoomStatusRequest.h
include/alibabacloud/live/model/DescribeRoomStatusResult.h
include/alibabacloud/live/model/DescribeRtcMPUEventSubRequest.h
include/alibabacloud/live/model/DescribeRtcMPUEventSubResult.h
include/alibabacloud/live/model/DescribeShowListRequest.h
@@ -567,8 +557,6 @@ set(live_public_header_model
include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryResult.h
include/alibabacloud/live/model/ForbidLiveStreamRequest.h
include/alibabacloud/live/model/ForbidLiveStreamResult.h
include/alibabacloud/live/model/ForbidPushStreamRequest.h
include/alibabacloud/live/model/ForbidPushStreamResult.h
include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h
include/alibabacloud/live/model/GetAllCustomTemplatesResult.h
include/alibabacloud/live/model/GetCustomTemplateRequest.h
@@ -695,6 +683,8 @@ set(live_public_header_model
include/alibabacloud/live/model/QuerySnapshotCallbackAuthResult.h
include/alibabacloud/live/model/RealTimeRecordCommandRequest.h
include/alibabacloud/live/model/RealTimeRecordCommandResult.h
include/alibabacloud/live/model/RecoverLiveMessageDeletedGroupRequest.h
include/alibabacloud/live/model/RecoverLiveMessageDeletedGroupResult.h
include/alibabacloud/live/model/RemoveShowFromShowListRequest.h
include/alibabacloud/live/model/RemoveShowFromShowListResult.h
include/alibabacloud/live/model/RemoveTerminalsRequest.h
@@ -717,10 +707,6 @@ set(live_public_header_model
include/alibabacloud/live/model/SendMessageToGroupResult.h
include/alibabacloud/live/model/SendMessageToGroupUsersRequest.h
include/alibabacloud/live/model/SendMessageToGroupUsersResult.h
include/alibabacloud/live/model/SendRoomNotificationRequest.h
include/alibabacloud/live/model/SendRoomNotificationResult.h
include/alibabacloud/live/model/SendRoomUserNotificationRequest.h
include/alibabacloud/live/model/SendRoomUserNotificationResult.h
include/alibabacloud/live/model/SetCasterChannelRequest.h
include/alibabacloud/live/model/SetCasterChannelResult.h
include/alibabacloud/live/model/SetCasterConfigRequest.h
@@ -914,8 +900,6 @@ set(live_src
src/model/AddStudioLayoutResult.cc
src/model/AddTrancodeSEIRequest.cc
src/model/AddTrancodeSEIResult.cc
src/model/AllowPushStreamRequest.cc
src/model/AllowPushStreamResult.cc
src/model/BatchDeleteLiveDomainConfigsRequest.cc
src/model/BatchDeleteLiveDomainConfigsResult.cc
src/model/BatchGetOnlineUsersRequest.cc
@@ -1072,8 +1056,6 @@ set(live_src
src/model/DeletePlaylistResult.cc
src/model/DeletePlaylistItemsRequest.cc
src/model/DeletePlaylistItemsResult.cc
src/model/DeleteRoomRequest.cc
src/model/DeleteRoomResult.cc
src/model/DeleteRtcAsrTaskRequest.cc
src/model/DeleteRtcAsrTaskResult.cc
src/model/DeleteRtcMPUEventSubRequest.cc
@@ -1116,8 +1098,6 @@ set(live_src
src/model/DescribeDomainUsageDataResult.cc
src/model/DescribeDomainWithIntegrityRequest.cc
src/model/DescribeDomainWithIntegrityResult.cc
src/model/DescribeForbidPushStreamRoomListRequest.cc
src/model/DescribeForbidPushStreamRoomListResult.cc
src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc
src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc
src/model/DescribeLiveAIProduceRulesRequest.cc
@@ -1354,10 +1334,6 @@ set(live_src
src/model/DescribeRTSNativeSDKPlayTimeResult.cc
src/model/DescribeRTSNativeSDKVvDataRequest.cc
src/model/DescribeRTSNativeSDKVvDataResult.cc
src/model/DescribeRoomKickoutUserListRequest.cc
src/model/DescribeRoomKickoutUserListResult.cc
src/model/DescribeRoomStatusRequest.cc
src/model/DescribeRoomStatusResult.cc
src/model/DescribeRtcMPUEventSubRequest.cc
src/model/DescribeRtcMPUEventSubResult.cc
src/model/DescribeShowListRequest.cc
@@ -1392,8 +1368,6 @@ set(live_src
src/model/EnableLiveRealtimeLogDeliveryResult.cc
src/model/ForbidLiveStreamRequest.cc
src/model/ForbidLiveStreamResult.cc
src/model/ForbidPushStreamRequest.cc
src/model/ForbidPushStreamResult.cc
src/model/GetAllCustomTemplatesRequest.cc
src/model/GetAllCustomTemplatesResult.cc
src/model/GetCustomTemplateRequest.cc
@@ -1520,6 +1494,8 @@ set(live_src
src/model/QuerySnapshotCallbackAuthResult.cc
src/model/RealTimeRecordCommandRequest.cc
src/model/RealTimeRecordCommandResult.cc
src/model/RecoverLiveMessageDeletedGroupRequest.cc
src/model/RecoverLiveMessageDeletedGroupResult.cc
src/model/RemoveShowFromShowListRequest.cc
src/model/RemoveShowFromShowListResult.cc
src/model/RemoveTerminalsRequest.cc
@@ -1542,10 +1518,6 @@ set(live_src
src/model/SendMessageToGroupResult.cc
src/model/SendMessageToGroupUsersRequest.cc
src/model/SendMessageToGroupUsersResult.cc
src/model/SendRoomNotificationRequest.cc
src/model/SendRoomNotificationResult.cc
src/model/SendRoomUserNotificationRequest.cc
src/model/SendRoomUserNotificationResult.cc
src/model/SetCasterChannelRequest.cc
src/model/SetCasterChannelResult.cc
src/model/SetCasterConfigRequest.cc

View File

@@ -90,8 +90,6 @@
#include "model/AddStudioLayoutResult.h"
#include "model/AddTrancodeSEIRequest.h"
#include "model/AddTrancodeSEIResult.h"
#include "model/AllowPushStreamRequest.h"
#include "model/AllowPushStreamResult.h"
#include "model/BatchDeleteLiveDomainConfigsRequest.h"
#include "model/BatchDeleteLiveDomainConfigsResult.h"
#include "model/BatchGetOnlineUsersRequest.h"
@@ -248,8 +246,6 @@
#include "model/DeletePlaylistResult.h"
#include "model/DeletePlaylistItemsRequest.h"
#include "model/DeletePlaylistItemsResult.h"
#include "model/DeleteRoomRequest.h"
#include "model/DeleteRoomResult.h"
#include "model/DeleteRtcAsrTaskRequest.h"
#include "model/DeleteRtcAsrTaskResult.h"
#include "model/DeleteRtcMPUEventSubRequest.h"
@@ -292,8 +288,6 @@
#include "model/DescribeDomainUsageDataResult.h"
#include "model/DescribeDomainWithIntegrityRequest.h"
#include "model/DescribeDomainWithIntegrityResult.h"
#include "model/DescribeForbidPushStreamRoomListRequest.h"
#include "model/DescribeForbidPushStreamRoomListResult.h"
#include "model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h"
#include "model/DescribeHlsLiveStreamRealTimeBpsDataResult.h"
#include "model/DescribeLiveAIProduceRulesRequest.h"
@@ -530,10 +524,6 @@
#include "model/DescribeRTSNativeSDKPlayTimeResult.h"
#include "model/DescribeRTSNativeSDKVvDataRequest.h"
#include "model/DescribeRTSNativeSDKVvDataResult.h"
#include "model/DescribeRoomKickoutUserListRequest.h"
#include "model/DescribeRoomKickoutUserListResult.h"
#include "model/DescribeRoomStatusRequest.h"
#include "model/DescribeRoomStatusResult.h"
#include "model/DescribeRtcMPUEventSubRequest.h"
#include "model/DescribeRtcMPUEventSubResult.h"
#include "model/DescribeShowListRequest.h"
@@ -568,8 +558,6 @@
#include "model/EnableLiveRealtimeLogDeliveryResult.h"
#include "model/ForbidLiveStreamRequest.h"
#include "model/ForbidLiveStreamResult.h"
#include "model/ForbidPushStreamRequest.h"
#include "model/ForbidPushStreamResult.h"
#include "model/GetAllCustomTemplatesRequest.h"
#include "model/GetAllCustomTemplatesResult.h"
#include "model/GetCustomTemplateRequest.h"
@@ -696,6 +684,8 @@
#include "model/QuerySnapshotCallbackAuthResult.h"
#include "model/RealTimeRecordCommandRequest.h"
#include "model/RealTimeRecordCommandResult.h"
#include "model/RecoverLiveMessageDeletedGroupRequest.h"
#include "model/RecoverLiveMessageDeletedGroupResult.h"
#include "model/RemoveShowFromShowListRequest.h"
#include "model/RemoveShowFromShowListResult.h"
#include "model/RemoveTerminalsRequest.h"
@@ -718,10 +708,6 @@
#include "model/SendMessageToGroupResult.h"
#include "model/SendMessageToGroupUsersRequest.h"
#include "model/SendMessageToGroupUsersResult.h"
#include "model/SendRoomNotificationRequest.h"
#include "model/SendRoomNotificationResult.h"
#include "model/SendRoomUserNotificationRequest.h"
#include "model/SendRoomUserNotificationResult.h"
#include "model/SetCasterChannelRequest.h"
#include "model/SetCasterChannelResult.h"
#include "model/SetCasterConfigRequest.h"
@@ -955,9 +941,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddTrancodeSEIResult> AddTrancodeSEIOutcome;
typedef std::future<AddTrancodeSEIOutcome> AddTrancodeSEIOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::AddTrancodeSEIRequest&, const AddTrancodeSEIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTrancodeSEIAsyncHandler;
typedef Outcome<Error, Model::AllowPushStreamResult> AllowPushStreamOutcome;
typedef std::future<AllowPushStreamOutcome> AllowPushStreamOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::AllowPushStreamRequest&, const AllowPushStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllowPushStreamAsyncHandler;
typedef Outcome<Error, Model::BatchDeleteLiveDomainConfigsResult> BatchDeleteLiveDomainConfigsOutcome;
typedef std::future<BatchDeleteLiveDomainConfigsOutcome> BatchDeleteLiveDomainConfigsOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::BatchDeleteLiveDomainConfigsRequest&, const BatchDeleteLiveDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteLiveDomainConfigsAsyncHandler;
@@ -1192,9 +1175,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeletePlaylistItemsResult> DeletePlaylistItemsOutcome;
typedef std::future<DeletePlaylistItemsOutcome> DeletePlaylistItemsOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeletePlaylistItemsRequest&, const DeletePlaylistItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePlaylistItemsAsyncHandler;
typedef Outcome<Error, Model::DeleteRoomResult> DeleteRoomOutcome;
typedef std::future<DeleteRoomOutcome> DeleteRoomOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeleteRoomRequest&, const DeleteRoomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRoomAsyncHandler;
typedef Outcome<Error, Model::DeleteRtcAsrTaskResult> DeleteRtcAsrTaskOutcome;
typedef std::future<DeleteRtcAsrTaskOutcome> DeleteRtcAsrTaskOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeleteRtcAsrTaskRequest&, const DeleteRtcAsrTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRtcAsrTaskAsyncHandler;
@@ -1258,9 +1238,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainWithIntegrityResult> DescribeDomainWithIntegrityOutcome;
typedef std::future<DescribeDomainWithIntegrityOutcome> DescribeDomainWithIntegrityOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeDomainWithIntegrityRequest&, const DescribeDomainWithIntegrityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainWithIntegrityAsyncHandler;
typedef Outcome<Error, Model::DescribeForbidPushStreamRoomListResult> DescribeForbidPushStreamRoomListOutcome;
typedef std::future<DescribeForbidPushStreamRoomListOutcome> DescribeForbidPushStreamRoomListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeForbidPushStreamRoomListRequest&, const DescribeForbidPushStreamRoomListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeForbidPushStreamRoomListAsyncHandler;
typedef Outcome<Error, Model::DescribeHlsLiveStreamRealTimeBpsDataResult> DescribeHlsLiveStreamRealTimeBpsDataOutcome;
typedef std::future<DescribeHlsLiveStreamRealTimeBpsDataOutcome> DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest&, const DescribeHlsLiveStreamRealTimeBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler;
@@ -1615,12 +1592,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRTSNativeSDKVvDataResult> DescribeRTSNativeSDKVvDataOutcome;
typedef std::future<DescribeRTSNativeSDKVvDataOutcome> DescribeRTSNativeSDKVvDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeRTSNativeSDKVvDataRequest&, const DescribeRTSNativeSDKVvDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRTSNativeSDKVvDataAsyncHandler;
typedef Outcome<Error, Model::DescribeRoomKickoutUserListResult> DescribeRoomKickoutUserListOutcome;
typedef std::future<DescribeRoomKickoutUserListOutcome> DescribeRoomKickoutUserListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeRoomKickoutUserListRequest&, const DescribeRoomKickoutUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRoomKickoutUserListAsyncHandler;
typedef Outcome<Error, Model::DescribeRoomStatusResult> DescribeRoomStatusOutcome;
typedef std::future<DescribeRoomStatusOutcome> DescribeRoomStatusOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeRoomStatusRequest&, const DescribeRoomStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRoomStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeRtcMPUEventSubResult> DescribeRtcMPUEventSubOutcome;
typedef std::future<DescribeRtcMPUEventSubOutcome> DescribeRtcMPUEventSubOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeRtcMPUEventSubRequest&, const DescribeRtcMPUEventSubOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcMPUEventSubAsyncHandler;
@@ -1672,9 +1643,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ForbidLiveStreamResult> ForbidLiveStreamOutcome;
typedef std::future<ForbidLiveStreamOutcome> ForbidLiveStreamOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ForbidLiveStreamRequest&, const ForbidLiveStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ForbidLiveStreamAsyncHandler;
typedef Outcome<Error, Model::ForbidPushStreamResult> ForbidPushStreamOutcome;
typedef std::future<ForbidPushStreamOutcome> ForbidPushStreamOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ForbidPushStreamRequest&, const ForbidPushStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ForbidPushStreamAsyncHandler;
typedef Outcome<Error, Model::GetAllCustomTemplatesResult> GetAllCustomTemplatesOutcome;
typedef std::future<GetAllCustomTemplatesOutcome> GetAllCustomTemplatesOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::GetAllCustomTemplatesRequest&, const GetAllCustomTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAllCustomTemplatesAsyncHandler;
@@ -1864,6 +1832,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RealTimeRecordCommandResult> RealTimeRecordCommandOutcome;
typedef std::future<RealTimeRecordCommandOutcome> RealTimeRecordCommandOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::RealTimeRecordCommandRequest&, const RealTimeRecordCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RealTimeRecordCommandAsyncHandler;
typedef Outcome<Error, Model::RecoverLiveMessageDeletedGroupResult> RecoverLiveMessageDeletedGroupOutcome;
typedef std::future<RecoverLiveMessageDeletedGroupOutcome> RecoverLiveMessageDeletedGroupOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::RecoverLiveMessageDeletedGroupRequest&, const RecoverLiveMessageDeletedGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecoverLiveMessageDeletedGroupAsyncHandler;
typedef Outcome<Error, Model::RemoveShowFromShowListResult> RemoveShowFromShowListOutcome;
typedef std::future<RemoveShowFromShowListOutcome> RemoveShowFromShowListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::RemoveShowFromShowListRequest&, const RemoveShowFromShowListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveShowFromShowListAsyncHandler;
@@ -1897,12 +1868,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SendMessageToGroupUsersResult> SendMessageToGroupUsersOutcome;
typedef std::future<SendMessageToGroupUsersOutcome> SendMessageToGroupUsersOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SendMessageToGroupUsersRequest&, const SendMessageToGroupUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMessageToGroupUsersAsyncHandler;
typedef Outcome<Error, Model::SendRoomNotificationResult> SendRoomNotificationOutcome;
typedef std::future<SendRoomNotificationOutcome> SendRoomNotificationOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SendRoomNotificationRequest&, const SendRoomNotificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendRoomNotificationAsyncHandler;
typedef Outcome<Error, Model::SendRoomUserNotificationResult> SendRoomUserNotificationOutcome;
typedef std::future<SendRoomUserNotificationOutcome> SendRoomUserNotificationOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SendRoomUserNotificationRequest&, const SendRoomUserNotificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendRoomUserNotificationAsyncHandler;
typedef Outcome<Error, Model::SetCasterChannelResult> SetCasterChannelOutcome;
typedef std::future<SetCasterChannelOutcome> SetCasterChannelOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SetCasterChannelRequest&, const SetCasterChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetCasterChannelAsyncHandler;
@@ -2193,9 +2158,6 @@ namespace AlibabaCloud
AddTrancodeSEIOutcome addTrancodeSEI(const Model::AddTrancodeSEIRequest &request)const;
void addTrancodeSEIAsync(const Model::AddTrancodeSEIRequest& request, const AddTrancodeSEIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddTrancodeSEIOutcomeCallable addTrancodeSEICallable(const Model::AddTrancodeSEIRequest& request) const;
AllowPushStreamOutcome allowPushStream(const Model::AllowPushStreamRequest &request)const;
void allowPushStreamAsync(const Model::AllowPushStreamRequest& request, const AllowPushStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllowPushStreamOutcomeCallable allowPushStreamCallable(const Model::AllowPushStreamRequest& request) const;
BatchDeleteLiveDomainConfigsOutcome batchDeleteLiveDomainConfigs(const Model::BatchDeleteLiveDomainConfigsRequest &request)const;
void batchDeleteLiveDomainConfigsAsync(const Model::BatchDeleteLiveDomainConfigsRequest& request, const BatchDeleteLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchDeleteLiveDomainConfigsOutcomeCallable batchDeleteLiveDomainConfigsCallable(const Model::BatchDeleteLiveDomainConfigsRequest& request) const;
@@ -2430,9 +2392,6 @@ namespace AlibabaCloud
DeletePlaylistItemsOutcome deletePlaylistItems(const Model::DeletePlaylistItemsRequest &request)const;
void deletePlaylistItemsAsync(const Model::DeletePlaylistItemsRequest& request, const DeletePlaylistItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePlaylistItemsOutcomeCallable deletePlaylistItemsCallable(const Model::DeletePlaylistItemsRequest& request) const;
DeleteRoomOutcome deleteRoom(const Model::DeleteRoomRequest &request)const;
void deleteRoomAsync(const Model::DeleteRoomRequest& request, const DeleteRoomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRoomOutcomeCallable deleteRoomCallable(const Model::DeleteRoomRequest& request) const;
DeleteRtcAsrTaskOutcome deleteRtcAsrTask(const Model::DeleteRtcAsrTaskRequest &request)const;
void deleteRtcAsrTaskAsync(const Model::DeleteRtcAsrTaskRequest& request, const DeleteRtcAsrTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRtcAsrTaskOutcomeCallable deleteRtcAsrTaskCallable(const Model::DeleteRtcAsrTaskRequest& request) const;
@@ -2496,9 +2455,6 @@ namespace AlibabaCloud
DescribeDomainWithIntegrityOutcome describeDomainWithIntegrity(const Model::DescribeDomainWithIntegrityRequest &request)const;
void describeDomainWithIntegrityAsync(const Model::DescribeDomainWithIntegrityRequest& request, const DescribeDomainWithIntegrityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainWithIntegrityOutcomeCallable describeDomainWithIntegrityCallable(const Model::DescribeDomainWithIntegrityRequest& request) const;
DescribeForbidPushStreamRoomListOutcome describeForbidPushStreamRoomList(const Model::DescribeForbidPushStreamRoomListRequest &request)const;
void describeForbidPushStreamRoomListAsync(const Model::DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeForbidPushStreamRoomListOutcomeCallable describeForbidPushStreamRoomListCallable(const Model::DescribeForbidPushStreamRoomListRequest& request) const;
DescribeHlsLiveStreamRealTimeBpsDataOutcome describeHlsLiveStreamRealTimeBpsData(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest &request)const;
void describeHlsLiveStreamRealTimeBpsDataAsync(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest& request, const DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable describeHlsLiveStreamRealTimeBpsDataCallable(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest& request) const;
@@ -2853,12 +2809,6 @@ namespace AlibabaCloud
DescribeRTSNativeSDKVvDataOutcome describeRTSNativeSDKVvData(const Model::DescribeRTSNativeSDKVvDataRequest &request)const;
void describeRTSNativeSDKVvDataAsync(const Model::DescribeRTSNativeSDKVvDataRequest& request, const DescribeRTSNativeSDKVvDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRTSNativeSDKVvDataOutcomeCallable describeRTSNativeSDKVvDataCallable(const Model::DescribeRTSNativeSDKVvDataRequest& request) const;
DescribeRoomKickoutUserListOutcome describeRoomKickoutUserList(const Model::DescribeRoomKickoutUserListRequest &request)const;
void describeRoomKickoutUserListAsync(const Model::DescribeRoomKickoutUserListRequest& request, const DescribeRoomKickoutUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRoomKickoutUserListOutcomeCallable describeRoomKickoutUserListCallable(const Model::DescribeRoomKickoutUserListRequest& request) const;
DescribeRoomStatusOutcome describeRoomStatus(const Model::DescribeRoomStatusRequest &request)const;
void describeRoomStatusAsync(const Model::DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRoomStatusOutcomeCallable describeRoomStatusCallable(const Model::DescribeRoomStatusRequest& request) const;
DescribeRtcMPUEventSubOutcome describeRtcMPUEventSub(const Model::DescribeRtcMPUEventSubRequest &request)const;
void describeRtcMPUEventSubAsync(const Model::DescribeRtcMPUEventSubRequest& request, const DescribeRtcMPUEventSubAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRtcMPUEventSubOutcomeCallable describeRtcMPUEventSubCallable(const Model::DescribeRtcMPUEventSubRequest& request) const;
@@ -2910,9 +2860,6 @@ namespace AlibabaCloud
ForbidLiveStreamOutcome forbidLiveStream(const Model::ForbidLiveStreamRequest &request)const;
void forbidLiveStreamAsync(const Model::ForbidLiveStreamRequest& request, const ForbidLiveStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ForbidLiveStreamOutcomeCallable forbidLiveStreamCallable(const Model::ForbidLiveStreamRequest& request) const;
ForbidPushStreamOutcome forbidPushStream(const Model::ForbidPushStreamRequest &request)const;
void forbidPushStreamAsync(const Model::ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ForbidPushStreamOutcomeCallable forbidPushStreamCallable(const Model::ForbidPushStreamRequest& request) const;
GetAllCustomTemplatesOutcome getAllCustomTemplates(const Model::GetAllCustomTemplatesRequest &request)const;
void getAllCustomTemplatesAsync(const Model::GetAllCustomTemplatesRequest& request, const GetAllCustomTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAllCustomTemplatesOutcomeCallable getAllCustomTemplatesCallable(const Model::GetAllCustomTemplatesRequest& request) const;
@@ -3102,6 +3049,9 @@ namespace AlibabaCloud
RealTimeRecordCommandOutcome realTimeRecordCommand(const Model::RealTimeRecordCommandRequest &request)const;
void realTimeRecordCommandAsync(const Model::RealTimeRecordCommandRequest& request, const RealTimeRecordCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RealTimeRecordCommandOutcomeCallable realTimeRecordCommandCallable(const Model::RealTimeRecordCommandRequest& request) const;
RecoverLiveMessageDeletedGroupOutcome recoverLiveMessageDeletedGroup(const Model::RecoverLiveMessageDeletedGroupRequest &request)const;
void recoverLiveMessageDeletedGroupAsync(const Model::RecoverLiveMessageDeletedGroupRequest& request, const RecoverLiveMessageDeletedGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecoverLiveMessageDeletedGroupOutcomeCallable recoverLiveMessageDeletedGroupCallable(const Model::RecoverLiveMessageDeletedGroupRequest& request) const;
RemoveShowFromShowListOutcome removeShowFromShowList(const Model::RemoveShowFromShowListRequest &request)const;
void removeShowFromShowListAsync(const Model::RemoveShowFromShowListRequest& request, const RemoveShowFromShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveShowFromShowListOutcomeCallable removeShowFromShowListCallable(const Model::RemoveShowFromShowListRequest& request) const;
@@ -3135,12 +3085,6 @@ namespace AlibabaCloud
SendMessageToGroupUsersOutcome sendMessageToGroupUsers(const Model::SendMessageToGroupUsersRequest &request)const;
void sendMessageToGroupUsersAsync(const Model::SendMessageToGroupUsersRequest& request, const SendMessageToGroupUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendMessageToGroupUsersOutcomeCallable sendMessageToGroupUsersCallable(const Model::SendMessageToGroupUsersRequest& request) const;
SendRoomNotificationOutcome sendRoomNotification(const Model::SendRoomNotificationRequest &request)const;
void sendRoomNotificationAsync(const Model::SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendRoomNotificationOutcomeCallable sendRoomNotificationCallable(const Model::SendRoomNotificationRequest& request) const;
SendRoomUserNotificationOutcome sendRoomUserNotification(const Model::SendRoomUserNotificationRequest &request)const;
void sendRoomUserNotificationAsync(const Model::SendRoomUserNotificationRequest& request, const SendRoomUserNotificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendRoomUserNotificationOutcomeCallable sendRoomUserNotificationCallable(const Model::SendRoomUserNotificationRequest& request) const;
SetCasterChannelOutcome setCasterChannel(const Model::SetCasterChannelRequest &request)const;
void setCasterChannelAsync(const Model::SetCasterChannelRequest& request, const SetCasterChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetCasterChannelOutcomeCallable setCasterChannelCallable(const Model::SetCasterChannelRequest& request) const;

View File

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

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT DeleteRoomRequest : public RpcServiceRequest {
public:
DeleteRoomRequest();
~DeleteRoomRequest();
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getRoomId() const;
void setRoomId(const std::string &roomId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
long ownerId_;
std::string roomId_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_

View File

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

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListRequest : public RpcServiceRequest {
public:
DescribeForbidPushStreamRoomListRequest();
~DescribeForbidPushStreamRoomListRequest();
int getPageNum() const;
void setPageNum(int pageNum);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getOrder() const;
void setOrder(const std::string &order);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
int pageNum_;
int pageSize_;
std::string order_;
long ownerId_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_

View File

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

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
float duration;
std::string appName;
std::string streamName;
std::string format;
std::string recordUrl;
std::string ossEndpoint;
std::string ossObject;

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
float duration;
std::string appName;
std::string streamName;
std::string format;
std::string recordUrl;
std::string ossEndpoint;
std::string ossObject;

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListRequest : public RpcServiceRequest {
public:
DescribeRoomKickoutUserListRequest();
~DescribeRoomKickoutUserListRequest();
int getPageNum() const;
void setPageNum(int pageNum);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getOrder() const;
void setOrder(const std::string &order);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getRoomId() const;
void setRoomId(const std::string &roomId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
int pageNum_;
int pageSize_;
std::string order_;
long ownerId_;
std::string roomId_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_

View File

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

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusRequest : public RpcServiceRequest {
public:
DescribeRoomStatusRequest();
~DescribeRoomStatusRequest();
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getRoomId() const;
void setRoomId(const std::string &roomId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
long ownerId_;
std::string roomId_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamRequest : public RpcServiceRequest {
public:
ForbidPushStreamRequest();
~ForbidPushStreamRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getRoomId() const;
void setRoomId(const std::string &roomId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string userData_;
std::string endTime_;
long ownerId_;
std::string roomId_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_
#ifndef ALIBABACLOUD_LIVE_MODEL_RECOVERLIVEMESSAGEDELETEDGROUPREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_RECOVERLIVEMESSAGEDELETEDGROUPREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,23 @@
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest {
class ALIBABACLOUD_LIVE_EXPORT RecoverLiveMessageDeletedGroupRequest : public RpcServiceRequest {
public:
AllowPushStreamRequest();
~AllowPushStreamRequest();
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getRoomId() const;
void setRoomId(const std::string &roomId);
RecoverLiveMessageDeletedGroupRequest();
~RecoverLiveMessageDeletedGroupRequest();
std::string getGroupId() const;
void setGroupId(const std::string &groupId);
std::string getDataCenter() const;
void setDataCenter(const std::string &dataCenter);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
long ownerId_;
std::string roomId_;
std::string groupId_;
std::string dataCenter_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_
#endif // !ALIBABACLOUD_LIVE_MODEL_RECOVERLIVEMESSAGEDELETEDGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_
#ifndef ALIBABACLOUD_LIVE_MODEL_RECOVERLIVEMESSAGEDELETEDGROUPRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_RECOVERLIVEMESSAGEDELETEDGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusResult : public ServiceResult
class ALIBABACLOUD_LIVE_EXPORT RecoverLiveMessageDeletedGroupResult : public ServiceResult
{
public:
DescribeRoomStatusResult();
explicit DescribeRoomStatusResult(const std::string &payload);
~DescribeRoomStatusResult();
int getRoomStatus()const;
RecoverLiveMessageDeletedGroupResult();
explicit RecoverLiveMessageDeletedGroupResult(const std::string &payload);
~RecoverLiveMessageDeletedGroupResult();
std::string getGroupId()const;
protected:
void parse(const std::string &payload);
private:
int roomStatus_;
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_
#endif // !ALIBABACLOUD_LIVE_MODEL_RECOVERLIVEMESSAGEDELETEDGROUPRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT SendRoomNotificationRequest : public RpcServiceRequest {
public:
SendRoomNotificationRequest();
~SendRoomNotificationRequest();
std::string getData() const;
void setData(const std::string &data);
std::string getAppUid() const;
void setAppUid(const std::string &appUid);
long getOwnerId() const;
void setOwnerId(long ownerId);
int getPriority() const;
void setPriority(int priority);
std::string getRoomId() const;
void setRoomId(const std::string &roomId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string data_;
std::string appUid_;
long ownerId_;
int priority_;
std::string roomId_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_

View File

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

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_
#include <alibabacloud/live/LiveExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Live {
namespace Model {
class ALIBABACLOUD_LIVE_EXPORT SendRoomUserNotificationRequest : public RpcServiceRequest {
public:
SendRoomUserNotificationRequest();
~SendRoomUserNotificationRequest();
std::string getData() const;
void setData(const std::string &data);
std::string getToAppUid() const;
void setToAppUid(const std::string &toAppUid);
std::string getAppUid() const;
void setAppUid(const std::string &appUid);
long getOwnerId() const;
void setOwnerId(long ownerId);
int getPriority() const;
void setPriority(int priority);
std::string getRoomId() const;
void setRoomId(const std::string &roomId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string data_;
std::string toAppUid_;
std::string appUid_;
long ownerId_;
int priority_;
std::string roomId_;
std::string appId_;
};
} // namespace Model
} // namespace Live
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_

View File

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

View File

@@ -1275,42 +1275,6 @@ LiveClient::AddTrancodeSEIOutcomeCallable LiveClient::addTrancodeSEICallable(con
return task->get_future();
}
LiveClient::AllowPushStreamOutcome LiveClient::allowPushStream(const AllowPushStreamRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AllowPushStreamOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AllowPushStreamOutcome(AllowPushStreamResult(outcome.result()));
else
return AllowPushStreamOutcome(outcome.error());
}
void LiveClient::allowPushStreamAsync(const AllowPushStreamRequest& request, const AllowPushStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, allowPushStream(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::AllowPushStreamOutcomeCallable LiveClient::allowPushStreamCallable(const AllowPushStreamRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AllowPushStreamOutcome()>>(
[this, request]()
{
return this->allowPushStream(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::BatchDeleteLiveDomainConfigsOutcome LiveClient::batchDeleteLiveDomainConfigs(const BatchDeleteLiveDomainConfigsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4119,42 +4083,6 @@ LiveClient::DeletePlaylistItemsOutcomeCallable LiveClient::deletePlaylistItemsCa
return task->get_future();
}
LiveClient::DeleteRoomOutcome LiveClient::deleteRoom(const DeleteRoomRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteRoomOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteRoomOutcome(DeleteRoomResult(outcome.result()));
else
return DeleteRoomOutcome(outcome.error());
}
void LiveClient::deleteRoomAsync(const DeleteRoomRequest& request, const DeleteRoomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteRoom(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DeleteRoomOutcomeCallable LiveClient::deleteRoomCallable(const DeleteRoomRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteRoomOutcome()>>(
[this, request]()
{
return this->deleteRoom(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DeleteRtcAsrTaskOutcome LiveClient::deleteRtcAsrTask(const DeleteRtcAsrTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4911,42 +4839,6 @@ LiveClient::DescribeDomainWithIntegrityOutcomeCallable LiveClient::describeDomai
return task->get_future();
}
LiveClient::DescribeForbidPushStreamRoomListOutcome LiveClient::describeForbidPushStreamRoomList(const DescribeForbidPushStreamRoomListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeForbidPushStreamRoomListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeForbidPushStreamRoomListOutcome(DescribeForbidPushStreamRoomListResult(outcome.result()));
else
return DescribeForbidPushStreamRoomListOutcome(outcome.error());
}
void LiveClient::describeForbidPushStreamRoomListAsync(const DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeForbidPushStreamRoomList(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeForbidPushStreamRoomListOutcomeCallable LiveClient::describeForbidPushStreamRoomListCallable(const DescribeForbidPushStreamRoomListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeForbidPushStreamRoomListOutcome()>>(
[this, request]()
{
return this->describeForbidPushStreamRoomList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeHlsLiveStreamRealTimeBpsDataOutcome LiveClient::describeHlsLiveStreamRealTimeBpsData(const DescribeHlsLiveStreamRealTimeBpsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -9195,78 +9087,6 @@ LiveClient::DescribeRTSNativeSDKVvDataOutcomeCallable LiveClient::describeRTSNat
return task->get_future();
}
LiveClient::DescribeRoomKickoutUserListOutcome LiveClient::describeRoomKickoutUserList(const DescribeRoomKickoutUserListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeRoomKickoutUserListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeRoomKickoutUserListOutcome(DescribeRoomKickoutUserListResult(outcome.result()));
else
return DescribeRoomKickoutUserListOutcome(outcome.error());
}
void LiveClient::describeRoomKickoutUserListAsync(const DescribeRoomKickoutUserListRequest& request, const DescribeRoomKickoutUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeRoomKickoutUserList(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeRoomKickoutUserListOutcomeCallable LiveClient::describeRoomKickoutUserListCallable(const DescribeRoomKickoutUserListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeRoomKickoutUserListOutcome()>>(
[this, request]()
{
return this->describeRoomKickoutUserList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeRoomStatusOutcome LiveClient::describeRoomStatus(const DescribeRoomStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeRoomStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeRoomStatusOutcome(DescribeRoomStatusResult(outcome.result()));
else
return DescribeRoomStatusOutcome(outcome.error());
}
void LiveClient::describeRoomStatusAsync(const DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeRoomStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeRoomStatusOutcomeCallable LiveClient::describeRoomStatusCallable(const DescribeRoomStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeRoomStatusOutcome()>>(
[this, request]()
{
return this->describeRoomStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeRtcMPUEventSubOutcome LiveClient::describeRtcMPUEventSub(const DescribeRtcMPUEventSubRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -9879,42 +9699,6 @@ LiveClient::ForbidLiveStreamOutcomeCallable LiveClient::forbidLiveStreamCallable
return task->get_future();
}
LiveClient::ForbidPushStreamOutcome LiveClient::forbidPushStream(const ForbidPushStreamRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ForbidPushStreamOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ForbidPushStreamOutcome(ForbidPushStreamResult(outcome.result()));
else
return ForbidPushStreamOutcome(outcome.error());
}
void LiveClient::forbidPushStreamAsync(const ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, forbidPushStream(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::ForbidPushStreamOutcomeCallable LiveClient::forbidPushStreamCallable(const ForbidPushStreamRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ForbidPushStreamOutcome()>>(
[this, request]()
{
return this->forbidPushStream(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::GetAllCustomTemplatesOutcome LiveClient::getAllCustomTemplates(const GetAllCustomTemplatesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -12183,6 +11967,42 @@ LiveClient::RealTimeRecordCommandOutcomeCallable LiveClient::realTimeRecordComma
return task->get_future();
}
LiveClient::RecoverLiveMessageDeletedGroupOutcome LiveClient::recoverLiveMessageDeletedGroup(const RecoverLiveMessageDeletedGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RecoverLiveMessageDeletedGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RecoverLiveMessageDeletedGroupOutcome(RecoverLiveMessageDeletedGroupResult(outcome.result()));
else
return RecoverLiveMessageDeletedGroupOutcome(outcome.error());
}
void LiveClient::recoverLiveMessageDeletedGroupAsync(const RecoverLiveMessageDeletedGroupRequest& request, const RecoverLiveMessageDeletedGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, recoverLiveMessageDeletedGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::RecoverLiveMessageDeletedGroupOutcomeCallable LiveClient::recoverLiveMessageDeletedGroupCallable(const RecoverLiveMessageDeletedGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RecoverLiveMessageDeletedGroupOutcome()>>(
[this, request]()
{
return this->recoverLiveMessageDeletedGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::RemoveShowFromShowListOutcome LiveClient::removeShowFromShowList(const RemoveShowFromShowListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -12579,78 +12399,6 @@ LiveClient::SendMessageToGroupUsersOutcomeCallable LiveClient::sendMessageToGrou
return task->get_future();
}
LiveClient::SendRoomNotificationOutcome LiveClient::sendRoomNotification(const SendRoomNotificationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SendRoomNotificationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SendRoomNotificationOutcome(SendRoomNotificationResult(outcome.result()));
else
return SendRoomNotificationOutcome(outcome.error());
}
void LiveClient::sendRoomNotificationAsync(const SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, sendRoomNotification(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::SendRoomNotificationOutcomeCallable LiveClient::sendRoomNotificationCallable(const SendRoomNotificationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SendRoomNotificationOutcome()>>(
[this, request]()
{
return this->sendRoomNotification(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::SendRoomUserNotificationOutcome LiveClient::sendRoomUserNotification(const SendRoomUserNotificationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SendRoomUserNotificationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SendRoomUserNotificationOutcome(SendRoomUserNotificationResult(outcome.result()));
else
return SendRoomUserNotificationOutcome(outcome.error());
}
void LiveClient::sendRoomUserNotificationAsync(const SendRoomUserNotificationRequest& request, const SendRoomUserNotificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, sendRoomUserNotification(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::SendRoomUserNotificationOutcomeCallable LiveClient::sendRoomUserNotificationCallable(const SendRoomUserNotificationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SendRoomUserNotificationOutcome()>>(
[this, request]()
{
return this->sendRoomUserNotification(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::SetCasterChannelOutcome LiveClient::setCasterChannel(const SetCasterChannelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AllowPushStreamRequest.h>
using AlibabaCloud::Live::Model::AllowPushStreamRequest;
AllowPushStreamRequest::AllowPushStreamRequest()
: RpcServiceRequest("live", "2016-11-01", "AllowPushStream") {
setMethod(HttpRequest::Method::Post);
}
AllowPushStreamRequest::~AllowPushStreamRequest() {}
long AllowPushStreamRequest::getOwnerId() const {
return ownerId_;
}
void AllowPushStreamRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string AllowPushStreamRequest::getRoomId() const {
return roomId_;
}
void AllowPushStreamRequest::setRoomId(const std::string &roomId) {
roomId_ = roomId;
setParameter(std::string("RoomId"), roomId);
}
std::string AllowPushStreamRequest::getAppId() const {
return appId_;
}
void AllowPushStreamRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AllowPushStreamResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
AllowPushStreamResult::AllowPushStreamResult() :
ServiceResult()
{}
AllowPushStreamResult::AllowPushStreamResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllowPushStreamResult::~AllowPushStreamResult()
{}
void AllowPushStreamResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DeleteRoomRequest.h>
using AlibabaCloud::Live::Model::DeleteRoomRequest;
DeleteRoomRequest::DeleteRoomRequest()
: RpcServiceRequest("live", "2016-11-01", "DeleteRoom") {
setMethod(HttpRequest::Method::Post);
}
DeleteRoomRequest::~DeleteRoomRequest() {}
long DeleteRoomRequest::getOwnerId() const {
return ownerId_;
}
void DeleteRoomRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string DeleteRoomRequest::getRoomId() const {
return roomId_;
}
void DeleteRoomRequest::setRoomId(const std::string &roomId) {
roomId_ = roomId;
setParameter(std::string("RoomId"), roomId);
}
std::string DeleteRoomRequest::getAppId() const {
return appId_;
}
void DeleteRoomRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DeleteRoomResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DeleteRoomResult::DeleteRoomResult() :
ServiceResult()
{}
DeleteRoomResult::DeleteRoomResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteRoomResult::~DeleteRoomResult()
{}
void DeleteRoomResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h>
using AlibabaCloud::Live::Model::DescribeForbidPushStreamRoomListRequest;
DescribeForbidPushStreamRoomListRequest::DescribeForbidPushStreamRoomListRequest()
: RpcServiceRequest("live", "2016-11-01", "DescribeForbidPushStreamRoomList") {
setMethod(HttpRequest::Method::Post);
}
DescribeForbidPushStreamRoomListRequest::~DescribeForbidPushStreamRoomListRequest() {}
int DescribeForbidPushStreamRoomListRequest::getPageNum() const {
return pageNum_;
}
void DescribeForbidPushStreamRoomListRequest::setPageNum(int pageNum) {
pageNum_ = pageNum;
setParameter(std::string("PageNum"), std::to_string(pageNum));
}
int DescribeForbidPushStreamRoomListRequest::getPageSize() const {
return pageSize_;
}
void DescribeForbidPushStreamRoomListRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string DescribeForbidPushStreamRoomListRequest::getOrder() const {
return order_;
}
void DescribeForbidPushStreamRoomListRequest::setOrder(const std::string &order) {
order_ = order;
setParameter(std::string("Order"), order);
}
long DescribeForbidPushStreamRoomListRequest::getOwnerId() const {
return ownerId_;
}
void DescribeForbidPushStreamRoomListRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string DescribeForbidPushStreamRoomListRequest::getAppId() const {
return appId_;
}
void DescribeForbidPushStreamRoomListRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,77 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeForbidPushStreamRoomListResult::DescribeForbidPushStreamRoomListResult() :
ServiceResult()
{}
DescribeForbidPushStreamRoomListResult::DescribeForbidPushStreamRoomListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeForbidPushStreamRoomListResult::~DescribeForbidPushStreamRoomListResult()
{}
void DescribeForbidPushStreamRoomListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allRoomListNode = value["RoomList"]["Room"];
for (auto valueRoomListRoom : allRoomListNode)
{
Room roomListObject;
if(!valueRoomListRoom["OpEndTime"].isNull())
roomListObject.opEndTime = valueRoomListRoom["OpEndTime"].asString();
if(!valueRoomListRoom["AnchorId"].isNull())
roomListObject.anchorId = valueRoomListRoom["AnchorId"].asString();
if(!valueRoomListRoom["OpStartTime"].isNull())
roomListObject.opStartTime = valueRoomListRoom["OpStartTime"].asString();
if(!valueRoomListRoom["RoomId"].isNull())
roomListObject.roomId = valueRoomListRoom["RoomId"].asString();
roomList_.push_back(roomListObject);
}
if(!value["TotalPage"].isNull())
totalPage_ = std::stoi(value["TotalPage"].asString());
if(!value["TotalNum"].isNull())
totalNum_ = std::stoi(value["TotalNum"].asString());
}
int DescribeForbidPushStreamRoomListResult::getTotalNum()const
{
return totalNum_;
}
int DescribeForbidPushStreamRoomListResult::getTotalPage()const
{
return totalPage_;
}
std::vector<DescribeForbidPushStreamRoomListResult::Room> DescribeForbidPushStreamRoomListResult::getRoomList()const
{
return roomList_;
}

View File

@@ -68,6 +68,8 @@ void DescribeLiveStreamRecordIndexFileResult::parse(const std::string &payload)
recordIndexInfo_.duration = std::stof(recordIndexInfoNode["Duration"].asString());
if(!recordIndexInfoNode["OssEndpoint"].isNull())
recordIndexInfo_.ossEndpoint = recordIndexInfoNode["OssEndpoint"].asString();
if(!recordIndexInfoNode["Format"].isNull())
recordIndexInfo_.format = recordIndexInfoNode["Format"].asString();
}

View File

@@ -71,6 +71,8 @@ void DescribeLiveStreamRecordIndexFilesResult::parse(const std::string &payload)
recordIndexInfoListObject.duration = std::stof(valueRecordIndexInfoListRecordIndexInfo["Duration"].asString());
if(!valueRecordIndexInfoListRecordIndexInfo["OssEndpoint"].isNull())
recordIndexInfoListObject.ossEndpoint = valueRecordIndexInfoListRecordIndexInfo["OssEndpoint"].asString();
if(!valueRecordIndexInfoListRecordIndexInfo["Format"].isNull())
recordIndexInfoListObject.format = valueRecordIndexInfoListRecordIndexInfo["Format"].asString();
recordIndexInfoList_.push_back(recordIndexInfoListObject);
}
if(!value["PageNum"].isNull())

View File

@@ -1,81 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h>
using AlibabaCloud::Live::Model::DescribeRoomKickoutUserListRequest;
DescribeRoomKickoutUserListRequest::DescribeRoomKickoutUserListRequest()
: RpcServiceRequest("live", "2016-11-01", "DescribeRoomKickoutUserList") {
setMethod(HttpRequest::Method::Post);
}
DescribeRoomKickoutUserListRequest::~DescribeRoomKickoutUserListRequest() {}
int DescribeRoomKickoutUserListRequest::getPageNum() const {
return pageNum_;
}
void DescribeRoomKickoutUserListRequest::setPageNum(int pageNum) {
pageNum_ = pageNum;
setParameter(std::string("PageNum"), std::to_string(pageNum));
}
int DescribeRoomKickoutUserListRequest::getPageSize() const {
return pageSize_;
}
void DescribeRoomKickoutUserListRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string DescribeRoomKickoutUserListRequest::getOrder() const {
return order_;
}
void DescribeRoomKickoutUserListRequest::setOrder(const std::string &order) {
order_ = order;
setParameter(std::string("Order"), order);
}
long DescribeRoomKickoutUserListRequest::getOwnerId() const {
return ownerId_;
}
void DescribeRoomKickoutUserListRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string DescribeRoomKickoutUserListRequest::getRoomId() const {
return roomId_;
}
void DescribeRoomKickoutUserListRequest::setRoomId(const std::string &roomId) {
roomId_ = roomId;
setParameter(std::string("RoomId"), roomId);
}
std::string DescribeRoomKickoutUserListRequest::getAppId() const {
return appId_;
}
void DescribeRoomKickoutUserListRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,75 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeRoomKickoutUserListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeRoomKickoutUserListResult::DescribeRoomKickoutUserListResult() :
ServiceResult()
{}
DescribeRoomKickoutUserListResult::DescribeRoomKickoutUserListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeRoomKickoutUserListResult::~DescribeRoomKickoutUserListResult()
{}
void DescribeRoomKickoutUserListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allUserListNode = value["UserList"]["User"];
for (auto valueUserListUser : allUserListNode)
{
User userListObject;
if(!valueUserListUser["OpStartTime"].isNull())
userListObject.opStartTime = valueUserListUser["OpStartTime"].asString();
if(!valueUserListUser["OpEndTime"].isNull())
userListObject.opEndTime = valueUserListUser["OpEndTime"].asString();
if(!valueUserListUser["AppUid"].isNull())
userListObject.appUid = valueUserListUser["AppUid"].asString();
userList_.push_back(userListObject);
}
if(!value["TotalPage"].isNull())
totalPage_ = std::stoi(value["TotalPage"].asString());
if(!value["TotalNum"].isNull())
totalNum_ = std::stoi(value["TotalNum"].asString());
}
int DescribeRoomKickoutUserListResult::getTotalNum()const
{
return totalNum_;
}
int DescribeRoomKickoutUserListResult::getTotalPage()const
{
return totalPage_;
}
std::vector<DescribeRoomKickoutUserListResult::User> DescribeRoomKickoutUserListResult::getUserList()const
{
return userList_;
}

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeRoomStatusRequest.h>
using AlibabaCloud::Live::Model::DescribeRoomStatusRequest;
DescribeRoomStatusRequest::DescribeRoomStatusRequest()
: RpcServiceRequest("live", "2016-11-01", "DescribeRoomStatus") {
setMethod(HttpRequest::Method::Post);
}
DescribeRoomStatusRequest::~DescribeRoomStatusRequest() {}
long DescribeRoomStatusRequest::getOwnerId() const {
return ownerId_;
}
void DescribeRoomStatusRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string DescribeRoomStatusRequest::getRoomId() const {
return roomId_;
}
void DescribeRoomStatusRequest::setRoomId(const std::string &roomId) {
roomId_ = roomId;
setParameter(std::string("RoomId"), roomId);
}
std::string DescribeRoomStatusRequest::getAppId() const {
return appId_;
}
void DescribeRoomStatusRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeRoomStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeRoomStatusResult::DescribeRoomStatusResult() :
ServiceResult()
{}
DescribeRoomStatusResult::DescribeRoomStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeRoomStatusResult::~DescribeRoomStatusResult()
{}
void DescribeRoomStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["RoomStatus"].isNull())
roomStatus_ = std::stoi(value["RoomStatus"].asString());
}
int DescribeRoomStatusResult::getRoomStatus()const
{
return roomStatus_;
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/ForbidPushStreamRequest.h>
using AlibabaCloud::Live::Model::ForbidPushStreamRequest;
ForbidPushStreamRequest::ForbidPushStreamRequest()
: RpcServiceRequest("live", "2016-11-01", "ForbidPushStream") {
setMethod(HttpRequest::Method::Post);
}
ForbidPushStreamRequest::~ForbidPushStreamRequest() {}
std::string ForbidPushStreamRequest::getUserData() const {
return userData_;
}
void ForbidPushStreamRequest::setUserData(const std::string &userData) {
userData_ = userData;
setParameter(std::string("UserData"), userData);
}
std::string ForbidPushStreamRequest::getEndTime() const {
return endTime_;
}
void ForbidPushStreamRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
long ForbidPushStreamRequest::getOwnerId() const {
return ownerId_;
}
void ForbidPushStreamRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string ForbidPushStreamRequest::getRoomId() const {
return roomId_;
}
void ForbidPushStreamRequest::setRoomId(const std::string &roomId) {
roomId_ = roomId;
setParameter(std::string("RoomId"), roomId);
}
std::string ForbidPushStreamRequest::getAppId() const {
return appId_;
}
void ForbidPushStreamRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/ForbidPushStreamResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
ForbidPushStreamResult::ForbidPushStreamResult() :
ServiceResult()
{}
ForbidPushStreamResult::ForbidPushStreamResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ForbidPushStreamResult::~ForbidPushStreamResult()
{}
void ForbidPushStreamResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/RecoverLiveMessageDeletedGroupRequest.h>
using AlibabaCloud::Live::Model::RecoverLiveMessageDeletedGroupRequest;
RecoverLiveMessageDeletedGroupRequest::RecoverLiveMessageDeletedGroupRequest()
: RpcServiceRequest("live", "2016-11-01", "RecoverLiveMessageDeletedGroup") {
setMethod(HttpRequest::Method::Post);
}
RecoverLiveMessageDeletedGroupRequest::~RecoverLiveMessageDeletedGroupRequest() {}
std::string RecoverLiveMessageDeletedGroupRequest::getGroupId() const {
return groupId_;
}
void RecoverLiveMessageDeletedGroupRequest::setGroupId(const std::string &groupId) {
groupId_ = groupId;
setParameter(std::string("GroupId"), groupId);
}
std::string RecoverLiveMessageDeletedGroupRequest::getDataCenter() const {
return dataCenter_;
}
void RecoverLiveMessageDeletedGroupRequest::setDataCenter(const std::string &dataCenter) {
dataCenter_ = dataCenter;
setParameter(std::string("DataCenter"), dataCenter);
}
std::string RecoverLiveMessageDeletedGroupRequest::getAppId() const {
return appId_;
}
void RecoverLiveMessageDeletedGroupRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/live/model/SendRoomNotificationResult.h>
#include <alibabacloud/live/model/RecoverLiveMessageDeletedGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
SendRoomNotificationResult::SendRoomNotificationResult() :
RecoverLiveMessageDeletedGroupResult::RecoverLiveMessageDeletedGroupResult() :
ServiceResult()
{}
SendRoomNotificationResult::SendRoomNotificationResult(const std::string &payload) :
RecoverLiveMessageDeletedGroupResult::RecoverLiveMessageDeletedGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SendRoomNotificationResult::~SendRoomNotificationResult()
RecoverLiveMessageDeletedGroupResult::~RecoverLiveMessageDeletedGroupResult()
{}
void SendRoomNotificationResult::parse(const std::string &payload)
void RecoverLiveMessageDeletedGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["MessageId"].isNull())
messageId_ = value["MessageId"].asString();
if(!value["GroupId"].isNull())
groupId_ = value["GroupId"].asString();
}
std::string SendRoomNotificationResult::getMessageId()const
std::string RecoverLiveMessageDeletedGroupResult::getGroupId()const
{
return messageId_;
return groupId_;
}

View File

@@ -1,81 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/SendRoomNotificationRequest.h>
using AlibabaCloud::Live::Model::SendRoomNotificationRequest;
SendRoomNotificationRequest::SendRoomNotificationRequest()
: RpcServiceRequest("live", "2016-11-01", "SendRoomNotification") {
setMethod(HttpRequest::Method::Post);
}
SendRoomNotificationRequest::~SendRoomNotificationRequest() {}
std::string SendRoomNotificationRequest::getData() const {
return data_;
}
void SendRoomNotificationRequest::setData(const std::string &data) {
data_ = data;
setParameter(std::string("Data"), data);
}
std::string SendRoomNotificationRequest::getAppUid() const {
return appUid_;
}
void SendRoomNotificationRequest::setAppUid(const std::string &appUid) {
appUid_ = appUid;
setParameter(std::string("AppUid"), appUid);
}
long SendRoomNotificationRequest::getOwnerId() const {
return ownerId_;
}
void SendRoomNotificationRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
int SendRoomNotificationRequest::getPriority() const {
return priority_;
}
void SendRoomNotificationRequest::setPriority(int priority) {
priority_ = priority;
setParameter(std::string("Priority"), std::to_string(priority));
}
std::string SendRoomNotificationRequest::getRoomId() const {
return roomId_;
}
void SendRoomNotificationRequest::setRoomId(const std::string &roomId) {
roomId_ = roomId;
setParameter(std::string("RoomId"), roomId);
}
std::string SendRoomNotificationRequest::getAppId() const {
return appId_;
}
void SendRoomNotificationRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,90 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/SendRoomUserNotificationRequest.h>
using AlibabaCloud::Live::Model::SendRoomUserNotificationRequest;
SendRoomUserNotificationRequest::SendRoomUserNotificationRequest()
: RpcServiceRequest("live", "2016-11-01", "SendRoomUserNotification") {
setMethod(HttpRequest::Method::Post);
}
SendRoomUserNotificationRequest::~SendRoomUserNotificationRequest() {}
std::string SendRoomUserNotificationRequest::getData() const {
return data_;
}
void SendRoomUserNotificationRequest::setData(const std::string &data) {
data_ = data;
setParameter(std::string("Data"), data);
}
std::string SendRoomUserNotificationRequest::getToAppUid() const {
return toAppUid_;
}
void SendRoomUserNotificationRequest::setToAppUid(const std::string &toAppUid) {
toAppUid_ = toAppUid;
setParameter(std::string("ToAppUid"), toAppUid);
}
std::string SendRoomUserNotificationRequest::getAppUid() const {
return appUid_;
}
void SendRoomUserNotificationRequest::setAppUid(const std::string &appUid) {
appUid_ = appUid;
setParameter(std::string("AppUid"), appUid);
}
long SendRoomUserNotificationRequest::getOwnerId() const {
return ownerId_;
}
void SendRoomUserNotificationRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
int SendRoomUserNotificationRequest::getPriority() const {
return priority_;
}
void SendRoomUserNotificationRequest::setPriority(int priority) {
priority_ = priority;
setParameter(std::string("Priority"), std::to_string(priority));
}
std::string SendRoomUserNotificationRequest::getRoomId() const {
return roomId_;
}
void SendRoomUserNotificationRequest::setRoomId(const std::string &roomId) {
roomId_ = roomId;
setParameter(std::string("RoomId"), roomId);
}
std::string SendRoomUserNotificationRequest::getAppId() const {
return appId_;
}
void SendRoomUserNotificationRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/SendRoomUserNotificationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
SendRoomUserNotificationResult::SendRoomUserNotificationResult() :
ServiceResult()
{}
SendRoomUserNotificationResult::SendRoomUserNotificationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SendRoomUserNotificationResult::~SendRoomUserNotificationResult()
{}
void SendRoomUserNotificationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["MessageId"].isNull())
messageId_ = value["MessageId"].asString();
}
std::string SendRoomUserNotificationResult::getMessageId()const
{
return messageId_;
}