From 844fe8856ea122f6ab698b70d62c2e2f7c054411 Mon Sep 17 00:00:00 2001 From: "yixiong.jxy" Date: Mon, 17 Sep 2018 19:48:03 +0800 Subject: [PATCH] =?UTF-8?q?LIVE=20SDK=20Auto=20Released=20By=20renrang.yl,?= =?UTF-8?q?Version=EF=BC=9A1.26.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yixiong.jxy --- CHANGELOG | 4 + VERSION | 2 +- live/CMakeLists.txt | 120 +- live/include/alibabacloud/live/LiveClient.h | 232 ++++ .../model/AddCasterVideoResourceRequest.h | 36 +- .../AddCustomLiveStreamTranscodeRequest.h | 3 + .../live/model/AddLiveDomainMappingRequest.h | 60 + .../live/model/AddLiveDomainMappingResult.h | 49 + .../live/model/AddLiveDomainRequest.h | 3 + .../live/model/AddTrancodeSEIRequest.h | 3 + .../live/model/AllowPushStreamRequest.h | 117 ++ .../live/model/AllowPushStreamResult.h | 49 + .../live/model/ApplyBoardTokenRequest.h | 117 ++ .../live/model/ApplyBoardTokenResult.h | 53 + .../live/model/CompleteBoardRequest.h | 114 ++ .../live/model/CompleteBoardResult.h | 49 + .../live/model/CreateBoardRequest.h | 114 ++ .../live/model/CreateBoardResult.h | 51 + .../live/model/CreateRoomRequest.h | 120 ++ .../live/model/CreateRoomResult.h | 55 + .../live/model/DeleteBoardRequest.h | 114 ++ .../live/model/DeleteBoardResult.h | 49 + .../model/DeleteLiveDomainMappingRequest.h | 60 + .../model/DeleteLiveDomainMappingResult.h | 49 + ...eleteLiveLazyPullStreamInfoConfigRequest.h | 114 ++ ...DeleteLiveLazyPullStreamInfoConfigResult.h | 49 + .../DeleteLiveStreamsNotifyUrlConfigRequest.h | 9 +- .../live/model/DeleteRoomRequest.h | 117 ++ .../live/model/DeleteRoomResult.h | 49 + .../live/model/DescribeBoardEventsRequest.h | 120 ++ .../live/model/DescribeBoardEventsResult.h | 59 + .../live/model/DescribeBoardSnapshotRequest.h | 114 ++ .../live/model/DescribeBoardSnapshotResult.h | 83 ++ .../live/model/DescribeBoardsRequest.h | 117 ++ .../live/model/DescribeBoardsResult.h | 58 + .../model/DescribeCasterChannelsRequest.h | 54 + .../live/model/DescribeCasterChannelsResult.h | 59 + .../live/model/DescribeCasterConfigRequest.h | 3 + .../live/model/DescribeCasterConfigResult.h | 2 + .../model/DescribeCasterSceneAudioRequest.h | 57 + .../model/DescribeCasterSceneAudioResult.h | 63 + .../DescribeCasterVideoResourcesRequest.h | 3 + .../DescribeCasterVideoResourcesResult.h | 1 + .../live/model/DescribeCastersRequest.h | 3 + .../live/model/DescribeCastersResult.h | 1 + .../model/DescribeDomainUsageDataRequest.h | 129 ++ .../model/DescribeDomainUsageDataResult.h | 68 ++ .../DescribeForbidPushStreamRoomListRequest.h | 123 ++ .../DescribeForbidPushStreamRoomListResult.h | 62 + .../DescribeLiveDomainRecordDataRequest.h | 3 + .../DescribeLiveDomainSnapshotDataRequest.h | 3 + .../DescribeLiveDomainTranscodeDataRequest.h | 3 + .../DescribeLiveLazyPullStreamConfigRequest.h | 114 ++ .../DescribeLiveLazyPullStreamConfigResult.h | 61 + ...escribeLiveStreamsNotifyUrlConfigRequest.h | 60 +- ...DescribeLiveStreamsNotifyUrlConfigResult.h | 2 + .../DescribeLiveStreamsOnlineListRequest.h | 27 +- .../DescribeLiveStreamsPublishListRequest.h | 12 +- .../DescribeRoomKickoutUserListRequest.h | 126 ++ .../model/DescribeRoomKickoutUserListResult.h | 61 + .../live/model/DescribeRoomListRequest.h | 126 ++ .../live/model/DescribeRoomListResult.h | 62 + .../live/model/DescribeRoomStatusRequest.h | 117 ++ .../live/model/DescribeRoomStatusResult.h | 51 + .../live/model/ForbidLiveStreamRequest.h | 78 +- .../live/model/ForbidPushStreamRequest.h | 123 ++ .../live/model/ForbidPushStreamResult.h | 49 + .../live/model/JoinBoardRequest.h | 117 ++ .../alibabacloud/live/model/JoinBoardResult.h | 55 + .../model/ModifyCasterVideoResourceRequest.h | 30 +- .../live/model/RealTimeRecordCommandRequest.h | 3 + .../live/model/SendRoomNotificationRequest.h | 126 ++ .../live/model/SendRoomNotificationResult.h | 51 + .../model/SendRoomUserNotificationRequest.h | 129 ++ .../model/SendRoomUserNotificationResult.h | 51 + .../live/model/SetCasterChannelRequest.h | 66 ++ .../live/model/SetCasterChannelResult.h | 49 + .../live/model/SetCasterConfigRequest.h | 6 + .../live/model/SetCasterSceneConfigRequest.h | 3 + .../SetLiveLazyPullStreamInfoConfigRequest.h | 129 ++ .../SetLiveLazyPullStreamInfoConfigResult.h | 49 + .../live/model/UpdateBoardRequest.h | 114 ++ .../live/model/UpdateBoardResult.h | 49 + .../model/UpdateCasterSceneAudioRequest.h | 72 ++ .../live/model/UpdateCasterSceneAudioResult.h | 49 + .../model/UpdateCasterSceneConfigRequest.h | 3 + live/src/LiveClient.cc | 1044 +++++++++++++++++ .../model/AddCasterVideoResourceRequest.cc | 132 ++- .../AddCustomLiveStreamTranscodeRequest.cc | 11 + live/src/model/AddLiveDomainMappingRequest.cc | 82 ++ live/src/model/AddLiveDomainMappingResult.cc | 45 + live/src/model/AddLiveDomainRequest.cc | 11 + live/src/model/AddTrancodeSEIRequest.cc | 11 + live/src/model/AllowPushStreamRequest.cc | 291 +++++ live/src/model/AllowPushStreamResult.cc | 45 + live/src/model/ApplyBoardTokenRequest.cc | 291 +++++ live/src/model/ApplyBoardTokenResult.cc | 59 + live/src/model/CompleteBoardRequest.cc | 280 +++++ live/src/model/CompleteBoardResult.cc | 45 + live/src/model/CreateBoardRequest.cc | 280 +++++ live/src/model/CreateBoardResult.cc | 52 + live/src/model/CreateRoomRequest.cc | 302 +++++ live/src/model/CreateRoomResult.cc | 66 ++ live/src/model/DeleteBoardRequest.cc | 280 +++++ live/src/model/DeleteBoardResult.cc | 45 + .../model/DeleteLiveDomainMappingRequest.cc | 82 ++ .../model/DeleteLiveDomainMappingResult.cc | 45 + ...leteLiveLazyPullStreamInfoConfigRequest.cc | 280 +++++ ...eleteLiveLazyPullStreamInfoConfigResult.cc | 45 + ...DeleteLiveStreamsNotifyUrlConfigRequest.cc | 21 +- live/src/model/DeleteRoomRequest.cc | 291 +++++ live/src/model/DeleteRoomResult.cc | 45 + live/src/model/DescribeBoardEventsRequest.cc | 302 +++++ live/src/model/DescribeBoardEventsResult.cc | 66 ++ .../src/model/DescribeBoardSnapshotRequest.cc | 280 +++++ live/src/model/DescribeBoardSnapshotResult.cc | 96 ++ live/src/model/DescribeBoardsRequest.cc | 291 +++++ live/src/model/DescribeBoardsResult.cc | 64 + .../model/DescribeCasterChannelsRequest.cc | 60 + .../src/model/DescribeCasterChannelsResult.cc | 69 ++ live/src/model/DescribeCasterConfigRequest.cc | 11 + live/src/model/DescribeCasterConfigResult.cc | 7 + .../model/DescribeCasterSceneAudioRequest.cc | 71 ++ .../model/DescribeCasterSceneAudioResult.cc | 84 ++ .../DescribeCasterVideoResourcesRequest.cc | 11 + .../DescribeCasterVideoResourcesResult.cc | 2 + live/src/model/DescribeCastersRequest.cc | 11 + live/src/model/DescribeCastersResult.cc | 2 + .../model/DescribeDomainUsageDataRequest.cc | 335 ++++++ .../model/DescribeDomainUsageDataResult.cc | 102 ++ ...DescribeForbidPushStreamRoomListRequest.cc | 313 +++++ .../DescribeForbidPushStreamRoomListResult.cc | 78 ++ .../DescribeLiveDomainRecordDataRequest.cc | 11 + .../DescribeLiveDomainSnapshotDataRequest.cc | 11 + .../DescribeLiveDomainTranscodeDataRequest.cc | 11 + ...DescribeLiveLazyPullStreamConfigRequest.cc | 280 +++++ .../DescribeLiveLazyPullStreamConfigResult.cc | 70 ++ ...scribeLiveStreamsNotifyUrlConfigRequest.cc | 208 +++- ...escribeLiveStreamsNotifyUrlConfigResult.cc | 4 + .../DescribeLiveStreamsOnlineListRequest.cc | 99 +- .../DescribeLiveStreamsPublishListRequest.cc | 32 +- .../DescribeRoomKickoutUserListRequest.cc | 324 +++++ .../DescribeRoomKickoutUserListResult.cc | 76 ++ live/src/model/DescribeRoomListRequest.cc | 324 +++++ live/src/model/DescribeRoomListResult.cc | 78 ++ live/src/model/DescribeRoomStatusRequest.cc | 291 +++++ live/src/model/DescribeRoomStatusResult.cc | 52 + live/src/model/ForbidLiveStreamRequest.cc | 250 +++- live/src/model/ForbidPushStreamRequest.cc | 313 +++++ live/src/model/ForbidPushStreamResult.cc | 45 + live/src/model/JoinBoardRequest.cc | 291 +++++ live/src/model/JoinBoardResult.cc | 66 ++ .../model/ModifyCasterVideoResourceRequest.cc | 110 +- .../src/model/RealTimeRecordCommandRequest.cc | 11 + live/src/model/SendRoomNotificationRequest.cc | 324 +++++ live/src/model/SendRoomNotificationResult.cc | 52 + .../model/SendRoomUserNotificationRequest.cc | 335 ++++++ .../model/SendRoomUserNotificationResult.cc | 52 + live/src/model/SetCasterChannelRequest.cc | 104 ++ live/src/model/SetCasterChannelResult.cc | 45 + live/src/model/SetCasterConfigRequest.cc | 22 + live/src/model/SetCasterSceneConfigRequest.cc | 11 + .../SetLiveLazyPullStreamInfoConfigRequest.cc | 335 ++++++ .../SetLiveLazyPullStreamInfoConfigResult.cc | 45 + live/src/model/UpdateBoardRequest.cc | 280 +++++ live/src/model/UpdateBoardResult.cc | 45 + .../model/UpdateCasterSceneAudioRequest.cc | 112 ++ .../src/model/UpdateCasterSceneAudioResult.cc | 45 + .../model/UpdateCasterSceneConfigRequest.cc | 11 + 169 files changed, 16319 insertions(+), 261 deletions(-) create mode 100644 live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h create mode 100644 live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h create mode 100644 live/include/alibabacloud/live/model/AllowPushStreamRequest.h create mode 100644 live/include/alibabacloud/live/model/AllowPushStreamResult.h create mode 100644 live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h create mode 100644 live/include/alibabacloud/live/model/ApplyBoardTokenResult.h create mode 100644 live/include/alibabacloud/live/model/CompleteBoardRequest.h create mode 100644 live/include/alibabacloud/live/model/CompleteBoardResult.h create mode 100644 live/include/alibabacloud/live/model/CreateBoardRequest.h create mode 100644 live/include/alibabacloud/live/model/CreateBoardResult.h create mode 100644 live/include/alibabacloud/live/model/CreateRoomRequest.h create mode 100644 live/include/alibabacloud/live/model/CreateRoomResult.h create mode 100644 live/include/alibabacloud/live/model/DeleteBoardRequest.h create mode 100644 live/include/alibabacloud/live/model/DeleteBoardResult.h create mode 100644 live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h create mode 100644 live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h create mode 100644 live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h create mode 100644 live/include/alibabacloud/live/model/DeleteRoomRequest.h create mode 100644 live/include/alibabacloud/live/model/DeleteRoomResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeBoardEventsResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeBoardsRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeBoardsResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeDomainUsageDataResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeRoomListRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeRoomListResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeRoomStatusResult.h create mode 100644 live/include/alibabacloud/live/model/ForbidPushStreamRequest.h create mode 100644 live/include/alibabacloud/live/model/ForbidPushStreamResult.h create mode 100644 live/include/alibabacloud/live/model/JoinBoardRequest.h create mode 100644 live/include/alibabacloud/live/model/JoinBoardResult.h create mode 100644 live/include/alibabacloud/live/model/SendRoomNotificationRequest.h create mode 100644 live/include/alibabacloud/live/model/SendRoomNotificationResult.h create mode 100644 live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h create mode 100644 live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h create mode 100644 live/include/alibabacloud/live/model/SetCasterChannelRequest.h create mode 100644 live/include/alibabacloud/live/model/SetCasterChannelResult.h create mode 100644 live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h create mode 100644 live/include/alibabacloud/live/model/UpdateBoardRequest.h create mode 100644 live/include/alibabacloud/live/model/UpdateBoardResult.h create mode 100644 live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h create mode 100644 live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h create mode 100644 live/src/model/AddLiveDomainMappingRequest.cc create mode 100644 live/src/model/AddLiveDomainMappingResult.cc create mode 100644 live/src/model/AllowPushStreamRequest.cc create mode 100644 live/src/model/AllowPushStreamResult.cc create mode 100644 live/src/model/ApplyBoardTokenRequest.cc create mode 100644 live/src/model/ApplyBoardTokenResult.cc create mode 100644 live/src/model/CompleteBoardRequest.cc create mode 100644 live/src/model/CompleteBoardResult.cc create mode 100644 live/src/model/CreateBoardRequest.cc create mode 100644 live/src/model/CreateBoardResult.cc create mode 100644 live/src/model/CreateRoomRequest.cc create mode 100644 live/src/model/CreateRoomResult.cc create mode 100644 live/src/model/DeleteBoardRequest.cc create mode 100644 live/src/model/DeleteBoardResult.cc create mode 100644 live/src/model/DeleteLiveDomainMappingRequest.cc create mode 100644 live/src/model/DeleteLiveDomainMappingResult.cc create mode 100644 live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc create mode 100644 live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc create mode 100644 live/src/model/DeleteRoomRequest.cc create mode 100644 live/src/model/DeleteRoomResult.cc create mode 100644 live/src/model/DescribeBoardEventsRequest.cc create mode 100644 live/src/model/DescribeBoardEventsResult.cc create mode 100644 live/src/model/DescribeBoardSnapshotRequest.cc create mode 100644 live/src/model/DescribeBoardSnapshotResult.cc create mode 100644 live/src/model/DescribeBoardsRequest.cc create mode 100644 live/src/model/DescribeBoardsResult.cc create mode 100644 live/src/model/DescribeCasterChannelsRequest.cc create mode 100644 live/src/model/DescribeCasterChannelsResult.cc create mode 100644 live/src/model/DescribeCasterSceneAudioRequest.cc create mode 100644 live/src/model/DescribeCasterSceneAudioResult.cc create mode 100644 live/src/model/DescribeDomainUsageDataRequest.cc create mode 100644 live/src/model/DescribeDomainUsageDataResult.cc create mode 100644 live/src/model/DescribeForbidPushStreamRoomListRequest.cc create mode 100644 live/src/model/DescribeForbidPushStreamRoomListResult.cc create mode 100644 live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc create mode 100644 live/src/model/DescribeLiveLazyPullStreamConfigResult.cc create mode 100644 live/src/model/DescribeRoomKickoutUserListRequest.cc create mode 100644 live/src/model/DescribeRoomKickoutUserListResult.cc create mode 100644 live/src/model/DescribeRoomListRequest.cc create mode 100644 live/src/model/DescribeRoomListResult.cc create mode 100644 live/src/model/DescribeRoomStatusRequest.cc create mode 100644 live/src/model/DescribeRoomStatusResult.cc create mode 100644 live/src/model/ForbidPushStreamRequest.cc create mode 100644 live/src/model/ForbidPushStreamResult.cc create mode 100644 live/src/model/JoinBoardRequest.cc create mode 100644 live/src/model/JoinBoardResult.cc create mode 100644 live/src/model/SendRoomNotificationRequest.cc create mode 100644 live/src/model/SendRoomNotificationResult.cc create mode 100644 live/src/model/SendRoomUserNotificationRequest.cc create mode 100644 live/src/model/SendRoomUserNotificationResult.cc create mode 100644 live/src/model/SetCasterChannelRequest.cc create mode 100644 live/src/model/SetCasterChannelResult.cc create mode 100644 live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc create mode 100644 live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc create mode 100644 live/src/model/UpdateBoardRequest.cc create mode 100644 live/src/model/UpdateBoardResult.cc create mode 100644 live/src/model/UpdateCasterSceneAudioRequest.cc create mode 100644 live/src/model/UpdateCasterSceneAudioResult.cc diff --git a/CHANGELOG b/CHANGELOG index 53666ca56..bd188a1c9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2018-09-17 Version: 1.26.1 +1, Add field for AddCasterVideoResource, DescribeCasterVideoResources, ModifyCasterVideoResource. + + 2018-09-14 Version: 1.26.0 1, Add DedicatedHost Feature diff --git a/VERSION b/VERSION index bc584045a..eb1d6027b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.26.0 \ No newline at end of file +1.26.1 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index 6b3fa4857..7d2c921b6 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -23,6 +23,8 @@ set(live_public_header set(live_public_header_model include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h + include/alibabacloud/live/model/DescribeRoomListRequest.h + include/alibabacloud/live/model/DescribeRoomListResult.h include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h include/alibabacloud/live/model/ModifyCasterComponentRequest.h @@ -31,10 +33,14 @@ set(live_public_header_model include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h include/alibabacloud/live/model/EffectCasterUrgentRequest.h include/alibabacloud/live/model/EffectCasterUrgentResult.h + include/alibabacloud/live/model/CompleteBoardRequest.h + include/alibabacloud/live/model/CompleteBoardResult.h include/alibabacloud/live/model/DescribeCasterComponentsRequest.h include/alibabacloud/live/model/DescribeCasterComponentsResult.h include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h include/alibabacloud/live/model/DescribeLiveMixConfigResult.h + include/alibabacloud/live/model/DescribeRoomStatusRequest.h + include/alibabacloud/live/model/DescribeRoomStatusResult.h include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h include/alibabacloud/live/model/DeleteLiveSpecificConfigRequest.h @@ -63,6 +69,8 @@ set(live_public_header_model include/alibabacloud/live/model/SetCasterSceneConfigResult.h include/alibabacloud/live/model/AddTrancodeSEIRequest.h include/alibabacloud/live/model/AddTrancodeSEIResult.h + include/alibabacloud/live/model/DeleteBoardRequest.h + include/alibabacloud/live/model/DeleteBoardResult.h include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h include/alibabacloud/live/model/DeleteCasterLayoutRequest.h @@ -83,8 +91,14 @@ set(live_public_header_model include/alibabacloud/live/model/CopyCasterResult.h include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.h + include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h + include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h include/alibabacloud/live/model/AddCasterEpisodeRequest.h include/alibabacloud/live/model/AddCasterEpisodeResult.h + include/alibabacloud/live/model/AllowPushStreamRequest.h + include/alibabacloud/live/model/AllowPushStreamResult.h + include/alibabacloud/live/model/ForbidPushStreamRequest.h + include/alibabacloud/live/model/ForbidPushStreamResult.h include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h @@ -93,6 +107,8 @@ set(live_public_header_model include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h + include/alibabacloud/live/model/CreateBoardRequest.h + include/alibabacloud/live/model/CreateBoardResult.h include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h @@ -109,12 +125,16 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveCertificateListResult.h include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.h + include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h + include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h include/alibabacloud/live/model/ModifyCasterProgramRequest.h include/alibabacloud/live/model/ModifyCasterProgramResult.h + include/alibabacloud/live/model/DescribeBoardEventsRequest.h + include/alibabacloud/live/model/DescribeBoardEventsResult.h include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h include/alibabacloud/live/model/StartMixStreamsServiceRequest.h @@ -127,18 +147,24 @@ set(live_public_header_model include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h include/alibabacloud/live/model/StartLiveDomainRequest.h include/alibabacloud/live/model/StartLiveDomainResult.h + include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h + include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h include/alibabacloud/live/model/AddCasterVideoResourceRequest.h include/alibabacloud/live/model/AddCasterVideoResourceResult.h + include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h + include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h include/alibabacloud/live/model/ModifyCasterVideoResourceResult.h + include/alibabacloud/live/model/CreateRoomRequest.h + include/alibabacloud/live/model/CreateRoomResult.h include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h @@ -153,6 +179,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h include/alibabacloud/live/model/ModifyCasterEpisodeResult.h + include/alibabacloud/live/model/DescribeBoardsRequest.h + include/alibabacloud/live/model/DescribeBoardsResult.h include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h @@ -163,6 +191,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveMixNotifyConfigResult.h include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h + include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h + include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h include/alibabacloud/live/model/CreateCasterRequest.h include/alibabacloud/live/model/CreateCasterResult.h include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h @@ -175,28 +205,42 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeCasterLayoutsResult.h include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h + include/alibabacloud/live/model/SetCasterChannelRequest.h + include/alibabacloud/live/model/SetCasterChannelResult.h include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h include/alibabacloud/live/model/DescribeCasterProgramRequest.h include/alibabacloud/live/model/DescribeCasterProgramResult.h include/alibabacloud/live/model/StopLiveDomainRequest.h include/alibabacloud/live/model/StopLiveDomainResult.h + include/alibabacloud/live/model/ApplyBoardTokenRequest.h + include/alibabacloud/live/model/ApplyBoardTokenResult.h include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h include/alibabacloud/live/model/AddLiveAppRecordConfigResult.h include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h include/alibabacloud/live/model/AddLiveRecordVodConfigResult.h + include/alibabacloud/live/model/SendRoomUserNotificationRequest.h + include/alibabacloud/live/model/SendRoomUserNotificationResult.h + include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h + include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h include/alibabacloud/live/model/DescribeLiveDomainDetailResult.h + include/alibabacloud/live/model/DescribeCasterChannelsRequest.h + include/alibabacloud/live/model/DescribeCasterChannelsResult.h include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h include/alibabacloud/live/model/DescribeLiveDomainConfigsResult.h include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h + include/alibabacloud/live/model/DeleteRoomRequest.h + include/alibabacloud/live/model/DeleteRoomResult.h include/alibabacloud/live/model/AddCasterProgramRequest.h include/alibabacloud/live/model/AddCasterProgramResult.h + include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h + include/alibabacloud/live/model/DescribeBoardSnapshotResult.h include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h include/alibabacloud/live/model/DeleteLiveMixConfigResult.h include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h @@ -227,6 +271,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteLiveDomainResult.h include/alibabacloud/live/model/SetCasterConfigRequest.h include/alibabacloud/live/model/SetCasterConfigResult.h + include/alibabacloud/live/model/AddLiveDomainMappingRequest.h + include/alibabacloud/live/model/AddLiveDomainMappingResult.h include/alibabacloud/live/model/RealTimeRecordCommandRequest.h include/alibabacloud/live/model/RealTimeRecordCommandResult.h include/alibabacloud/live/model/StartCasterRequest.h @@ -235,6 +281,10 @@ set(live_public_header_model include/alibabacloud/live/model/ResumeLiveStreamResult.h include/alibabacloud/live/model/AddCasterLayoutRequest.h include/alibabacloud/live/model/AddCasterLayoutResult.h + include/alibabacloud/live/model/UpdateBoardRequest.h + include/alibabacloud/live/model/UpdateBoardResult.h + include/alibabacloud/live/model/JoinBoardRequest.h + include/alibabacloud/live/model/JoinBoardResult.h include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h include/alibabacloud/live/model/ModifyCasterLayoutRequest.h @@ -249,6 +299,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h include/alibabacloud/live/model/AddLiveDomainRequest.h include/alibabacloud/live/model/AddLiveDomainResult.h + include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h + include/alibabacloud/live/model/DescribeDomainUsageDataResult.h include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h include/alibabacloud/live/model/DeleteCasterRequest.h @@ -261,13 +313,21 @@ set(live_public_header_model include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.h + include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h + include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h include/alibabacloud/live/model/DescribeCasterScenesRequest.h - include/alibabacloud/live/model/DescribeCasterScenesResult.h ) + include/alibabacloud/live/model/DescribeCasterScenesResult.h + include/alibabacloud/live/model/SendRoomNotificationRequest.h + include/alibabacloud/live/model/SendRoomNotificationResult.h + include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h + include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h ) set(live_src src/LiveClient.cc src/model/DescribeLiveRecordNotifyConfigRequest.cc src/model/DescribeLiveRecordNotifyConfigResult.cc + src/model/DescribeRoomListRequest.cc + src/model/DescribeRoomListResult.cc src/model/DescribeLiveDetectNotifyConfigRequest.cc src/model/DescribeLiveDetectNotifyConfigResult.cc src/model/ModifyCasterComponentRequest.cc @@ -276,10 +336,14 @@ set(live_src src/model/UpdateLiveSnapshotDetectPornConfigResult.cc src/model/EffectCasterUrgentRequest.cc src/model/EffectCasterUrgentResult.cc + src/model/CompleteBoardRequest.cc + src/model/CompleteBoardResult.cc src/model/DescribeCasterComponentsRequest.cc src/model/DescribeCasterComponentsResult.cc src/model/DescribeLiveMixConfigRequest.cc src/model/DescribeLiveMixConfigResult.cc + src/model/DescribeRoomStatusRequest.cc + src/model/DescribeRoomStatusResult.cc src/model/CreateLiveStreamRecordIndexFilesRequest.cc src/model/CreateLiveStreamRecordIndexFilesResult.cc src/model/DeleteLiveSpecificConfigRequest.cc @@ -308,6 +372,8 @@ set(live_src src/model/SetCasterSceneConfigResult.cc src/model/AddTrancodeSEIRequest.cc src/model/AddTrancodeSEIResult.cc + src/model/DeleteBoardRequest.cc + src/model/DeleteBoardResult.cc src/model/DescribeLiveStreamBitRateDataRequest.cc src/model/DescribeLiveStreamBitRateDataResult.cc src/model/DeleteCasterLayoutRequest.cc @@ -328,8 +394,14 @@ set(live_src src/model/CopyCasterResult.cc src/model/AddCustomLiveStreamTranscodeRequest.cc src/model/AddCustomLiveStreamTranscodeResult.cc + src/model/SetLiveLazyPullStreamInfoConfigRequest.cc + src/model/SetLiveLazyPullStreamInfoConfigResult.cc src/model/AddCasterEpisodeRequest.cc src/model/AddCasterEpisodeResult.cc + src/model/AllowPushStreamRequest.cc + src/model/AllowPushStreamResult.cc + src/model/ForbidPushStreamRequest.cc + src/model/ForbidPushStreamResult.cc src/model/DescribeLiveRecordConfigRequest.cc src/model/DescribeLiveRecordConfigResult.cc src/model/DeleteLiveRecordNotifyConfigRequest.cc @@ -338,6 +410,8 @@ set(live_src src/model/AddLiveRecordNotifyConfigResult.cc src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc + src/model/CreateBoardRequest.cc + src/model/CreateBoardResult.cc src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc src/model/DescribeLiveStreamOnlineUserNumRequest.cc @@ -354,12 +428,16 @@ set(live_src src/model/DescribeLiveCertificateListResult.cc src/model/DeleteLiveAppSnapshotConfigRequest.cc src/model/DeleteLiveAppSnapshotConfigResult.cc + src/model/UpdateCasterSceneAudioRequest.cc + src/model/UpdateCasterSceneAudioResult.cc src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc src/model/DeleteLivePullStreamInfoConfigRequest.cc src/model/DeleteLivePullStreamInfoConfigResult.cc src/model/ModifyCasterProgramRequest.cc src/model/ModifyCasterProgramResult.cc + src/model/DescribeBoardEventsRequest.cc + src/model/DescribeBoardEventsResult.cc src/model/DescribeLiveCertificateDetailRequest.cc src/model/DescribeLiveCertificateDetailResult.cc src/model/StartMixStreamsServiceRequest.cc @@ -372,18 +450,24 @@ set(live_src src/model/AddLivePullStreamInfoConfigResult.cc src/model/StartLiveDomainRequest.cc src/model/StartLiveDomainResult.cc + src/model/DescribeCasterSceneAudioRequest.cc + src/model/DescribeCasterSceneAudioResult.cc src/model/DescribeLiveStreamsBlockListRequest.cc src/model/DescribeLiveStreamsBlockListResult.cc src/model/AddLiveStreamTranscodeRequest.cc src/model/AddLiveStreamTranscodeResult.cc src/model/AddCasterVideoResourceRequest.cc src/model/AddCasterVideoResourceResult.cc + src/model/DescribeRoomKickoutUserListRequest.cc + src/model/DescribeRoomKickoutUserListResult.cc src/model/AddCasterEpisodeGroupContentRequest.cc src/model/AddCasterEpisodeGroupContentResult.cc src/model/UpdateLiveDetectNotifyConfigRequest.cc src/model/UpdateLiveDetectNotifyConfigResult.cc src/model/ModifyCasterVideoResourceRequest.cc src/model/ModifyCasterVideoResourceResult.cc + src/model/CreateRoomRequest.cc + src/model/CreateRoomResult.cc src/model/DescribeCasterStreamUrlRequest.cc src/model/DescribeCasterStreamUrlResult.cc src/model/DescribeLiveStreamsControlHistoryRequest.cc @@ -398,6 +482,8 @@ set(live_src src/model/DeleteLiveRecordVodConfigResult.cc src/model/ModifyCasterEpisodeRequest.cc src/model/ModifyCasterEpisodeResult.cc + src/model/DescribeBoardsRequest.cc + src/model/DescribeBoardsResult.cc src/model/DescribeLiveStreamSnapshotInfoRequest.cc src/model/DescribeLiveStreamSnapshotInfoResult.cc src/model/StartMultipleStreamMixServiceRequest.cc @@ -408,6 +494,8 @@ set(live_src src/model/DescribeLiveMixNotifyConfigResult.cc src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc + src/model/DescribeForbidPushStreamRoomListRequest.cc + src/model/DescribeForbidPushStreamRoomListResult.cc src/model/CreateCasterRequest.cc src/model/CreateCasterResult.cc src/model/DescribeLiveStreamRecordContentRequest.cc @@ -420,28 +508,42 @@ set(live_src src/model/DescribeCasterLayoutsResult.cc src/model/UpdateLiveRecordNotifyConfigRequest.cc src/model/UpdateLiveRecordNotifyConfigResult.cc + src/model/SetCasterChannelRequest.cc + src/model/SetCasterChannelResult.cc src/model/DescribeLiveSnapshotConfigRequest.cc src/model/DescribeLiveSnapshotConfigResult.cc src/model/DescribeCasterProgramRequest.cc src/model/DescribeCasterProgramResult.cc src/model/StopLiveDomainRequest.cc src/model/StopLiveDomainResult.cc + src/model/ApplyBoardTokenRequest.cc + src/model/ApplyBoardTokenResult.cc src/model/DescribeLiveStreamHistoryUserNumRequest.cc src/model/DescribeLiveStreamHistoryUserNumResult.cc src/model/AddLiveAppRecordConfigRequest.cc src/model/AddLiveAppRecordConfigResult.cc src/model/AddLiveRecordVodConfigRequest.cc src/model/AddLiveRecordVodConfigResult.cc + src/model/SendRoomUserNotificationRequest.cc + src/model/SendRoomUserNotificationResult.cc + src/model/DeleteLiveDomainMappingRequest.cc + src/model/DeleteLiveDomainMappingResult.cc src/model/BatchSetLiveDomainConfigsRequest.cc src/model/BatchSetLiveDomainConfigsResult.cc src/model/DescribeLiveDomainDetailRequest.cc src/model/DescribeLiveDomainDetailResult.cc + src/model/DescribeCasterChannelsRequest.cc + src/model/DescribeCasterChannelsResult.cc src/model/DescribeLiveDomainConfigsRequest.cc src/model/DescribeLiveDomainConfigsResult.cc src/model/DescribeLiveStreamRecordIndexFilesRequest.cc src/model/DescribeLiveStreamRecordIndexFilesResult.cc + src/model/DeleteRoomRequest.cc + src/model/DeleteRoomResult.cc src/model/AddCasterProgramRequest.cc src/model/AddCasterProgramResult.cc + src/model/DescribeBoardSnapshotRequest.cc + src/model/DescribeBoardSnapshotResult.cc src/model/DeleteLiveMixConfigRequest.cc src/model/DeleteLiveMixConfigResult.cc src/model/BatchDeleteLiveDomainConfigsRequest.cc @@ -472,6 +574,8 @@ set(live_src src/model/DeleteLiveDomainResult.cc src/model/SetCasterConfigRequest.cc src/model/SetCasterConfigResult.cc + src/model/AddLiveDomainMappingRequest.cc + src/model/AddLiveDomainMappingResult.cc src/model/RealTimeRecordCommandRequest.cc src/model/RealTimeRecordCommandResult.cc src/model/StartCasterRequest.cc @@ -480,6 +584,10 @@ set(live_src src/model/ResumeLiveStreamResult.cc src/model/AddCasterLayoutRequest.cc src/model/AddCasterLayoutResult.cc + src/model/UpdateBoardRequest.cc + src/model/UpdateBoardResult.cc + src/model/JoinBoardRequest.cc + src/model/JoinBoardResult.cc src/model/DescribeLiveUserDomainsRequest.cc src/model/DescribeLiveUserDomainsResult.cc src/model/ModifyCasterLayoutRequest.cc @@ -494,6 +602,8 @@ set(live_src src/model/DeleteCasterSceneConfigResult.cc src/model/AddLiveDomainRequest.cc src/model/AddLiveDomainResult.cc + src/model/DescribeDomainUsageDataRequest.cc + src/model/DescribeDomainUsageDataResult.cc src/model/DeleteLiveAppRecordConfigRequest.cc src/model/DeleteLiveAppRecordConfigResult.cc src/model/DeleteCasterRequest.cc @@ -506,8 +616,14 @@ set(live_src src/model/AddLiveMixNotifyConfigResult.cc src/model/AddLiveDetectNotifyConfigRequest.cc src/model/AddLiveDetectNotifyConfigResult.cc + src/model/DescribeLiveLazyPullStreamConfigRequest.cc + src/model/DescribeLiveLazyPullStreamConfigResult.cc src/model/DescribeCasterScenesRequest.cc - src/model/DescribeCasterScenesResult.cc ) + src/model/DescribeCasterScenesResult.cc + src/model/SendRoomNotificationRequest.cc + src/model/SendRoomNotificationResult.cc + src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc + src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc ) add_library(live ${LIB_TYPE} ${live_public_header} diff --git a/live/include/alibabacloud/live/LiveClient.h b/live/include/alibabacloud/live/LiveClient.h index 3d115b542..ab5e3d037 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -24,6 +24,8 @@ #include "LiveExport.h" #include "model/DescribeLiveRecordNotifyConfigRequest.h" #include "model/DescribeLiveRecordNotifyConfigResult.h" +#include "model/DescribeRoomListRequest.h" +#include "model/DescribeRoomListResult.h" #include "model/DescribeLiveDetectNotifyConfigRequest.h" #include "model/DescribeLiveDetectNotifyConfigResult.h" #include "model/ModifyCasterComponentRequest.h" @@ -32,10 +34,14 @@ #include "model/UpdateLiveSnapshotDetectPornConfigResult.h" #include "model/EffectCasterUrgentRequest.h" #include "model/EffectCasterUrgentResult.h" +#include "model/CompleteBoardRequest.h" +#include "model/CompleteBoardResult.h" #include "model/DescribeCasterComponentsRequest.h" #include "model/DescribeCasterComponentsResult.h" #include "model/DescribeLiveMixConfigRequest.h" #include "model/DescribeLiveMixConfigResult.h" +#include "model/DescribeRoomStatusRequest.h" +#include "model/DescribeRoomStatusResult.h" #include "model/CreateLiveStreamRecordIndexFilesRequest.h" #include "model/CreateLiveStreamRecordIndexFilesResult.h" #include "model/DeleteLiveSpecificConfigRequest.h" @@ -64,6 +70,8 @@ #include "model/SetCasterSceneConfigResult.h" #include "model/AddTrancodeSEIRequest.h" #include "model/AddTrancodeSEIResult.h" +#include "model/DeleteBoardRequest.h" +#include "model/DeleteBoardResult.h" #include "model/DescribeLiveStreamBitRateDataRequest.h" #include "model/DescribeLiveStreamBitRateDataResult.h" #include "model/DeleteCasterLayoutRequest.h" @@ -84,8 +92,14 @@ #include "model/CopyCasterResult.h" #include "model/AddCustomLiveStreamTranscodeRequest.h" #include "model/AddCustomLiveStreamTranscodeResult.h" +#include "model/SetLiveLazyPullStreamInfoConfigRequest.h" +#include "model/SetLiveLazyPullStreamInfoConfigResult.h" #include "model/AddCasterEpisodeRequest.h" #include "model/AddCasterEpisodeResult.h" +#include "model/AllowPushStreamRequest.h" +#include "model/AllowPushStreamResult.h" +#include "model/ForbidPushStreamRequest.h" +#include "model/ForbidPushStreamResult.h" #include "model/DescribeLiveRecordConfigRequest.h" #include "model/DescribeLiveRecordConfigResult.h" #include "model/DeleteLiveRecordNotifyConfigRequest.h" @@ -94,6 +108,8 @@ #include "model/AddLiveRecordNotifyConfigResult.h" #include "model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h" #include "model/DescribeHlsLiveStreamRealTimeBpsDataResult.h" +#include "model/CreateBoardRequest.h" +#include "model/CreateBoardResult.h" #include "model/DeleteLiveStreamsNotifyUrlConfigRequest.h" #include "model/DeleteLiveStreamsNotifyUrlConfigResult.h" #include "model/DescribeLiveStreamOnlineUserNumRequest.h" @@ -110,12 +126,16 @@ #include "model/DescribeLiveCertificateListResult.h" #include "model/DeleteLiveAppSnapshotConfigRequest.h" #include "model/DeleteLiveAppSnapshotConfigResult.h" +#include "model/UpdateCasterSceneAudioRequest.h" +#include "model/UpdateCasterSceneAudioResult.h" #include "model/DescribeLiveStreamsNotifyUrlConfigRequest.h" #include "model/DescribeLiveStreamsNotifyUrlConfigResult.h" #include "model/DeleteLivePullStreamInfoConfigRequest.h" #include "model/DeleteLivePullStreamInfoConfigResult.h" #include "model/ModifyCasterProgramRequest.h" #include "model/ModifyCasterProgramResult.h" +#include "model/DescribeBoardEventsRequest.h" +#include "model/DescribeBoardEventsResult.h" #include "model/DescribeLiveCertificateDetailRequest.h" #include "model/DescribeLiveCertificateDetailResult.h" #include "model/StartMixStreamsServiceRequest.h" @@ -128,18 +148,24 @@ #include "model/AddLivePullStreamInfoConfigResult.h" #include "model/StartLiveDomainRequest.h" #include "model/StartLiveDomainResult.h" +#include "model/DescribeCasterSceneAudioRequest.h" +#include "model/DescribeCasterSceneAudioResult.h" #include "model/DescribeLiveStreamsBlockListRequest.h" #include "model/DescribeLiveStreamsBlockListResult.h" #include "model/AddLiveStreamTranscodeRequest.h" #include "model/AddLiveStreamTranscodeResult.h" #include "model/AddCasterVideoResourceRequest.h" #include "model/AddCasterVideoResourceResult.h" +#include "model/DescribeRoomKickoutUserListRequest.h" +#include "model/DescribeRoomKickoutUserListResult.h" #include "model/AddCasterEpisodeGroupContentRequest.h" #include "model/AddCasterEpisodeGroupContentResult.h" #include "model/UpdateLiveDetectNotifyConfigRequest.h" #include "model/UpdateLiveDetectNotifyConfigResult.h" #include "model/ModifyCasterVideoResourceRequest.h" #include "model/ModifyCasterVideoResourceResult.h" +#include "model/CreateRoomRequest.h" +#include "model/CreateRoomResult.h" #include "model/DescribeCasterStreamUrlRequest.h" #include "model/DescribeCasterStreamUrlResult.h" #include "model/DescribeLiveStreamsControlHistoryRequest.h" @@ -154,6 +180,8 @@ #include "model/DeleteLiveRecordVodConfigResult.h" #include "model/ModifyCasterEpisodeRequest.h" #include "model/ModifyCasterEpisodeResult.h" +#include "model/DescribeBoardsRequest.h" +#include "model/DescribeBoardsResult.h" #include "model/DescribeLiveStreamSnapshotInfoRequest.h" #include "model/DescribeLiveStreamSnapshotInfoResult.h" #include "model/StartMultipleStreamMixServiceRequest.h" @@ -164,6 +192,8 @@ #include "model/DescribeLiveMixNotifyConfigResult.h" #include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h" #include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h" +#include "model/DescribeForbidPushStreamRoomListRequest.h" +#include "model/DescribeForbidPushStreamRoomListResult.h" #include "model/CreateCasterRequest.h" #include "model/CreateCasterResult.h" #include "model/DescribeLiveStreamRecordContentRequest.h" @@ -176,28 +206,42 @@ #include "model/DescribeCasterLayoutsResult.h" #include "model/UpdateLiveRecordNotifyConfigRequest.h" #include "model/UpdateLiveRecordNotifyConfigResult.h" +#include "model/SetCasterChannelRequest.h" +#include "model/SetCasterChannelResult.h" #include "model/DescribeLiveSnapshotConfigRequest.h" #include "model/DescribeLiveSnapshotConfigResult.h" #include "model/DescribeCasterProgramRequest.h" #include "model/DescribeCasterProgramResult.h" #include "model/StopLiveDomainRequest.h" #include "model/StopLiveDomainResult.h" +#include "model/ApplyBoardTokenRequest.h" +#include "model/ApplyBoardTokenResult.h" #include "model/DescribeLiveStreamHistoryUserNumRequest.h" #include "model/DescribeLiveStreamHistoryUserNumResult.h" #include "model/AddLiveAppRecordConfigRequest.h" #include "model/AddLiveAppRecordConfigResult.h" #include "model/AddLiveRecordVodConfigRequest.h" #include "model/AddLiveRecordVodConfigResult.h" +#include "model/SendRoomUserNotificationRequest.h" +#include "model/SendRoomUserNotificationResult.h" +#include "model/DeleteLiveDomainMappingRequest.h" +#include "model/DeleteLiveDomainMappingResult.h" #include "model/BatchSetLiveDomainConfigsRequest.h" #include "model/BatchSetLiveDomainConfigsResult.h" #include "model/DescribeLiveDomainDetailRequest.h" #include "model/DescribeLiveDomainDetailResult.h" +#include "model/DescribeCasterChannelsRequest.h" +#include "model/DescribeCasterChannelsResult.h" #include "model/DescribeLiveDomainConfigsRequest.h" #include "model/DescribeLiveDomainConfigsResult.h" #include "model/DescribeLiveStreamRecordIndexFilesRequest.h" #include "model/DescribeLiveStreamRecordIndexFilesResult.h" +#include "model/DeleteRoomRequest.h" +#include "model/DeleteRoomResult.h" #include "model/AddCasterProgramRequest.h" #include "model/AddCasterProgramResult.h" +#include "model/DescribeBoardSnapshotRequest.h" +#include "model/DescribeBoardSnapshotResult.h" #include "model/DeleteLiveMixConfigRequest.h" #include "model/DeleteLiveMixConfigResult.h" #include "model/BatchDeleteLiveDomainConfigsRequest.h" @@ -228,6 +272,8 @@ #include "model/DeleteLiveDomainResult.h" #include "model/SetCasterConfigRequest.h" #include "model/SetCasterConfigResult.h" +#include "model/AddLiveDomainMappingRequest.h" +#include "model/AddLiveDomainMappingResult.h" #include "model/RealTimeRecordCommandRequest.h" #include "model/RealTimeRecordCommandResult.h" #include "model/StartCasterRequest.h" @@ -236,6 +282,10 @@ #include "model/ResumeLiveStreamResult.h" #include "model/AddCasterLayoutRequest.h" #include "model/AddCasterLayoutResult.h" +#include "model/UpdateBoardRequest.h" +#include "model/UpdateBoardResult.h" +#include "model/JoinBoardRequest.h" +#include "model/JoinBoardResult.h" #include "model/DescribeLiveUserDomainsRequest.h" #include "model/DescribeLiveUserDomainsResult.h" #include "model/ModifyCasterLayoutRequest.h" @@ -250,6 +300,8 @@ #include "model/DeleteCasterSceneConfigResult.h" #include "model/AddLiveDomainRequest.h" #include "model/AddLiveDomainResult.h" +#include "model/DescribeDomainUsageDataRequest.h" +#include "model/DescribeDomainUsageDataResult.h" #include "model/DeleteLiveAppRecordConfigRequest.h" #include "model/DeleteLiveAppRecordConfigResult.h" #include "model/DeleteCasterRequest.h" @@ -262,8 +314,14 @@ #include "model/AddLiveMixNotifyConfigResult.h" #include "model/AddLiveDetectNotifyConfigRequest.h" #include "model/AddLiveDetectNotifyConfigResult.h" +#include "model/DescribeLiveLazyPullStreamConfigRequest.h" +#include "model/DescribeLiveLazyPullStreamConfigResult.h" #include "model/DescribeCasterScenesRequest.h" #include "model/DescribeCasterScenesResult.h" +#include "model/SendRoomNotificationRequest.h" +#include "model/SendRoomNotificationResult.h" +#include "model/DeleteLiveLazyPullStreamInfoConfigRequest.h" +#include "model/DeleteLiveLazyPullStreamInfoConfigResult.h" namespace AlibabaCloud @@ -276,6 +334,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveRecordNotifyConfigOutcome; typedef std::future DescribeLiveRecordNotifyConfigOutcomeCallable; typedef std::function&)> DescribeLiveRecordNotifyConfigAsyncHandler; + typedef Outcome DescribeRoomListOutcome; + typedef std::future DescribeRoomListOutcomeCallable; + typedef std::function&)> DescribeRoomListAsyncHandler; typedef Outcome DescribeLiveDetectNotifyConfigOutcome; typedef std::future DescribeLiveDetectNotifyConfigOutcomeCallable; typedef std::function&)> DescribeLiveDetectNotifyConfigAsyncHandler; @@ -288,12 +349,18 @@ namespace AlibabaCloud typedef Outcome EffectCasterUrgentOutcome; typedef std::future EffectCasterUrgentOutcomeCallable; typedef std::function&)> EffectCasterUrgentAsyncHandler; + typedef Outcome CompleteBoardOutcome; + typedef std::future CompleteBoardOutcomeCallable; + typedef std::function&)> CompleteBoardAsyncHandler; typedef Outcome DescribeCasterComponentsOutcome; typedef std::future DescribeCasterComponentsOutcomeCallable; typedef std::function&)> DescribeCasterComponentsAsyncHandler; typedef Outcome DescribeLiveMixConfigOutcome; typedef std::future DescribeLiveMixConfigOutcomeCallable; typedef std::function&)> DescribeLiveMixConfigAsyncHandler; + typedef Outcome DescribeRoomStatusOutcome; + typedef std::future DescribeRoomStatusOutcomeCallable; + typedef std::function&)> DescribeRoomStatusAsyncHandler; typedef Outcome CreateLiveStreamRecordIndexFilesOutcome; typedef std::future CreateLiveStreamRecordIndexFilesOutcomeCallable; typedef std::function&)> CreateLiveStreamRecordIndexFilesAsyncHandler; @@ -336,6 +403,9 @@ namespace AlibabaCloud typedef Outcome AddTrancodeSEIOutcome; typedef std::future AddTrancodeSEIOutcomeCallable; typedef std::function&)> AddTrancodeSEIAsyncHandler; + typedef Outcome DeleteBoardOutcome; + typedef std::future DeleteBoardOutcomeCallable; + typedef std::function&)> DeleteBoardAsyncHandler; typedef Outcome DescribeLiveStreamBitRateDataOutcome; typedef std::future DescribeLiveStreamBitRateDataOutcomeCallable; typedef std::function&)> DescribeLiveStreamBitRateDataAsyncHandler; @@ -366,9 +436,18 @@ namespace AlibabaCloud typedef Outcome AddCustomLiveStreamTranscodeOutcome; typedef std::future AddCustomLiveStreamTranscodeOutcomeCallable; typedef std::function&)> AddCustomLiveStreamTranscodeAsyncHandler; + typedef Outcome SetLiveLazyPullStreamInfoConfigOutcome; + typedef std::future SetLiveLazyPullStreamInfoConfigOutcomeCallable; + typedef std::function&)> SetLiveLazyPullStreamInfoConfigAsyncHandler; typedef Outcome AddCasterEpisodeOutcome; typedef std::future AddCasterEpisodeOutcomeCallable; typedef std::function&)> AddCasterEpisodeAsyncHandler; + typedef Outcome AllowPushStreamOutcome; + typedef std::future AllowPushStreamOutcomeCallable; + typedef std::function&)> AllowPushStreamAsyncHandler; + typedef Outcome ForbidPushStreamOutcome; + typedef std::future ForbidPushStreamOutcomeCallable; + typedef std::function&)> ForbidPushStreamAsyncHandler; typedef Outcome DescribeLiveRecordConfigOutcome; typedef std::future DescribeLiveRecordConfigOutcomeCallable; typedef std::function&)> DescribeLiveRecordConfigAsyncHandler; @@ -381,6 +460,9 @@ namespace AlibabaCloud typedef Outcome DescribeHlsLiveStreamRealTimeBpsDataOutcome; typedef std::future DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable; typedef std::function&)> DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler; + typedef Outcome CreateBoardOutcome; + typedef std::future CreateBoardOutcomeCallable; + typedef std::function&)> CreateBoardAsyncHandler; typedef Outcome DeleteLiveStreamsNotifyUrlConfigOutcome; typedef std::future DeleteLiveStreamsNotifyUrlConfigOutcomeCallable; typedef std::function&)> DeleteLiveStreamsNotifyUrlConfigAsyncHandler; @@ -405,6 +487,9 @@ namespace AlibabaCloud typedef Outcome DeleteLiveAppSnapshotConfigOutcome; typedef std::future DeleteLiveAppSnapshotConfigOutcomeCallable; typedef std::function&)> DeleteLiveAppSnapshotConfigAsyncHandler; + typedef Outcome UpdateCasterSceneAudioOutcome; + typedef std::future UpdateCasterSceneAudioOutcomeCallable; + typedef std::function&)> UpdateCasterSceneAudioAsyncHandler; typedef Outcome DescribeLiveStreamsNotifyUrlConfigOutcome; typedef std::future DescribeLiveStreamsNotifyUrlConfigOutcomeCallable; typedef std::function&)> DescribeLiveStreamsNotifyUrlConfigAsyncHandler; @@ -414,6 +499,9 @@ namespace AlibabaCloud typedef Outcome ModifyCasterProgramOutcome; typedef std::future ModifyCasterProgramOutcomeCallable; typedef std::function&)> ModifyCasterProgramAsyncHandler; + typedef Outcome DescribeBoardEventsOutcome; + typedef std::future DescribeBoardEventsOutcomeCallable; + typedef std::function&)> DescribeBoardEventsAsyncHandler; typedef Outcome DescribeLiveCertificateDetailOutcome; typedef std::future DescribeLiveCertificateDetailOutcomeCallable; typedef std::function&)> DescribeLiveCertificateDetailAsyncHandler; @@ -432,6 +520,9 @@ namespace AlibabaCloud typedef Outcome StartLiveDomainOutcome; typedef std::future StartLiveDomainOutcomeCallable; typedef std::function&)> StartLiveDomainAsyncHandler; + typedef Outcome DescribeCasterSceneAudioOutcome; + typedef std::future DescribeCasterSceneAudioOutcomeCallable; + typedef std::function&)> DescribeCasterSceneAudioAsyncHandler; typedef Outcome DescribeLiveStreamsBlockListOutcome; typedef std::future DescribeLiveStreamsBlockListOutcomeCallable; typedef std::function&)> DescribeLiveStreamsBlockListAsyncHandler; @@ -441,6 +532,9 @@ namespace AlibabaCloud typedef Outcome AddCasterVideoResourceOutcome; typedef std::future AddCasterVideoResourceOutcomeCallable; typedef std::function&)> AddCasterVideoResourceAsyncHandler; + typedef Outcome DescribeRoomKickoutUserListOutcome; + typedef std::future DescribeRoomKickoutUserListOutcomeCallable; + typedef std::function&)> DescribeRoomKickoutUserListAsyncHandler; typedef Outcome AddCasterEpisodeGroupContentOutcome; typedef std::future AddCasterEpisodeGroupContentOutcomeCallable; typedef std::function&)> AddCasterEpisodeGroupContentAsyncHandler; @@ -450,6 +544,9 @@ namespace AlibabaCloud typedef Outcome ModifyCasterVideoResourceOutcome; typedef std::future ModifyCasterVideoResourceOutcomeCallable; typedef std::function&)> ModifyCasterVideoResourceAsyncHandler; + typedef Outcome CreateRoomOutcome; + typedef std::future CreateRoomOutcomeCallable; + typedef std::function&)> CreateRoomAsyncHandler; typedef Outcome DescribeCasterStreamUrlOutcome; typedef std::future DescribeCasterStreamUrlOutcomeCallable; typedef std::function&)> DescribeCasterStreamUrlAsyncHandler; @@ -471,6 +568,9 @@ namespace AlibabaCloud typedef Outcome ModifyCasterEpisodeOutcome; typedef std::future ModifyCasterEpisodeOutcomeCallable; typedef std::function&)> ModifyCasterEpisodeAsyncHandler; + typedef Outcome DescribeBoardsOutcome; + typedef std::future DescribeBoardsOutcomeCallable; + typedef std::function&)> DescribeBoardsAsyncHandler; typedef Outcome DescribeLiveStreamSnapshotInfoOutcome; typedef std::future DescribeLiveStreamSnapshotInfoOutcomeCallable; typedef std::function&)> DescribeLiveStreamSnapshotInfoAsyncHandler; @@ -486,6 +586,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveStreamsFrameRateAndBitRateDataOutcome; typedef std::future DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable; typedef std::function&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler; + typedef Outcome DescribeForbidPushStreamRoomListOutcome; + typedef std::future DescribeForbidPushStreamRoomListOutcomeCallable; + typedef std::function&)> DescribeForbidPushStreamRoomListAsyncHandler; typedef Outcome CreateCasterOutcome; typedef std::future CreateCasterOutcomeCallable; typedef std::function&)> CreateCasterAsyncHandler; @@ -504,6 +607,9 @@ namespace AlibabaCloud typedef Outcome UpdateLiveRecordNotifyConfigOutcome; typedef std::future UpdateLiveRecordNotifyConfigOutcomeCallable; typedef std::function&)> UpdateLiveRecordNotifyConfigAsyncHandler; + typedef Outcome SetCasterChannelOutcome; + typedef std::future SetCasterChannelOutcomeCallable; + typedef std::function&)> SetCasterChannelAsyncHandler; typedef Outcome DescribeLiveSnapshotConfigOutcome; typedef std::future DescribeLiveSnapshotConfigOutcomeCallable; typedef std::function&)> DescribeLiveSnapshotConfigAsyncHandler; @@ -513,6 +619,9 @@ namespace AlibabaCloud typedef Outcome StopLiveDomainOutcome; typedef std::future StopLiveDomainOutcomeCallable; typedef std::function&)> StopLiveDomainAsyncHandler; + typedef Outcome ApplyBoardTokenOutcome; + typedef std::future ApplyBoardTokenOutcomeCallable; + typedef std::function&)> ApplyBoardTokenAsyncHandler; typedef Outcome DescribeLiveStreamHistoryUserNumOutcome; typedef std::future DescribeLiveStreamHistoryUserNumOutcomeCallable; typedef std::function&)> DescribeLiveStreamHistoryUserNumAsyncHandler; @@ -522,21 +631,36 @@ namespace AlibabaCloud typedef Outcome AddLiveRecordVodConfigOutcome; typedef std::future AddLiveRecordVodConfigOutcomeCallable; typedef std::function&)> AddLiveRecordVodConfigAsyncHandler; + typedef Outcome SendRoomUserNotificationOutcome; + typedef std::future SendRoomUserNotificationOutcomeCallable; + typedef std::function&)> SendRoomUserNotificationAsyncHandler; + typedef Outcome DeleteLiveDomainMappingOutcome; + typedef std::future DeleteLiveDomainMappingOutcomeCallable; + typedef std::function&)> DeleteLiveDomainMappingAsyncHandler; typedef Outcome BatchSetLiveDomainConfigsOutcome; typedef std::future BatchSetLiveDomainConfigsOutcomeCallable; typedef std::function&)> BatchSetLiveDomainConfigsAsyncHandler; typedef Outcome DescribeLiveDomainDetailOutcome; typedef std::future DescribeLiveDomainDetailOutcomeCallable; typedef std::function&)> DescribeLiveDomainDetailAsyncHandler; + typedef Outcome DescribeCasterChannelsOutcome; + typedef std::future DescribeCasterChannelsOutcomeCallable; + typedef std::function&)> DescribeCasterChannelsAsyncHandler; typedef Outcome DescribeLiveDomainConfigsOutcome; typedef std::future DescribeLiveDomainConfigsOutcomeCallable; typedef std::function&)> DescribeLiveDomainConfigsAsyncHandler; typedef Outcome DescribeLiveStreamRecordIndexFilesOutcome; typedef std::future DescribeLiveStreamRecordIndexFilesOutcomeCallable; typedef std::function&)> DescribeLiveStreamRecordIndexFilesAsyncHandler; + typedef Outcome DeleteRoomOutcome; + typedef std::future DeleteRoomOutcomeCallable; + typedef std::function&)> DeleteRoomAsyncHandler; typedef Outcome AddCasterProgramOutcome; typedef std::future AddCasterProgramOutcomeCallable; typedef std::function&)> AddCasterProgramAsyncHandler; + typedef Outcome DescribeBoardSnapshotOutcome; + typedef std::future DescribeBoardSnapshotOutcomeCallable; + typedef std::function&)> DescribeBoardSnapshotAsyncHandler; typedef Outcome DeleteLiveMixConfigOutcome; typedef std::future DeleteLiveMixConfigOutcomeCallable; typedef std::function&)> DeleteLiveMixConfigAsyncHandler; @@ -582,6 +706,9 @@ namespace AlibabaCloud typedef Outcome SetCasterConfigOutcome; typedef std::future SetCasterConfigOutcomeCallable; typedef std::function&)> SetCasterConfigAsyncHandler; + typedef Outcome AddLiveDomainMappingOutcome; + typedef std::future AddLiveDomainMappingOutcomeCallable; + typedef std::function&)> AddLiveDomainMappingAsyncHandler; typedef Outcome RealTimeRecordCommandOutcome; typedef std::future RealTimeRecordCommandOutcomeCallable; typedef std::function&)> RealTimeRecordCommandAsyncHandler; @@ -594,6 +721,12 @@ namespace AlibabaCloud typedef Outcome AddCasterLayoutOutcome; typedef std::future AddCasterLayoutOutcomeCallable; typedef std::function&)> AddCasterLayoutAsyncHandler; + typedef Outcome UpdateBoardOutcome; + typedef std::future UpdateBoardOutcomeCallable; + typedef std::function&)> UpdateBoardAsyncHandler; + typedef Outcome JoinBoardOutcome; + typedef std::future JoinBoardOutcomeCallable; + typedef std::function&)> JoinBoardAsyncHandler; typedef Outcome DescribeLiveUserDomainsOutcome; typedef std::future DescribeLiveUserDomainsOutcomeCallable; typedef std::function&)> DescribeLiveUserDomainsAsyncHandler; @@ -615,6 +748,9 @@ namespace AlibabaCloud typedef Outcome AddLiveDomainOutcome; typedef std::future AddLiveDomainOutcomeCallable; typedef std::function&)> AddLiveDomainAsyncHandler; + typedef Outcome DescribeDomainUsageDataOutcome; + typedef std::future DescribeDomainUsageDataOutcomeCallable; + typedef std::function&)> DescribeDomainUsageDataAsyncHandler; typedef Outcome DeleteLiveAppRecordConfigOutcome; typedef std::future DeleteLiveAppRecordConfigOutcomeCallable; typedef std::function&)> DeleteLiveAppRecordConfigAsyncHandler; @@ -633,9 +769,18 @@ namespace AlibabaCloud typedef Outcome AddLiveDetectNotifyConfigOutcome; typedef std::future AddLiveDetectNotifyConfigOutcomeCallable; typedef std::function&)> AddLiveDetectNotifyConfigAsyncHandler; + typedef Outcome DescribeLiveLazyPullStreamConfigOutcome; + typedef std::future DescribeLiveLazyPullStreamConfigOutcomeCallable; + typedef std::function&)> DescribeLiveLazyPullStreamConfigAsyncHandler; typedef Outcome DescribeCasterScenesOutcome; typedef std::future DescribeCasterScenesOutcomeCallable; typedef std::function&)> DescribeCasterScenesAsyncHandler; + typedef Outcome SendRoomNotificationOutcome; + typedef std::future SendRoomNotificationOutcomeCallable; + typedef std::function&)> SendRoomNotificationAsyncHandler; + typedef Outcome DeleteLiveLazyPullStreamInfoConfigOutcome; + typedef std::future DeleteLiveLazyPullStreamInfoConfigOutcomeCallable; + typedef std::function&)> DeleteLiveLazyPullStreamInfoConfigAsyncHandler; LiveClient(const Credentials &credentials, const ClientConfiguration &configuration); LiveClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -644,6 +789,9 @@ namespace AlibabaCloud DescribeLiveRecordNotifyConfigOutcome describeLiveRecordNotifyConfig(const Model::DescribeLiveRecordNotifyConfigRequest &request)const; void describeLiveRecordNotifyConfigAsync(const Model::DescribeLiveRecordNotifyConfigRequest& request, const DescribeLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveRecordNotifyConfigOutcomeCallable describeLiveRecordNotifyConfigCallable(const Model::DescribeLiveRecordNotifyConfigRequest& request) const; + DescribeRoomListOutcome describeRoomList(const Model::DescribeRoomListRequest &request)const; + void describeRoomListAsync(const Model::DescribeRoomListRequest& request, const DescribeRoomListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRoomListOutcomeCallable describeRoomListCallable(const Model::DescribeRoomListRequest& request) const; DescribeLiveDetectNotifyConfigOutcome describeLiveDetectNotifyConfig(const Model::DescribeLiveDetectNotifyConfigRequest &request)const; void describeLiveDetectNotifyConfigAsync(const Model::DescribeLiveDetectNotifyConfigRequest& request, const DescribeLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDetectNotifyConfigOutcomeCallable describeLiveDetectNotifyConfigCallable(const Model::DescribeLiveDetectNotifyConfigRequest& request) const; @@ -656,12 +804,18 @@ namespace AlibabaCloud EffectCasterUrgentOutcome effectCasterUrgent(const Model::EffectCasterUrgentRequest &request)const; void effectCasterUrgentAsync(const Model::EffectCasterUrgentRequest& request, const EffectCasterUrgentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EffectCasterUrgentOutcomeCallable effectCasterUrgentCallable(const Model::EffectCasterUrgentRequest& request) const; + CompleteBoardOutcome completeBoard(const Model::CompleteBoardRequest &request)const; + void completeBoardAsync(const Model::CompleteBoardRequest& request, const CompleteBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CompleteBoardOutcomeCallable completeBoardCallable(const Model::CompleteBoardRequest& request) const; DescribeCasterComponentsOutcome describeCasterComponents(const Model::DescribeCasterComponentsRequest &request)const; void describeCasterComponentsAsync(const Model::DescribeCasterComponentsRequest& request, const DescribeCasterComponentsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCasterComponentsOutcomeCallable describeCasterComponentsCallable(const Model::DescribeCasterComponentsRequest& request) const; DescribeLiveMixConfigOutcome describeLiveMixConfig(const Model::DescribeLiveMixConfigRequest &request)const; void describeLiveMixConfigAsync(const Model::DescribeLiveMixConfigRequest& request, const DescribeLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveMixConfigOutcomeCallable describeLiveMixConfigCallable(const Model::DescribeLiveMixConfigRequest& request) const; + DescribeRoomStatusOutcome describeRoomStatus(const Model::DescribeRoomStatusRequest &request)const; + void describeRoomStatusAsync(const Model::DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRoomStatusOutcomeCallable describeRoomStatusCallable(const Model::DescribeRoomStatusRequest& request) const; CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const; void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateLiveStreamRecordIndexFilesOutcomeCallable createLiveStreamRecordIndexFilesCallable(const Model::CreateLiveStreamRecordIndexFilesRequest& request) const; @@ -704,6 +858,9 @@ namespace AlibabaCloud AddTrancodeSEIOutcome addTrancodeSEI(const Model::AddTrancodeSEIRequest &request)const; void addTrancodeSEIAsync(const Model::AddTrancodeSEIRequest& request, const AddTrancodeSEIAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddTrancodeSEIOutcomeCallable addTrancodeSEICallable(const Model::AddTrancodeSEIRequest& request) const; + DeleteBoardOutcome deleteBoard(const Model::DeleteBoardRequest &request)const; + void deleteBoardAsync(const Model::DeleteBoardRequest& request, const DeleteBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteBoardOutcomeCallable deleteBoardCallable(const Model::DeleteBoardRequest& request) const; DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const; void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamBitRateDataOutcomeCallable describeLiveStreamBitRateDataCallable(const Model::DescribeLiveStreamBitRateDataRequest& request) const; @@ -734,9 +891,18 @@ namespace AlibabaCloud AddCustomLiveStreamTranscodeOutcome addCustomLiveStreamTranscode(const Model::AddCustomLiveStreamTranscodeRequest &request)const; void addCustomLiveStreamTranscodeAsync(const Model::AddCustomLiveStreamTranscodeRequest& request, const AddCustomLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCustomLiveStreamTranscodeOutcomeCallable addCustomLiveStreamTranscodeCallable(const Model::AddCustomLiveStreamTranscodeRequest& request) const; + SetLiveLazyPullStreamInfoConfigOutcome setLiveLazyPullStreamInfoConfig(const Model::SetLiveLazyPullStreamInfoConfigRequest &request)const; + void setLiveLazyPullStreamInfoConfigAsync(const Model::SetLiveLazyPullStreamInfoConfigRequest& request, const SetLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetLiveLazyPullStreamInfoConfigOutcomeCallable setLiveLazyPullStreamInfoConfigCallable(const Model::SetLiveLazyPullStreamInfoConfigRequest& request) const; AddCasterEpisodeOutcome addCasterEpisode(const Model::AddCasterEpisodeRequest &request)const; void addCasterEpisodeAsync(const Model::AddCasterEpisodeRequest& request, const AddCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCasterEpisodeOutcomeCallable addCasterEpisodeCallable(const Model::AddCasterEpisodeRequest& request) const; + AllowPushStreamOutcome allowPushStream(const Model::AllowPushStreamRequest &request)const; + void allowPushStreamAsync(const Model::AllowPushStreamRequest& request, const AllowPushStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AllowPushStreamOutcomeCallable allowPushStreamCallable(const Model::AllowPushStreamRequest& request) const; + ForbidPushStreamOutcome forbidPushStream(const Model::ForbidPushStreamRequest &request)const; + void forbidPushStreamAsync(const Model::ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ForbidPushStreamOutcomeCallable forbidPushStreamCallable(const Model::ForbidPushStreamRequest& request) const; DescribeLiveRecordConfigOutcome describeLiveRecordConfig(const Model::DescribeLiveRecordConfigRequest &request)const; void describeLiveRecordConfigAsync(const Model::DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveRecordConfigOutcomeCallable describeLiveRecordConfigCallable(const Model::DescribeLiveRecordConfigRequest& request) const; @@ -749,6 +915,9 @@ namespace AlibabaCloud DescribeHlsLiveStreamRealTimeBpsDataOutcome describeHlsLiveStreamRealTimeBpsData(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest &request)const; void describeHlsLiveStreamRealTimeBpsDataAsync(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest& request, const DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable describeHlsLiveStreamRealTimeBpsDataCallable(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest& request) const; + CreateBoardOutcome createBoard(const Model::CreateBoardRequest &request)const; + void createBoardAsync(const Model::CreateBoardRequest& request, const CreateBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateBoardOutcomeCallable createBoardCallable(const Model::CreateBoardRequest& request) const; DeleteLiveStreamsNotifyUrlConfigOutcome deleteLiveStreamsNotifyUrlConfig(const Model::DeleteLiveStreamsNotifyUrlConfigRequest &request)const; void deleteLiveStreamsNotifyUrlConfigAsync(const Model::DeleteLiveStreamsNotifyUrlConfigRequest& request, const DeleteLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveStreamsNotifyUrlConfigOutcomeCallable deleteLiveStreamsNotifyUrlConfigCallable(const Model::DeleteLiveStreamsNotifyUrlConfigRequest& request) const; @@ -773,6 +942,9 @@ namespace AlibabaCloud DeleteLiveAppSnapshotConfigOutcome deleteLiveAppSnapshotConfig(const Model::DeleteLiveAppSnapshotConfigRequest &request)const; void deleteLiveAppSnapshotConfigAsync(const Model::DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveAppSnapshotConfigOutcomeCallable deleteLiveAppSnapshotConfigCallable(const Model::DeleteLiveAppSnapshotConfigRequest& request) const; + UpdateCasterSceneAudioOutcome updateCasterSceneAudio(const Model::UpdateCasterSceneAudioRequest &request)const; + void updateCasterSceneAudioAsync(const Model::UpdateCasterSceneAudioRequest& request, const UpdateCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCasterSceneAudioOutcomeCallable updateCasterSceneAudioCallable(const Model::UpdateCasterSceneAudioRequest& request) const; DescribeLiveStreamsNotifyUrlConfigOutcome describeLiveStreamsNotifyUrlConfig(const Model::DescribeLiveStreamsNotifyUrlConfigRequest &request)const; void describeLiveStreamsNotifyUrlConfigAsync(const Model::DescribeLiveStreamsNotifyUrlConfigRequest& request, const DescribeLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamsNotifyUrlConfigOutcomeCallable describeLiveStreamsNotifyUrlConfigCallable(const Model::DescribeLiveStreamsNotifyUrlConfigRequest& request) const; @@ -782,6 +954,9 @@ namespace AlibabaCloud ModifyCasterProgramOutcome modifyCasterProgram(const Model::ModifyCasterProgramRequest &request)const; void modifyCasterProgramAsync(const Model::ModifyCasterProgramRequest& request, const ModifyCasterProgramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCasterProgramOutcomeCallable modifyCasterProgramCallable(const Model::ModifyCasterProgramRequest& request) const; + DescribeBoardEventsOutcome describeBoardEvents(const Model::DescribeBoardEventsRequest &request)const; + void describeBoardEventsAsync(const Model::DescribeBoardEventsRequest& request, const DescribeBoardEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBoardEventsOutcomeCallable describeBoardEventsCallable(const Model::DescribeBoardEventsRequest& request) const; DescribeLiveCertificateDetailOutcome describeLiveCertificateDetail(const Model::DescribeLiveCertificateDetailRequest &request)const; void describeLiveCertificateDetailAsync(const Model::DescribeLiveCertificateDetailRequest& request, const DescribeLiveCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveCertificateDetailOutcomeCallable describeLiveCertificateDetailCallable(const Model::DescribeLiveCertificateDetailRequest& request) const; @@ -800,6 +975,9 @@ namespace AlibabaCloud StartLiveDomainOutcome startLiveDomain(const Model::StartLiveDomainRequest &request)const; void startLiveDomainAsync(const Model::StartLiveDomainRequest& request, const StartLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartLiveDomainOutcomeCallable startLiveDomainCallable(const Model::StartLiveDomainRequest& request) const; + DescribeCasterSceneAudioOutcome describeCasterSceneAudio(const Model::DescribeCasterSceneAudioRequest &request)const; + void describeCasterSceneAudioAsync(const Model::DescribeCasterSceneAudioRequest& request, const DescribeCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterSceneAudioOutcomeCallable describeCasterSceneAudioCallable(const Model::DescribeCasterSceneAudioRequest& request) const; DescribeLiveStreamsBlockListOutcome describeLiveStreamsBlockList(const Model::DescribeLiveStreamsBlockListRequest &request)const; void describeLiveStreamsBlockListAsync(const Model::DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamsBlockListOutcomeCallable describeLiveStreamsBlockListCallable(const Model::DescribeLiveStreamsBlockListRequest& request) const; @@ -809,6 +987,9 @@ namespace AlibabaCloud AddCasterVideoResourceOutcome addCasterVideoResource(const Model::AddCasterVideoResourceRequest &request)const; void addCasterVideoResourceAsync(const Model::AddCasterVideoResourceRequest& request, const AddCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCasterVideoResourceOutcomeCallable addCasterVideoResourceCallable(const Model::AddCasterVideoResourceRequest& request) const; + DescribeRoomKickoutUserListOutcome describeRoomKickoutUserList(const Model::DescribeRoomKickoutUserListRequest &request)const; + void describeRoomKickoutUserListAsync(const Model::DescribeRoomKickoutUserListRequest& request, const DescribeRoomKickoutUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRoomKickoutUserListOutcomeCallable describeRoomKickoutUserListCallable(const Model::DescribeRoomKickoutUserListRequest& request) const; AddCasterEpisodeGroupContentOutcome addCasterEpisodeGroupContent(const Model::AddCasterEpisodeGroupContentRequest &request)const; void addCasterEpisodeGroupContentAsync(const Model::AddCasterEpisodeGroupContentRequest& request, const AddCasterEpisodeGroupContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCasterEpisodeGroupContentOutcomeCallable addCasterEpisodeGroupContentCallable(const Model::AddCasterEpisodeGroupContentRequest& request) const; @@ -818,6 +999,9 @@ namespace AlibabaCloud ModifyCasterVideoResourceOutcome modifyCasterVideoResource(const Model::ModifyCasterVideoResourceRequest &request)const; void modifyCasterVideoResourceAsync(const Model::ModifyCasterVideoResourceRequest& request, const ModifyCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCasterVideoResourceOutcomeCallable modifyCasterVideoResourceCallable(const Model::ModifyCasterVideoResourceRequest& request) const; + CreateRoomOutcome createRoom(const Model::CreateRoomRequest &request)const; + void createRoomAsync(const Model::CreateRoomRequest& request, const CreateRoomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateRoomOutcomeCallable createRoomCallable(const Model::CreateRoomRequest& request) const; DescribeCasterStreamUrlOutcome describeCasterStreamUrl(const Model::DescribeCasterStreamUrlRequest &request)const; void describeCasterStreamUrlAsync(const Model::DescribeCasterStreamUrlRequest& request, const DescribeCasterStreamUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCasterStreamUrlOutcomeCallable describeCasterStreamUrlCallable(const Model::DescribeCasterStreamUrlRequest& request) const; @@ -839,6 +1023,9 @@ namespace AlibabaCloud ModifyCasterEpisodeOutcome modifyCasterEpisode(const Model::ModifyCasterEpisodeRequest &request)const; void modifyCasterEpisodeAsync(const Model::ModifyCasterEpisodeRequest& request, const ModifyCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCasterEpisodeOutcomeCallable modifyCasterEpisodeCallable(const Model::ModifyCasterEpisodeRequest& request) const; + DescribeBoardsOutcome describeBoards(const Model::DescribeBoardsRequest &request)const; + void describeBoardsAsync(const Model::DescribeBoardsRequest& request, const DescribeBoardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBoardsOutcomeCallable describeBoardsCallable(const Model::DescribeBoardsRequest& request) const; DescribeLiveStreamSnapshotInfoOutcome describeLiveStreamSnapshotInfo(const Model::DescribeLiveStreamSnapshotInfoRequest &request)const; void describeLiveStreamSnapshotInfoAsync(const Model::DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamSnapshotInfoOutcomeCallable describeLiveStreamSnapshotInfoCallable(const Model::DescribeLiveStreamSnapshotInfoRequest& request) const; @@ -854,6 +1041,9 @@ namespace AlibabaCloud DescribeLiveStreamsFrameRateAndBitRateDataOutcome describeLiveStreamsFrameRateAndBitRateData(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest &request)const; void describeLiveStreamsFrameRateAndBitRateDataAsync(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable describeLiveStreamsFrameRateAndBitRateDataCallable(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request) const; + DescribeForbidPushStreamRoomListOutcome describeForbidPushStreamRoomList(const Model::DescribeForbidPushStreamRoomListRequest &request)const; + void describeForbidPushStreamRoomListAsync(const Model::DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeForbidPushStreamRoomListOutcomeCallable describeForbidPushStreamRoomListCallable(const Model::DescribeForbidPushStreamRoomListRequest& request) const; CreateCasterOutcome createCaster(const Model::CreateCasterRequest &request)const; void createCasterAsync(const Model::CreateCasterRequest& request, const CreateCasterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateCasterOutcomeCallable createCasterCallable(const Model::CreateCasterRequest& request) const; @@ -872,6 +1062,9 @@ namespace AlibabaCloud UpdateLiveRecordNotifyConfigOutcome updateLiveRecordNotifyConfig(const Model::UpdateLiveRecordNotifyConfigRequest &request)const; void updateLiveRecordNotifyConfigAsync(const Model::UpdateLiveRecordNotifyConfigRequest& request, const UpdateLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateLiveRecordNotifyConfigOutcomeCallable updateLiveRecordNotifyConfigCallable(const Model::UpdateLiveRecordNotifyConfigRequest& request) const; + SetCasterChannelOutcome setCasterChannel(const Model::SetCasterChannelRequest &request)const; + void setCasterChannelAsync(const Model::SetCasterChannelRequest& request, const SetCasterChannelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetCasterChannelOutcomeCallable setCasterChannelCallable(const Model::SetCasterChannelRequest& request) const; DescribeLiveSnapshotConfigOutcome describeLiveSnapshotConfig(const Model::DescribeLiveSnapshotConfigRequest &request)const; void describeLiveSnapshotConfigAsync(const Model::DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveSnapshotConfigOutcomeCallable describeLiveSnapshotConfigCallable(const Model::DescribeLiveSnapshotConfigRequest& request) const; @@ -881,6 +1074,9 @@ namespace AlibabaCloud StopLiveDomainOutcome stopLiveDomain(const Model::StopLiveDomainRequest &request)const; void stopLiveDomainAsync(const Model::StopLiveDomainRequest& request, const StopLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopLiveDomainOutcomeCallable stopLiveDomainCallable(const Model::StopLiveDomainRequest& request) const; + ApplyBoardTokenOutcome applyBoardToken(const Model::ApplyBoardTokenRequest &request)const; + void applyBoardTokenAsync(const Model::ApplyBoardTokenRequest& request, const ApplyBoardTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyBoardTokenOutcomeCallable applyBoardTokenCallable(const Model::ApplyBoardTokenRequest& request) const; DescribeLiveStreamHistoryUserNumOutcome describeLiveStreamHistoryUserNum(const Model::DescribeLiveStreamHistoryUserNumRequest &request)const; void describeLiveStreamHistoryUserNumAsync(const Model::DescribeLiveStreamHistoryUserNumRequest& request, const DescribeLiveStreamHistoryUserNumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamHistoryUserNumOutcomeCallable describeLiveStreamHistoryUserNumCallable(const Model::DescribeLiveStreamHistoryUserNumRequest& request) const; @@ -890,21 +1086,36 @@ namespace AlibabaCloud AddLiveRecordVodConfigOutcome addLiveRecordVodConfig(const Model::AddLiveRecordVodConfigRequest &request)const; void addLiveRecordVodConfigAsync(const Model::AddLiveRecordVodConfigRequest& request, const AddLiveRecordVodConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveRecordVodConfigOutcomeCallable addLiveRecordVodConfigCallable(const Model::AddLiveRecordVodConfigRequest& request) const; + SendRoomUserNotificationOutcome sendRoomUserNotification(const Model::SendRoomUserNotificationRequest &request)const; + void sendRoomUserNotificationAsync(const Model::SendRoomUserNotificationRequest& request, const SendRoomUserNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendRoomUserNotificationOutcomeCallable sendRoomUserNotificationCallable(const Model::SendRoomUserNotificationRequest& request) const; + DeleteLiveDomainMappingOutcome deleteLiveDomainMapping(const Model::DeleteLiveDomainMappingRequest &request)const; + void deleteLiveDomainMappingAsync(const Model::DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveDomainMappingOutcomeCallable deleteLiveDomainMappingCallable(const Model::DeleteLiveDomainMappingRequest& request) const; BatchSetLiveDomainConfigsOutcome batchSetLiveDomainConfigs(const Model::BatchSetLiveDomainConfigsRequest &request)const; void batchSetLiveDomainConfigsAsync(const Model::BatchSetLiveDomainConfigsRequest& request, const BatchSetLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchSetLiveDomainConfigsOutcomeCallable batchSetLiveDomainConfigsCallable(const Model::BatchSetLiveDomainConfigsRequest& request) const; DescribeLiveDomainDetailOutcome describeLiveDomainDetail(const Model::DescribeLiveDomainDetailRequest &request)const; void describeLiveDomainDetailAsync(const Model::DescribeLiveDomainDetailRequest& request, const DescribeLiveDomainDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainDetailOutcomeCallable describeLiveDomainDetailCallable(const Model::DescribeLiveDomainDetailRequest& request) const; + DescribeCasterChannelsOutcome describeCasterChannels(const Model::DescribeCasterChannelsRequest &request)const; + void describeCasterChannelsAsync(const Model::DescribeCasterChannelsRequest& request, const DescribeCasterChannelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterChannelsOutcomeCallable describeCasterChannelsCallable(const Model::DescribeCasterChannelsRequest& request) const; DescribeLiveDomainConfigsOutcome describeLiveDomainConfigs(const Model::DescribeLiveDomainConfigsRequest &request)const; void describeLiveDomainConfigsAsync(const Model::DescribeLiveDomainConfigsRequest& request, const DescribeLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainConfigsOutcomeCallable describeLiveDomainConfigsCallable(const Model::DescribeLiveDomainConfigsRequest& request) const; DescribeLiveStreamRecordIndexFilesOutcome describeLiveStreamRecordIndexFiles(const Model::DescribeLiveStreamRecordIndexFilesRequest &request)const; void describeLiveStreamRecordIndexFilesAsync(const Model::DescribeLiveStreamRecordIndexFilesRequest& request, const DescribeLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamRecordIndexFilesOutcomeCallable describeLiveStreamRecordIndexFilesCallable(const Model::DescribeLiveStreamRecordIndexFilesRequest& request) const; + DeleteRoomOutcome deleteRoom(const Model::DeleteRoomRequest &request)const; + void deleteRoomAsync(const Model::DeleteRoomRequest& request, const DeleteRoomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRoomOutcomeCallable deleteRoomCallable(const Model::DeleteRoomRequest& request) const; AddCasterProgramOutcome addCasterProgram(const Model::AddCasterProgramRequest &request)const; void addCasterProgramAsync(const Model::AddCasterProgramRequest& request, const AddCasterProgramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCasterProgramOutcomeCallable addCasterProgramCallable(const Model::AddCasterProgramRequest& request) const; + DescribeBoardSnapshotOutcome describeBoardSnapshot(const Model::DescribeBoardSnapshotRequest &request)const; + void describeBoardSnapshotAsync(const Model::DescribeBoardSnapshotRequest& request, const DescribeBoardSnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBoardSnapshotOutcomeCallable describeBoardSnapshotCallable(const Model::DescribeBoardSnapshotRequest& request) const; DeleteLiveMixConfigOutcome deleteLiveMixConfig(const Model::DeleteLiveMixConfigRequest &request)const; void deleteLiveMixConfigAsync(const Model::DeleteLiveMixConfigRequest& request, const DeleteLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveMixConfigOutcomeCallable deleteLiveMixConfigCallable(const Model::DeleteLiveMixConfigRequest& request) const; @@ -950,6 +1161,9 @@ namespace AlibabaCloud SetCasterConfigOutcome setCasterConfig(const Model::SetCasterConfigRequest &request)const; void setCasterConfigAsync(const Model::SetCasterConfigRequest& request, const SetCasterConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetCasterConfigOutcomeCallable setCasterConfigCallable(const Model::SetCasterConfigRequest& request) const; + AddLiveDomainMappingOutcome addLiveDomainMapping(const Model::AddLiveDomainMappingRequest &request)const; + void addLiveDomainMappingAsync(const Model::AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveDomainMappingOutcomeCallable addLiveDomainMappingCallable(const Model::AddLiveDomainMappingRequest& request) const; RealTimeRecordCommandOutcome realTimeRecordCommand(const Model::RealTimeRecordCommandRequest &request)const; void realTimeRecordCommandAsync(const Model::RealTimeRecordCommandRequest& request, const RealTimeRecordCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RealTimeRecordCommandOutcomeCallable realTimeRecordCommandCallable(const Model::RealTimeRecordCommandRequest& request) const; @@ -962,6 +1176,12 @@ namespace AlibabaCloud AddCasterLayoutOutcome addCasterLayout(const Model::AddCasterLayoutRequest &request)const; void addCasterLayoutAsync(const Model::AddCasterLayoutRequest& request, const AddCasterLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCasterLayoutOutcomeCallable addCasterLayoutCallable(const Model::AddCasterLayoutRequest& request) const; + UpdateBoardOutcome updateBoard(const Model::UpdateBoardRequest &request)const; + void updateBoardAsync(const Model::UpdateBoardRequest& request, const UpdateBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateBoardOutcomeCallable updateBoardCallable(const Model::UpdateBoardRequest& request) const; + JoinBoardOutcome joinBoard(const Model::JoinBoardRequest &request)const; + void joinBoardAsync(const Model::JoinBoardRequest& request, const JoinBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + JoinBoardOutcomeCallable joinBoardCallable(const Model::JoinBoardRequest& request) const; DescribeLiveUserDomainsOutcome describeLiveUserDomains(const Model::DescribeLiveUserDomainsRequest &request)const; void describeLiveUserDomainsAsync(const Model::DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveUserDomainsOutcomeCallable describeLiveUserDomainsCallable(const Model::DescribeLiveUserDomainsRequest& request) const; @@ -983,6 +1203,9 @@ namespace AlibabaCloud AddLiveDomainOutcome addLiveDomain(const Model::AddLiveDomainRequest &request)const; void addLiveDomainAsync(const Model::AddLiveDomainRequest& request, const AddLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveDomainOutcomeCallable addLiveDomainCallable(const Model::AddLiveDomainRequest& request) const; + DescribeDomainUsageDataOutcome describeDomainUsageData(const Model::DescribeDomainUsageDataRequest &request)const; + void describeDomainUsageDataAsync(const Model::DescribeDomainUsageDataRequest& request, const DescribeDomainUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainUsageDataOutcomeCallable describeDomainUsageDataCallable(const Model::DescribeDomainUsageDataRequest& request) const; DeleteLiveAppRecordConfigOutcome deleteLiveAppRecordConfig(const Model::DeleteLiveAppRecordConfigRequest &request)const; void deleteLiveAppRecordConfigAsync(const Model::DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveAppRecordConfigOutcomeCallable deleteLiveAppRecordConfigCallable(const Model::DeleteLiveAppRecordConfigRequest& request) const; @@ -1001,9 +1224,18 @@ namespace AlibabaCloud AddLiveDetectNotifyConfigOutcome addLiveDetectNotifyConfig(const Model::AddLiveDetectNotifyConfigRequest &request)const; void addLiveDetectNotifyConfigAsync(const Model::AddLiveDetectNotifyConfigRequest& request, const AddLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveDetectNotifyConfigOutcomeCallable addLiveDetectNotifyConfigCallable(const Model::AddLiveDetectNotifyConfigRequest& request) const; + DescribeLiveLazyPullStreamConfigOutcome describeLiveLazyPullStreamConfig(const Model::DescribeLiveLazyPullStreamConfigRequest &request)const; + void describeLiveLazyPullStreamConfigAsync(const Model::DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveLazyPullStreamConfigOutcomeCallable describeLiveLazyPullStreamConfigCallable(const Model::DescribeLiveLazyPullStreamConfigRequest& request) const; DescribeCasterScenesOutcome describeCasterScenes(const Model::DescribeCasterScenesRequest &request)const; void describeCasterScenesAsync(const Model::DescribeCasterScenesRequest& request, const DescribeCasterScenesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCasterScenesOutcomeCallable describeCasterScenesCallable(const Model::DescribeCasterScenesRequest& request) const; + SendRoomNotificationOutcome sendRoomNotification(const Model::SendRoomNotificationRequest &request)const; + void sendRoomNotificationAsync(const Model::SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendRoomNotificationOutcomeCallable sendRoomNotificationCallable(const Model::SendRoomNotificationRequest& request) const; + DeleteLiveLazyPullStreamInfoConfigOutcome deleteLiveLazyPullStreamInfoConfig(const Model::DeleteLiveLazyPullStreamInfoConfigRequest &request)const; + void deleteLiveLazyPullStreamInfoConfigAsync(const Model::DeleteLiveLazyPullStreamInfoConfigRequest& request, const DeleteLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveLazyPullStreamInfoConfigOutcomeCallable deleteLiveLazyPullStreamInfoConfigCallable(const Model::DeleteLiveLazyPullStreamInfoConfigRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h index b835d292e..2bd288790 100644 --- a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h @@ -35,38 +35,44 @@ namespace AlibabaCloud AddCasterVideoResourceRequest(); ~AddCasterVideoResourceRequest(); - int getBeginOffset()const; - void setBeginOffset(int beginOffset); std::string getVodUrl()const; void setVodUrl(const std::string& vodUrl); - std::string getLiveStreamUrl()const; - void setLiveStreamUrl(const std::string& liveStreamUrl); - std::string getLocationId()const; - void setLocationId(const std::string& locationId); std::string getCasterId()const; void setCasterId(const std::string& casterId); int getEndOffset()const; void setEndOffset(int endOffset); - std::string getResourceName()const; - void setResourceName(const std::string& resourceName); - int getRepeatNum()const; - void setRepeatNum(int repeatNum); long getOwnerId()const; void setOwnerId(long ownerId); std::string getMaterialId()const; void setMaterialId(const std::string& materialId); + int getBeginOffset()const; + void setBeginOffset(int beginOffset); + std::string getLiveStreamUrl()const; + void setLiveStreamUrl(const std::string& liveStreamUrl); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getLocationId()const; + void setLocationId(const std::string& locationId); + int getPtsCallbackInterval()const; + void setPtsCallbackInterval(int ptsCallbackInterval); + std::string getResourceName()const; + void setResourceName(const std::string& resourceName); + int getRepeatNum()const; + void setRepeatNum(int repeatNum); private: - int beginOffset_; std::string vodUrl_; - std::string liveStreamUrl_; - std::string locationId_; std::string casterId_; int endOffset_; - std::string resourceName_; - int repeatNum_; long ownerId_; std::string materialId_; + int beginOffset_; + std::string liveStreamUrl_; + std::string regionId_; + std::string locationId_; + int ptsCallbackInterval_; + std::string resourceName_; + int repeatNum_; }; } diff --git a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h index 8b3cbd21b..c23fbec36 100644 --- a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h @@ -47,6 +47,8 @@ namespace AlibabaCloud void setGop(const std::string& gop); long getOwnerId()const; void setOwnerId(long ownerId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getTemplateType()const; void setTemplateType(const std::string& templateType); int getAudioBitrate()const; @@ -67,6 +69,7 @@ namespace AlibabaCloud int fPS_; std::string gop_; long ownerId_; + std::string regionId_; std::string templateType_; int audioBitrate_; std::string domain_; diff --git a/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h new file mode 100644 index 000000000..0491e3256 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingRequest : public RpcServiceRequest + { + + public: + AddLiveDomainMappingRequest(); + ~AddLiveDomainMappingRequest(); + + std::string getPullDomain()const; + void setPullDomain(const std::string& pullDomain); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getPushDomain()const; + void setPushDomain(const std::string& pushDomain); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string pullDomain_; + std::string securityToken_; + std::string pushDomain_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h b/live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h new file mode 100644 index 000000000..3a25414f1 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingResult : public ServiceResult + { + public: + + + AddLiveDomainMappingResult(); + explicit AddLiveDomainMappingResult(const std::string &payload); + ~AddLiveDomainMappingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h index 7c32c35cb..7dea3167f 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud AddLiveDomainRequest(); ~AddLiveDomainRequest(); + std::string getTopLevelDomain()const; + void setTopLevelDomain(const std::string& topLevelDomain); std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); std::string getOwnerAccount()const; @@ -55,6 +57,7 @@ namespace AlibabaCloud void setLiveDomainType(const std::string& liveDomainType); private: + std::string topLevelDomain_; std::string securityToken_; std::string ownerAccount_; std::string scope_; diff --git a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h index 57a07ea1a..6a76d4253 100644 --- a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h +++ b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setDelay(int delay); std::string getAppName()const; void setAppName(const std::string& appName); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); int getRepeat()const; void setRepeat(int repeat); std::string getDomainName()const; @@ -55,6 +57,7 @@ namespace AlibabaCloud private: int delay_; std::string appName_; + std::string regionId_; int repeat_; std::string domainName_; std::string pattern_; diff --git a/live/include/alibabacloud/live/model/AllowPushStreamRequest.h b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h new file mode 100644 index 000000000..1815f705d --- /dev/null +++ b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h @@ -0,0 +1,117 @@ +/* + * 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_ALLOWPUSHSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest + { + + public: + AllowPushStreamRequest(); + ~AllowPushStreamRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AllowPushStreamResult.h b/live/include/alibabacloud/live/model/AllowPushStreamResult.h new file mode 100644 index 000000000..3886f2f4a --- /dev/null +++ b/live/include/alibabacloud/live/model/AllowPushStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h b/live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h new file mode 100644 index 000000000..a52615be8 --- /dev/null +++ b/live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h @@ -0,0 +1,117 @@ +/* + * 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_APPLYBOARDTOKENREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenRequest : public RpcServiceRequest + { + + public: + ApplyBoardTokenRequest(); + ~ApplyBoardTokenRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardId()const; + void setBoardId(const std::string& boardId); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getAppUid()const; + void setAppUid(const std::string& appUid); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string boardId_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string appUid_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ApplyBoardTokenResult.h b/live/include/alibabacloud/live/model/ApplyBoardTokenResult.h new file mode 100644 index 000000000..e105ae50a --- /dev/null +++ b/live/include/alibabacloud/live/model/ApplyBoardTokenResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenResult : public ServiceResult + { + public: + + + ApplyBoardTokenResult(); + explicit ApplyBoardTokenResult(const std::string &payload); + ~ApplyBoardTokenResult(); + std::string getToken()const; + std::string getExpired()const; + + protected: + void parse(const std::string &payload); + private: + std::string token_; + std::string expired_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CompleteBoardRequest.h b/live/include/alibabacloud/live/model/CompleteBoardRequest.h new file mode 100644 index 000000000..b4c3dd4b8 --- /dev/null +++ b/live/include/alibabacloud/live/model/CompleteBoardRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRequest : public RpcServiceRequest + { + + public: + CompleteBoardRequest(); + ~CompleteBoardRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardId()const; + void setBoardId(const std::string& boardId); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string appId_; + std::string callerBidEmail_; + std::string boardId_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CompleteBoardResult.h b/live/include/alibabacloud/live/model/CompleteBoardResult.h new file mode 100644 index 000000000..ba5b7cb02 --- /dev/null +++ b/live/include/alibabacloud/live/model/CompleteBoardResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CompleteBoardResult : public ServiceResult + { + public: + + + CompleteBoardResult(); + explicit CompleteBoardResult(const std::string &payload); + ~CompleteBoardResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateBoardRequest.h b/live/include/alibabacloud/live/model/CreateBoardRequest.h new file mode 100644 index 000000000..2827b0108 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateBoardRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateBoardRequest : public RpcServiceRequest + { + + public: + CreateBoardRequest(); + ~CreateBoardRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getAppUid()const; + void setAppUid(const std::string& appUid); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string appUid_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string appId_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateBoardResult.h b/live/include/alibabacloud/live/model/CreateBoardResult.h new file mode 100644 index 000000000..2c15b84be --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateBoardResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateBoardResult : public ServiceResult + { + public: + + + CreateBoardResult(); + explicit CreateBoardResult(const std::string &payload); + ~CreateBoardResult(); + std::string getBoardId()const; + + protected: + void parse(const std::string &payload); + private: + std::string boardId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateRoomRequest.h b/live/include/alibabacloud/live/model/CreateRoomRequest.h new file mode 100644 index 000000000..521e9f21f --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateRoomRequest.h @@ -0,0 +1,120 @@ +/* + * 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_CREATEROOMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEROOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateRoomRequest : public RpcServiceRequest + { + + public: + CreateRoomRequest(); + ~CreateRoomRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getAnchorId()const; + void setAnchorId(const std::string& anchorId); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string anchorId_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEROOMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateRoomResult.h b/live/include/alibabacloud/live/model/CreateRoomResult.h new file mode 100644 index 000000000..8c6b9e00c --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateRoomResult.h @@ -0,0 +1,55 @@ +/* + * 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_CREATEROOMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEROOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateRoomResult : public ServiceResult + { + public: + + + CreateRoomResult(); + explicit CreateRoomResult(const std::string &payload); + ~CreateRoomResult(); + std::string getAppId()const; + std::string getAnchorId()const; + std::string getRoomId()const; + + protected: + void parse(const std::string &payload); + private: + std::string appId_; + std::string anchorId_; + std::string roomId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEROOMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteBoardRequest.h b/live/include/alibabacloud/live/model/DeleteBoardRequest.h new file mode 100644 index 000000000..c794cb713 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteBoardRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteBoardRequest : public RpcServiceRequest + { + + public: + DeleteBoardRequest(); + ~DeleteBoardRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardId()const; + void setBoardId(const std::string& boardId); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string appId_; + std::string callerBidEmail_; + std::string boardId_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteBoardResult.h b/live/include/alibabacloud/live/model/DeleteBoardResult.h new file mode 100644 index 000000000..b577030a9 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteBoardResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteBoardResult : public ServiceResult + { + public: + + + DeleteBoardResult(); + explicit DeleteBoardResult(const std::string &payload); + ~DeleteBoardResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h new file mode 100644 index 000000000..428ebc82e --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest + { + + public: + DeleteLiveDomainMappingRequest(); + ~DeleteLiveDomainMappingRequest(); + + std::string getPullDomain()const; + void setPullDomain(const std::string& pullDomain); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getPushDomain()const; + void setPushDomain(const std::string& pushDomain); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string pullDomain_; + std::string securityToken_; + std::string pushDomain_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h new file mode 100644 index 000000000..d2b971011 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingResult : public ServiceResult + { + public: + + + DeleteLiveDomainMappingResult(); + explicit DeleteLiveDomainMappingResult(const std::string &payload); + ~DeleteLiveDomainMappingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h new file mode 100644 index 000000000..598fe0c1e --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveLazyPullStreamInfoConfigRequest(); + ~DeleteLiveLazyPullStreamInfoConfigRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + std::string domainName_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string appName_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h new file mode 100644 index 000000000..d9c632fc4 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigResult : public ServiceResult + { + public: + + + DeleteLiveLazyPullStreamInfoConfigResult(); + explicit DeleteLiveLazyPullStreamInfoConfigResult(const std::string &payload); + ~DeleteLiveLazyPullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h index c51e4e1e9..70353b89b 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h @@ -35,20 +35,17 @@ namespace AlibabaCloud DeleteLiveStreamsNotifyUrlConfigRequest(); ~DeleteLiveStreamsNotifyUrlConfigRequest(); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); private: - std::string securityToken_; + std::string regionId_; std::string domainName_; long ownerId_; - std::string accessKeyId_; }; } diff --git a/live/include/alibabacloud/live/model/DeleteRoomRequest.h b/live/include/alibabacloud/live/model/DeleteRoomRequest.h new file mode 100644 index 000000000..a0061f5ad --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteRoomRequest.h @@ -0,0 +1,117 @@ +/* + * 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 +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteRoomRequest : public RpcServiceRequest + { + + public: + DeleteRoomRequest(); + ~DeleteRoomRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteRoomResult.h b/live/include/alibabacloud/live/model/DeleteRoomResult.h new file mode 100644 index 000000000..f2463b1b0 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteRoomResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h b/live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h new file mode 100644 index 000000000..7c7703a84 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h @@ -0,0 +1,120 @@ +/* + * 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_DESCRIBEBOARDEVENTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardEventsRequest : public RpcServiceRequest + { + + public: + DescribeBoardEventsRequest(); + ~DescribeBoardEventsRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardId()const; + void setBoardId(const std::string& boardId); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string startTime_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string boardId_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string endTime_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardEventsResult.h b/live/include/alibabacloud/live/model/DescribeBoardEventsResult.h new file mode 100644 index 000000000..4984d176a --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeBoardEventsResult.h @@ -0,0 +1,59 @@ +/* + * 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_DESCRIBEBOARDEVENTSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardEventsResult : public ServiceResult + { + public: + struct Event + { + int eventType; + int userId; + long eventId; + std::string data; + long timestamp; + }; + + + DescribeBoardEventsResult(); + explicit DescribeBoardEventsResult(const std::string &payload); + ~DescribeBoardEventsResult(); + std::vector getEvents()const; + + protected: + void parse(const std::string &payload); + private: + std::vector events_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h b/live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h new file mode 100644 index 000000000..f496e7cc0 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardSnapshotRequest : public RpcServiceRequest + { + + public: + DescribeBoardSnapshotRequest(); + ~DescribeBoardSnapshotRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardId()const; + void setBoardId(const std::string& boardId); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string appId_; + std::string callerBidEmail_; + std::string boardId_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h b/live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h new file mode 100644 index 000000000..f43525a45 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h @@ -0,0 +1,83 @@ +/* + * 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_DESCRIBEBOARDSNAPSHOTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardSnapshotResult : public ServiceResult + { + public: + struct Snapshot + { + struct Board + { + struct Page + { + struct Element + { + int elementType; + std::string ownerId; + std::string data; + long updateTimestamp; + std::string elementIndex; + }; + int pageIndex; + std::vector elements; + }; + struct Config + { + std::string appUid; + std::string data; + }; + std::vector pages; + std::string boardId; + long eventTimestamp; + std::string appUid; + std::vector configs; + long updateTimestamp; + long createTimestamp; + }; + Board board; + }; + + + DescribeBoardSnapshotResult(); + explicit DescribeBoardSnapshotResult(const std::string &payload); + ~DescribeBoardSnapshotResult(); + Snapshot getSnapshot()const; + + protected: + void parse(const std::string &payload); + private: + Snapshot snapshot_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardsRequest.h b/live/include/alibabacloud/live/model/DescribeBoardsRequest.h new file mode 100644 index 000000000..49e5500b3 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeBoardsRequest.h @@ -0,0 +1,117 @@ +/* + * 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_DESCRIBEBOARDSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardsRequest : public RpcServiceRequest + { + + public: + DescribeBoardsRequest(); + ~DescribeBoardsRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + int pageNum_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + int pageSize_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardsResult.h b/live/include/alibabacloud/live/model/DescribeBoardsResult.h new file mode 100644 index 000000000..16f28f45f --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeBoardsResult.h @@ -0,0 +1,58 @@ +/* + * 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_DESCRIBEBOARDSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardsResult : public ServiceResult + { + public: + struct Event + { + std::string boardId; + int state; + std::string userId; + std::string topic; + }; + + + DescribeBoardsResult(); + explicit DescribeBoardsResult(const std::string &payload); + ~DescribeBoardsResult(); + std::vector getBoards()const; + + protected: + void parse(const std::string &payload); + private: + std::vector boards_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h new file mode 100644 index 000000000..95792a69f --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsRequest : public RpcServiceRequest + { + + public: + DescribeCasterChannelsRequest(); + ~DescribeCasterChannelsRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string regionId_; + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h b/live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h new file mode 100644 index 000000000..2018429eb --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h @@ -0,0 +1,59 @@ +/* + * 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_DESCRIBECASTERCHANNELSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsResult : public ServiceResult + { + public: + struct Channel + { + std::string resourceId; + std::string channelId; + std::string streamUrl; + }; + + + DescribeCasterChannelsResult(); + explicit DescribeCasterChannelsResult(const std::string &payload); + ~DescribeCasterChannelsResult(); + int getTotal()const; + std::vector getChannels()const; + + protected: + void parse(const std::string &payload); + private: + int total_; + std::vector channels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h index f033ad471..026f6f886 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h @@ -35,12 +35,15 @@ namespace AlibabaCloud DescribeCasterConfigRequest(); ~DescribeCasterConfigRequest(); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); long getOwnerId()const; void setOwnerId(long ownerId); private: + std::string regionId_; std::string casterId_; long ownerId_; diff --git a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h index 3660964e7..6d9b368dd 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h @@ -58,6 +58,7 @@ namespace AlibabaCloud std::string getSideOutputUrl()const; std::string getCallbackUrl()const; std::string getCasterName()const; + int getChannelEnable()const; std::string getDomainName()const; int getProgramEffect()const; std::string getUrgentMaterialId()const; @@ -73,6 +74,7 @@ namespace AlibabaCloud std::string sideOutputUrl_; std::string callbackUrl_; std::string casterName_; + int channelEnable_; std::string domainName_; int programEffect_; std::string urgentMaterialId_; diff --git a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h new file mode 100644 index 000000000..f1a2b05f5 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioRequest : public RpcServiceRequest + { + + public: + DescribeCasterSceneAudioRequest(); + ~DescribeCasterSceneAudioRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getSceneId()const; + void setSceneId(const std::string& sceneId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string regionId_; + std::string casterId_; + std::string sceneId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h new file mode 100644 index 000000000..64ebc3419 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioResult : public ServiceResult + { + public: + struct AudioLayer + { + std::string validChannel; + float volumeRate; + int fixedDelayDuration; + }; + + + DescribeCasterSceneAudioResult(); + explicit DescribeCasterSceneAudioResult(const std::string &payload); + ~DescribeCasterSceneAudioResult(); + std::vector getMixList()const; + std::vector getAudioLayers()const; + std::string getCasterId()const; + int getFollowEnable()const; + + protected: + void parse(const std::string &payload); + private: + std::vector mixList_; + std::vector audioLayers_; + std::string casterId_; + int followEnable_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h index d17e545b3..8d4189411 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h @@ -35,12 +35,15 @@ namespace AlibabaCloud DescribeCasterVideoResourcesRequest(); ~DescribeCasterVideoResourcesRequest(); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); long getOwnerId()const; void setOwnerId(long ownerId); private: + std::string regionId_; std::string casterId_; long ownerId_; diff --git a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h index b9e0334f7..302087fe6 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h @@ -42,6 +42,7 @@ namespace AlibabaCloud std::string locationId; int repeatNum; std::string liveStreamUrl; + int ptsCallbackInterval; std::string vodUrl; }; diff --git a/live/include/alibabacloud/live/model/DescribeCastersRequest.h b/live/include/alibabacloud/live/model/DescribeCastersRequest.h index 7c519b30c..4cc81c0c1 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCastersRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud DescribeCastersRequest(); ~DescribeCastersRequest(); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getCasterName()const; void setCasterName(const std::string& casterName); std::string getCasterId()const; @@ -53,6 +55,7 @@ namespace AlibabaCloud void setStatus(int status); private: + std::string regionId_; std::string casterName_; std::string casterId_; int pageSize_; diff --git a/live/include/alibabacloud/live/model/DescribeCastersResult.h b/live/include/alibabacloud/live/model/DescribeCastersResult.h index 002ce12af..81ab07268 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersResult.h +++ b/live/include/alibabacloud/live/model/DescribeCastersResult.h @@ -38,6 +38,7 @@ namespace AlibabaCloud std::string purchaseTime; std::string casterTemplate; std::string casterName; + int channelEnable; std::string chargeType; std::string createTime; std::string startTime; diff --git a/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h new file mode 100644 index 000000000..94b6e09e6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h @@ -0,0 +1,129 @@ +/* + * 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_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeDomainUsageDataRequest : public RpcServiceRequest + { + + public: + DescribeDomainUsageDataRequest(); + ~DescribeDomainUsageDataRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getType()const; + void setType(const std::string& type); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getArea()const; + void setArea(const std::string& area); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getField()const; + void setField(const std::string& field); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string startTime_; + std::string proxy_original_source_ip_; + std::string type_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string area_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string domainName_; + std::string endTime_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string field_; + std::string requestId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeDomainUsageDataResult.h b/live/include/alibabacloud/live/model/DescribeDomainUsageDataResult.h new file mode 100644 index 000000000..963b17651 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeDomainUsageDataResult.h @@ -0,0 +1,68 @@ +/* + * 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_DESCRIBEDOMAINUSAGEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeDomainUsageDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string timeStamp; + }; + + + DescribeDomainUsageDataResult(); + explicit DescribeDomainUsageDataResult(const std::string &payload); + ~DescribeDomainUsageDataResult(); + std::vector getUsageDataPerInterval()const; + std::string getField()const; + std::string getArea()const; + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector usageDataPerInterval_; + std::string field_; + std::string area_; + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h new file mode 100644 index 000000000..12a839070 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h @@ -0,0 +1,123 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListRequest : public RpcServiceRequest + { + + public: + DescribeForbidPushStreamRoomListRequest(); + ~DescribeForbidPushStreamRoomListRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getOrder()const; + void setOrder(const std::string& order); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + int pageNum_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + int pageSize_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string order_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h new file mode 100644 index 000000000..2690b32ec --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h @@ -0,0 +1,62 @@ +/* + * 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 +#include +#include +#include +#include + +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 getRoomList()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int totalPage_; + std::vector roomList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h index a27f2c8cf..e131d2579 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud DescribeLiveDomainRecordDataRequest(); ~DescribeLiveDomainRecordDataRequest(); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getRecordType()const; void setRecordType(const std::string& recordType); std::string getDomainName()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud void setOwnerId(long ownerId); private: + std::string regionId_; std::string recordType_; std::string domainName_; std::string endTime_; diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h index 128e0c301..ff5d3edc1 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud DescribeLiveDomainSnapshotDataRequest(); ~DescribeLiveDomainSnapshotDataRequest(); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); std::string getEndTime()const; @@ -45,6 +47,7 @@ namespace AlibabaCloud void setOwnerId(long ownerId); private: + std::string regionId_; std::string domainName_; std::string endTime_; std::string startTime_; diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h index 798d3b4ab..df06046b1 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud DescribeLiveDomainTranscodeDataRequest(); ~DescribeLiveDomainTranscodeDataRequest(); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); std::string getEndTime()const; @@ -45,6 +47,7 @@ namespace AlibabaCloud void setOwnerId(long ownerId); private: + std::string regionId_; std::string domainName_; std::string endTime_; std::string startTime_; diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h new file mode 100644 index 000000000..e56172286 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveLazyPullStreamConfigRequest(); + ~DescribeLiveLazyPullStreamConfigRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + std::string domainName_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string appName_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h new file mode 100644 index 000000000..a4ae9abd5 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigResult : public ServiceResult + { + public: + struct LiveLazyPullConfig + { + std::string domainName; + std::string pullProtocol; + std::string pullAuthKey; + std::string pullAuthType; + std::string pullDomainName; + std::string pullAppName; + std::string appName; + }; + + + DescribeLiveLazyPullStreamConfigResult(); + explicit DescribeLiveLazyPullStreamConfigResult(const std::string &payload); + ~DescribeLiveLazyPullStreamConfigResult(); + std::vector getLiveLazyPullConfigList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveLazyPullConfigList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h index 050d8e01f..70b5a8fc6 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h @@ -35,20 +35,74 @@ namespace AlibabaCloud DescribeLiveStreamsNotifyUrlConfigRequest(); ~DescribeLiveStreamsNotifyUrlConfigRequest(); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); std::string getDomainName()const; void setDomainName(const std::string& domainName); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); long getOwnerId()const; void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); private: - std::string securityToken_; + std::string app_ip_; + std::string popProduct_; + long callerParentId_; std::string domainName_; + bool proxy_original_security_transport_; + std::string callerBid_; long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; std::string accessKeyId_; + bool security_transport_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h index 9de6ce5f6..7c1adaca2 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h @@ -36,6 +36,8 @@ namespace AlibabaCloud { std::string domainName; std::string notifyUrl; + std::string authKey; + std::string authType; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h index 45169e07c..66e861afc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h @@ -37,39 +37,42 @@ namespace AlibabaCloud std::string getStreamType()const; void setStreamType(const std::string& streamType); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); std::string getDomainName()const; void setDomainName(const std::string& domainName); - int getPageSize()const; - void setPageSize(int pageSize); std::string getEndTime()const; void setEndTime(const std::string& endTime); + std::string getOrderBy()const; + void setOrderBy(const std::string& orderBy); std::string getStartTime()const; void setStartTime(const std::string& startTime); long getOwnerId()const; void setOwnerId(long ownerId); int getPageNum()const; void setPageNum(int pageNum); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); std::string getQueryType()const; void setQueryType(const std::string& queryType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); private: std::string streamType_; - std::string appName_; - std::string securityToken_; std::string domainName_; - int pageSize_; std::string endTime_; + std::string orderBy_; std::string startTime_; long ownerId_; int pageNum_; + std::string appName_; + std::string regionId_; + int pageSize_; + std::string streamName_; std::string queryType_; - std::string accessKeyId_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h index cf3f689ba..ec9f79333 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h @@ -41,18 +41,18 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); std::string getEndTime()const; void setEndTime(const std::string& endTime); + std::string getOrderBy()const; + void setOrderBy(const std::string& orderBy); std::string getStartTime()const; void setStartTime(const std::string& startTime); long getOwnerId()const; void setOwnerId(long ownerId); int getPageNumber()const; void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); std::string getAppName()const; void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); int getPageSize()const; void setPageSize(int pageSize); std::string getStreamName()const; @@ -64,12 +64,12 @@ namespace AlibabaCloud std::string streamType_; std::string domainName_; std::string endTime_; + std::string orderBy_; std::string startTime_; long ownerId_; int pageNumber_; - std::string accessKeyId_; std::string appName_; - std::string securityToken_; + std::string regionId_; int pageSize_; std::string streamName_; std::string queryType_; diff --git a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h new file mode 100644 index 000000000..da9fe8605 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListRequest : public RpcServiceRequest + { + + public: + DescribeRoomKickoutUserListRequest(); + ~DescribeRoomKickoutUserListRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getOrder()const; + void setOrder(const std::string& order); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + int pageNum_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + int pageSize_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string order_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h new file mode 100644 index 000000000..dcd1b78cb --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +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 getUserList()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int totalPage_; + std::vector userList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h new file mode 100644 index 000000000..4a33b0518 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListRequest : public RpcServiceRequest + { + + public: + DescribeRoomListRequest(); + ~DescribeRoomListRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getRoomStatus()const; + void setRoomStatus(int roomStatus); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getOrder()const; + void setOrder(const std::string& order); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + int pageNum_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + int roomStatus_; + std::string requestContent_; + int pageSize_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string order_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomListResult.h b/live/include/alibabacloud/live/model/DescribeRoomListResult.h new file mode 100644 index 000000000..83294448a --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRoomListResult.h @@ -0,0 +1,62 @@ +/* + * 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_DESCRIBEROOMLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListResult : public ServiceResult + { + public: + struct Room + { + int roomStatus; + std::string anchorId; + std::string createTime; + std::string roomId; + }; + + + DescribeRoomListResult(); + explicit DescribeRoomListResult(const std::string &payload); + ~DescribeRoomListResult(); + int getTotalNum()const; + int getTotalPage()const; + std::vector getRoomList()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int totalPage_; + std::vector roomList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h new file mode 100644 index 000000000..8d08ebbe6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h @@ -0,0 +1,117 @@ +/* + * 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 +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusRequest : public RpcServiceRequest + { + + public: + DescribeRoomStatusRequest(); + ~DescribeRoomStatusRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomStatusResult.h b/live/include/alibabacloud/live/model/DescribeRoomStatusResult.h new file mode 100644 index 000000000..ce029f8bb --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRoomStatusResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusResult : public ServiceResult + { + public: + + + DescribeRoomStatusResult(); + explicit DescribeRoomStatusResult(const std::string &payload); + ~DescribeRoomStatusResult(); + int getRoomStatus()const; + + protected: + void parse(const std::string &payload); + private: + int roomStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h index f5c867d55..6273e95a2 100644 --- a/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h +++ b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h @@ -35,32 +35,92 @@ namespace AlibabaCloud ForbidLiveStreamRequest(); ~ForbidLiveStreamRequest(); - std::string getResumeTime()const; - void setResumeTime(const std::string& resumeTime); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); std::string getAppName()const; void setAppName(const std::string& appName); std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getControlStreamAction()const; + void setControlStreamAction(const std::string& controlStreamAction); + std::string getResumeTime()const; + void setResumeTime(const std::string& resumeTime); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); std::string getLiveStreamType()const; void setLiveStreamType(const std::string& liveStreamType); std::string getDomainName()const; void setDomainName(const std::string& domainName); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOneshot()const; + void setOneshot(const std::string& oneshot); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); private: - std::string resumeTime_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; std::string appName_; std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + std::string streamName_; + long callerUid_; + std::string controlStreamAction_; + std::string resumeTime_; + std::string app_ip_; + std::string popProduct_; std::string liveStreamType_; std::string domainName_; + std::string callerBid_; long ownerId_; - std::string streamName_; - std::string accessKeyId_; + std::string version_; + std::string oneshot_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; }; } diff --git a/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h new file mode 100644 index 000000000..b94912df4 --- /dev/null +++ b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h @@ -0,0 +1,123 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamRequest : public RpcServiceRequest + { + + public: + ForbidPushStreamRequest(); + ~ForbidPushStreamRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getUserData()const; + void setUserData(const std::string& userData); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string userData_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string endTime_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ForbidPushStreamResult.h b/live/include/alibabacloud/live/model/ForbidPushStreamResult.h new file mode 100644 index 000000000..5930eb98f --- /dev/null +++ b/live/include/alibabacloud/live/model/ForbidPushStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/JoinBoardRequest.h b/live/include/alibabacloud/live/model/JoinBoardRequest.h new file mode 100644 index 000000000..c7eb6de97 --- /dev/null +++ b/live/include/alibabacloud/live/model/JoinBoardRequest.h @@ -0,0 +1,117 @@ +/* + * 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_JOINBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_JOINBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT JoinBoardRequest : public RpcServiceRequest + { + + public: + JoinBoardRequest(); + ~JoinBoardRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardId()const; + void setBoardId(const std::string& boardId); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getAppUid()const; + void setAppUid(const std::string& appUid); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string boardId_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string appUid_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_JOINBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/JoinBoardResult.h b/live/include/alibabacloud/live/model/JoinBoardResult.h new file mode 100644 index 000000000..db45dcd2b --- /dev/null +++ b/live/include/alibabacloud/live/model/JoinBoardResult.h @@ -0,0 +1,55 @@ +/* + * 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_JOINBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_JOINBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT JoinBoardResult : public ServiceResult + { + public: + + + JoinBoardResult(); + explicit JoinBoardResult(const std::string &payload); + ~JoinBoardResult(); + std::string getBoardId()const; + std::string getToken()const; + std::string getTopicId()const; + + protected: + void parse(const std::string &payload); + private: + std::string boardId_; + std::string token_; + std::string topicId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_JOINBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h index f7b76d66b..a9735d6a9 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h @@ -37,36 +37,42 @@ namespace AlibabaCloud std::string getResourceId()const; void setResourceId(const std::string& resourceId); - int getBeginOffset()const; - void setBeginOffset(int beginOffset); std::string getVodUrl()const; void setVodUrl(const std::string& vodUrl); - std::string getLiveStreamUrl()const; - void setLiveStreamUrl(const std::string& liveStreamUrl); std::string getCasterId()const; void setCasterId(const std::string& casterId); int getEndOffset()const; void setEndOffset(int endOffset); - std::string getResourceName()const; - void setResourceName(const std::string& resourceName); - int getRepeatNum()const; - void setRepeatNum(int repeatNum); long getOwnerId()const; void setOwnerId(long ownerId); std::string getMaterialId()const; void setMaterialId(const std::string& materialId); + int getBeginOffset()const; + void setBeginOffset(int beginOffset); + std::string getLiveStreamUrl()const; + void setLiveStreamUrl(const std::string& liveStreamUrl); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getPtsCallbackInterval()const; + void setPtsCallbackInterval(int ptsCallbackInterval); + std::string getResourceName()const; + void setResourceName(const std::string& resourceName); + int getRepeatNum()const; + void setRepeatNum(int repeatNum); private: std::string resourceId_; - int beginOffset_; std::string vodUrl_; - std::string liveStreamUrl_; std::string casterId_; int endOffset_; - std::string resourceName_; - int repeatNum_; long ownerId_; std::string materialId_; + int beginOffset_; + std::string liveStreamUrl_; + std::string regionId_; + int ptsCallbackInterval_; + std::string resourceName_; + int repeatNum_; }; } diff --git a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h index 8cc2559cc..c352d5c57 100644 --- a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h +++ b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::string getAppName()const; void setAppName(const std::string& appName); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; @@ -48,6 +50,7 @@ namespace AlibabaCloud private: std::string appName_; + std::string regionId_; std::string domainName_; long ownerId_; std::string command_; diff --git a/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h new file mode 100644 index 000000000..71137005a --- /dev/null +++ b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include + +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); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getAppUid()const; + void setAppUid(const std::string& appUid); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPriority()const; + void setPriority(int priority); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + std::string data_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string appUid_; + std::string callerBid_; + long ownerId_; + int priority_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendRoomNotificationResult.h b/live/include/alibabacloud/live/model/SendRoomNotificationResult.h new file mode 100644 index 000000000..478236d5a --- /dev/null +++ b/live/include/alibabacloud/live/model/SendRoomNotificationResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h new file mode 100644 index 000000000..2a84114c6 --- /dev/null +++ b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h @@ -0,0 +1,129 @@ +/* + * 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 +#include +#include +#include + +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); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getToAppUid()const; + void setToAppUid(const std::string& toAppUid); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getProduct()const; + void setProduct(const std::string& product); + std::string getAppUid()const; + void setAppUid(const std::string& appUid); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPriority()const; + void setPriority(int priority); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getRoomId()const; + void setRoomId(const std::string& roomId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + std::string data_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string toAppUid_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string product_; + std::string appUid_; + std::string callerBid_; + long ownerId_; + int priority_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string roomId_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h b/live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h new file mode 100644 index 000000000..af170fdc2 --- /dev/null +++ b/live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +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_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterChannelRequest.h b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h new file mode 100644 index 000000000..893ce1137 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelRequest : public RpcServiceRequest + { + + public: + SetCasterChannelRequest(); + ~SetCasterChannelRequest(); + + std::string getResourceId()const; + void setResourceId(const std::string& resourceId); + int getPlayStatus()const; + void setPlayStatus(int playStatus); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getSeekOffset()const; + void setSeekOffset(int seekOffset); + std::string getChannelId()const; + void setChannelId(const std::string& channelId); + + private: + std::string resourceId_; + int playStatus_; + std::string regionId_; + std::string casterId_; + long ownerId_; + int seekOffset_; + std::string channelId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterChannelResult.h b/live/include/alibabacloud/live/model/SetCasterChannelResult.h new file mode 100644 index 000000000..a2301fbdd --- /dev/null +++ b/live/include/alibabacloud/live/model/SetCasterChannelResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelResult : public ServiceResult + { + public: + + + SetCasterChannelResult(); + explicit SetCasterChannelResult(const std::string &payload); + ~SetCasterChannelResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h index f55700982..8662c093c 100644 --- a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setSideOutputUrl(const std::string& sideOutputUrl); std::string getCasterId()const; void setCasterId(const std::string& casterId); + int getChannelEnable()const; + void setChannelEnable(int channelEnable); std::string getDomainName()const; void setDomainName(const std::string& domainName); int getProgramEffect()const; @@ -55,6 +57,8 @@ namespace AlibabaCloud void setTranscodeConfig(const std::string& transcodeConfig); float getDelay()const; void setDelay(float delay); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getCasterName()const; void setCasterName(const std::string& casterName); std::string getCallbackUrl()const; @@ -63,6 +67,7 @@ namespace AlibabaCloud private: std::string sideOutputUrl_; std::string casterId_; + int channelEnable_; std::string domainName_; int programEffect_; std::string programName_; @@ -71,6 +76,7 @@ namespace AlibabaCloud std::string urgentMaterialId_; std::string transcodeConfig_; float delay_; + std::string regionId_; std::string casterName_; std::string callbackUrl_; diff --git a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h index 46c3cc5b5..ac3d345b9 100644 --- a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::vector getComponentId()const; void setComponentId(const std::vector& componentId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); std::string getSceneId()const; @@ -48,6 +50,7 @@ namespace AlibabaCloud private: std::vector componentId_; + std::string regionId_; std::string casterId_; std::string sceneId_; long ownerId_; diff --git a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h new file mode 100644 index 000000000..4a8fe2431 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h @@ -0,0 +1,129 @@ +/* + * 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_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + SetLiveLazyPullStreamInfoConfigRequest(); + ~SetLiveLazyPullStreamInfoConfigRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getPullAuthKey()const; + void setPullAuthKey(const std::string& pullAuthKey); + std::string getPullAuthType()const; + void setPullAuthType(const std::string& pullAuthType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getPullDomainName()const; + void setPullDomainName(const std::string& pullDomainName); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getPullAppName()const; + void setPullAppName(const std::string& pullAppName); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getPullProtocol()const; + void setPullProtocol(const std::string& pullProtocol); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string appName_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string pullAuthKey_; + std::string pullAuthType_; + std::string domainName_; + std::string pullDomainName_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string pullAppName_; + std::string requestId_; + std::string pullProtocol_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h new file mode 100644 index 000000000..22b854031 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigResult : public ServiceResult + { + public: + + + SetLiveLazyPullStreamInfoConfigResult(); + explicit SetLiveLazyPullStreamInfoConfigResult(const std::string &payload); + ~SetLiveLazyPullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateBoardRequest.h b/live/include/alibabacloud/live/model/UpdateBoardRequest.h new file mode 100644 index 000000000..60db72566 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateBoardRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateBoardRequest : public RpcServiceRequest + { + + public: + UpdateBoardRequest(); + ~UpdateBoardRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardData()const; + void setBoardData(const std::string& boardData); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string appId_; + std::string callerBidEmail_; + std::string boardData_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateBoardResult.h b/live/include/alibabacloud/live/model/UpdateBoardResult.h new file mode 100644 index 000000000..7ff6e432d --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateBoardResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateBoardResult : public ServiceResult + { + public: + + + UpdateBoardResult(); + explicit UpdateBoardResult(const std::string &payload); + ~UpdateBoardResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h new file mode 100644 index 000000000..11c9b5f04 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioRequest : public RpcServiceRequest + { + struct AudioLayer + { + int fixedDelayDuration; + float volumeRate; + std::string validChannel; + }; + + public: + UpdateCasterSceneAudioRequest(); + ~UpdateCasterSceneAudioRequest(); + + std::vector getAudioLayer()const; + void setAudioLayer(const std::vector& audioLayer); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getSceneId()const; + void setSceneId(const std::string& sceneId); + std::vector getMixList()const; + void setMixList(const std::vector& mixList); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getFollowEnable()const; + void setFollowEnable(int followEnable); + + private: + std::vector audioLayer_; + std::string regionId_; + std::string casterId_; + std::string sceneId_; + std::vector mixList_; + long ownerId_; + int followEnable_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h new file mode 100644 index 000000000..06caffa9f --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioResult : public ServiceResult + { + public: + + + UpdateCasterSceneAudioResult(); + explicit UpdateCasterSceneAudioResult(const std::string &payload); + ~UpdateCasterSceneAudioResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h index 475ba73d5..f62e3ce53 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::vector getComponentId()const; void setComponentId(const std::vector& componentId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); std::string getSceneId()const; @@ -48,6 +50,7 @@ namespace AlibabaCloud private: std::vector componentId_; + std::string regionId_; std::string casterId_; std::string sceneId_; long ownerId_; diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc index 1e422a9d3..b3a2b1e58 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -87,6 +87,42 @@ LiveClient::DescribeLiveRecordNotifyConfigOutcomeCallable LiveClient::describeLi return task->get_future(); } +LiveClient::DescribeRoomListOutcome LiveClient::describeRoomList(const DescribeRoomListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoomListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoomListOutcome(DescribeRoomListResult(outcome.result())); + else + return DescribeRoomListOutcome(outcome.error()); +} + +void LiveClient::describeRoomListAsync(const DescribeRoomListRequest& request, const DescribeRoomListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoomList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeRoomListOutcomeCallable LiveClient::describeRoomListCallable(const DescribeRoomListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoomList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveDetectNotifyConfigOutcome LiveClient::describeLiveDetectNotifyConfig(const DescribeLiveDetectNotifyConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -231,6 +267,42 @@ LiveClient::EffectCasterUrgentOutcomeCallable LiveClient::effectCasterUrgentCall return task->get_future(); } +LiveClient::CompleteBoardOutcome LiveClient::completeBoard(const CompleteBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CompleteBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CompleteBoardOutcome(CompleteBoardResult(outcome.result())); + else + return CompleteBoardOutcome(outcome.error()); +} + +void LiveClient::completeBoardAsync(const CompleteBoardRequest& request, const CompleteBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, completeBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CompleteBoardOutcomeCallable LiveClient::completeBoardCallable(const CompleteBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->completeBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeCasterComponentsOutcome LiveClient::describeCasterComponents(const DescribeCasterComponentsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,6 +375,42 @@ LiveClient::DescribeLiveMixConfigOutcomeCallable LiveClient::describeLiveMixConf 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& 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>( + [this, request]() + { + return this->describeRoomStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::CreateLiveStreamRecordIndexFilesOutcome LiveClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -807,6 +915,42 @@ LiveClient::AddTrancodeSEIOutcomeCallable LiveClient::addTrancodeSEICallable(con return task->get_future(); } +LiveClient::DeleteBoardOutcome LiveClient::deleteBoard(const DeleteBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteBoardOutcome(DeleteBoardResult(outcome.result())); + else + return DeleteBoardOutcome(outcome.error()); +} + +void LiveClient::deleteBoardAsync(const DeleteBoardRequest& request, const DeleteBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteBoardOutcomeCallable LiveClient::deleteBoardCallable(const DeleteBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveStreamBitRateDataOutcome LiveClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1167,6 +1311,42 @@ LiveClient::AddCustomLiveStreamTranscodeOutcomeCallable LiveClient::addCustomLiv return task->get_future(); } +LiveClient::SetLiveLazyPullStreamInfoConfigOutcome LiveClient::setLiveLazyPullStreamInfoConfig(const SetLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetLiveLazyPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetLiveLazyPullStreamInfoConfigOutcome(SetLiveLazyPullStreamInfoConfigResult(outcome.result())); + else + return SetLiveLazyPullStreamInfoConfigOutcome(outcome.error()); +} + +void LiveClient::setLiveLazyPullStreamInfoConfigAsync(const SetLiveLazyPullStreamInfoConfigRequest& request, const SetLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setLiveLazyPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetLiveLazyPullStreamInfoConfigOutcomeCallable LiveClient::setLiveLazyPullStreamInfoConfigCallable(const SetLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setLiveLazyPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::AddCasterEpisodeOutcome LiveClient::addCasterEpisode(const AddCasterEpisodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1203,6 +1383,78 @@ LiveClient::AddCasterEpisodeOutcomeCallable LiveClient::addCasterEpisodeCallable 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& 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>( + [this, request]() + { + return this->allowPushStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + 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& 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>( + [this, request]() + { + return this->forbidPushStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveRecordConfigOutcome LiveClient::describeLiveRecordConfig(const DescribeLiveRecordConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1347,6 +1599,42 @@ LiveClient::DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable LiveClient::desc return task->get_future(); } +LiveClient::CreateBoardOutcome LiveClient::createBoard(const CreateBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateBoardOutcome(CreateBoardResult(outcome.result())); + else + return CreateBoardOutcome(outcome.error()); +} + +void LiveClient::createBoardAsync(const CreateBoardRequest& request, const CreateBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateBoardOutcomeCallable LiveClient::createBoardCallable(const CreateBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteLiveStreamsNotifyUrlConfigOutcome LiveClient::deleteLiveStreamsNotifyUrlConfig(const DeleteLiveStreamsNotifyUrlConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1635,6 +1923,42 @@ LiveClient::DeleteLiveAppSnapshotConfigOutcomeCallable LiveClient::deleteLiveApp return task->get_future(); } +LiveClient::UpdateCasterSceneAudioOutcome LiveClient::updateCasterSceneAudio(const UpdateCasterSceneAudioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCasterSceneAudioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCasterSceneAudioOutcome(UpdateCasterSceneAudioResult(outcome.result())); + else + return UpdateCasterSceneAudioOutcome(outcome.error()); +} + +void LiveClient::updateCasterSceneAudioAsync(const UpdateCasterSceneAudioRequest& request, const UpdateCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCasterSceneAudio(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateCasterSceneAudioOutcomeCallable LiveClient::updateCasterSceneAudioCallable(const UpdateCasterSceneAudioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCasterSceneAudio(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveStreamsNotifyUrlConfigOutcome LiveClient::describeLiveStreamsNotifyUrlConfig(const DescribeLiveStreamsNotifyUrlConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1743,6 +2067,42 @@ LiveClient::ModifyCasterProgramOutcomeCallable LiveClient::modifyCasterProgramCa return task->get_future(); } +LiveClient::DescribeBoardEventsOutcome LiveClient::describeBoardEvents(const DescribeBoardEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBoardEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBoardEventsOutcome(DescribeBoardEventsResult(outcome.result())); + else + return DescribeBoardEventsOutcome(outcome.error()); +} + +void LiveClient::describeBoardEventsAsync(const DescribeBoardEventsRequest& request, const DescribeBoardEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBoardEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeBoardEventsOutcomeCallable LiveClient::describeBoardEventsCallable(const DescribeBoardEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBoardEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveCertificateDetailOutcome LiveClient::describeLiveCertificateDetail(const DescribeLiveCertificateDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1959,6 +2319,42 @@ LiveClient::StartLiveDomainOutcomeCallable LiveClient::startLiveDomainCallable(c return task->get_future(); } +LiveClient::DescribeCasterSceneAudioOutcome LiveClient::describeCasterSceneAudio(const DescribeCasterSceneAudioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterSceneAudioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterSceneAudioOutcome(DescribeCasterSceneAudioResult(outcome.result())); + else + return DescribeCasterSceneAudioOutcome(outcome.error()); +} + +void LiveClient::describeCasterSceneAudioAsync(const DescribeCasterSceneAudioRequest& request, const DescribeCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterSceneAudio(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterSceneAudioOutcomeCallable LiveClient::describeCasterSceneAudioCallable(const DescribeCasterSceneAudioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterSceneAudio(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveStreamsBlockListOutcome LiveClient::describeLiveStreamsBlockList(const DescribeLiveStreamsBlockListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2067,6 +2463,42 @@ LiveClient::AddCasterVideoResourceOutcomeCallable LiveClient::addCasterVideoReso 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& 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>( + [this, request]() + { + return this->describeRoomKickoutUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::AddCasterEpisodeGroupContentOutcome LiveClient::addCasterEpisodeGroupContent(const AddCasterEpisodeGroupContentRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2175,6 +2607,42 @@ LiveClient::ModifyCasterVideoResourceOutcomeCallable LiveClient::modifyCasterVid return task->get_future(); } +LiveClient::CreateRoomOutcome LiveClient::createRoom(const CreateRoomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateRoomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateRoomOutcome(CreateRoomResult(outcome.result())); + else + return CreateRoomOutcome(outcome.error()); +} + +void LiveClient::createRoomAsync(const CreateRoomRequest& request, const CreateRoomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createRoom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateRoomOutcomeCallable LiveClient::createRoomCallable(const CreateRoomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createRoom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeCasterStreamUrlOutcome LiveClient::describeCasterStreamUrl(const DescribeCasterStreamUrlRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2427,6 +2895,42 @@ LiveClient::ModifyCasterEpisodeOutcomeCallable LiveClient::modifyCasterEpisodeCa return task->get_future(); } +LiveClient::DescribeBoardsOutcome LiveClient::describeBoards(const DescribeBoardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBoardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBoardsOutcome(DescribeBoardsResult(outcome.result())); + else + return DescribeBoardsOutcome(outcome.error()); +} + +void LiveClient::describeBoardsAsync(const DescribeBoardsRequest& request, const DescribeBoardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBoards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeBoardsOutcomeCallable LiveClient::describeBoardsCallable(const DescribeBoardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBoards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveStreamSnapshotInfoOutcome LiveClient::describeLiveStreamSnapshotInfo(const DescribeLiveStreamSnapshotInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2607,6 +3111,42 @@ LiveClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable LiveClient 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& 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>( + [this, request]() + { + return this->describeForbidPushStreamRoomList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::CreateCasterOutcome LiveClient::createCaster(const CreateCasterRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2823,6 +3363,42 @@ LiveClient::UpdateLiveRecordNotifyConfigOutcomeCallable LiveClient::updateLiveRe return task->get_future(); } +LiveClient::SetCasterChannelOutcome LiveClient::setCasterChannel(const SetCasterChannelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetCasterChannelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetCasterChannelOutcome(SetCasterChannelResult(outcome.result())); + else + return SetCasterChannelOutcome(outcome.error()); +} + +void LiveClient::setCasterChannelAsync(const SetCasterChannelRequest& request, const SetCasterChannelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setCasterChannel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetCasterChannelOutcomeCallable LiveClient::setCasterChannelCallable(const SetCasterChannelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setCasterChannel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveSnapshotConfigOutcome LiveClient::describeLiveSnapshotConfig(const DescribeLiveSnapshotConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2931,6 +3507,42 @@ LiveClient::StopLiveDomainOutcomeCallable LiveClient::stopLiveDomainCallable(con return task->get_future(); } +LiveClient::ApplyBoardTokenOutcome LiveClient::applyBoardToken(const ApplyBoardTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyBoardTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyBoardTokenOutcome(ApplyBoardTokenResult(outcome.result())); + else + return ApplyBoardTokenOutcome(outcome.error()); +} + +void LiveClient::applyBoardTokenAsync(const ApplyBoardTokenRequest& request, const ApplyBoardTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyBoardToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ApplyBoardTokenOutcomeCallable LiveClient::applyBoardTokenCallable(const ApplyBoardTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyBoardToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveStreamHistoryUserNumOutcome LiveClient::describeLiveStreamHistoryUserNum(const DescribeLiveStreamHistoryUserNumRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3039,6 +3651,78 @@ LiveClient::AddLiveRecordVodConfigOutcomeCallable LiveClient::addLiveRecordVodCo 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& 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>( + [this, request]() + { + return this->sendRoomUserNotification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveDomainMappingOutcome LiveClient::deleteLiveDomainMapping(const DeleteLiveDomainMappingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveDomainMappingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveDomainMappingOutcome(DeleteLiveDomainMappingResult(outcome.result())); + else + return DeleteLiveDomainMappingOutcome(outcome.error()); +} + +void LiveClient::deleteLiveDomainMappingAsync(const DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveDomainMapping(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveDomainMappingOutcomeCallable LiveClient::deleteLiveDomainMappingCallable(const DeleteLiveDomainMappingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveDomainMapping(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::BatchSetLiveDomainConfigsOutcome LiveClient::batchSetLiveDomainConfigs(const BatchSetLiveDomainConfigsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3111,6 +3795,42 @@ LiveClient::DescribeLiveDomainDetailOutcomeCallable LiveClient::describeLiveDoma return task->get_future(); } +LiveClient::DescribeCasterChannelsOutcome LiveClient::describeCasterChannels(const DescribeCasterChannelsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterChannelsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterChannelsOutcome(DescribeCasterChannelsResult(outcome.result())); + else + return DescribeCasterChannelsOutcome(outcome.error()); +} + +void LiveClient::describeCasterChannelsAsync(const DescribeCasterChannelsRequest& request, const DescribeCasterChannelsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterChannels(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterChannelsOutcomeCallable LiveClient::describeCasterChannelsCallable(const DescribeCasterChannelsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterChannels(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveDomainConfigsOutcome LiveClient::describeLiveDomainConfigs(const DescribeLiveDomainConfigsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3183,6 +3903,42 @@ LiveClient::DescribeLiveStreamRecordIndexFilesOutcomeCallable LiveClient::descri 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& 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>( + [this, request]() + { + return this->deleteRoom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::AddCasterProgramOutcome LiveClient::addCasterProgram(const AddCasterProgramRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3219,6 +3975,42 @@ LiveClient::AddCasterProgramOutcomeCallable LiveClient::addCasterProgramCallable return task->get_future(); } +LiveClient::DescribeBoardSnapshotOutcome LiveClient::describeBoardSnapshot(const DescribeBoardSnapshotRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBoardSnapshotOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBoardSnapshotOutcome(DescribeBoardSnapshotResult(outcome.result())); + else + return DescribeBoardSnapshotOutcome(outcome.error()); +} + +void LiveClient::describeBoardSnapshotAsync(const DescribeBoardSnapshotRequest& request, const DescribeBoardSnapshotAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBoardSnapshot(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeBoardSnapshotOutcomeCallable LiveClient::describeBoardSnapshotCallable(const DescribeBoardSnapshotRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBoardSnapshot(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteLiveMixConfigOutcome LiveClient::deleteLiveMixConfig(const DeleteLiveMixConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3759,6 +4551,42 @@ LiveClient::SetCasterConfigOutcomeCallable LiveClient::setCasterConfigCallable(c return task->get_future(); } +LiveClient::AddLiveDomainMappingOutcome LiveClient::addLiveDomainMapping(const AddLiveDomainMappingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveDomainMappingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveDomainMappingOutcome(AddLiveDomainMappingResult(outcome.result())); + else + return AddLiveDomainMappingOutcome(outcome.error()); +} + +void LiveClient::addLiveDomainMappingAsync(const AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveDomainMapping(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveDomainMappingOutcomeCallable LiveClient::addLiveDomainMappingCallable(const AddLiveDomainMappingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveDomainMapping(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::RealTimeRecordCommandOutcome LiveClient::realTimeRecordCommand(const RealTimeRecordCommandRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3903,6 +4731,78 @@ LiveClient::AddCasterLayoutOutcomeCallable LiveClient::addCasterLayoutCallable(c return task->get_future(); } +LiveClient::UpdateBoardOutcome LiveClient::updateBoard(const UpdateBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateBoardOutcome(UpdateBoardResult(outcome.result())); + else + return UpdateBoardOutcome(outcome.error()); +} + +void LiveClient::updateBoardAsync(const UpdateBoardRequest& request, const UpdateBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateBoardOutcomeCallable LiveClient::updateBoardCallable(const UpdateBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::JoinBoardOutcome LiveClient::joinBoard(const JoinBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return JoinBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return JoinBoardOutcome(JoinBoardResult(outcome.result())); + else + return JoinBoardOutcome(outcome.error()); +} + +void LiveClient::joinBoardAsync(const JoinBoardRequest& request, const JoinBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, joinBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::JoinBoardOutcomeCallable LiveClient::joinBoardCallable(const JoinBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->joinBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveUserDomainsOutcome LiveClient::describeLiveUserDomains(const DescribeLiveUserDomainsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4155,6 +5055,42 @@ LiveClient::AddLiveDomainOutcomeCallable LiveClient::addLiveDomainCallable(const return task->get_future(); } +LiveClient::DescribeDomainUsageDataOutcome LiveClient::describeDomainUsageData(const DescribeDomainUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainUsageDataOutcome(DescribeDomainUsageDataResult(outcome.result())); + else + return DescribeDomainUsageDataOutcome(outcome.error()); +} + +void LiveClient::describeDomainUsageDataAsync(const DescribeDomainUsageDataRequest& request, const DescribeDomainUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeDomainUsageDataOutcomeCallable LiveClient::describeDomainUsageDataCallable(const DescribeDomainUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteLiveAppRecordConfigOutcome LiveClient::deleteLiveAppRecordConfig(const DeleteLiveAppRecordConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4371,6 +5307,42 @@ LiveClient::AddLiveDetectNotifyConfigOutcomeCallable LiveClient::addLiveDetectNo return task->get_future(); } +LiveClient::DescribeLiveLazyPullStreamConfigOutcome LiveClient::describeLiveLazyPullStreamConfig(const DescribeLiveLazyPullStreamConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveLazyPullStreamConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveLazyPullStreamConfigOutcome(DescribeLiveLazyPullStreamConfigResult(outcome.result())); + else + return DescribeLiveLazyPullStreamConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveLazyPullStreamConfigAsync(const DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveLazyPullStreamConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveLazyPullStreamConfigOutcomeCallable LiveClient::describeLiveLazyPullStreamConfigCallable(const DescribeLiveLazyPullStreamConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveLazyPullStreamConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeCasterScenesOutcome LiveClient::describeCasterScenes(const DescribeCasterScenesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4407,3 +5379,75 @@ LiveClient::DescribeCasterScenesOutcomeCallable LiveClient::describeCasterScenes 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& 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>( + [this, request]() + { + return this->sendRoomNotification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveLazyPullStreamInfoConfigOutcome LiveClient::deleteLiveLazyPullStreamInfoConfig(const DeleteLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveLazyPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveLazyPullStreamInfoConfigOutcome(DeleteLiveLazyPullStreamInfoConfigResult(outcome.result())); + else + return DeleteLiveLazyPullStreamInfoConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveLazyPullStreamInfoConfigAsync(const DeleteLiveLazyPullStreamInfoConfigRequest& request, const DeleteLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveLazyPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveLazyPullStreamInfoConfigOutcomeCallable LiveClient::deleteLiveLazyPullStreamInfoConfigCallable(const DeleteLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveLazyPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/live/src/model/AddCasterVideoResourceRequest.cc b/live/src/model/AddCasterVideoResourceRequest.cc index 7f7db4337..4fec82e52 100644 --- a/live/src/model/AddCasterVideoResourceRequest.cc +++ b/live/src/model/AddCasterVideoResourceRequest.cc @@ -25,17 +25,6 @@ AddCasterVideoResourceRequest::AddCasterVideoResourceRequest() : AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest() {} -int AddCasterVideoResourceRequest::getBeginOffset()const -{ - return beginOffset_; -} - -void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) -{ - beginOffset_ = beginOffset; - setParameter("BeginOffset", std::to_string(beginOffset)); -} - std::string AddCasterVideoResourceRequest::getVodUrl()const { return vodUrl_; @@ -47,28 +36,6 @@ void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) setParameter("VodUrl", vodUrl); } -std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const -{ - return liveStreamUrl_; -} - -void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) -{ - liveStreamUrl_ = liveStreamUrl; - setParameter("LiveStreamUrl", liveStreamUrl); -} - -std::string AddCasterVideoResourceRequest::getLocationId()const -{ - return locationId_; -} - -void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId) -{ - locationId_ = locationId; - setParameter("LocationId", locationId); -} - std::string AddCasterVideoResourceRequest::getCasterId()const { return casterId_; @@ -91,28 +58,6 @@ void AddCasterVideoResourceRequest::setEndOffset(int endOffset) setParameter("EndOffset", std::to_string(endOffset)); } -std::string AddCasterVideoResourceRequest::getResourceName()const -{ - return resourceName_; -} - -void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName) -{ - resourceName_ = resourceName; - setParameter("ResourceName", resourceName); -} - -int AddCasterVideoResourceRequest::getRepeatNum()const -{ - return repeatNum_; -} - -void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) -{ - repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); -} - long AddCasterVideoResourceRequest::getOwnerId()const { return ownerId_; @@ -135,3 +80,80 @@ void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId) setParameter("MaterialId", materialId); } +int AddCasterVideoResourceRequest::getBeginOffset()const +{ + return beginOffset_; +} + +void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) +{ + beginOffset_ = beginOffset; + setParameter("BeginOffset", std::to_string(beginOffset)); +} + +std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const +{ + return liveStreamUrl_; +} + +void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) +{ + liveStreamUrl_ = liveStreamUrl; + setParameter("LiveStreamUrl", liveStreamUrl); +} + +std::string AddCasterVideoResourceRequest::getRegionId()const +{ + return regionId_; +} + +void AddCasterVideoResourceRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string AddCasterVideoResourceRequest::getLocationId()const +{ + return locationId_; +} + +void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId) +{ + locationId_ = locationId; + setParameter("LocationId", locationId); +} + +int AddCasterVideoResourceRequest::getPtsCallbackInterval()const +{ + return ptsCallbackInterval_; +} + +void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) +{ + ptsCallbackInterval_ = ptsCallbackInterval; + setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); +} + +std::string AddCasterVideoResourceRequest::getResourceName()const +{ + return resourceName_; +} + +void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName) +{ + resourceName_ = resourceName; + setParameter("ResourceName", resourceName); +} + +int AddCasterVideoResourceRequest::getRepeatNum()const +{ + return repeatNum_; +} + +void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) +{ + repeatNum_ = repeatNum; + setParameter("RepeatNum", std::to_string(repeatNum)); +} + diff --git a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc index b2bb3f60f..60239036d 100644 --- a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc @@ -91,6 +91,17 @@ void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } +std::string AddCustomLiveStreamTranscodeRequest::getRegionId()const +{ + return regionId_; +} + +void AddCustomLiveStreamTranscodeRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const { return templateType_; diff --git a/live/src/model/AddLiveDomainMappingRequest.cc b/live/src/model/AddLiveDomainMappingRequest.cc new file mode 100644 index 000000000..89d23e9bf --- /dev/null +++ b/live/src/model/AddLiveDomainMappingRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest; + +AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping") +{} + +AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest() +{} + +std::string AddLiveDomainMappingRequest::getPullDomain()const +{ + return pullDomain_; +} + +void AddLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) +{ + pullDomain_ = pullDomain; + setParameter("PullDomain", pullDomain); +} + +std::string AddLiveDomainMappingRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveDomainMappingRequest::getPushDomain()const +{ + return pushDomain_; +} + +void AddLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) +{ + pushDomain_ = pushDomain; + setParameter("PushDomain", pushDomain); +} + +long AddLiveDomainMappingRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveDomainMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveDomainMappingRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveDomainMappingRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLiveDomainMappingResult.cc b/live/src/model/AddLiveDomainMappingResult.cc new file mode 100644 index 000000000..1f9a0a40b --- /dev/null +++ b/live/src/model/AddLiveDomainMappingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AddLiveDomainMappingResult::AddLiveDomainMappingResult() : + ServiceResult() +{} + +AddLiveDomainMappingResult::AddLiveDomainMappingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveDomainMappingResult::~AddLiveDomainMappingResult() +{} + +void AddLiveDomainMappingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/AddLiveDomainRequest.cc b/live/src/model/AddLiveDomainRequest.cc index 589972222..5369f645a 100644 --- a/live/src/model/AddLiveDomainRequest.cc +++ b/live/src/model/AddLiveDomainRequest.cc @@ -25,6 +25,17 @@ AddLiveDomainRequest::AddLiveDomainRequest() : AddLiveDomainRequest::~AddLiveDomainRequest() {} +std::string AddLiveDomainRequest::getTopLevelDomain()const +{ + return topLevelDomain_; +} + +void AddLiveDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) +{ + topLevelDomain_ = topLevelDomain; + setParameter("TopLevelDomain", topLevelDomain); +} + std::string AddLiveDomainRequest::getSecurityToken()const { return securityToken_; diff --git a/live/src/model/AddTrancodeSEIRequest.cc b/live/src/model/AddTrancodeSEIRequest.cc index 7d42a0988..122352515 100644 --- a/live/src/model/AddTrancodeSEIRequest.cc +++ b/live/src/model/AddTrancodeSEIRequest.cc @@ -47,6 +47,17 @@ void AddTrancodeSEIRequest::setAppName(const std::string& appName) setParameter("AppName", appName); } +std::string AddTrancodeSEIRequest::getRegionId()const +{ + return regionId_; +} + +void AddTrancodeSEIRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + int AddTrancodeSEIRequest::getRepeat()const { return repeat_; diff --git a/live/src/model/AllowPushStreamRequest.cc b/live/src/model/AllowPushStreamRequest.cc new file mode 100644 index 000000000..867d8a253 --- /dev/null +++ b/live/src/model/AllowPushStreamRequest.cc @@ -0,0 +1,291 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::AllowPushStreamRequest; + +AllowPushStreamRequest::AllowPushStreamRequest() : + RpcServiceRequest("live", "2016-11-01", "AllowPushStream") +{} + +AllowPushStreamRequest::~AllowPushStreamRequest() +{} + +long AllowPushStreamRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void AllowPushStreamRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool AllowPushStreamRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void AllowPushStreamRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string AllowPushStreamRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void AllowPushStreamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string AllowPushStreamRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void AllowPushStreamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string AllowPushStreamRequest::getCallerType()const +{ + return callerType_; +} + +void AllowPushStreamRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string AllowPushStreamRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AllowPushStreamRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string AllowPushStreamRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AllowPushStreamRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AllowPushStreamRequest::getRegionId()const +{ + return regionId_; +} + +void AllowPushStreamRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string AllowPushStreamRequest::getRequestContent()const +{ + return requestContent_; +} + +void AllowPushStreamRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string AllowPushStreamRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void AllowPushStreamRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string AllowPushStreamRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void AllowPushStreamRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long AllowPushStreamRequest::getCallerUid()const +{ + return callerUid_; +} + +void AllowPushStreamRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string AllowPushStreamRequest::getApp_ip()const +{ + return app_ip_; +} + +void AllowPushStreamRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string AllowPushStreamRequest::getPopProduct()const +{ + return popProduct_; +} + +void AllowPushStreamRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string AllowPushStreamRequest::getProduct()const +{ + return product_; +} + +void AllowPushStreamRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string AllowPushStreamRequest::getCallerBid()const +{ + return callerBid_; +} + +void AllowPushStreamRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long AllowPushStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void AllowPushStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AllowPushStreamRequest::getVersion()const +{ + return version_; +} + +void AllowPushStreamRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool AllowPushStreamRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void AllowPushStreamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool AllowPushStreamRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void AllowPushStreamRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string AllowPushStreamRequest::getRoomId()const +{ + return roomId_; +} + +void AllowPushStreamRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool AllowPushStreamRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void AllowPushStreamRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string AllowPushStreamRequest::getRequestId()const +{ + return requestId_; +} + +void AllowPushStreamRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string AllowPushStreamRequest::getAppId()const +{ + return appId_; +} + +void AllowPushStreamRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/AllowPushStreamResult.cc b/live/src/model/AllowPushStreamResult.cc new file mode 100644 index 000000000..bef09b517 --- /dev/null +++ b/live/src/model/AllowPushStreamResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +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()); + +} + diff --git a/live/src/model/ApplyBoardTokenRequest.cc b/live/src/model/ApplyBoardTokenRequest.cc new file mode 100644 index 000000000..c1604f8da --- /dev/null +++ b/live/src/model/ApplyBoardTokenRequest.cc @@ -0,0 +1,291 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::ApplyBoardTokenRequest; + +ApplyBoardTokenRequest::ApplyBoardTokenRequest() : + RpcServiceRequest("live", "2016-11-01", "ApplyBoardToken") +{} + +ApplyBoardTokenRequest::~ApplyBoardTokenRequest() +{} + +long ApplyBoardTokenRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void ApplyBoardTokenRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool ApplyBoardTokenRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void ApplyBoardTokenRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string ApplyBoardTokenRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void ApplyBoardTokenRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string ApplyBoardTokenRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void ApplyBoardTokenRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string ApplyBoardTokenRequest::getCallerType()const +{ + return callerType_; +} + +void ApplyBoardTokenRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string ApplyBoardTokenRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ApplyBoardTokenRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ApplyBoardTokenRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ApplyBoardTokenRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string ApplyBoardTokenRequest::getRegionId()const +{ + return regionId_; +} + +void ApplyBoardTokenRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ApplyBoardTokenRequest::getRequestContent()const +{ + return requestContent_; +} + +void ApplyBoardTokenRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string ApplyBoardTokenRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void ApplyBoardTokenRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string ApplyBoardTokenRequest::getBoardId()const +{ + return boardId_; +} + +void ApplyBoardTokenRequest::setBoardId(const std::string& boardId) +{ + boardId_ = boardId; + setParameter("BoardId", boardId); +} + +std::string ApplyBoardTokenRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void ApplyBoardTokenRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long ApplyBoardTokenRequest::getCallerUid()const +{ + return callerUid_; +} + +void ApplyBoardTokenRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string ApplyBoardTokenRequest::getApp_ip()const +{ + return app_ip_; +} + +void ApplyBoardTokenRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string ApplyBoardTokenRequest::getPopProduct()const +{ + return popProduct_; +} + +void ApplyBoardTokenRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string ApplyBoardTokenRequest::getAppUid()const +{ + return appUid_; +} + +void ApplyBoardTokenRequest::setAppUid(const std::string& appUid) +{ + appUid_ = appUid; + setParameter("AppUid", appUid); +} + +std::string ApplyBoardTokenRequest::getCallerBid()const +{ + return callerBid_; +} + +void ApplyBoardTokenRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long ApplyBoardTokenRequest::getOwnerId()const +{ + return ownerId_; +} + +void ApplyBoardTokenRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ApplyBoardTokenRequest::getVersion()const +{ + return version_; +} + +void ApplyBoardTokenRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool ApplyBoardTokenRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void ApplyBoardTokenRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool ApplyBoardTokenRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void ApplyBoardTokenRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool ApplyBoardTokenRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void ApplyBoardTokenRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string ApplyBoardTokenRequest::getRequestId()const +{ + return requestId_; +} + +void ApplyBoardTokenRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string ApplyBoardTokenRequest::getAppId()const +{ + return appId_; +} + +void ApplyBoardTokenRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/ApplyBoardTokenResult.cc b/live/src/model/ApplyBoardTokenResult.cc new file mode 100644 index 000000000..6fc878595 --- /dev/null +++ b/live/src/model/ApplyBoardTokenResult.cc @@ -0,0 +1,59 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ApplyBoardTokenResult::ApplyBoardTokenResult() : + ServiceResult() +{} + +ApplyBoardTokenResult::ApplyBoardTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyBoardTokenResult::~ApplyBoardTokenResult() +{} + +void ApplyBoardTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Token"].isNull()) + token_ = value["Token"].asString(); + if(!value["Expired"].isNull()) + expired_ = value["Expired"].asString(); + +} + +std::string ApplyBoardTokenResult::getToken()const +{ + return token_; +} + +std::string ApplyBoardTokenResult::getExpired()const +{ + return expired_; +} + diff --git a/live/src/model/CompleteBoardRequest.cc b/live/src/model/CompleteBoardRequest.cc new file mode 100644 index 000000000..ae352e4dd --- /dev/null +++ b/live/src/model/CompleteBoardRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CompleteBoardRequest; + +CompleteBoardRequest::CompleteBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "CompleteBoard") +{} + +CompleteBoardRequest::~CompleteBoardRequest() +{} + +std::string CompleteBoardRequest::getApp_ip()const +{ + return app_ip_; +} + +void CompleteBoardRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string CompleteBoardRequest::getPopProduct()const +{ + return popProduct_; +} + +void CompleteBoardRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long CompleteBoardRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void CompleteBoardRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool CompleteBoardRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void CompleteBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string CompleteBoardRequest::getCallerBid()const +{ + return callerBid_; +} + +void CompleteBoardRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long CompleteBoardRequest::getOwnerId()const +{ + return ownerId_; +} + +void CompleteBoardRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CompleteBoardRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void CompleteBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string CompleteBoardRequest::getVersion()const +{ + return version_; +} + +void CompleteBoardRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string CompleteBoardRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void CompleteBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string CompleteBoardRequest::getCallerType()const +{ + return callerType_; +} + +void CompleteBoardRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool CompleteBoardRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void CompleteBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool CompleteBoardRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void CompleteBoardRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string CompleteBoardRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CompleteBoardRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool CompleteBoardRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void CompleteBoardRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string CompleteBoardRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CompleteBoardRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string CompleteBoardRequest::getRegionId()const +{ + return regionId_; +} + +void CompleteBoardRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string CompleteBoardRequest::getRequestId()const +{ + return requestId_; +} + +void CompleteBoardRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string CompleteBoardRequest::getRequestContent()const +{ + return requestContent_; +} + +void CompleteBoardRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string CompleteBoardRequest::getAppId()const +{ + return appId_; +} + +void CompleteBoardRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + +std::string CompleteBoardRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void CompleteBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string CompleteBoardRequest::getBoardId()const +{ + return boardId_; +} + +void CompleteBoardRequest::setBoardId(const std::string& boardId) +{ + boardId_ = boardId; + setParameter("BoardId", boardId); +} + +std::string CompleteBoardRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void CompleteBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long CompleteBoardRequest::getCallerUid()const +{ + return callerUid_; +} + +void CompleteBoardRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/CompleteBoardResult.cc b/live/src/model/CompleteBoardResult.cc new file mode 100644 index 000000000..25a388c98 --- /dev/null +++ b/live/src/model/CompleteBoardResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CompleteBoardResult::CompleteBoardResult() : + ServiceResult() +{} + +CompleteBoardResult::CompleteBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CompleteBoardResult::~CompleteBoardResult() +{} + +void CompleteBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/CreateBoardRequest.cc b/live/src/model/CreateBoardRequest.cc new file mode 100644 index 000000000..a8b938a52 --- /dev/null +++ b/live/src/model/CreateBoardRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CreateBoardRequest; + +CreateBoardRequest::CreateBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "CreateBoard") +{} + +CreateBoardRequest::~CreateBoardRequest() +{} + +std::string CreateBoardRequest::getApp_ip()const +{ + return app_ip_; +} + +void CreateBoardRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string CreateBoardRequest::getPopProduct()const +{ + return popProduct_; +} + +void CreateBoardRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long CreateBoardRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void CreateBoardRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool CreateBoardRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void CreateBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string CreateBoardRequest::getAppUid()const +{ + return appUid_; +} + +void CreateBoardRequest::setAppUid(const std::string& appUid) +{ + appUid_ = appUid; + setParameter("AppUid", appUid); +} + +std::string CreateBoardRequest::getCallerBid()const +{ + return callerBid_; +} + +void CreateBoardRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long CreateBoardRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateBoardRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateBoardRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void CreateBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string CreateBoardRequest::getVersion()const +{ + return version_; +} + +void CreateBoardRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string CreateBoardRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void CreateBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string CreateBoardRequest::getCallerType()const +{ + return callerType_; +} + +void CreateBoardRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool CreateBoardRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void CreateBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool CreateBoardRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void CreateBoardRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string CreateBoardRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateBoardRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool CreateBoardRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void CreateBoardRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string CreateBoardRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateBoardRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string CreateBoardRequest::getRegionId()const +{ + return regionId_; +} + +void CreateBoardRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string CreateBoardRequest::getRequestId()const +{ + return requestId_; +} + +void CreateBoardRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string CreateBoardRequest::getRequestContent()const +{ + return requestContent_; +} + +void CreateBoardRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string CreateBoardRequest::getAppId()const +{ + return appId_; +} + +void CreateBoardRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + +std::string CreateBoardRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void CreateBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string CreateBoardRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void CreateBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long CreateBoardRequest::getCallerUid()const +{ + return callerUid_; +} + +void CreateBoardRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/CreateBoardResult.cc b/live/src/model/CreateBoardResult.cc new file mode 100644 index 000000000..d3eab3455 --- /dev/null +++ b/live/src/model/CreateBoardResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CreateBoardResult::CreateBoardResult() : + ServiceResult() +{} + +CreateBoardResult::CreateBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateBoardResult::~CreateBoardResult() +{} + +void CreateBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["BoardId"].isNull()) + boardId_ = value["BoardId"].asString(); + +} + +std::string CreateBoardResult::getBoardId()const +{ + return boardId_; +} + diff --git a/live/src/model/CreateRoomRequest.cc b/live/src/model/CreateRoomRequest.cc new file mode 100644 index 000000000..135481b60 --- /dev/null +++ b/live/src/model/CreateRoomRequest.cc @@ -0,0 +1,302 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::CreateRoomRequest; + +CreateRoomRequest::CreateRoomRequest() : + RpcServiceRequest("live", "2016-11-01", "CreateRoom") +{} + +CreateRoomRequest::~CreateRoomRequest() +{} + +long CreateRoomRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void CreateRoomRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool CreateRoomRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void CreateRoomRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string CreateRoomRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void CreateRoomRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string CreateRoomRequest::getAnchorId()const +{ + return anchorId_; +} + +void CreateRoomRequest::setAnchorId(const std::string& anchorId) +{ + anchorId_ = anchorId; + setParameter("AnchorId", anchorId); +} + +std::string CreateRoomRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void CreateRoomRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string CreateRoomRequest::getCallerType()const +{ + return callerType_; +} + +void CreateRoomRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string CreateRoomRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateRoomRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string CreateRoomRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateRoomRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string CreateRoomRequest::getRegionId()const +{ + return regionId_; +} + +void CreateRoomRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string CreateRoomRequest::getRequestContent()const +{ + return requestContent_; +} + +void CreateRoomRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string CreateRoomRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void CreateRoomRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string CreateRoomRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void CreateRoomRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long CreateRoomRequest::getCallerUid()const +{ + return callerUid_; +} + +void CreateRoomRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string CreateRoomRequest::getApp_ip()const +{ + return app_ip_; +} + +void CreateRoomRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string CreateRoomRequest::getPopProduct()const +{ + return popProduct_; +} + +void CreateRoomRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string CreateRoomRequest::getProduct()const +{ + return product_; +} + +void CreateRoomRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string CreateRoomRequest::getCallerBid()const +{ + return callerBid_; +} + +void CreateRoomRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long CreateRoomRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateRoomRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateRoomRequest::getVersion()const +{ + return version_; +} + +void CreateRoomRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool CreateRoomRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void CreateRoomRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool CreateRoomRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void CreateRoomRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string CreateRoomRequest::getRoomId()const +{ + return roomId_; +} + +void CreateRoomRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool CreateRoomRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void CreateRoomRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string CreateRoomRequest::getRequestId()const +{ + return requestId_; +} + +void CreateRoomRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string CreateRoomRequest::getAppId()const +{ + return appId_; +} + +void CreateRoomRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/CreateRoomResult.cc b/live/src/model/CreateRoomResult.cc new file mode 100644 index 000000000..d6e2b5020 --- /dev/null +++ b/live/src/model/CreateRoomResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CreateRoomResult::CreateRoomResult() : + ServiceResult() +{} + +CreateRoomResult::CreateRoomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateRoomResult::~CreateRoomResult() +{} + +void CreateRoomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AppId"].isNull()) + appId_ = value["AppId"].asString(); + if(!value["RoomId"].isNull()) + roomId_ = value["RoomId"].asString(); + if(!value["AnchorId"].isNull()) + anchorId_ = value["AnchorId"].asString(); + +} + +std::string CreateRoomResult::getAppId()const +{ + return appId_; +} + +std::string CreateRoomResult::getAnchorId()const +{ + return anchorId_; +} + +std::string CreateRoomResult::getRoomId()const +{ + return roomId_; +} + diff --git a/live/src/model/DeleteBoardRequest.cc b/live/src/model/DeleteBoardRequest.cc new file mode 100644 index 000000000..23ed68d3a --- /dev/null +++ b/live/src/model/DeleteBoardRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteBoardRequest; + +DeleteBoardRequest::DeleteBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteBoard") +{} + +DeleteBoardRequest::~DeleteBoardRequest() +{} + +std::string DeleteBoardRequest::getApp_ip()const +{ + return app_ip_; +} + +void DeleteBoardRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DeleteBoardRequest::getPopProduct()const +{ + return popProduct_; +} + +void DeleteBoardRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long DeleteBoardRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DeleteBoardRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DeleteBoardRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DeleteBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DeleteBoardRequest::getCallerBid()const +{ + return callerBid_; +} + +void DeleteBoardRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DeleteBoardRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteBoardRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteBoardRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DeleteBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DeleteBoardRequest::getVersion()const +{ + return version_; +} + +void DeleteBoardRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string DeleteBoardRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DeleteBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DeleteBoardRequest::getCallerType()const +{ + return callerType_; +} + +void DeleteBoardRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool DeleteBoardRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DeleteBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DeleteBoardRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DeleteBoardRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string DeleteBoardRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteBoardRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool DeleteBoardRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DeleteBoardRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DeleteBoardRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteBoardRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteBoardRequest::getRegionId()const +{ + return regionId_; +} + +void DeleteBoardRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DeleteBoardRequest::getRequestId()const +{ + return requestId_; +} + +void DeleteBoardRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DeleteBoardRequest::getRequestContent()const +{ + return requestContent_; +} + +void DeleteBoardRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DeleteBoardRequest::getAppId()const +{ + return appId_; +} + +void DeleteBoardRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + +std::string DeleteBoardRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DeleteBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DeleteBoardRequest::getBoardId()const +{ + return boardId_; +} + +void DeleteBoardRequest::setBoardId(const std::string& boardId) +{ + boardId_ = boardId; + setParameter("BoardId", boardId); +} + +std::string DeleteBoardRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DeleteBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DeleteBoardRequest::getCallerUid()const +{ + return callerUid_; +} + +void DeleteBoardRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/DeleteBoardResult.cc b/live/src/model/DeleteBoardResult.cc new file mode 100644 index 000000000..dffc02f22 --- /dev/null +++ b/live/src/model/DeleteBoardResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteBoardResult::DeleteBoardResult() : + ServiceResult() +{} + +DeleteBoardResult::DeleteBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteBoardResult::~DeleteBoardResult() +{} + +void DeleteBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLiveDomainMappingRequest.cc b/live/src/model/DeleteLiveDomainMappingRequest.cc new file mode 100644 index 000000000..6a0348570 --- /dev/null +++ b/live/src/model/DeleteLiveDomainMappingRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest; + +DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping") +{} + +DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() +{} + +std::string DeleteLiveDomainMappingRequest::getPullDomain()const +{ + return pullDomain_; +} + +void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) +{ + pullDomain_ = pullDomain; + setParameter("PullDomain", pullDomain); +} + +std::string DeleteLiveDomainMappingRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveDomainMappingRequest::getPushDomain()const +{ + return pushDomain_; +} + +void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) +{ + pushDomain_ = pushDomain; + setParameter("PushDomain", pushDomain); +} + +long DeleteLiveDomainMappingRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveDomainMappingRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveDomainMappingRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveDomainMappingResult.cc b/live/src/model/DeleteLiveDomainMappingResult.cc new file mode 100644 index 000000000..a13b1ce6f --- /dev/null +++ b/live/src/model/DeleteLiveDomainMappingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult() : + ServiceResult() +{} + +DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveDomainMappingResult::~DeleteLiveDomainMappingResult() +{} + +void DeleteLiveDomainMappingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..ea1dcb276 --- /dev/null +++ b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveLazyPullStreamInfoConfigRequest; + +DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig") +{} + +DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest() +{} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long DeleteLiveLazyPullStreamInfoConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +bool DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getVersion()const +{ + return version_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerType()const +{ + return callerType_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DeleteLiveLazyPullStreamInfoConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool DeleteLiveLazyPullStreamInfoConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRequestId()const +{ + return requestId_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DeleteLiveLazyPullStreamInfoConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc b/live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc new file mode 100644 index 000000000..6bd7027b0 --- /dev/null +++ b/live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteLiveLazyPullStreamInfoConfigResult::DeleteLiveLazyPullStreamInfoConfigResult() : + ServiceResult() +{} + +DeleteLiveLazyPullStreamInfoConfigResult::DeleteLiveLazyPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveLazyPullStreamInfoConfigResult::~DeleteLiveLazyPullStreamInfoConfigResult() +{} + +void DeleteLiveLazyPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc index b2e855a73..8ba560e48 100644 --- a/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc @@ -25,15 +25,15 @@ DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest() {} -std::string DeleteLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const +std::string DeleteLiveStreamsNotifyUrlConfigRequest::getRegionId()const { - return securityToken_; + return regionId_; } -void DeleteLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken) +void DeleteLiveStreamsNotifyUrlConfigRequest::setRegionId(const std::string& regionId) { - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + regionId_ = regionId; + setParameter("RegionId", regionId); } std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName()const @@ -58,14 +58,3 @@ void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string DeleteLiveStreamsNotifyUrlConfigRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteLiveStreamsNotifyUrlConfigRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - diff --git a/live/src/model/DeleteRoomRequest.cc b/live/src/model/DeleteRoomRequest.cc new file mode 100644 index 000000000..b161c8b01 --- /dev/null +++ b/live/src/model/DeleteRoomRequest.cc @@ -0,0 +1,291 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DeleteRoomRequest; + +DeleteRoomRequest::DeleteRoomRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteRoom") +{} + +DeleteRoomRequest::~DeleteRoomRequest() +{} + +long DeleteRoomRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DeleteRoomRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DeleteRoomRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DeleteRoomRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DeleteRoomRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DeleteRoomRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DeleteRoomRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DeleteRoomRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DeleteRoomRequest::getCallerType()const +{ + return callerType_; +} + +void DeleteRoomRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DeleteRoomRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteRoomRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DeleteRoomRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteRoomRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteRoomRequest::getRegionId()const +{ + return regionId_; +} + +void DeleteRoomRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DeleteRoomRequest::getRequestContent()const +{ + return requestContent_; +} + +void DeleteRoomRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DeleteRoomRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DeleteRoomRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DeleteRoomRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DeleteRoomRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DeleteRoomRequest::getCallerUid()const +{ + return callerUid_; +} + +void DeleteRoomRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DeleteRoomRequest::getApp_ip()const +{ + return app_ip_; +} + +void DeleteRoomRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DeleteRoomRequest::getPopProduct()const +{ + return popProduct_; +} + +void DeleteRoomRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DeleteRoomRequest::getProduct()const +{ + return product_; +} + +void DeleteRoomRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string DeleteRoomRequest::getCallerBid()const +{ + return callerBid_; +} + +void DeleteRoomRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DeleteRoomRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteRoomRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteRoomRequest::getVersion()const +{ + return version_; +} + +void DeleteRoomRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DeleteRoomRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DeleteRoomRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DeleteRoomRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DeleteRoomRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string DeleteRoomRequest::getRoomId()const +{ + return roomId_; +} + +void DeleteRoomRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool DeleteRoomRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DeleteRoomRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DeleteRoomRequest::getRequestId()const +{ + return requestId_; +} + +void DeleteRoomRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DeleteRoomRequest::getAppId()const +{ + return appId_; +} + +void DeleteRoomRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/DeleteRoomResult.cc b/live/src/model/DeleteRoomResult.cc new file mode 100644 index 000000000..ab9357fae --- /dev/null +++ b/live/src/model/DeleteRoomResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +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()); + +} + diff --git a/live/src/model/DescribeBoardEventsRequest.cc b/live/src/model/DescribeBoardEventsRequest.cc new file mode 100644 index 000000000..194681bee --- /dev/null +++ b/live/src/model/DescribeBoardEventsRequest.cc @@ -0,0 +1,302 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DescribeBoardEventsRequest; + +DescribeBoardEventsRequest::DescribeBoardEventsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeBoardEvents") +{} + +DescribeBoardEventsRequest::~DescribeBoardEventsRequest() +{} + +long DescribeBoardEventsRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeBoardEventsRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeBoardEventsRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeBoardEventsRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeBoardEventsRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeBoardEventsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeBoardEventsRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeBoardEventsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeBoardEventsRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeBoardEventsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeBoardEventsRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeBoardEventsRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DescribeBoardEventsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeBoardEventsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeBoardEventsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeBoardEventsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeBoardEventsRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeBoardEventsRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeBoardEventsRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeBoardEventsRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DescribeBoardEventsRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeBoardEventsRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeBoardEventsRequest::getBoardId()const +{ + return boardId_; +} + +void DescribeBoardEventsRequest::setBoardId(const std::string& boardId) +{ + boardId_ = boardId; + setParameter("BoardId", boardId); +} + +std::string DescribeBoardEventsRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeBoardEventsRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeBoardEventsRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeBoardEventsRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeBoardEventsRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeBoardEventsRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeBoardEventsRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeBoardEventsRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DescribeBoardEventsRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeBoardEventsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeBoardEventsRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeBoardEventsRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeBoardEventsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeBoardEventsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeBoardEventsRequest::getVersion()const +{ + return version_; +} + +void DescribeBoardEventsRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DescribeBoardEventsRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeBoardEventsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeBoardEventsRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeBoardEventsRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool DescribeBoardEventsRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeBoardEventsRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeBoardEventsRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeBoardEventsRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeBoardEventsRequest::getAppId()const +{ + return appId_; +} + +void DescribeBoardEventsRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/DescribeBoardEventsResult.cc b/live/src/model/DescribeBoardEventsResult.cc new file mode 100644 index 000000000..82a6c7e7f --- /dev/null +++ b/live/src/model/DescribeBoardEventsResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeBoardEventsResult::DescribeBoardEventsResult() : + ServiceResult() +{} + +DescribeBoardEventsResult::DescribeBoardEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBoardEventsResult::~DescribeBoardEventsResult() +{} + +void DescribeBoardEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEvents = value["Events"]["Event"]; + for (auto value : allEvents) + { + Event eventsObject; + if(!value["EventId"].isNull()) + eventsObject.eventId = std::stol(value["EventId"].asString()); + if(!value["EventType"].isNull()) + eventsObject.eventType = std::stoi(value["EventType"].asString()); + if(!value["UserId"].isNull()) + eventsObject.userId = std::stoi(value["UserId"].asString()); + if(!value["Data"].isNull()) + eventsObject.data = value["Data"].asString(); + if(!value["Timestamp"].isNull()) + eventsObject.timestamp = std::stol(value["Timestamp"].asString()); + events_.push_back(eventsObject); + } + +} + +std::vector DescribeBoardEventsResult::getEvents()const +{ + return events_; +} + diff --git a/live/src/model/DescribeBoardSnapshotRequest.cc b/live/src/model/DescribeBoardSnapshotRequest.cc new file mode 100644 index 000000000..59065d681 --- /dev/null +++ b/live/src/model/DescribeBoardSnapshotRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeBoardSnapshotRequest; + +DescribeBoardSnapshotRequest::DescribeBoardSnapshotRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeBoardSnapshot") +{} + +DescribeBoardSnapshotRequest::~DescribeBoardSnapshotRequest() +{} + +std::string DescribeBoardSnapshotRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeBoardSnapshotRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeBoardSnapshotRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeBoardSnapshotRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long DescribeBoardSnapshotRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeBoardSnapshotRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeBoardSnapshotRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeBoardSnapshotRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeBoardSnapshotRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeBoardSnapshotRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeBoardSnapshotRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeBoardSnapshotRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeBoardSnapshotRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeBoardSnapshotRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeBoardSnapshotRequest::getVersion()const +{ + return version_; +} + +void DescribeBoardSnapshotRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string DescribeBoardSnapshotRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeBoardSnapshotRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeBoardSnapshotRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeBoardSnapshotRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool DescribeBoardSnapshotRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeBoardSnapshotRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeBoardSnapshotRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeBoardSnapshotRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string DescribeBoardSnapshotRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeBoardSnapshotRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool DescribeBoardSnapshotRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeBoardSnapshotRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeBoardSnapshotRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeBoardSnapshotRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeBoardSnapshotRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeBoardSnapshotRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeBoardSnapshotRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeBoardSnapshotRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeBoardSnapshotRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeBoardSnapshotRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DescribeBoardSnapshotRequest::getAppId()const +{ + return appId_; +} + +void DescribeBoardSnapshotRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + +std::string DescribeBoardSnapshotRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeBoardSnapshotRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeBoardSnapshotRequest::getBoardId()const +{ + return boardId_; +} + +void DescribeBoardSnapshotRequest::setBoardId(const std::string& boardId) +{ + boardId_ = boardId; + setParameter("BoardId", boardId); +} + +std::string DescribeBoardSnapshotRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeBoardSnapshotRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeBoardSnapshotRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeBoardSnapshotRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/DescribeBoardSnapshotResult.cc b/live/src/model/DescribeBoardSnapshotResult.cc new file mode 100644 index 000000000..4cb8f76fa --- /dev/null +++ b/live/src/model/DescribeBoardSnapshotResult.cc @@ -0,0 +1,96 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeBoardSnapshotResult::DescribeBoardSnapshotResult() : + ServiceResult() +{} + +DescribeBoardSnapshotResult::DescribeBoardSnapshotResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBoardSnapshotResult::~DescribeBoardSnapshotResult() +{} + +void DescribeBoardSnapshotResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto snapshotNode = value["Snapshot"]; + auto boardNode = snapshotNode["Board"]; + if(!boardNode["BoardId"].isNull()) + snapshot_.board.boardId = boardNode["BoardId"].asString(); + if(!boardNode["AppUid"].isNull()) + snapshot_.board.appUid = boardNode["AppUid"].asString(); + if(!boardNode["EventTimestamp"].isNull()) + snapshot_.board.eventTimestamp = std::stol(boardNode["EventTimestamp"].asString()); + if(!boardNode["CreateTimestamp"].isNull()) + snapshot_.board.createTimestamp = std::stol(boardNode["CreateTimestamp"].asString()); + if(!boardNode["UpdateTimestamp"].isNull()) + snapshot_.board.updateTimestamp = std::stol(boardNode["UpdateTimestamp"].asString()); + auto allPages = value["Pages"]["Page"]; + for (auto value : allPages) + { + Snapshot::Board::Page pageObject; + if(!value["PageIndex"].isNull()) + pageObject.pageIndex = std::stoi(value["PageIndex"].asString()); + auto allElements = value["Elements"]["Element"]; + for (auto value : allElements) + { + Snapshot::Board::Page::Element elementsObject; + if(!value["ElementIndex"].isNull()) + elementsObject.elementIndex = value["ElementIndex"].asString(); + if(!value["OwnerId"].isNull()) + elementsObject.ownerId = value["OwnerId"].asString(); + if(!value["ElementType"].isNull()) + elementsObject.elementType = std::stoi(value["ElementType"].asString()); + if(!value["UpdateTimestamp"].isNull()) + elementsObject.updateTimestamp = std::stol(value["UpdateTimestamp"].asString()); + if(!value["Data"].isNull()) + elementsObject.data = value["Data"].asString(); + pageObject.elements.push_back(elementsObject); + } + snapshot_.board.pages.push_back(pageObject); + } + auto allConfigs = value["Configs"]["Config"]; + for (auto value : allConfigs) + { + Snapshot::Board::Config configObject; + if(!value["AppUid"].isNull()) + configObject.appUid = value["AppUid"].asString(); + if(!value["Data"].isNull()) + configObject.data = value["Data"].asString(); + snapshot_.board.configs.push_back(configObject); + } + +} + +DescribeBoardSnapshotResult::Snapshot DescribeBoardSnapshotResult::getSnapshot()const +{ + return snapshot_; +} + diff --git a/live/src/model/DescribeBoardsRequest.cc b/live/src/model/DescribeBoardsRequest.cc new file mode 100644 index 000000000..d25c1d4a1 --- /dev/null +++ b/live/src/model/DescribeBoardsRequest.cc @@ -0,0 +1,291 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DescribeBoardsRequest; + +DescribeBoardsRequest::DescribeBoardsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeBoards") +{} + +DescribeBoardsRequest::~DescribeBoardsRequest() +{} + +long DescribeBoardsRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeBoardsRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeBoardsRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeBoardsRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeBoardsRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeBoardsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +int DescribeBoardsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeBoardsRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeBoardsRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeBoardsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeBoardsRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeBoardsRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DescribeBoardsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeBoardsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeBoardsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeBoardsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeBoardsRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeBoardsRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeBoardsRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeBoardsRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +int DescribeBoardsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeBoardsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeBoardsRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeBoardsRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeBoardsRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeBoardsRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeBoardsRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeBoardsRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeBoardsRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeBoardsRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeBoardsRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeBoardsRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DescribeBoardsRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeBoardsRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeBoardsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeBoardsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeBoardsRequest::getVersion()const +{ + return version_; +} + +void DescribeBoardsRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DescribeBoardsRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeBoardsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeBoardsRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeBoardsRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool DescribeBoardsRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeBoardsRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeBoardsRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeBoardsRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeBoardsRequest::getAppId()const +{ + return appId_; +} + +void DescribeBoardsRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/DescribeBoardsResult.cc b/live/src/model/DescribeBoardsResult.cc new file mode 100644 index 000000000..505bfd0ea --- /dev/null +++ b/live/src/model/DescribeBoardsResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeBoardsResult::DescribeBoardsResult() : + ServiceResult() +{} + +DescribeBoardsResult::DescribeBoardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBoardsResult::~DescribeBoardsResult() +{} + +void DescribeBoardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBoards = value["Boards"]["Event"]; + for (auto value : allBoards) + { + Event boardsObject; + if(!value["BoardId"].isNull()) + boardsObject.boardId = value["BoardId"].asString(); + if(!value["Topic"].isNull()) + boardsObject.topic = value["Topic"].asString(); + if(!value["State"].isNull()) + boardsObject.state = std::stoi(value["State"].asString()); + if(!value["UserId"].isNull()) + boardsObject.userId = value["UserId"].asString(); + boards_.push_back(boardsObject); + } + +} + +std::vector DescribeBoardsResult::getBoards()const +{ + return boards_; +} + diff --git a/live/src/model/DescribeCasterChannelsRequest.cc b/live/src/model/DescribeCasterChannelsRequest.cc new file mode 100644 index 000000000..ea47e4b17 --- /dev/null +++ b/live/src/model/DescribeCasterChannelsRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterChannelsRequest; + +DescribeCasterChannelsRequest::DescribeCasterChannelsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterChannels") +{} + +DescribeCasterChannelsRequest::~DescribeCasterChannelsRequest() +{} + +std::string DescribeCasterChannelsRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeCasterChannelsRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeCasterChannelsRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterChannelsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DescribeCasterChannelsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterChannelsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterChannelsResult.cc b/live/src/model/DescribeCasterChannelsResult.cc new file mode 100644 index 000000000..43caba2e9 --- /dev/null +++ b/live/src/model/DescribeCasterChannelsResult.cc @@ -0,0 +1,69 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeCasterChannelsResult::DescribeCasterChannelsResult() : + ServiceResult() +{} + +DescribeCasterChannelsResult::DescribeCasterChannelsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterChannelsResult::~DescribeCasterChannelsResult() +{} + +void DescribeCasterChannelsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allChannels = value["Channels"]["Channel"]; + for (auto value : allChannels) + { + Channel channelsObject; + if(!value["ChannelId"].isNull()) + channelsObject.channelId = value["ChannelId"].asString(); + if(!value["ResourceId"].isNull()) + channelsObject.resourceId = value["ResourceId"].asString(); + if(!value["StreamUrl"].isNull()) + channelsObject.streamUrl = value["StreamUrl"].asString(); + channels_.push_back(channelsObject); + } + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +int DescribeCasterChannelsResult::getTotal()const +{ + return total_; +} + +std::vector DescribeCasterChannelsResult::getChannels()const +{ + return channels_; +} + diff --git a/live/src/model/DescribeCasterConfigRequest.cc b/live/src/model/DescribeCasterConfigRequest.cc index 0c97580db..676fa8d3c 100644 --- a/live/src/model/DescribeCasterConfigRequest.cc +++ b/live/src/model/DescribeCasterConfigRequest.cc @@ -25,6 +25,17 @@ DescribeCasterConfigRequest::DescribeCasterConfigRequest() : DescribeCasterConfigRequest::~DescribeCasterConfigRequest() {} +std::string DescribeCasterConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeCasterConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeCasterConfigRequest::getCasterId()const { return casterId_; diff --git a/live/src/model/DescribeCasterConfigResult.cc b/live/src/model/DescribeCasterConfigResult.cc index 49dcc1f68..2b49b828b 100644 --- a/live/src/model/DescribeCasterConfigResult.cc +++ b/live/src/model/DescribeCasterConfigResult.cc @@ -83,6 +83,8 @@ void DescribeCasterConfigResult::parse(const std::string &payload) programName_ = value["ProgramName"].asString(); if(!value["ProgramEffect"].isNull()) programEffect_ = std::stoi(value["ProgramEffect"].asString()); + if(!value["ChannelEnable"].isNull()) + channelEnable_ = std::stoi(value["ChannelEnable"].asString()); } @@ -101,6 +103,11 @@ std::string DescribeCasterConfigResult::getCasterName()const return casterName_; } +int DescribeCasterConfigResult::getChannelEnable()const +{ + return channelEnable_; +} + std::string DescribeCasterConfigResult::getDomainName()const { return domainName_; diff --git a/live/src/model/DescribeCasterSceneAudioRequest.cc b/live/src/model/DescribeCasterSceneAudioRequest.cc new file mode 100644 index 000000000..3a9e92de1 --- /dev/null +++ b/live/src/model/DescribeCasterSceneAudioRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterSceneAudioRequest; + +DescribeCasterSceneAudioRequest::DescribeCasterSceneAudioRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterSceneAudio") +{} + +DescribeCasterSceneAudioRequest::~DescribeCasterSceneAudioRequest() +{} + +std::string DescribeCasterSceneAudioRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeCasterSceneAudioRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeCasterSceneAudioRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterSceneAudioRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string DescribeCasterSceneAudioRequest::getSceneId()const +{ + return sceneId_; +} + +void DescribeCasterSceneAudioRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long DescribeCasterSceneAudioRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterSceneAudioRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterSceneAudioResult.cc b/live/src/model/DescribeCasterSceneAudioResult.cc new file mode 100644 index 000000000..fdead0558 --- /dev/null +++ b/live/src/model/DescribeCasterSceneAudioResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeCasterSceneAudioResult::DescribeCasterSceneAudioResult() : + ServiceResult() +{} + +DescribeCasterSceneAudioResult::DescribeCasterSceneAudioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterSceneAudioResult::~DescribeCasterSceneAudioResult() +{} + +void DescribeCasterSceneAudioResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAudioLayers = value["AudioLayers"]["AudioLayer"]; + for (auto value : allAudioLayers) + { + AudioLayer audioLayersObject; + if(!value["VolumeRate"].isNull()) + audioLayersObject.volumeRate = std::stof(value["VolumeRate"].asString()); + if(!value["ValidChannel"].isNull()) + audioLayersObject.validChannel = value["ValidChannel"].asString(); + if(!value["FixedDelayDuration"].isNull()) + audioLayersObject.fixedDelayDuration = std::stoi(value["FixedDelayDuration"].asString()); + audioLayers_.push_back(audioLayersObject); + } + auto allMixList = value["MixList"]["LocationId"]; + for (const auto &item : allMixList) + mixList_.push_back(item.asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["FollowEnable"].isNull()) + followEnable_ = std::stoi(value["FollowEnable"].asString()); + +} + +std::vector DescribeCasterSceneAudioResult::getMixList()const +{ + return mixList_; +} + +std::vector DescribeCasterSceneAudioResult::getAudioLayers()const +{ + return audioLayers_; +} + +std::string DescribeCasterSceneAudioResult::getCasterId()const +{ + return casterId_; +} + +int DescribeCasterSceneAudioResult::getFollowEnable()const +{ + return followEnable_; +} + diff --git a/live/src/model/DescribeCasterVideoResourcesRequest.cc b/live/src/model/DescribeCasterVideoResourcesRequest.cc index 403838eb0..5e67b0476 100644 --- a/live/src/model/DescribeCasterVideoResourcesRequest.cc +++ b/live/src/model/DescribeCasterVideoResourcesRequest.cc @@ -25,6 +25,17 @@ DescribeCasterVideoResourcesRequest::DescribeCasterVideoResourcesRequest() : DescribeCasterVideoResourcesRequest::~DescribeCasterVideoResourcesRequest() {} +std::string DescribeCasterVideoResourcesRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeCasterVideoResourcesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeCasterVideoResourcesRequest::getCasterId()const { return casterId_; diff --git a/live/src/model/DescribeCasterVideoResourcesResult.cc b/live/src/model/DescribeCasterVideoResourcesResult.cc index 9d4f06277..b9cce0a75 100644 --- a/live/src/model/DescribeCasterVideoResourcesResult.cc +++ b/live/src/model/DescribeCasterVideoResourcesResult.cc @@ -62,6 +62,8 @@ void DescribeCasterVideoResourcesResult::parse(const std::string &payload) videoResourcesObject.beginOffset = std::stoi(value["BeginOffset"].asString()); if(!value["EndOffset"].isNull()) videoResourcesObject.endOffset = std::stoi(value["EndOffset"].asString()); + if(!value["PtsCallbackInterval"].isNull()) + videoResourcesObject.ptsCallbackInterval = std::stoi(value["PtsCallbackInterval"].asString()); videoResources_.push_back(videoResourcesObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeCastersRequest.cc b/live/src/model/DescribeCastersRequest.cc index 2424918bb..00dcabf6f 100644 --- a/live/src/model/DescribeCastersRequest.cc +++ b/live/src/model/DescribeCastersRequest.cc @@ -25,6 +25,17 @@ DescribeCastersRequest::DescribeCastersRequest() : DescribeCastersRequest::~DescribeCastersRequest() {} +std::string DescribeCastersRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeCastersRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeCastersRequest::getCasterName()const { return casterName_; diff --git a/live/src/model/DescribeCastersResult.cc b/live/src/model/DescribeCastersResult.cc index d09e38c93..511c41098 100644 --- a/live/src/model/DescribeCastersResult.cc +++ b/live/src/model/DescribeCastersResult.cc @@ -64,6 +64,8 @@ void DescribeCastersResult::parse(const std::string &payload) casterListObject.chargeType = value["ChargeType"].asString(); if(!value["CasterTemplate"].isNull()) casterListObject.casterTemplate = value["CasterTemplate"].asString(); + if(!value["ChannelEnable"].isNull()) + casterListObject.channelEnable = std::stoi(value["ChannelEnable"].asString()); casterList_.push_back(casterListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeDomainUsageDataRequest.cc b/live/src/model/DescribeDomainUsageDataRequest.cc new file mode 100644 index 000000000..6e98a8e26 --- /dev/null +++ b/live/src/model/DescribeDomainUsageDataRequest.cc @@ -0,0 +1,335 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DescribeDomainUsageDataRequest; + +DescribeDomainUsageDataRequest::DescribeDomainUsageDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeDomainUsageData") +{} + +DescribeDomainUsageDataRequest::~DescribeDomainUsageDataRequest() +{} + +long DescribeDomainUsageDataRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeDomainUsageDataRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeDomainUsageDataRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeDomainUsageDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeDomainUsageDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDomainUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDomainUsageDataRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeDomainUsageDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeDomainUsageDataRequest::getType()const +{ + return type_; +} + +void DescribeDomainUsageDataRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string DescribeDomainUsageDataRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeDomainUsageDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeDomainUsageDataRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeDomainUsageDataRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DescribeDomainUsageDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDomainUsageDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeDomainUsageDataRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDomainUsageDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeDomainUsageDataRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeDomainUsageDataRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeDomainUsageDataRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeDomainUsageDataRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DescribeDomainUsageDataRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeDomainUsageDataRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeDomainUsageDataRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeDomainUsageDataRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeDomainUsageDataRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeDomainUsageDataRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeDomainUsageDataRequest::getArea()const +{ + return area_; +} + +void DescribeDomainUsageDataRequest::setArea(const std::string& area) +{ + area_ = area; + setParameter("Area", area); +} + +std::string DescribeDomainUsageDataRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeDomainUsageDataRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeDomainUsageDataRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeDomainUsageDataRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DescribeDomainUsageDataRequest::getProduct()const +{ + return product_; +} + +void DescribeDomainUsageDataRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string DescribeDomainUsageDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDomainUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDomainUsageDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDomainUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeDomainUsageDataRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeDomainUsageDataRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeDomainUsageDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDomainUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDomainUsageDataRequest::getVersion()const +{ + return version_; +} + +void DescribeDomainUsageDataRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DescribeDomainUsageDataRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeDomainUsageDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeDomainUsageDataRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeDomainUsageDataRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool DescribeDomainUsageDataRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeDomainUsageDataRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeDomainUsageDataRequest::getField()const +{ + return field_; +} + +void DescribeDomainUsageDataRequest::setField(const std::string& field) +{ + field_ = field; + setParameter("Field", field); +} + +std::string DescribeDomainUsageDataRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeDomainUsageDataRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + diff --git a/live/src/model/DescribeDomainUsageDataResult.cc b/live/src/model/DescribeDomainUsageDataResult.cc new file mode 100644 index 000000000..18b99f575 --- /dev/null +++ b/live/src/model/DescribeDomainUsageDataResult.cc @@ -0,0 +1,102 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeDomainUsageDataResult::DescribeDomainUsageDataResult() : + ServiceResult() +{} + +DescribeDomainUsageDataResult::DescribeDomainUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainUsageDataResult::~DescribeDomainUsageDataResult() +{} + +void DescribeDomainUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allUsageDataPerInterval = value["UsageDataPerInterval"]["DataModule"]; + for (auto value : allUsageDataPerInterval) + { + DataModule usageDataPerIntervalObject; + if(!value["TimeStamp"].isNull()) + usageDataPerIntervalObject.timeStamp = value["TimeStamp"].asString(); + if(!value["Value"].isNull()) + usageDataPerIntervalObject.value = value["Value"].asString(); + usageDataPerInterval_.push_back(usageDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["Field"].isNull()) + field_ = value["Field"].asString(); + if(!value["Area"].isNull()) + area_ = value["Area"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeDomainUsageDataResult::getUsageDataPerInterval()const +{ + return usageDataPerInterval_; +} + +std::string DescribeDomainUsageDataResult::getField()const +{ + return field_; +} + +std::string DescribeDomainUsageDataResult::getArea()const +{ + return area_; +} + +std::string DescribeDomainUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDomainUsageDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDomainUsageDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/live/src/model/DescribeForbidPushStreamRoomListRequest.cc b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc new file mode 100644 index 000000000..81e8b8e76 --- /dev/null +++ b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc @@ -0,0 +1,313 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DescribeForbidPushStreamRoomListRequest; + +DescribeForbidPushStreamRoomListRequest::DescribeForbidPushStreamRoomListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeForbidPushStreamRoomList") +{} + +DescribeForbidPushStreamRoomListRequest::~DescribeForbidPushStreamRoomListRequest() +{} + +long DescribeForbidPushStreamRoomListRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeForbidPushStreamRoomListRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeForbidPushStreamRoomListRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeForbidPushStreamRoomListRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeForbidPushStreamRoomListRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeForbidPushStreamRoomListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +int DescribeForbidPushStreamRoomListRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeForbidPushStreamRoomListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeForbidPushStreamRoomListRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeForbidPushStreamRoomListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeForbidPushStreamRoomListRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeForbidPushStreamRoomListRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DescribeForbidPushStreamRoomListRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeForbidPushStreamRoomListRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeForbidPushStreamRoomListRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeForbidPushStreamRoomListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeForbidPushStreamRoomListRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeForbidPushStreamRoomListRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeForbidPushStreamRoomListRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeForbidPushStreamRoomListRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +int DescribeForbidPushStreamRoomListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeForbidPushStreamRoomListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeForbidPushStreamRoomListRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeForbidPushStreamRoomListRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeForbidPushStreamRoomListRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeForbidPushStreamRoomListRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeForbidPushStreamRoomListRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeForbidPushStreamRoomListRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeForbidPushStreamRoomListRequest::getOrder()const +{ + return order_; +} + +void DescribeForbidPushStreamRoomListRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + +std::string DescribeForbidPushStreamRoomListRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeForbidPushStreamRoomListRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeForbidPushStreamRoomListRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeForbidPushStreamRoomListRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DescribeForbidPushStreamRoomListRequest::getProduct()const +{ + return product_; +} + +void DescribeForbidPushStreamRoomListRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string DescribeForbidPushStreamRoomListRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeForbidPushStreamRoomListRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeForbidPushStreamRoomListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeForbidPushStreamRoomListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeForbidPushStreamRoomListRequest::getVersion()const +{ + return version_; +} + +void DescribeForbidPushStreamRoomListRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DescribeForbidPushStreamRoomListRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeForbidPushStreamRoomListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeForbidPushStreamRoomListRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeForbidPushStreamRoomListRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool DescribeForbidPushStreamRoomListRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeForbidPushStreamRoomListRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeForbidPushStreamRoomListRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeForbidPushStreamRoomListRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeForbidPushStreamRoomListRequest::getAppId()const +{ + return appId_; +} + +void DescribeForbidPushStreamRoomListRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/DescribeForbidPushStreamRoomListResult.cc b/live/src/model/DescribeForbidPushStreamRoomListResult.cc new file mode 100644 index 000000000..2743a3b49 --- /dev/null +++ b/live/src/model/DescribeForbidPushStreamRoomListResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +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 allRoomList = value["RoomList"]["Room"]; + for (auto value : allRoomList) + { + Room roomListObject; + if(!value["RoomId"].isNull()) + roomListObject.roomId = value["RoomId"].asString(); + if(!value["AnchorId"].isNull()) + roomListObject.anchorId = value["AnchorId"].asString(); + if(!value["OpStartTime"].isNull()) + roomListObject.opStartTime = value["OpStartTime"].asString(); + if(!value["OpEndTime"].isNull()) + roomListObject.opEndTime = value["OpEndTime"].asString(); + roomList_.push_back(roomListObject); + } + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeForbidPushStreamRoomListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeForbidPushStreamRoomListResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeForbidPushStreamRoomListResult::getRoomList()const +{ + return roomList_; +} + diff --git a/live/src/model/DescribeLiveDomainRecordDataRequest.cc b/live/src/model/DescribeLiveDomainRecordDataRequest.cc index beea080ab..a16a15af0 100644 --- a/live/src/model/DescribeLiveDomainRecordDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRecordDataRequest.cc @@ -25,6 +25,17 @@ DescribeLiveDomainRecordDataRequest::DescribeLiveDomainRecordDataRequest() : DescribeLiveDomainRecordDataRequest::~DescribeLiveDomainRecordDataRequest() {} +std::string DescribeLiveDomainRecordDataRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveDomainRecordDataRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeLiveDomainRecordDataRequest::getRecordType()const { return recordType_; diff --git a/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc b/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc index 0e988aade..220b94879 100644 --- a/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc +++ b/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc @@ -25,6 +25,17 @@ DescribeLiveDomainSnapshotDataRequest::DescribeLiveDomainSnapshotDataRequest() : DescribeLiveDomainSnapshotDataRequest::~DescribeLiveDomainSnapshotDataRequest() {} +std::string DescribeLiveDomainSnapshotDataRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveDomainSnapshotDataRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeLiveDomainSnapshotDataRequest::getDomainName()const { return domainName_; diff --git a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc index d453dc21a..b64aa216a 100644 --- a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc @@ -25,6 +25,17 @@ DescribeLiveDomainTranscodeDataRequest::DescribeLiveDomainTranscodeDataRequest() DescribeLiveDomainTranscodeDataRequest::~DescribeLiveDomainTranscodeDataRequest() {} +std::string DescribeLiveDomainTranscodeDataRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveDomainTranscodeDataRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeLiveDomainTranscodeDataRequest::getDomainName()const { return domainName_; diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc new file mode 100644 index 000000000..77b6c6c76 --- /dev/null +++ b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveLazyPullStreamConfigRequest; + +DescribeLiveLazyPullStreamConfigRequest::DescribeLiveLazyPullStreamConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveLazyPullStreamConfig") +{} + +DescribeLiveLazyPullStreamConfigRequest::~DescribeLiveLazyPullStreamConfigRequest() +{} + +std::string DescribeLiveLazyPullStreamConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long DescribeLiveLazyPullStreamConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +bool DescribeLiveLazyPullStreamConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeLiveLazyPullStreamConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getVersion()const +{ + return version_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool DescribeLiveLazyPullStreamConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeLiveLazyPullStreamConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool DescribeLiveLazyPullStreamConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeLiveLazyPullStreamConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc new file mode 100644 index 000000000..f7eb3b7d5 --- /dev/null +++ b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveLazyPullStreamConfigResult::DescribeLiveLazyPullStreamConfigResult() : + ServiceResult() +{} + +DescribeLiveLazyPullStreamConfigResult::DescribeLiveLazyPullStreamConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveLazyPullStreamConfigResult::~DescribeLiveLazyPullStreamConfigResult() +{} + +void DescribeLiveLazyPullStreamConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveLazyPullConfigList = value["LiveLazyPullConfigList"]["LiveLazyPullConfig"]; + for (auto value : allLiveLazyPullConfigList) + { + LiveLazyPullConfig liveLazyPullConfigListObject; + if(!value["DomainName"].isNull()) + liveLazyPullConfigListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + liveLazyPullConfigListObject.appName = value["AppName"].asString(); + if(!value["PullDomainName"].isNull()) + liveLazyPullConfigListObject.pullDomainName = value["PullDomainName"].asString(); + if(!value["PullAppName"].isNull()) + liveLazyPullConfigListObject.pullAppName = value["PullAppName"].asString(); + if(!value["PullProtocol"].isNull()) + liveLazyPullConfigListObject.pullProtocol = value["PullProtocol"].asString(); + if(!value["PullAuthType"].isNull()) + liveLazyPullConfigListObject.pullAuthType = value["PullAuthType"].asString(); + if(!value["PullAuthKey"].isNull()) + liveLazyPullConfigListObject.pullAuthKey = value["PullAuthKey"].asString(); + liveLazyPullConfigList_.push_back(liveLazyPullConfigListObject); + } + +} + +std::vector DescribeLiveLazyPullStreamConfigResult::getLiveLazyPullConfigList()const +{ + return liveLazyPullConfigList_; +} + diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc index c8f9fe049..ea5bd39cc 100644 --- a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc @@ -25,15 +25,37 @@ DescribeLiveStreamsNotifyUrlConfigRequest::DescribeLiveStreamsNotifyUrlConfigReq DescribeLiveStreamsNotifyUrlConfigRequest::~DescribeLiveStreamsNotifyUrlConfigRequest() {} -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getApp_ip()const { - return securityToken_; + return app_ip_; } -void DescribeLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken) +void DescribeLiveStreamsNotifyUrlConfigRequest::setApp_ip(const std::string& app_ip) { - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long DescribeLiveStreamsNotifyUrlConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); } std::string DescribeLiveStreamsNotifyUrlConfigRequest::getDomainName()const @@ -47,6 +69,28 @@ void DescribeLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& setParameter("DomainName", domainName); } +bool DescribeLiveStreamsNotifyUrlConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId()const { return ownerId_; @@ -58,6 +102,72 @@ void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getVersion()const +{ + return version_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool DescribeLiveStreamsNotifyUrlConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeLiveStreamsNotifyUrlConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + std::string DescribeLiveStreamsNotifyUrlConfigRequest::getAccessKeyId()const { return accessKeyId_; @@ -69,3 +179,91 @@ void DescribeLiveStreamsNotifyUrlConfigRequest::setAccessKeyId(const std::string setParameter("AccessKeyId", accessKeyId); } +bool DescribeLiveStreamsNotifyUrlConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeLiveStreamsNotifyUrlConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc index 4e0441a32..0da538600 100644 --- a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc @@ -45,6 +45,10 @@ void DescribeLiveStreamsNotifyUrlConfigResult::parse(const std::string &payload) liveStreamsNotifyConfig_.domainName = liveStreamsNotifyConfigNode["DomainName"].asString(); if(!liveStreamsNotifyConfigNode["NotifyUrl"].isNull()) liveStreamsNotifyConfig_.notifyUrl = liveStreamsNotifyConfigNode["NotifyUrl"].asString(); + if(!liveStreamsNotifyConfigNode["AuthType"].isNull()) + liveStreamsNotifyConfig_.authType = liveStreamsNotifyConfigNode["AuthType"].asString(); + if(!liveStreamsNotifyConfigNode["AuthKey"].isNull()) + liveStreamsNotifyConfig_.authKey = liveStreamsNotifyConfigNode["AuthKey"].asString(); } diff --git a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc index ddf0c5a12..95068055e 100644 --- a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc +++ b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc @@ -36,28 +36,6 @@ void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string& stre setParameter("StreamType", streamType); } -std::string DescribeLiveStreamsOnlineListRequest::getAppName()const -{ - return appName_; -} - -void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DescribeLiveStreamsOnlineListRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamsOnlineListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - std::string DescribeLiveStreamsOnlineListRequest::getDomainName()const { return domainName_; @@ -69,17 +47,6 @@ void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string& doma setParameter("DomainName", domainName); } -int DescribeLiveStreamsOnlineListRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - std::string DescribeLiveStreamsOnlineListRequest::getEndTime()const { return endTime_; @@ -91,6 +58,17 @@ void DescribeLiveStreamsOnlineListRequest::setEndTime(const std::string& endTime setParameter("EndTime", endTime); } +std::string DescribeLiveStreamsOnlineListRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeLiveStreamsOnlineListRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); +} + std::string DescribeLiveStreamsOnlineListRequest::getStartTime()const { return startTime_; @@ -124,6 +102,50 @@ void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) setParameter("PageNum", std::to_string(pageNum)); } +std::string DescribeLiveStreamsOnlineListRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamsOnlineListRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveStreamsOnlineListRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int DescribeLiveStreamsOnlineListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeLiveStreamsOnlineListRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamsOnlineListRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + std::string DescribeLiveStreamsOnlineListRequest::getQueryType()const { return queryType_; @@ -135,14 +157,3 @@ void DescribeLiveStreamsOnlineListRequest::setQueryType(const std::string& query setParameter("QueryType", queryType); } -std::string DescribeLiveStreamsOnlineListRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveStreamsOnlineListRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - diff --git a/live/src/model/DescribeLiveStreamsPublishListRequest.cc b/live/src/model/DescribeLiveStreamsPublishListRequest.cc index e66d6b316..08ca7647a 100644 --- a/live/src/model/DescribeLiveStreamsPublishListRequest.cc +++ b/live/src/model/DescribeLiveStreamsPublishListRequest.cc @@ -58,6 +58,17 @@ void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string& endTim setParameter("EndTime", endTime); } +std::string DescribeLiveStreamsPublishListRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeLiveStreamsPublishListRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); +} + std::string DescribeLiveStreamsPublishListRequest::getStartTime()const { return startTime_; @@ -91,17 +102,6 @@ void DescribeLiveStreamsPublishListRequest::setPageNumber(int pageNumber) setParameter("PageNumber", std::to_string(pageNumber)); } -std::string DescribeLiveStreamsPublishListRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveStreamsPublishListRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - std::string DescribeLiveStreamsPublishListRequest::getAppName()const { return appName_; @@ -113,15 +113,15 @@ void DescribeLiveStreamsPublishListRequest::setAppName(const std::string& appNam setParameter("AppName", appName); } -std::string DescribeLiveStreamsPublishListRequest::getSecurityToken()const +std::string DescribeLiveStreamsPublishListRequest::getRegionId()const { - return securityToken_; + return regionId_; } -void DescribeLiveStreamsPublishListRequest::setSecurityToken(const std::string& securityToken) +void DescribeLiveStreamsPublishListRequest::setRegionId(const std::string& regionId) { - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + regionId_ = regionId; + setParameter("RegionId", regionId); } int DescribeLiveStreamsPublishListRequest::getPageSize()const diff --git a/live/src/model/DescribeRoomKickoutUserListRequest.cc b/live/src/model/DescribeRoomKickoutUserListRequest.cc new file mode 100644 index 000000000..7bfd148e0 --- /dev/null +++ b/live/src/model/DescribeRoomKickoutUserListRequest.cc @@ -0,0 +1,324 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DescribeRoomKickoutUserListRequest; + +DescribeRoomKickoutUserListRequest::DescribeRoomKickoutUserListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRoomKickoutUserList") +{} + +DescribeRoomKickoutUserListRequest::~DescribeRoomKickoutUserListRequest() +{} + +long DescribeRoomKickoutUserListRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeRoomKickoutUserListRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeRoomKickoutUserListRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeRoomKickoutUserListRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeRoomKickoutUserListRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeRoomKickoutUserListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +int DescribeRoomKickoutUserListRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeRoomKickoutUserListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeRoomKickoutUserListRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeRoomKickoutUserListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeRoomKickoutUserListRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeRoomKickoutUserListRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DescribeRoomKickoutUserListRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRoomKickoutUserListRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeRoomKickoutUserListRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeRoomKickoutUserListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeRoomKickoutUserListRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeRoomKickoutUserListRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeRoomKickoutUserListRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeRoomKickoutUserListRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +int DescribeRoomKickoutUserListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRoomKickoutUserListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRoomKickoutUserListRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeRoomKickoutUserListRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeRoomKickoutUserListRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeRoomKickoutUserListRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeRoomKickoutUserListRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeRoomKickoutUserListRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeRoomKickoutUserListRequest::getOrder()const +{ + return order_; +} + +void DescribeRoomKickoutUserListRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + +std::string DescribeRoomKickoutUserListRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeRoomKickoutUserListRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeRoomKickoutUserListRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeRoomKickoutUserListRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DescribeRoomKickoutUserListRequest::getProduct()const +{ + return product_; +} + +void DescribeRoomKickoutUserListRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string DescribeRoomKickoutUserListRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeRoomKickoutUserListRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeRoomKickoutUserListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRoomKickoutUserListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRoomKickoutUserListRequest::getVersion()const +{ + return version_; +} + +void DescribeRoomKickoutUserListRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DescribeRoomKickoutUserListRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeRoomKickoutUserListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeRoomKickoutUserListRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeRoomKickoutUserListRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string DescribeRoomKickoutUserListRequest::getRoomId()const +{ + return roomId_; +} + +void DescribeRoomKickoutUserListRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool DescribeRoomKickoutUserListRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeRoomKickoutUserListRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeRoomKickoutUserListRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeRoomKickoutUserListRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeRoomKickoutUserListRequest::getAppId()const +{ + return appId_; +} + +void DescribeRoomKickoutUserListRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/DescribeRoomKickoutUserListResult.cc b/live/src/model/DescribeRoomKickoutUserListResult.cc new file mode 100644 index 000000000..9d40abf75 --- /dev/null +++ b/live/src/model/DescribeRoomKickoutUserListResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +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 allUserList = value["UserList"]["User"]; + for (auto value : allUserList) + { + User userListObject; + if(!value["AppUid"].isNull()) + userListObject.appUid = value["AppUid"].asString(); + if(!value["OpStartTime"].isNull()) + userListObject.opStartTime = value["OpStartTime"].asString(); + if(!value["OpEndTime"].isNull()) + userListObject.opEndTime = value["OpEndTime"].asString(); + userList_.push_back(userListObject); + } + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeRoomKickoutUserListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeRoomKickoutUserListResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeRoomKickoutUserListResult::getUserList()const +{ + return userList_; +} + diff --git a/live/src/model/DescribeRoomListRequest.cc b/live/src/model/DescribeRoomListRequest.cc new file mode 100644 index 000000000..4f263a8e5 --- /dev/null +++ b/live/src/model/DescribeRoomListRequest.cc @@ -0,0 +1,324 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DescribeRoomListRequest; + +DescribeRoomListRequest::DescribeRoomListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRoomList") +{} + +DescribeRoomListRequest::~DescribeRoomListRequest() +{} + +long DescribeRoomListRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeRoomListRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeRoomListRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeRoomListRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeRoomListRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeRoomListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +int DescribeRoomListRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeRoomListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeRoomListRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeRoomListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeRoomListRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeRoomListRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DescribeRoomListRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRoomListRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeRoomListRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeRoomListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeRoomListRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeRoomListRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int DescribeRoomListRequest::getRoomStatus()const +{ + return roomStatus_; +} + +void DescribeRoomListRequest::setRoomStatus(int roomStatus) +{ + roomStatus_ = roomStatus; + setParameter("RoomStatus", std::to_string(roomStatus)); +} + +std::string DescribeRoomListRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeRoomListRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +int DescribeRoomListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRoomListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRoomListRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeRoomListRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeRoomListRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeRoomListRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeRoomListRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeRoomListRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeRoomListRequest::getOrder()const +{ + return order_; +} + +void DescribeRoomListRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + +std::string DescribeRoomListRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeRoomListRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeRoomListRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeRoomListRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DescribeRoomListRequest::getProduct()const +{ + return product_; +} + +void DescribeRoomListRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string DescribeRoomListRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeRoomListRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeRoomListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRoomListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRoomListRequest::getVersion()const +{ + return version_; +} + +void DescribeRoomListRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DescribeRoomListRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeRoomListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeRoomListRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeRoomListRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool DescribeRoomListRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeRoomListRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeRoomListRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeRoomListRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeRoomListRequest::getAppId()const +{ + return appId_; +} + +void DescribeRoomListRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/DescribeRoomListResult.cc b/live/src/model/DescribeRoomListResult.cc new file mode 100644 index 000000000..0aee6e4ea --- /dev/null +++ b/live/src/model/DescribeRoomListResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeRoomListResult::DescribeRoomListResult() : + ServiceResult() +{} + +DescribeRoomListResult::DescribeRoomListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoomListResult::~DescribeRoomListResult() +{} + +void DescribeRoomListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRoomList = value["RoomList"]["Room"]; + for (auto value : allRoomList) + { + Room roomListObject; + if(!value["RoomId"].isNull()) + roomListObject.roomId = value["RoomId"].asString(); + if(!value["AnchorId"].isNull()) + roomListObject.anchorId = value["AnchorId"].asString(); + if(!value["RoomStatus"].isNull()) + roomListObject.roomStatus = std::stoi(value["RoomStatus"].asString()); + if(!value["CreateTime"].isNull()) + roomListObject.createTime = value["CreateTime"].asString(); + roomList_.push_back(roomListObject); + } + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeRoomListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeRoomListResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeRoomListResult::getRoomList()const +{ + return roomList_; +} + diff --git a/live/src/model/DescribeRoomStatusRequest.cc b/live/src/model/DescribeRoomStatusRequest.cc new file mode 100644 index 000000000..475013049 --- /dev/null +++ b/live/src/model/DescribeRoomStatusRequest.cc @@ -0,0 +1,291 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::DescribeRoomStatusRequest; + +DescribeRoomStatusRequest::DescribeRoomStatusRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRoomStatus") +{} + +DescribeRoomStatusRequest::~DescribeRoomStatusRequest() +{} + +long DescribeRoomStatusRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeRoomStatusRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeRoomStatusRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeRoomStatusRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string DescribeRoomStatusRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeRoomStatusRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeRoomStatusRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeRoomStatusRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeRoomStatusRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeRoomStatusRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string DescribeRoomStatusRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRoomStatusRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeRoomStatusRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeRoomStatusRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeRoomStatusRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeRoomStatusRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeRoomStatusRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeRoomStatusRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string DescribeRoomStatusRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeRoomStatusRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeRoomStatusRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeRoomStatusRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeRoomStatusRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeRoomStatusRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeRoomStatusRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeRoomStatusRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string DescribeRoomStatusRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeRoomStatusRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string DescribeRoomStatusRequest::getProduct()const +{ + return product_; +} + +void DescribeRoomStatusRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string DescribeRoomStatusRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeRoomStatusRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long DescribeRoomStatusRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRoomStatusRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRoomStatusRequest::getVersion()const +{ + return version_; +} + +void DescribeRoomStatusRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool DescribeRoomStatusRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeRoomStatusRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool DescribeRoomStatusRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeRoomStatusRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string DescribeRoomStatusRequest::getRoomId()const +{ + return roomId_; +} + +void DescribeRoomStatusRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool DescribeRoomStatusRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeRoomStatusRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string DescribeRoomStatusRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeRoomStatusRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string DescribeRoomStatusRequest::getAppId()const +{ + return appId_; +} + +void DescribeRoomStatusRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/DescribeRoomStatusResult.cc b/live/src/model/DescribeRoomStatusResult.cc new file mode 100644 index 000000000..359030c7a --- /dev/null +++ b/live/src/model/DescribeRoomStatusResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +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_; +} + diff --git a/live/src/model/ForbidLiveStreamRequest.cc b/live/src/model/ForbidLiveStreamRequest.cc index faf49eb7d..e3fba7516 100644 --- a/live/src/model/ForbidLiveStreamRequest.cc +++ b/live/src/model/ForbidLiveStreamRequest.cc @@ -25,15 +25,70 @@ ForbidLiveStreamRequest::ForbidLiveStreamRequest() : ForbidLiveStreamRequest::~ForbidLiveStreamRequest() {} -std::string ForbidLiveStreamRequest::getResumeTime()const +long ForbidLiveStreamRequest::getCallerParentId()const { - return resumeTime_; + return callerParentId_; } -void ForbidLiveStreamRequest::setResumeTime(const std::string& resumeTime) +void ForbidLiveStreamRequest::setCallerParentId(long callerParentId) { - resumeTime_ = resumeTime; - setParameter("ResumeTime", resumeTime); + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool ForbidLiveStreamRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void ForbidLiveStreamRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string ForbidLiveStreamRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void ForbidLiveStreamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string ForbidLiveStreamRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void ForbidLiveStreamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string ForbidLiveStreamRequest::getCallerType()const +{ + return callerType_; +} + +void ForbidLiveStreamRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string ForbidLiveStreamRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ForbidLiveStreamRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); } std::string ForbidLiveStreamRequest::getAppName()const @@ -58,6 +113,116 @@ void ForbidLiveStreamRequest::setSecurityToken(const std::string& securityToken) setParameter("SecurityToken", securityToken); } +std::string ForbidLiveStreamRequest::getRegionId()const +{ + return regionId_; +} + +void ForbidLiveStreamRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ForbidLiveStreamRequest::getRequestContent()const +{ + return requestContent_; +} + +void ForbidLiveStreamRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string ForbidLiveStreamRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void ForbidLiveStreamRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string ForbidLiveStreamRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void ForbidLiveStreamRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +std::string ForbidLiveStreamRequest::getStreamName()const +{ + return streamName_; +} + +void ForbidLiveStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +long ForbidLiveStreamRequest::getCallerUid()const +{ + return callerUid_; +} + +void ForbidLiveStreamRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string ForbidLiveStreamRequest::getControlStreamAction()const +{ + return controlStreamAction_; +} + +void ForbidLiveStreamRequest::setControlStreamAction(const std::string& controlStreamAction) +{ + controlStreamAction_ = controlStreamAction; + setParameter("ControlStreamAction", controlStreamAction); +} + +std::string ForbidLiveStreamRequest::getResumeTime()const +{ + return resumeTime_; +} + +void ForbidLiveStreamRequest::setResumeTime(const std::string& resumeTime) +{ + resumeTime_ = resumeTime; + setParameter("ResumeTime", resumeTime); +} + +std::string ForbidLiveStreamRequest::getApp_ip()const +{ + return app_ip_; +} + +void ForbidLiveStreamRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string ForbidLiveStreamRequest::getPopProduct()const +{ + return popProduct_; +} + +void ForbidLiveStreamRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + std::string ForbidLiveStreamRequest::getLiveStreamType()const { return liveStreamType_; @@ -80,6 +245,17 @@ void ForbidLiveStreamRequest::setDomainName(const std::string& domainName) setParameter("DomainName", domainName); } +std::string ForbidLiveStreamRequest::getCallerBid()const +{ + return callerBid_; +} + +void ForbidLiveStreamRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + long ForbidLiveStreamRequest::getOwnerId()const { return ownerId_; @@ -91,25 +267,69 @@ void ForbidLiveStreamRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string ForbidLiveStreamRequest::getStreamName()const +std::string ForbidLiveStreamRequest::getVersion()const { - return streamName_; + return version_; } -void ForbidLiveStreamRequest::setStreamName(const std::string& streamName) +void ForbidLiveStreamRequest::setVersion(const std::string& version) { - streamName_ = streamName; - setParameter("StreamName", streamName); + version_ = version; + setParameter("Version", version); } -std::string ForbidLiveStreamRequest::getAccessKeyId()const +std::string ForbidLiveStreamRequest::getOneshot()const { - return accessKeyId_; + return oneshot_; } -void ForbidLiveStreamRequest::setAccessKeyId(const std::string& accessKeyId) +void ForbidLiveStreamRequest::setOneshot(const std::string& oneshot) { - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + oneshot_ = oneshot; + setParameter("Oneshot", oneshot); +} + +bool ForbidLiveStreamRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void ForbidLiveStreamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool ForbidLiveStreamRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void ForbidLiveStreamRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool ForbidLiveStreamRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void ForbidLiveStreamRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string ForbidLiveStreamRequest::getRequestId()const +{ + return requestId_; +} + +void ForbidLiveStreamRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); } diff --git a/live/src/model/ForbidPushStreamRequest.cc b/live/src/model/ForbidPushStreamRequest.cc new file mode 100644 index 000000000..8b0e7bc08 --- /dev/null +++ b/live/src/model/ForbidPushStreamRequest.cc @@ -0,0 +1,313 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::ForbidPushStreamRequest; + +ForbidPushStreamRequest::ForbidPushStreamRequest() : + RpcServiceRequest("live", "2016-11-01", "ForbidPushStream") +{} + +ForbidPushStreamRequest::~ForbidPushStreamRequest() +{} + +long ForbidPushStreamRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void ForbidPushStreamRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool ForbidPushStreamRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void ForbidPushStreamRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string ForbidPushStreamRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void ForbidPushStreamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string ForbidPushStreamRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void ForbidPushStreamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string ForbidPushStreamRequest::getCallerType()const +{ + return callerType_; +} + +void ForbidPushStreamRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string ForbidPushStreamRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ForbidPushStreamRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ForbidPushStreamRequest::getUserData()const +{ + return userData_; +} + +void ForbidPushStreamRequest::setUserData(const std::string& userData) +{ + userData_ = userData; + setParameter("UserData", userData); +} + +std::string ForbidPushStreamRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ForbidPushStreamRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string ForbidPushStreamRequest::getRegionId()const +{ + return regionId_; +} + +void ForbidPushStreamRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ForbidPushStreamRequest::getRequestContent()const +{ + return requestContent_; +} + +void ForbidPushStreamRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string ForbidPushStreamRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void ForbidPushStreamRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string ForbidPushStreamRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void ForbidPushStreamRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long ForbidPushStreamRequest::getCallerUid()const +{ + return callerUid_; +} + +void ForbidPushStreamRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string ForbidPushStreamRequest::getApp_ip()const +{ + return app_ip_; +} + +void ForbidPushStreamRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string ForbidPushStreamRequest::getPopProduct()const +{ + return popProduct_; +} + +void ForbidPushStreamRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string ForbidPushStreamRequest::getProduct()const +{ + return product_; +} + +void ForbidPushStreamRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string ForbidPushStreamRequest::getEndTime()const +{ + return endTime_; +} + +void ForbidPushStreamRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string ForbidPushStreamRequest::getCallerBid()const +{ + return callerBid_; +} + +void ForbidPushStreamRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long ForbidPushStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void ForbidPushStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ForbidPushStreamRequest::getVersion()const +{ + return version_; +} + +void ForbidPushStreamRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool ForbidPushStreamRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void ForbidPushStreamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool ForbidPushStreamRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void ForbidPushStreamRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string ForbidPushStreamRequest::getRoomId()const +{ + return roomId_; +} + +void ForbidPushStreamRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool ForbidPushStreamRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void ForbidPushStreamRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string ForbidPushStreamRequest::getRequestId()const +{ + return requestId_; +} + +void ForbidPushStreamRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string ForbidPushStreamRequest::getAppId()const +{ + return appId_; +} + +void ForbidPushStreamRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/ForbidPushStreamResult.cc b/live/src/model/ForbidPushStreamResult.cc new file mode 100644 index 000000000..3365816dd --- /dev/null +++ b/live/src/model/ForbidPushStreamResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +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()); + +} + diff --git a/live/src/model/JoinBoardRequest.cc b/live/src/model/JoinBoardRequest.cc new file mode 100644 index 000000000..b8d921c73 --- /dev/null +++ b/live/src/model/JoinBoardRequest.cc @@ -0,0 +1,291 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::JoinBoardRequest; + +JoinBoardRequest::JoinBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "JoinBoard") +{} + +JoinBoardRequest::~JoinBoardRequest() +{} + +long JoinBoardRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void JoinBoardRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool JoinBoardRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void JoinBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string JoinBoardRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void JoinBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string JoinBoardRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void JoinBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string JoinBoardRequest::getCallerType()const +{ + return callerType_; +} + +void JoinBoardRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string JoinBoardRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void JoinBoardRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string JoinBoardRequest::getSecurityToken()const +{ + return securityToken_; +} + +void JoinBoardRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string JoinBoardRequest::getRegionId()const +{ + return regionId_; +} + +void JoinBoardRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string JoinBoardRequest::getRequestContent()const +{ + return requestContent_; +} + +void JoinBoardRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string JoinBoardRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void JoinBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string JoinBoardRequest::getBoardId()const +{ + return boardId_; +} + +void JoinBoardRequest::setBoardId(const std::string& boardId) +{ + boardId_ = boardId; + setParameter("BoardId", boardId); +} + +std::string JoinBoardRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void JoinBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long JoinBoardRequest::getCallerUid()const +{ + return callerUid_; +} + +void JoinBoardRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string JoinBoardRequest::getApp_ip()const +{ + return app_ip_; +} + +void JoinBoardRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string JoinBoardRequest::getPopProduct()const +{ + return popProduct_; +} + +void JoinBoardRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string JoinBoardRequest::getAppUid()const +{ + return appUid_; +} + +void JoinBoardRequest::setAppUid(const std::string& appUid) +{ + appUid_ = appUid; + setParameter("AppUid", appUid); +} + +std::string JoinBoardRequest::getCallerBid()const +{ + return callerBid_; +} + +void JoinBoardRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long JoinBoardRequest::getOwnerId()const +{ + return ownerId_; +} + +void JoinBoardRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string JoinBoardRequest::getVersion()const +{ + return version_; +} + +void JoinBoardRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool JoinBoardRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void JoinBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool JoinBoardRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void JoinBoardRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool JoinBoardRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void JoinBoardRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string JoinBoardRequest::getRequestId()const +{ + return requestId_; +} + +void JoinBoardRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string JoinBoardRequest::getAppId()const +{ + return appId_; +} + +void JoinBoardRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/JoinBoardResult.cc b/live/src/model/JoinBoardResult.cc new file mode 100644 index 000000000..da464e641 --- /dev/null +++ b/live/src/model/JoinBoardResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +JoinBoardResult::JoinBoardResult() : + ServiceResult() +{} + +JoinBoardResult::JoinBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +JoinBoardResult::~JoinBoardResult() +{} + +void JoinBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Token"].isNull()) + token_ = value["Token"].asString(); + if(!value["BoardId"].isNull()) + boardId_ = value["BoardId"].asString(); + if(!value["TopicId"].isNull()) + topicId_ = value["TopicId"].asString(); + +} + +std::string JoinBoardResult::getBoardId()const +{ + return boardId_; +} + +std::string JoinBoardResult::getToken()const +{ + return token_; +} + +std::string JoinBoardResult::getTopicId()const +{ + return topicId_; +} + diff --git a/live/src/model/ModifyCasterVideoResourceRequest.cc b/live/src/model/ModifyCasterVideoResourceRequest.cc index 75a183c4f..b4e189bac 100644 --- a/live/src/model/ModifyCasterVideoResourceRequest.cc +++ b/live/src/model/ModifyCasterVideoResourceRequest.cc @@ -36,17 +36,6 @@ void ModifyCasterVideoResourceRequest::setResourceId(const std::string& resource setParameter("ResourceId", resourceId); } -int ModifyCasterVideoResourceRequest::getBeginOffset()const -{ - return beginOffset_; -} - -void ModifyCasterVideoResourceRequest::setBeginOffset(int beginOffset) -{ - beginOffset_ = beginOffset; - setParameter("BeginOffset", std::to_string(beginOffset)); -} - std::string ModifyCasterVideoResourceRequest::getVodUrl()const { return vodUrl_; @@ -58,17 +47,6 @@ void ModifyCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) setParameter("VodUrl", vodUrl); } -std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl()const -{ - return liveStreamUrl_; -} - -void ModifyCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) -{ - liveStreamUrl_ = liveStreamUrl; - setParameter("LiveStreamUrl", liveStreamUrl); -} - std::string ModifyCasterVideoResourceRequest::getCasterId()const { return casterId_; @@ -91,28 +69,6 @@ void ModifyCasterVideoResourceRequest::setEndOffset(int endOffset) setParameter("EndOffset", std::to_string(endOffset)); } -std::string ModifyCasterVideoResourceRequest::getResourceName()const -{ - return resourceName_; -} - -void ModifyCasterVideoResourceRequest::setResourceName(const std::string& resourceName) -{ - resourceName_ = resourceName; - setParameter("ResourceName", resourceName); -} - -int ModifyCasterVideoResourceRequest::getRepeatNum()const -{ - return repeatNum_; -} - -void ModifyCasterVideoResourceRequest::setRepeatNum(int repeatNum) -{ - repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); -} - long ModifyCasterVideoResourceRequest::getOwnerId()const { return ownerId_; @@ -135,3 +91,69 @@ void ModifyCasterVideoResourceRequest::setMaterialId(const std::string& material setParameter("MaterialId", materialId); } +int ModifyCasterVideoResourceRequest::getBeginOffset()const +{ + return beginOffset_; +} + +void ModifyCasterVideoResourceRequest::setBeginOffset(int beginOffset) +{ + beginOffset_ = beginOffset; + setParameter("BeginOffset", std::to_string(beginOffset)); +} + +std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl()const +{ + return liveStreamUrl_; +} + +void ModifyCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) +{ + liveStreamUrl_ = liveStreamUrl; + setParameter("LiveStreamUrl", liveStreamUrl); +} + +std::string ModifyCasterVideoResourceRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyCasterVideoResourceRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ModifyCasterVideoResourceRequest::getPtsCallbackInterval()const +{ + return ptsCallbackInterval_; +} + +void ModifyCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) +{ + ptsCallbackInterval_ = ptsCallbackInterval; + setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); +} + +std::string ModifyCasterVideoResourceRequest::getResourceName()const +{ + return resourceName_; +} + +void ModifyCasterVideoResourceRequest::setResourceName(const std::string& resourceName) +{ + resourceName_ = resourceName; + setParameter("ResourceName", resourceName); +} + +int ModifyCasterVideoResourceRequest::getRepeatNum()const +{ + return repeatNum_; +} + +void ModifyCasterVideoResourceRequest::setRepeatNum(int repeatNum) +{ + repeatNum_ = repeatNum; + setParameter("RepeatNum", std::to_string(repeatNum)); +} + diff --git a/live/src/model/RealTimeRecordCommandRequest.cc b/live/src/model/RealTimeRecordCommandRequest.cc index eaf752f7f..3b1269331 100644 --- a/live/src/model/RealTimeRecordCommandRequest.cc +++ b/live/src/model/RealTimeRecordCommandRequest.cc @@ -36,6 +36,17 @@ void RealTimeRecordCommandRequest::setAppName(const std::string& appName) setParameter("AppName", appName); } +std::string RealTimeRecordCommandRequest::getRegionId()const +{ + return regionId_; +} + +void RealTimeRecordCommandRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string RealTimeRecordCommandRequest::getDomainName()const { return domainName_; diff --git a/live/src/model/SendRoomNotificationRequest.cc b/live/src/model/SendRoomNotificationRequest.cc new file mode 100644 index 000000000..55b726ed5 --- /dev/null +++ b/live/src/model/SendRoomNotificationRequest.cc @@ -0,0 +1,324 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::SendRoomNotificationRequest; + +SendRoomNotificationRequest::SendRoomNotificationRequest() : + RpcServiceRequest("live", "2016-11-01", "SendRoomNotification") +{} + +SendRoomNotificationRequest::~SendRoomNotificationRequest() +{} + +std::string SendRoomNotificationRequest::getData()const +{ + return data_; +} + +void SendRoomNotificationRequest::setData(const std::string& data) +{ + data_ = data; + setParameter("Data", data); +} + +long SendRoomNotificationRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void SendRoomNotificationRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool SendRoomNotificationRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void SendRoomNotificationRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string SendRoomNotificationRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void SendRoomNotificationRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string SendRoomNotificationRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void SendRoomNotificationRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string SendRoomNotificationRequest::getCallerType()const +{ + return callerType_; +} + +void SendRoomNotificationRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string SendRoomNotificationRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SendRoomNotificationRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string SendRoomNotificationRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SendRoomNotificationRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string SendRoomNotificationRequest::getRegionId()const +{ + return regionId_; +} + +void SendRoomNotificationRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string SendRoomNotificationRequest::getRequestContent()const +{ + return requestContent_; +} + +void SendRoomNotificationRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string SendRoomNotificationRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void SendRoomNotificationRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string SendRoomNotificationRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void SendRoomNotificationRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long SendRoomNotificationRequest::getCallerUid()const +{ + return callerUid_; +} + +void SendRoomNotificationRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string SendRoomNotificationRequest::getApp_ip()const +{ + return app_ip_; +} + +void SendRoomNotificationRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string SendRoomNotificationRequest::getPopProduct()const +{ + return popProduct_; +} + +void SendRoomNotificationRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string SendRoomNotificationRequest::getProduct()const +{ + return product_; +} + +void SendRoomNotificationRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string SendRoomNotificationRequest::getAppUid()const +{ + return appUid_; +} + +void SendRoomNotificationRequest::setAppUid(const std::string& appUid) +{ + appUid_ = appUid; + setParameter("AppUid", appUid); +} + +std::string SendRoomNotificationRequest::getCallerBid()const +{ + return callerBid_; +} + +void SendRoomNotificationRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long SendRoomNotificationRequest::getOwnerId()const +{ + return ownerId_; +} + +void SendRoomNotificationRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int SendRoomNotificationRequest::getPriority()const +{ + return priority_; +} + +void SendRoomNotificationRequest::setPriority(int priority) +{ + priority_ = priority; + setParameter("Priority", std::to_string(priority)); +} + +std::string SendRoomNotificationRequest::getVersion()const +{ + return version_; +} + +void SendRoomNotificationRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool SendRoomNotificationRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void SendRoomNotificationRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool SendRoomNotificationRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void SendRoomNotificationRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string SendRoomNotificationRequest::getRoomId()const +{ + return roomId_; +} + +void SendRoomNotificationRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool SendRoomNotificationRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void SendRoomNotificationRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string SendRoomNotificationRequest::getRequestId()const +{ + return requestId_; +} + +void SendRoomNotificationRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string SendRoomNotificationRequest::getAppId()const +{ + return appId_; +} + +void SendRoomNotificationRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/SendRoomNotificationResult.cc b/live/src/model/SendRoomNotificationResult.cc new file mode 100644 index 000000000..15be89833 --- /dev/null +++ b/live/src/model/SendRoomNotificationResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SendRoomNotificationResult::SendRoomNotificationResult() : + ServiceResult() +{} + +SendRoomNotificationResult::SendRoomNotificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendRoomNotificationResult::~SendRoomNotificationResult() +{} + +void SendRoomNotificationResult::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 SendRoomNotificationResult::getMessageId()const +{ + return messageId_; +} + diff --git a/live/src/model/SendRoomUserNotificationRequest.cc b/live/src/model/SendRoomUserNotificationRequest.cc new file mode 100644 index 000000000..787e7a376 --- /dev/null +++ b/live/src/model/SendRoomUserNotificationRequest.cc @@ -0,0 +1,335 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::SendRoomUserNotificationRequest; + +SendRoomUserNotificationRequest::SendRoomUserNotificationRequest() : + RpcServiceRequest("live", "2016-11-01", "SendRoomUserNotification") +{} + +SendRoomUserNotificationRequest::~SendRoomUserNotificationRequest() +{} + +std::string SendRoomUserNotificationRequest::getData()const +{ + return data_; +} + +void SendRoomUserNotificationRequest::setData(const std::string& data) +{ + data_ = data; + setParameter("Data", data); +} + +long SendRoomUserNotificationRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void SendRoomUserNotificationRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool SendRoomUserNotificationRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void SendRoomUserNotificationRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string SendRoomUserNotificationRequest::getToAppUid()const +{ + return toAppUid_; +} + +void SendRoomUserNotificationRequest::setToAppUid(const std::string& toAppUid) +{ + toAppUid_ = toAppUid; + setParameter("ToAppUid", toAppUid); +} + +std::string SendRoomUserNotificationRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void SendRoomUserNotificationRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string SendRoomUserNotificationRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void SendRoomUserNotificationRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string SendRoomUserNotificationRequest::getCallerType()const +{ + return callerType_; +} + +void SendRoomUserNotificationRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string SendRoomUserNotificationRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SendRoomUserNotificationRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string SendRoomUserNotificationRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SendRoomUserNotificationRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string SendRoomUserNotificationRequest::getRegionId()const +{ + return regionId_; +} + +void SendRoomUserNotificationRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string SendRoomUserNotificationRequest::getRequestContent()const +{ + return requestContent_; +} + +void SendRoomUserNotificationRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string SendRoomUserNotificationRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void SendRoomUserNotificationRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string SendRoomUserNotificationRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void SendRoomUserNotificationRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long SendRoomUserNotificationRequest::getCallerUid()const +{ + return callerUid_; +} + +void SendRoomUserNotificationRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string SendRoomUserNotificationRequest::getApp_ip()const +{ + return app_ip_; +} + +void SendRoomUserNotificationRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string SendRoomUserNotificationRequest::getPopProduct()const +{ + return popProduct_; +} + +void SendRoomUserNotificationRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string SendRoomUserNotificationRequest::getProduct()const +{ + return product_; +} + +void SendRoomUserNotificationRequest::setProduct(const std::string& product) +{ + product_ = product; + setParameter("Product", product); +} + +std::string SendRoomUserNotificationRequest::getAppUid()const +{ + return appUid_; +} + +void SendRoomUserNotificationRequest::setAppUid(const std::string& appUid) +{ + appUid_ = appUid; + setParameter("AppUid", appUid); +} + +std::string SendRoomUserNotificationRequest::getCallerBid()const +{ + return callerBid_; +} + +void SendRoomUserNotificationRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long SendRoomUserNotificationRequest::getOwnerId()const +{ + return ownerId_; +} + +void SendRoomUserNotificationRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int SendRoomUserNotificationRequest::getPriority()const +{ + return priority_; +} + +void SendRoomUserNotificationRequest::setPriority(int priority) +{ + priority_ = priority; + setParameter("Priority", std::to_string(priority)); +} + +std::string SendRoomUserNotificationRequest::getVersion()const +{ + return version_; +} + +void SendRoomUserNotificationRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool SendRoomUserNotificationRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void SendRoomUserNotificationRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool SendRoomUserNotificationRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void SendRoomUserNotificationRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string SendRoomUserNotificationRequest::getRoomId()const +{ + return roomId_; +} + +void SendRoomUserNotificationRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); +} + +bool SendRoomUserNotificationRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void SendRoomUserNotificationRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string SendRoomUserNotificationRequest::getRequestId()const +{ + return requestId_; +} + +void SendRoomUserNotificationRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string SendRoomUserNotificationRequest::getAppId()const +{ + return appId_; +} + +void SendRoomUserNotificationRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/live/src/model/SendRoomUserNotificationResult.cc b/live/src/model/SendRoomUserNotificationResult.cc new file mode 100644 index 000000000..e5890d994 --- /dev/null +++ b/live/src/model/SendRoomUserNotificationResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +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_; +} + diff --git a/live/src/model/SetCasterChannelRequest.cc b/live/src/model/SetCasterChannelRequest.cc new file mode 100644 index 000000000..e17984bc4 --- /dev/null +++ b/live/src/model/SetCasterChannelRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::SetCasterChannelRequest; + +SetCasterChannelRequest::SetCasterChannelRequest() : + RpcServiceRequest("live", "2016-11-01", "SetCasterChannel") +{} + +SetCasterChannelRequest::~SetCasterChannelRequest() +{} + +std::string SetCasterChannelRequest::getResourceId()const +{ + return resourceId_; +} + +void SetCasterChannelRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); +} + +int SetCasterChannelRequest::getPlayStatus()const +{ + return playStatus_; +} + +void SetCasterChannelRequest::setPlayStatus(int playStatus) +{ + playStatus_ = playStatus; + setParameter("PlayStatus", std::to_string(playStatus)); +} + +std::string SetCasterChannelRequest::getRegionId()const +{ + return regionId_; +} + +void SetCasterChannelRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string SetCasterChannelRequest::getCasterId()const +{ + return casterId_; +} + +void SetCasterChannelRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long SetCasterChannelRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetCasterChannelRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int SetCasterChannelRequest::getSeekOffset()const +{ + return seekOffset_; +} + +void SetCasterChannelRequest::setSeekOffset(int seekOffset) +{ + seekOffset_ = seekOffset; + setParameter("SeekOffset", std::to_string(seekOffset)); +} + +std::string SetCasterChannelRequest::getChannelId()const +{ + return channelId_; +} + +void SetCasterChannelRequest::setChannelId(const std::string& channelId) +{ + channelId_ = channelId; + setParameter("ChannelId", channelId); +} + diff --git a/live/src/model/SetCasterChannelResult.cc b/live/src/model/SetCasterChannelResult.cc new file mode 100644 index 000000000..79ca364d4 --- /dev/null +++ b/live/src/model/SetCasterChannelResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SetCasterChannelResult::SetCasterChannelResult() : + ServiceResult() +{} + +SetCasterChannelResult::SetCasterChannelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetCasterChannelResult::~SetCasterChannelResult() +{} + +void SetCasterChannelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/SetCasterConfigRequest.cc b/live/src/model/SetCasterConfigRequest.cc index 4b48794c4..776d70f32 100644 --- a/live/src/model/SetCasterConfigRequest.cc +++ b/live/src/model/SetCasterConfigRequest.cc @@ -47,6 +47,17 @@ void SetCasterConfigRequest::setCasterId(const std::string& casterId) setParameter("CasterId", casterId); } +int SetCasterConfigRequest::getChannelEnable()const +{ + return channelEnable_; +} + +void SetCasterConfigRequest::setChannelEnable(int channelEnable) +{ + channelEnable_ = channelEnable; + setParameter("ChannelEnable", std::to_string(channelEnable)); +} + std::string SetCasterConfigRequest::getDomainName()const { return domainName_; @@ -135,6 +146,17 @@ void SetCasterConfigRequest::setDelay(float delay) setParameter("Delay", std::to_string(delay)); } +std::string SetCasterConfigRequest::getRegionId()const +{ + return regionId_; +} + +void SetCasterConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string SetCasterConfigRequest::getCasterName()const { return casterName_; diff --git a/live/src/model/SetCasterSceneConfigRequest.cc b/live/src/model/SetCasterSceneConfigRequest.cc index fb88d4043..a3fd0685e 100644 --- a/live/src/model/SetCasterSceneConfigRequest.cc +++ b/live/src/model/SetCasterSceneConfigRequest.cc @@ -37,6 +37,17 @@ void SetCasterSceneConfigRequest::setComponentId(const std::vector& setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); } +std::string SetCasterSceneConfigRequest::getRegionId()const +{ + return regionId_; +} + +void SetCasterSceneConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string SetCasterSceneConfigRequest::getCasterId()const { return casterId_; diff --git a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..7d35eda07 --- /dev/null +++ b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc @@ -0,0 +1,335 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::SetLiveLazyPullStreamInfoConfigRequest; + +SetLiveLazyPullStreamInfoConfigRequest::SetLiveLazyPullStreamInfoConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetLiveLazyPullStreamInfoConfig") +{} + +SetLiveLazyPullStreamInfoConfigRequest::~SetLiveLazyPullStreamInfoConfigRequest() +{} + +long SetLiveLazyPullStreamInfoConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool SetLiveLazyPullStreamInfoConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerType()const +{ + return callerType_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getRegionId()const +{ + return regionId_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long SetLiveLazyPullStreamInfoConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthKey()const +{ + return pullAuthKey_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthKey(const std::string& pullAuthKey) +{ + pullAuthKey_ = pullAuthKey; + setParameter("PullAuthKey", pullAuthKey); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthType()const +{ + return pullAuthType_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthType(const std::string& pullAuthType) +{ + pullAuthType_ = pullAuthType; + setParameter("PullAuthType", pullAuthType); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullDomainName()const +{ + return pullDomainName_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPullDomainName(const std::string& pullDomainName) +{ + pullDomainName_ = pullDomainName; + setParameter("PullDomainName", pullDomainName); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long SetLiveLazyPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getVersion()const +{ + return version_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +bool SetLiveLazyPullStreamInfoConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool SetLiveLazyPullStreamInfoConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +bool SetLiveLazyPullStreamInfoConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAppName()const +{ + return pullAppName_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPullAppName(const std::string& pullAppName) +{ + pullAppName_ = pullAppName; + setParameter("PullAppName", pullAppName); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getRequestId()const +{ + return requestId_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol()const +{ + return pullProtocol_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPullProtocol(const std::string& pullProtocol) +{ + pullProtocol_ = pullProtocol; + setParameter("PullProtocol", pullProtocol); +} + diff --git a/live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc b/live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc new file mode 100644 index 000000000..1546c05fa --- /dev/null +++ b/live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SetLiveLazyPullStreamInfoConfigResult::SetLiveLazyPullStreamInfoConfigResult() : + ServiceResult() +{} + +SetLiveLazyPullStreamInfoConfigResult::SetLiveLazyPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveLazyPullStreamInfoConfigResult::~SetLiveLazyPullStreamInfoConfigResult() +{} + +void SetLiveLazyPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateBoardRequest.cc b/live/src/model/UpdateBoardRequest.cc new file mode 100644 index 000000000..b43e3981c --- /dev/null +++ b/live/src/model/UpdateBoardRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateBoardRequest; + +UpdateBoardRequest::UpdateBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateBoard") +{} + +UpdateBoardRequest::~UpdateBoardRequest() +{} + +std::string UpdateBoardRequest::getApp_ip()const +{ + return app_ip_; +} + +void UpdateBoardRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setParameter("App_ip", app_ip); +} + +std::string UpdateBoardRequest::getPopProduct()const +{ + return popProduct_; +} + +void UpdateBoardRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setParameter("PopProduct", popProduct); +} + +long UpdateBoardRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void UpdateBoardRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool UpdateBoardRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void UpdateBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); +} + +std::string UpdateBoardRequest::getCallerBid()const +{ + return callerBid_; +} + +void UpdateBoardRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setParameter("CallerBid", callerBid); +} + +long UpdateBoardRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateBoardRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateBoardRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void UpdateBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string UpdateBoardRequest::getVersion()const +{ + return version_; +} + +void UpdateBoardRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string UpdateBoardRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void UpdateBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string UpdateBoardRequest::getCallerType()const +{ + return callerType_; +} + +void UpdateBoardRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setParameter("CallerType", callerType); +} + +bool UpdateBoardRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void UpdateBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); +} + +bool UpdateBoardRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void UpdateBoardRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); +} + +std::string UpdateBoardRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateBoardRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool UpdateBoardRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void UpdateBoardRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setParameter("Security_transport", std::to_string(security_transport)); +} + +std::string UpdateBoardRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UpdateBoardRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string UpdateBoardRequest::getRegionId()const +{ + return regionId_; +} + +void UpdateBoardRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string UpdateBoardRequest::getRequestId()const +{ + return requestId_; +} + +void UpdateBoardRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setParameter("RequestId", requestId); +} + +std::string UpdateBoardRequest::getRequestContent()const +{ + return requestContent_; +} + +void UpdateBoardRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setParameter("RequestContent", requestContent); +} + +std::string UpdateBoardRequest::getAppId()const +{ + return appId_; +} + +void UpdateBoardRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + +std::string UpdateBoardRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void UpdateBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setParameter("CallerBidEmail", callerBidEmail); +} + +std::string UpdateBoardRequest::getBoardData()const +{ + return boardData_; +} + +void UpdateBoardRequest::setBoardData(const std::string& boardData) +{ + boardData_ = boardData; + setParameter("BoardData", boardData); +} + +std::string UpdateBoardRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void UpdateBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setParameter("CallerUidEmail", callerUidEmail); +} + +long UpdateBoardRequest::getCallerUid()const +{ + return callerUid_; +} + +void UpdateBoardRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/UpdateBoardResult.cc b/live/src/model/UpdateBoardResult.cc new file mode 100644 index 000000000..6fad19643 --- /dev/null +++ b/live/src/model/UpdateBoardResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +UpdateBoardResult::UpdateBoardResult() : + ServiceResult() +{} + +UpdateBoardResult::UpdateBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateBoardResult::~UpdateBoardResult() +{} + +void UpdateBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateCasterSceneAudioRequest.cc b/live/src/model/UpdateCasterSceneAudioRequest.cc new file mode 100644 index 000000000..141a72573 --- /dev/null +++ b/live/src/model/UpdateCasterSceneAudioRequest.cc @@ -0,0 +1,112 @@ +/* + * 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 + +using AlibabaCloud::Live::Model::UpdateCasterSceneAudioRequest; + +UpdateCasterSceneAudioRequest::UpdateCasterSceneAudioRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneAudio") +{} + +UpdateCasterSceneAudioRequest::~UpdateCasterSceneAudioRequest() +{} + +std::vector UpdateCasterSceneAudioRequest::getAudioLayer()const +{ + return audioLayer_; +} + +void UpdateCasterSceneAudioRequest::setAudioLayer(const std::vector& audioLayer) +{ + audioLayer_ = audioLayer; + int i = 0; + for(int i = 0; i!= audioLayer.size(); i++) { + auto obj = audioLayer.at(i); + std::string str ="AudioLayer."+ std::to_string(i); + setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + setParameter(str + ".VolumeRate", std::to_string(obj.volumeRate)); + setParameter(str + ".ValidChannel", obj.validChannel); + } +} + +std::string UpdateCasterSceneAudioRequest::getRegionId()const +{ + return regionId_; +} + +void UpdateCasterSceneAudioRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string UpdateCasterSceneAudioRequest::getCasterId()const +{ + return casterId_; +} + +void UpdateCasterSceneAudioRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string UpdateCasterSceneAudioRequest::getSceneId()const +{ + return sceneId_; +} + +void UpdateCasterSceneAudioRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +std::vector UpdateCasterSceneAudioRequest::getMixList()const +{ + return mixList_; +} + +void UpdateCasterSceneAudioRequest::setMixList(const std::vector& mixList) +{ + mixList_ = mixList; + for(int i = 0; i!= mixList.size(); i++) + setParameter("MixList."+ std::to_string(i), mixList.at(i)); +} + +long UpdateCasterSceneAudioRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateCasterSceneAudioRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int UpdateCasterSceneAudioRequest::getFollowEnable()const +{ + return followEnable_; +} + +void UpdateCasterSceneAudioRequest::setFollowEnable(int followEnable) +{ + followEnable_ = followEnable; + setParameter("FollowEnable", std::to_string(followEnable)); +} + diff --git a/live/src/model/UpdateCasterSceneAudioResult.cc b/live/src/model/UpdateCasterSceneAudioResult.cc new file mode 100644 index 000000000..339025bd7 --- /dev/null +++ b/live/src/model/UpdateCasterSceneAudioResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +UpdateCasterSceneAudioResult::UpdateCasterSceneAudioResult() : + ServiceResult() +{} + +UpdateCasterSceneAudioResult::UpdateCasterSceneAudioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCasterSceneAudioResult::~UpdateCasterSceneAudioResult() +{} + +void UpdateCasterSceneAudioResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateCasterSceneConfigRequest.cc b/live/src/model/UpdateCasterSceneConfigRequest.cc index 21376416c..e90f05a64 100644 --- a/live/src/model/UpdateCasterSceneConfigRequest.cc +++ b/live/src/model/UpdateCasterSceneConfigRequest.cc @@ -37,6 +37,17 @@ void UpdateCasterSceneConfigRequest::setComponentId(const std::vector