diff --git a/CHANGELOG b/CHANGELOG index 2433c08ef..595a0230e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,11 @@ +2018-06-13 Version: 1.17.4 +1, Add API AddCasterEpisodeGroupContent,CreateCaster. +2, Add Parameter fillMode for AddCasterLayout,ModifyCasterLayout. +3, Add return value fillMode DescribeCasterLayouts. +4, Update ErrorCode for StartCaster,StartCasterScene,DescribeCasters,CopyCaster. +5, Update ErrorCode for ModifyCasterLayout,DeleteCasterLayout,DeleteLiveAppRecordConfig. +6, Update ForbidLiveStream,DescribeLiveStreamsPublishList,DescribeLiveStreamsOnlineList. + 2018-06-13 Version: 1.17.3 1, Add lifecycleHook. diff --git a/CMakeLists.txt b/CMakeLists.txt index 05ac0b7a2..5b58b76c8 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,4 +76,5 @@ add_subdirectory(cloudauth) add_subdirectory(dyvmsapi) add_subdirectory(drds) add_subdirectory(jarvis) -add_subdirectory(scdn) \ No newline at end of file +add_subdirectory(scdn) +add_subdirectory(live) \ No newline at end of file diff --git a/VERSION b/VERSION index 021c75ee1..250f35974 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3 \ No newline at end of file +1.17.4 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt new file mode 100644 index 000000000..2603625b9 --- /dev/null +++ b/live/CMakeLists.txt @@ -0,0 +1,510 @@ +# +# 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. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(live_public_header + include/alibabacloud/live/LiveClient.h + include/alibabacloud/live/LiveExport.h ) + +set(live_public_header_model + include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h + include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h + include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h + include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h + include/alibabacloud/live/model/ModifyCasterComponentRequest.h + include/alibabacloud/live/model/ModifyCasterComponentResult.h + include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h + include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h + include/alibabacloud/live/model/EffectCasterUrgentRequest.h + include/alibabacloud/live/model/EffectCasterUrgentResult.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/CreateLiveStreamRecordIndexFilesRequest.h + include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h + include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h + include/alibabacloud/live/model/UpdateCasterSceneConfigResult.h + include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h + include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h + include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h + include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h + include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h + include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h + include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h + include/alibabacloud/live/model/CopyCasterSceneConfigResult.h + include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h + include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h + include/alibabacloud/live/model/StopMixStreamsServiceRequest.h + include/alibabacloud/live/model/StopMixStreamsServiceResult.h + include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h + include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h + include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h + include/alibabacloud/live/model/DeleteCasterEpisodeResult.h + include/alibabacloud/live/model/DescribeCasterRtcInfoRequest.h + include/alibabacloud/live/model/DescribeCasterRtcInfoResult.h + include/alibabacloud/live/model/SetCasterSceneConfigRequest.h + include/alibabacloud/live/model/SetCasterSceneConfigResult.h + include/alibabacloud/live/model/AddTrancodeSEIRequest.h + include/alibabacloud/live/model/AddTrancodeSEIResult.h + include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h + include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h + include/alibabacloud/live/model/DeleteCasterLayoutRequest.h + include/alibabacloud/live/model/DeleteCasterLayoutResult.h + include/alibabacloud/live/model/DeleteCasterProgramRequest.h + include/alibabacloud/live/model/DeleteCasterProgramResult.h + include/alibabacloud/live/model/StartCasterSceneRequest.h + include/alibabacloud/live/model/StartCasterSceneResult.h + include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h + include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileResult.h + include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h + include/alibabacloud/live/model/AddCasterEpisodeGroupResult.h + include/alibabacloud/live/model/AddLiveMixConfigRequest.h + include/alibabacloud/live/model/AddLiveMixConfigResult.h + include/alibabacloud/live/model/DescribeCasterConfigRequest.h + include/alibabacloud/live/model/DescribeCasterConfigResult.h + include/alibabacloud/live/model/CopyCasterRequest.h + include/alibabacloud/live/model/CopyCasterResult.h + include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h + include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.h + include/alibabacloud/live/model/AddCasterEpisodeRequest.h + include/alibabacloud/live/model/AddCasterEpisodeResult.h + include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h + include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h + include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h + include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.h + include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h + include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h + include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h + include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h + include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h + include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumResult.h + include/alibabacloud/live/model/AddCasterComponentRequest.h + include/alibabacloud/live/model/AddCasterComponentResult.h + include/alibabacloud/live/model/UpdateLiveMixNotifyConfigRequest.h + include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.h + include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h + include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h + include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h + include/alibabacloud/live/model/DeleteCasterVideoResourceResult.h + include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h + include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.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/StartMixStreamsServiceRequest.h + include/alibabacloud/live/model/StartMixStreamsServiceResult.h + include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h + include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h + include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h + include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.h + include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h + include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.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/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/ImagePornDetectionRequest.h + include/alibabacloud/live/model/ImagePornDetectionResult.h + include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h + include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h + include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h + include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.h + include/alibabacloud/live/model/StopCasterSceneRequest.h + include/alibabacloud/live/model/StopCasterSceneResult.h + include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h + include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h + include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h + include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h + include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h + include/alibabacloud/live/model/ModifyCasterEpisodeResult.h + include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h + include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h + include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h + include/alibabacloud/live/model/StartMultipleStreamMixServiceResult.h + include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.h + include/alibabacloud/live/model/StopMultipleStreamMixServiceResult.h + include/alibabacloud/live/model/DescribeLiveMixNotifyConfigRequest.h + include/alibabacloud/live/model/DescribeLiveMixNotifyConfigResult.h + include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h + include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h + include/alibabacloud/live/model/CreateCasterRequest.h + include/alibabacloud/live/model/CreateCasterResult.h + include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h + include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h + include/alibabacloud/live/model/AddMultipleStreamMixServiceRequest.h + include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.h + include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h + include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.h + include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h + include/alibabacloud/live/model/DescribeCasterLayoutsResult.h + include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h + include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.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/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/DescribeLiveStreamRecordIndexFilesRequest.h + include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h + include/alibabacloud/live/model/AddCasterProgramRequest.h + include/alibabacloud/live/model/AddCasterProgramResult.h + include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h + include/alibabacloud/live/model/DeleteLiveMixConfigResult.h + include/alibabacloud/live/model/ForbidLiveStreamRequest.h + include/alibabacloud/live/model/ForbidLiveStreamResult.h + include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h + include/alibabacloud/live/model/DeleteCasterEpisodeGroupResult.h + include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h + include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h + include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h + include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigResult.h + include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h + include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.h + include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h + include/alibabacloud/live/model/EffectCasterVideoResourceResult.h + include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.h + include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.h + include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h + include/alibabacloud/live/model/AddLiveAppSnapshotConfigResult.h + include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.h + include/alibabacloud/live/model/RemoveMultipleStreamMixServiceResult.h + include/alibabacloud/live/model/DeleteCasterComponentRequest.h + include/alibabacloud/live/model/DeleteCasterComponentResult.h + include/alibabacloud/live/model/SetCasterConfigRequest.h + include/alibabacloud/live/model/SetCasterConfigResult.h + include/alibabacloud/live/model/RealTimeRecordCommandRequest.h + include/alibabacloud/live/model/RealTimeRecordCommandResult.h + include/alibabacloud/live/model/StartCasterRequest.h + include/alibabacloud/live/model/StartCasterResult.h + include/alibabacloud/live/model/ResumeLiveStreamRequest.h + include/alibabacloud/live/model/ResumeLiveStreamResult.h + include/alibabacloud/live/model/AddCasterLayoutRequest.h + include/alibabacloud/live/model/AddCasterLayoutResult.h + include/alibabacloud/live/model/ModifyCasterLayoutRequest.h + include/alibabacloud/live/model/ModifyCasterLayoutResult.h + include/alibabacloud/live/model/StopCasterRequest.h + include/alibabacloud/live/model/StopCasterResult.h + include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h + include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h + include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h + include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h + include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h + include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h + include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h + include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h + include/alibabacloud/live/model/DeleteCasterRequest.h + include/alibabacloud/live/model/DeleteCasterResult.h + include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h + include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h + include/alibabacloud/live/model/DescribeCastersRequest.h + include/alibabacloud/live/model/DescribeCastersResult.h + include/alibabacloud/live/model/AddLiveMixNotifyConfigRequest.h + include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h + include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h + include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.h + include/alibabacloud/live/model/DescribeCasterScenesRequest.h + include/alibabacloud/live/model/DescribeCasterScenesResult.h ) + +set(live_src + src/LiveClient.cc + src/model/DescribeLiveRecordNotifyConfigRequest.cc + src/model/DescribeLiveRecordNotifyConfigResult.cc + src/model/DescribeLiveDetectNotifyConfigRequest.cc + src/model/DescribeLiveDetectNotifyConfigResult.cc + src/model/ModifyCasterComponentRequest.cc + src/model/ModifyCasterComponentResult.cc + src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc + src/model/UpdateLiveSnapshotDetectPornConfigResult.cc + src/model/EffectCasterUrgentRequest.cc + src/model/EffectCasterUrgentResult.cc + src/model/DescribeCasterComponentsRequest.cc + src/model/DescribeCasterComponentsResult.cc + src/model/DescribeLiveMixConfigRequest.cc + src/model/DescribeLiveMixConfigResult.cc + src/model/CreateLiveStreamRecordIndexFilesRequest.cc + src/model/CreateLiveStreamRecordIndexFilesResult.cc + src/model/UpdateCasterSceneConfigRequest.cc + src/model/UpdateCasterSceneConfigResult.cc + src/model/DescribeLiveStreamTranscodeInfoRequest.cc + src/model/DescribeLiveStreamTranscodeInfoResult.cc + src/model/DescribeLiveStreamsOnlineListRequest.cc + src/model/DescribeLiveStreamsOnlineListResult.cc + src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc + src/model/DeleteLiveSnapshotDetectPornConfigResult.cc + src/model/CopyCasterSceneConfigRequest.cc + src/model/CopyCasterSceneConfigResult.cc + src/model/DescribeLiveDomainTranscodeDataRequest.cc + src/model/DescribeLiveDomainTranscodeDataResult.cc + src/model/StopMixStreamsServiceRequest.cc + src/model/StopMixStreamsServiceResult.cc + src/model/DeleteLiveStreamTranscodeRequest.cc + src/model/DeleteLiveStreamTranscodeResult.cc + src/model/DeleteCasterEpisodeRequest.cc + src/model/DeleteCasterEpisodeResult.cc + src/model/DescribeCasterRtcInfoRequest.cc + src/model/DescribeCasterRtcInfoResult.cc + src/model/SetCasterSceneConfigRequest.cc + src/model/SetCasterSceneConfigResult.cc + src/model/AddTrancodeSEIRequest.cc + src/model/AddTrancodeSEIResult.cc + src/model/DescribeLiveStreamBitRateDataRequest.cc + src/model/DescribeLiveStreamBitRateDataResult.cc + src/model/DeleteCasterLayoutRequest.cc + src/model/DeleteCasterLayoutResult.cc + src/model/DeleteCasterProgramRequest.cc + src/model/DeleteCasterProgramResult.cc + src/model/StartCasterSceneRequest.cc + src/model/StartCasterSceneResult.cc + src/model/DescribeLiveStreamRecordIndexFileRequest.cc + src/model/DescribeLiveStreamRecordIndexFileResult.cc + src/model/AddCasterEpisodeGroupRequest.cc + src/model/AddCasterEpisodeGroupResult.cc + src/model/AddLiveMixConfigRequest.cc + src/model/AddLiveMixConfigResult.cc + src/model/DescribeCasterConfigRequest.cc + src/model/DescribeCasterConfigResult.cc + src/model/CopyCasterRequest.cc + src/model/CopyCasterResult.cc + src/model/AddCustomLiveStreamTranscodeRequest.cc + src/model/AddCustomLiveStreamTranscodeResult.cc + src/model/AddCasterEpisodeRequest.cc + src/model/AddCasterEpisodeResult.cc + src/model/DescribeLiveRecordConfigRequest.cc + src/model/DescribeLiveRecordConfigResult.cc + src/model/DeleteLiveRecordNotifyConfigRequest.cc + src/model/DeleteLiveRecordNotifyConfigResult.cc + src/model/AddLiveRecordNotifyConfigRequest.cc + src/model/AddLiveRecordNotifyConfigResult.cc + src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc + src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc + src/model/DescribeLiveStreamOnlineUserNumRequest.cc + src/model/DescribeLiveStreamOnlineUserNumResult.cc + src/model/AddCasterComponentRequest.cc + src/model/AddCasterComponentResult.cc + src/model/UpdateLiveMixNotifyConfigRequest.cc + src/model/UpdateLiveMixNotifyConfigResult.cc + src/model/DescribeLiveDomainRecordDataRequest.cc + src/model/DescribeLiveDomainRecordDataResult.cc + src/model/DeleteCasterVideoResourceRequest.cc + src/model/DeleteCasterVideoResourceResult.cc + src/model/DeleteLiveAppSnapshotConfigRequest.cc + src/model/DeleteLiveAppSnapshotConfigResult.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/StartMixStreamsServiceRequest.cc + src/model/StartMixStreamsServiceResult.cc + src/model/DescribeLivePullStreamConfigRequest.cc + src/model/DescribeLivePullStreamConfigResult.cc + src/model/SetLiveStreamsNotifyUrlConfigRequest.cc + src/model/SetLiveStreamsNotifyUrlConfigResult.cc + src/model/AddLivePullStreamInfoConfigRequest.cc + src/model/AddLivePullStreamInfoConfigResult.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/AddCasterEpisodeGroupContentRequest.cc + src/model/AddCasterEpisodeGroupContentResult.cc + src/model/UpdateLiveDetectNotifyConfigRequest.cc + src/model/UpdateLiveDetectNotifyConfigResult.cc + src/model/ModifyCasterVideoResourceRequest.cc + src/model/ModifyCasterVideoResourceResult.cc + src/model/ImagePornDetectionRequest.cc + src/model/ImagePornDetectionResult.cc + src/model/DescribeCasterStreamUrlRequest.cc + src/model/DescribeCasterStreamUrlResult.cc + src/model/DescribeLiveStreamsControlHistoryRequest.cc + src/model/DescribeLiveStreamsControlHistoryResult.cc + src/model/StopCasterSceneRequest.cc + src/model/StopCasterSceneResult.cc + src/model/DescribeLiveDomainSnapshotDataRequest.cc + src/model/DescribeLiveDomainSnapshotDataResult.cc + src/model/DeleteLiveRecordVodConfigRequest.cc + src/model/DeleteLiveRecordVodConfigResult.cc + src/model/ModifyCasterEpisodeRequest.cc + src/model/ModifyCasterEpisodeResult.cc + src/model/DescribeLiveStreamSnapshotInfoRequest.cc + src/model/DescribeLiveStreamSnapshotInfoResult.cc + src/model/StartMultipleStreamMixServiceRequest.cc + src/model/StartMultipleStreamMixServiceResult.cc + src/model/StopMultipleStreamMixServiceRequest.cc + src/model/StopMultipleStreamMixServiceResult.cc + src/model/DescribeLiveMixNotifyConfigRequest.cc + src/model/DescribeLiveMixNotifyConfigResult.cc + src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc + src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc + src/model/CreateCasterRequest.cc + src/model/CreateCasterResult.cc + src/model/DescribeLiveStreamRecordContentRequest.cc + src/model/DescribeLiveStreamRecordContentResult.cc + src/model/AddMultipleStreamMixServiceRequest.cc + src/model/AddMultipleStreamMixServiceResult.cc + src/model/AddLiveSnapshotDetectPornConfigRequest.cc + src/model/AddLiveSnapshotDetectPornConfigResult.cc + src/model/DescribeCasterLayoutsRequest.cc + src/model/DescribeCasterLayoutsResult.cc + src/model/UpdateLiveRecordNotifyConfigRequest.cc + src/model/UpdateLiveRecordNotifyConfigResult.cc + src/model/DescribeLiveSnapshotConfigRequest.cc + src/model/DescribeLiveSnapshotConfigResult.cc + src/model/DescribeCasterProgramRequest.cc + src/model/DescribeCasterProgramResult.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/DescribeLiveStreamRecordIndexFilesRequest.cc + src/model/DescribeLiveStreamRecordIndexFilesResult.cc + src/model/AddCasterProgramRequest.cc + src/model/AddCasterProgramResult.cc + src/model/DeleteLiveMixConfigRequest.cc + src/model/DeleteLiveMixConfigResult.cc + src/model/ForbidLiveStreamRequest.cc + src/model/ForbidLiveStreamResult.cc + src/model/DeleteCasterEpisodeGroupRequest.cc + src/model/DeleteCasterEpisodeGroupResult.cc + src/model/DescribeCasterVideoResourcesRequest.cc + src/model/DescribeCasterVideoResourcesResult.cc + src/model/UpdateLiveAppSnapshotConfigRequest.cc + src/model/UpdateLiveAppSnapshotConfigResult.cc + src/model/DeleteLiveDetectNotifyConfigRequest.cc + src/model/DeleteLiveDetectNotifyConfigResult.cc + src/model/EffectCasterVideoResourceRequest.cc + src/model/EffectCasterVideoResourceResult.cc + src/model/DeleteLiveMixNotifyConfigRequest.cc + src/model/DeleteLiveMixNotifyConfigResult.cc + src/model/AddLiveAppSnapshotConfigRequest.cc + src/model/AddLiveAppSnapshotConfigResult.cc + src/model/RemoveMultipleStreamMixServiceRequest.cc + src/model/RemoveMultipleStreamMixServiceResult.cc + src/model/DeleteCasterComponentRequest.cc + src/model/DeleteCasterComponentResult.cc + src/model/SetCasterConfigRequest.cc + src/model/SetCasterConfigResult.cc + src/model/RealTimeRecordCommandRequest.cc + src/model/RealTimeRecordCommandResult.cc + src/model/StartCasterRequest.cc + src/model/StartCasterResult.cc + src/model/ResumeLiveStreamRequest.cc + src/model/ResumeLiveStreamResult.cc + src/model/AddCasterLayoutRequest.cc + src/model/AddCasterLayoutResult.cc + src/model/ModifyCasterLayoutRequest.cc + src/model/ModifyCasterLayoutResult.cc + src/model/StopCasterRequest.cc + src/model/StopCasterResult.cc + src/model/DescribeLiveStreamsPublishListRequest.cc + src/model/DescribeLiveStreamsPublishListResult.cc + src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc + src/model/DescribeLiveSnapshotDetectPornConfigResult.cc + src/model/DeleteCasterSceneConfigRequest.cc + src/model/DeleteCasterSceneConfigResult.cc + src/model/DeleteLiveAppRecordConfigRequest.cc + src/model/DeleteLiveAppRecordConfigResult.cc + src/model/DeleteCasterRequest.cc + src/model/DeleteCasterResult.cc + src/model/DescribeLiveRecordVodConfigsRequest.cc + src/model/DescribeLiveRecordVodConfigsResult.cc + src/model/DescribeCastersRequest.cc + src/model/DescribeCastersResult.cc + src/model/AddLiveMixNotifyConfigRequest.cc + src/model/AddLiveMixNotifyConfigResult.cc + src/model/AddLiveDetectNotifyConfigRequest.cc + src/model/AddLiveDetectNotifyConfigResult.cc + src/model/DescribeCasterScenesRequest.cc + src/model/DescribeCasterScenesResult.cc ) + +add_library(live ${LIB_TYPE} + ${live_public_header} + ${live_public_header_model} + ${live_src}) + +set_target_properties(live + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}live + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(live + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_LIVE_LIBRARY) +endif() + +target_include_directories(live + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(live + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(live + jsoncpp) + target_include_directories(live + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(live + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(live + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(live + PRIVATE /usr/include/jsoncpp) + target_link_libraries(live + jsoncpp) +endif() + +install(FILES ${live_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/live) +install(FILES ${live_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/live/model) +install(TARGETS live + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/live/include/alibabacloud/live/LiveClient.h b/live/include/alibabacloud/live/LiveClient.h new file mode 100644 index 000000000..d5c711a05 --- /dev/null +++ b/live/include/alibabacloud/live/LiveClient.h @@ -0,0 +1,902 @@ +/* + * 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_LIVECLIENT_H_ +#define ALIBABACLOUD_LIVE_LIVECLIENT_H_ + +#include +#include +#include +#include +#include "LiveExport.h" +#include "model/DescribeLiveRecordNotifyConfigRequest.h" +#include "model/DescribeLiveRecordNotifyConfigResult.h" +#include "model/DescribeLiveDetectNotifyConfigRequest.h" +#include "model/DescribeLiveDetectNotifyConfigResult.h" +#include "model/ModifyCasterComponentRequest.h" +#include "model/ModifyCasterComponentResult.h" +#include "model/UpdateLiveSnapshotDetectPornConfigRequest.h" +#include "model/UpdateLiveSnapshotDetectPornConfigResult.h" +#include "model/EffectCasterUrgentRequest.h" +#include "model/EffectCasterUrgentResult.h" +#include "model/DescribeCasterComponentsRequest.h" +#include "model/DescribeCasterComponentsResult.h" +#include "model/DescribeLiveMixConfigRequest.h" +#include "model/DescribeLiveMixConfigResult.h" +#include "model/CreateLiveStreamRecordIndexFilesRequest.h" +#include "model/CreateLiveStreamRecordIndexFilesResult.h" +#include "model/UpdateCasterSceneConfigRequest.h" +#include "model/UpdateCasterSceneConfigResult.h" +#include "model/DescribeLiveStreamTranscodeInfoRequest.h" +#include "model/DescribeLiveStreamTranscodeInfoResult.h" +#include "model/DescribeLiveStreamsOnlineListRequest.h" +#include "model/DescribeLiveStreamsOnlineListResult.h" +#include "model/DeleteLiveSnapshotDetectPornConfigRequest.h" +#include "model/DeleteLiveSnapshotDetectPornConfigResult.h" +#include "model/CopyCasterSceneConfigRequest.h" +#include "model/CopyCasterSceneConfigResult.h" +#include "model/DescribeLiveDomainTranscodeDataRequest.h" +#include "model/DescribeLiveDomainTranscodeDataResult.h" +#include "model/StopMixStreamsServiceRequest.h" +#include "model/StopMixStreamsServiceResult.h" +#include "model/DeleteLiveStreamTranscodeRequest.h" +#include "model/DeleteLiveStreamTranscodeResult.h" +#include "model/DeleteCasterEpisodeRequest.h" +#include "model/DeleteCasterEpisodeResult.h" +#include "model/DescribeCasterRtcInfoRequest.h" +#include "model/DescribeCasterRtcInfoResult.h" +#include "model/SetCasterSceneConfigRequest.h" +#include "model/SetCasterSceneConfigResult.h" +#include "model/AddTrancodeSEIRequest.h" +#include "model/AddTrancodeSEIResult.h" +#include "model/DescribeLiveStreamBitRateDataRequest.h" +#include "model/DescribeLiveStreamBitRateDataResult.h" +#include "model/DeleteCasterLayoutRequest.h" +#include "model/DeleteCasterLayoutResult.h" +#include "model/DeleteCasterProgramRequest.h" +#include "model/DeleteCasterProgramResult.h" +#include "model/StartCasterSceneRequest.h" +#include "model/StartCasterSceneResult.h" +#include "model/DescribeLiveStreamRecordIndexFileRequest.h" +#include "model/DescribeLiveStreamRecordIndexFileResult.h" +#include "model/AddCasterEpisodeGroupRequest.h" +#include "model/AddCasterEpisodeGroupResult.h" +#include "model/AddLiveMixConfigRequest.h" +#include "model/AddLiveMixConfigResult.h" +#include "model/DescribeCasterConfigRequest.h" +#include "model/DescribeCasterConfigResult.h" +#include "model/CopyCasterRequest.h" +#include "model/CopyCasterResult.h" +#include "model/AddCustomLiveStreamTranscodeRequest.h" +#include "model/AddCustomLiveStreamTranscodeResult.h" +#include "model/AddCasterEpisodeRequest.h" +#include "model/AddCasterEpisodeResult.h" +#include "model/DescribeLiveRecordConfigRequest.h" +#include "model/DescribeLiveRecordConfigResult.h" +#include "model/DeleteLiveRecordNotifyConfigRequest.h" +#include "model/DeleteLiveRecordNotifyConfigResult.h" +#include "model/AddLiveRecordNotifyConfigRequest.h" +#include "model/AddLiveRecordNotifyConfigResult.h" +#include "model/DeleteLiveStreamsNotifyUrlConfigRequest.h" +#include "model/DeleteLiveStreamsNotifyUrlConfigResult.h" +#include "model/DescribeLiveStreamOnlineUserNumRequest.h" +#include "model/DescribeLiveStreamOnlineUserNumResult.h" +#include "model/AddCasterComponentRequest.h" +#include "model/AddCasterComponentResult.h" +#include "model/UpdateLiveMixNotifyConfigRequest.h" +#include "model/UpdateLiveMixNotifyConfigResult.h" +#include "model/DescribeLiveDomainRecordDataRequest.h" +#include "model/DescribeLiveDomainRecordDataResult.h" +#include "model/DeleteCasterVideoResourceRequest.h" +#include "model/DeleteCasterVideoResourceResult.h" +#include "model/DeleteLiveAppSnapshotConfigRequest.h" +#include "model/DeleteLiveAppSnapshotConfigResult.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/StartMixStreamsServiceRequest.h" +#include "model/StartMixStreamsServiceResult.h" +#include "model/DescribeLivePullStreamConfigRequest.h" +#include "model/DescribeLivePullStreamConfigResult.h" +#include "model/SetLiveStreamsNotifyUrlConfigRequest.h" +#include "model/SetLiveStreamsNotifyUrlConfigResult.h" +#include "model/AddLivePullStreamInfoConfigRequest.h" +#include "model/AddLivePullStreamInfoConfigResult.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/AddCasterEpisodeGroupContentRequest.h" +#include "model/AddCasterEpisodeGroupContentResult.h" +#include "model/UpdateLiveDetectNotifyConfigRequest.h" +#include "model/UpdateLiveDetectNotifyConfigResult.h" +#include "model/ModifyCasterVideoResourceRequest.h" +#include "model/ModifyCasterVideoResourceResult.h" +#include "model/ImagePornDetectionRequest.h" +#include "model/ImagePornDetectionResult.h" +#include "model/DescribeCasterStreamUrlRequest.h" +#include "model/DescribeCasterStreamUrlResult.h" +#include "model/DescribeLiveStreamsControlHistoryRequest.h" +#include "model/DescribeLiveStreamsControlHistoryResult.h" +#include "model/StopCasterSceneRequest.h" +#include "model/StopCasterSceneResult.h" +#include "model/DescribeLiveDomainSnapshotDataRequest.h" +#include "model/DescribeLiveDomainSnapshotDataResult.h" +#include "model/DeleteLiveRecordVodConfigRequest.h" +#include "model/DeleteLiveRecordVodConfigResult.h" +#include "model/ModifyCasterEpisodeRequest.h" +#include "model/ModifyCasterEpisodeResult.h" +#include "model/DescribeLiveStreamSnapshotInfoRequest.h" +#include "model/DescribeLiveStreamSnapshotInfoResult.h" +#include "model/StartMultipleStreamMixServiceRequest.h" +#include "model/StartMultipleStreamMixServiceResult.h" +#include "model/StopMultipleStreamMixServiceRequest.h" +#include "model/StopMultipleStreamMixServiceResult.h" +#include "model/DescribeLiveMixNotifyConfigRequest.h" +#include "model/DescribeLiveMixNotifyConfigResult.h" +#include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h" +#include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h" +#include "model/CreateCasterRequest.h" +#include "model/CreateCasterResult.h" +#include "model/DescribeLiveStreamRecordContentRequest.h" +#include "model/DescribeLiveStreamRecordContentResult.h" +#include "model/AddMultipleStreamMixServiceRequest.h" +#include "model/AddMultipleStreamMixServiceResult.h" +#include "model/AddLiveSnapshotDetectPornConfigRequest.h" +#include "model/AddLiveSnapshotDetectPornConfigResult.h" +#include "model/DescribeCasterLayoutsRequest.h" +#include "model/DescribeCasterLayoutsResult.h" +#include "model/UpdateLiveRecordNotifyConfigRequest.h" +#include "model/UpdateLiveRecordNotifyConfigResult.h" +#include "model/DescribeLiveSnapshotConfigRequest.h" +#include "model/DescribeLiveSnapshotConfigResult.h" +#include "model/DescribeCasterProgramRequest.h" +#include "model/DescribeCasterProgramResult.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/DescribeLiveStreamRecordIndexFilesRequest.h" +#include "model/DescribeLiveStreamRecordIndexFilesResult.h" +#include "model/AddCasterProgramRequest.h" +#include "model/AddCasterProgramResult.h" +#include "model/DeleteLiveMixConfigRequest.h" +#include "model/DeleteLiveMixConfigResult.h" +#include "model/ForbidLiveStreamRequest.h" +#include "model/ForbidLiveStreamResult.h" +#include "model/DeleteCasterEpisodeGroupRequest.h" +#include "model/DeleteCasterEpisodeGroupResult.h" +#include "model/DescribeCasterVideoResourcesRequest.h" +#include "model/DescribeCasterVideoResourcesResult.h" +#include "model/UpdateLiveAppSnapshotConfigRequest.h" +#include "model/UpdateLiveAppSnapshotConfigResult.h" +#include "model/DeleteLiveDetectNotifyConfigRequest.h" +#include "model/DeleteLiveDetectNotifyConfigResult.h" +#include "model/EffectCasterVideoResourceRequest.h" +#include "model/EffectCasterVideoResourceResult.h" +#include "model/DeleteLiveMixNotifyConfigRequest.h" +#include "model/DeleteLiveMixNotifyConfigResult.h" +#include "model/AddLiveAppSnapshotConfigRequest.h" +#include "model/AddLiveAppSnapshotConfigResult.h" +#include "model/RemoveMultipleStreamMixServiceRequest.h" +#include "model/RemoveMultipleStreamMixServiceResult.h" +#include "model/DeleteCasterComponentRequest.h" +#include "model/DeleteCasterComponentResult.h" +#include "model/SetCasterConfigRequest.h" +#include "model/SetCasterConfigResult.h" +#include "model/RealTimeRecordCommandRequest.h" +#include "model/RealTimeRecordCommandResult.h" +#include "model/StartCasterRequest.h" +#include "model/StartCasterResult.h" +#include "model/ResumeLiveStreamRequest.h" +#include "model/ResumeLiveStreamResult.h" +#include "model/AddCasterLayoutRequest.h" +#include "model/AddCasterLayoutResult.h" +#include "model/ModifyCasterLayoutRequest.h" +#include "model/ModifyCasterLayoutResult.h" +#include "model/StopCasterRequest.h" +#include "model/StopCasterResult.h" +#include "model/DescribeLiveStreamsPublishListRequest.h" +#include "model/DescribeLiveStreamsPublishListResult.h" +#include "model/DescribeLiveSnapshotDetectPornConfigRequest.h" +#include "model/DescribeLiveSnapshotDetectPornConfigResult.h" +#include "model/DeleteCasterSceneConfigRequest.h" +#include "model/DeleteCasterSceneConfigResult.h" +#include "model/DeleteLiveAppRecordConfigRequest.h" +#include "model/DeleteLiveAppRecordConfigResult.h" +#include "model/DeleteCasterRequest.h" +#include "model/DeleteCasterResult.h" +#include "model/DescribeLiveRecordVodConfigsRequest.h" +#include "model/DescribeLiveRecordVodConfigsResult.h" +#include "model/DescribeCastersRequest.h" +#include "model/DescribeCastersResult.h" +#include "model/AddLiveMixNotifyConfigRequest.h" +#include "model/AddLiveMixNotifyConfigResult.h" +#include "model/AddLiveDetectNotifyConfigRequest.h" +#include "model/AddLiveDetectNotifyConfigResult.h" +#include "model/DescribeCasterScenesRequest.h" +#include "model/DescribeCasterScenesResult.h" + + +namespace AlibabaCloud +{ + namespace Live + { + class ALIBABACLOUD_LIVE_EXPORT LiveClient : public RpcServiceClient + { + public: + typedef Outcome DescribeLiveRecordNotifyConfigOutcome; + typedef std::future DescribeLiveRecordNotifyConfigOutcomeCallable; + typedef std::function&)> DescribeLiveRecordNotifyConfigAsyncHandler; + typedef Outcome DescribeLiveDetectNotifyConfigOutcome; + typedef std::future DescribeLiveDetectNotifyConfigOutcomeCallable; + typedef std::function&)> DescribeLiveDetectNotifyConfigAsyncHandler; + typedef Outcome ModifyCasterComponentOutcome; + typedef std::future ModifyCasterComponentOutcomeCallable; + typedef std::function&)> ModifyCasterComponentAsyncHandler; + typedef Outcome UpdateLiveSnapshotDetectPornConfigOutcome; + typedef std::future UpdateLiveSnapshotDetectPornConfigOutcomeCallable; + typedef std::function&)> UpdateLiveSnapshotDetectPornConfigAsyncHandler; + typedef Outcome EffectCasterUrgentOutcome; + typedef std::future EffectCasterUrgentOutcomeCallable; + typedef std::function&)> EffectCasterUrgentAsyncHandler; + typedef Outcome DescribeCasterComponentsOutcome; + typedef std::future DescribeCasterComponentsOutcomeCallable; + typedef std::function&)> DescribeCasterComponentsAsyncHandler; + typedef Outcome DescribeLiveMixConfigOutcome; + typedef std::future DescribeLiveMixConfigOutcomeCallable; + typedef std::function&)> DescribeLiveMixConfigAsyncHandler; + typedef Outcome CreateLiveStreamRecordIndexFilesOutcome; + typedef std::future CreateLiveStreamRecordIndexFilesOutcomeCallable; + typedef std::function&)> CreateLiveStreamRecordIndexFilesAsyncHandler; + typedef Outcome UpdateCasterSceneConfigOutcome; + typedef std::future UpdateCasterSceneConfigOutcomeCallable; + typedef std::function&)> UpdateCasterSceneConfigAsyncHandler; + typedef Outcome DescribeLiveStreamTranscodeInfoOutcome; + typedef std::future DescribeLiveStreamTranscodeInfoOutcomeCallable; + typedef std::function&)> DescribeLiveStreamTranscodeInfoAsyncHandler; + typedef Outcome DescribeLiveStreamsOnlineListOutcome; + typedef std::future DescribeLiveStreamsOnlineListOutcomeCallable; + typedef std::function&)> DescribeLiveStreamsOnlineListAsyncHandler; + typedef Outcome DeleteLiveSnapshotDetectPornConfigOutcome; + typedef std::future DeleteLiveSnapshotDetectPornConfigOutcomeCallable; + typedef std::function&)> DeleteLiveSnapshotDetectPornConfigAsyncHandler; + typedef Outcome CopyCasterSceneConfigOutcome; + typedef std::future CopyCasterSceneConfigOutcomeCallable; + typedef std::function&)> CopyCasterSceneConfigAsyncHandler; + typedef Outcome DescribeLiveDomainTranscodeDataOutcome; + typedef std::future DescribeLiveDomainTranscodeDataOutcomeCallable; + typedef std::function&)> DescribeLiveDomainTranscodeDataAsyncHandler; + typedef Outcome StopMixStreamsServiceOutcome; + typedef std::future StopMixStreamsServiceOutcomeCallable; + typedef std::function&)> StopMixStreamsServiceAsyncHandler; + typedef Outcome DeleteLiveStreamTranscodeOutcome; + typedef std::future DeleteLiveStreamTranscodeOutcomeCallable; + typedef std::function&)> DeleteLiveStreamTranscodeAsyncHandler; + typedef Outcome DeleteCasterEpisodeOutcome; + typedef std::future DeleteCasterEpisodeOutcomeCallable; + typedef std::function&)> DeleteCasterEpisodeAsyncHandler; + typedef Outcome DescribeCasterRtcInfoOutcome; + typedef std::future DescribeCasterRtcInfoOutcomeCallable; + typedef std::function&)> DescribeCasterRtcInfoAsyncHandler; + typedef Outcome SetCasterSceneConfigOutcome; + typedef std::future SetCasterSceneConfigOutcomeCallable; + typedef std::function&)> SetCasterSceneConfigAsyncHandler; + typedef Outcome AddTrancodeSEIOutcome; + typedef std::future AddTrancodeSEIOutcomeCallable; + typedef std::function&)> AddTrancodeSEIAsyncHandler; + typedef Outcome DescribeLiveStreamBitRateDataOutcome; + typedef std::future DescribeLiveStreamBitRateDataOutcomeCallable; + typedef std::function&)> DescribeLiveStreamBitRateDataAsyncHandler; + typedef Outcome DeleteCasterLayoutOutcome; + typedef std::future DeleteCasterLayoutOutcomeCallable; + typedef std::function&)> DeleteCasterLayoutAsyncHandler; + typedef Outcome DeleteCasterProgramOutcome; + typedef std::future DeleteCasterProgramOutcomeCallable; + typedef std::function&)> DeleteCasterProgramAsyncHandler; + typedef Outcome StartCasterSceneOutcome; + typedef std::future StartCasterSceneOutcomeCallable; + typedef std::function&)> StartCasterSceneAsyncHandler; + typedef Outcome DescribeLiveStreamRecordIndexFileOutcome; + typedef std::future DescribeLiveStreamRecordIndexFileOutcomeCallable; + typedef std::function&)> DescribeLiveStreamRecordIndexFileAsyncHandler; + typedef Outcome AddCasterEpisodeGroupOutcome; + typedef std::future AddCasterEpisodeGroupOutcomeCallable; + typedef std::function&)> AddCasterEpisodeGroupAsyncHandler; + typedef Outcome AddLiveMixConfigOutcome; + typedef std::future AddLiveMixConfigOutcomeCallable; + typedef std::function&)> AddLiveMixConfigAsyncHandler; + typedef Outcome DescribeCasterConfigOutcome; + typedef std::future DescribeCasterConfigOutcomeCallable; + typedef std::function&)> DescribeCasterConfigAsyncHandler; + typedef Outcome CopyCasterOutcome; + typedef std::future CopyCasterOutcomeCallable; + typedef std::function&)> CopyCasterAsyncHandler; + typedef Outcome AddCustomLiveStreamTranscodeOutcome; + typedef std::future AddCustomLiveStreamTranscodeOutcomeCallable; + typedef std::function&)> AddCustomLiveStreamTranscodeAsyncHandler; + typedef Outcome AddCasterEpisodeOutcome; + typedef std::future AddCasterEpisodeOutcomeCallable; + typedef std::function&)> AddCasterEpisodeAsyncHandler; + typedef Outcome DescribeLiveRecordConfigOutcome; + typedef std::future DescribeLiveRecordConfigOutcomeCallable; + typedef std::function&)> DescribeLiveRecordConfigAsyncHandler; + typedef Outcome DeleteLiveRecordNotifyConfigOutcome; + typedef std::future DeleteLiveRecordNotifyConfigOutcomeCallable; + typedef std::function&)> DeleteLiveRecordNotifyConfigAsyncHandler; + typedef Outcome AddLiveRecordNotifyConfigOutcome; + typedef std::future AddLiveRecordNotifyConfigOutcomeCallable; + typedef std::function&)> AddLiveRecordNotifyConfigAsyncHandler; + typedef Outcome DeleteLiveStreamsNotifyUrlConfigOutcome; + typedef std::future DeleteLiveStreamsNotifyUrlConfigOutcomeCallable; + typedef std::function&)> DeleteLiveStreamsNotifyUrlConfigAsyncHandler; + typedef Outcome DescribeLiveStreamOnlineUserNumOutcome; + typedef std::future DescribeLiveStreamOnlineUserNumOutcomeCallable; + typedef std::function&)> DescribeLiveStreamOnlineUserNumAsyncHandler; + typedef Outcome AddCasterComponentOutcome; + typedef std::future AddCasterComponentOutcomeCallable; + typedef std::function&)> AddCasterComponentAsyncHandler; + typedef Outcome UpdateLiveMixNotifyConfigOutcome; + typedef std::future UpdateLiveMixNotifyConfigOutcomeCallable; + typedef std::function&)> UpdateLiveMixNotifyConfigAsyncHandler; + typedef Outcome DescribeLiveDomainRecordDataOutcome; + typedef std::future DescribeLiveDomainRecordDataOutcomeCallable; + typedef std::function&)> DescribeLiveDomainRecordDataAsyncHandler; + typedef Outcome DeleteCasterVideoResourceOutcome; + typedef std::future DeleteCasterVideoResourceOutcomeCallable; + typedef std::function&)> DeleteCasterVideoResourceAsyncHandler; + typedef Outcome DeleteLiveAppSnapshotConfigOutcome; + typedef std::future DeleteLiveAppSnapshotConfigOutcomeCallable; + typedef std::function&)> DeleteLiveAppSnapshotConfigAsyncHandler; + typedef Outcome DescribeLiveStreamsNotifyUrlConfigOutcome; + typedef std::future DescribeLiveStreamsNotifyUrlConfigOutcomeCallable; + typedef std::function&)> DescribeLiveStreamsNotifyUrlConfigAsyncHandler; + typedef Outcome DeleteLivePullStreamInfoConfigOutcome; + typedef std::future DeleteLivePullStreamInfoConfigOutcomeCallable; + typedef std::function&)> DeleteLivePullStreamInfoConfigAsyncHandler; + typedef Outcome ModifyCasterProgramOutcome; + typedef std::future ModifyCasterProgramOutcomeCallable; + typedef std::function&)> ModifyCasterProgramAsyncHandler; + typedef Outcome StartMixStreamsServiceOutcome; + typedef std::future StartMixStreamsServiceOutcomeCallable; + typedef std::function&)> StartMixStreamsServiceAsyncHandler; + typedef Outcome DescribeLivePullStreamConfigOutcome; + typedef std::future DescribeLivePullStreamConfigOutcomeCallable; + typedef std::function&)> DescribeLivePullStreamConfigAsyncHandler; + typedef Outcome SetLiveStreamsNotifyUrlConfigOutcome; + typedef std::future SetLiveStreamsNotifyUrlConfigOutcomeCallable; + typedef std::function&)> SetLiveStreamsNotifyUrlConfigAsyncHandler; + typedef Outcome AddLivePullStreamInfoConfigOutcome; + typedef std::future AddLivePullStreamInfoConfigOutcomeCallable; + typedef std::function&)> AddLivePullStreamInfoConfigAsyncHandler; + typedef Outcome DescribeLiveStreamsBlockListOutcome; + typedef std::future DescribeLiveStreamsBlockListOutcomeCallable; + typedef std::function&)> DescribeLiveStreamsBlockListAsyncHandler; + typedef Outcome AddLiveStreamTranscodeOutcome; + typedef std::future AddLiveStreamTranscodeOutcomeCallable; + typedef std::function&)> AddLiveStreamTranscodeAsyncHandler; + typedef Outcome AddCasterVideoResourceOutcome; + typedef std::future AddCasterVideoResourceOutcomeCallable; + typedef std::function&)> AddCasterVideoResourceAsyncHandler; + typedef Outcome AddCasterEpisodeGroupContentOutcome; + typedef std::future AddCasterEpisodeGroupContentOutcomeCallable; + typedef std::function&)> AddCasterEpisodeGroupContentAsyncHandler; + typedef Outcome UpdateLiveDetectNotifyConfigOutcome; + typedef std::future UpdateLiveDetectNotifyConfigOutcomeCallable; + typedef std::function&)> UpdateLiveDetectNotifyConfigAsyncHandler; + typedef Outcome ModifyCasterVideoResourceOutcome; + typedef std::future ModifyCasterVideoResourceOutcomeCallable; + typedef std::function&)> ModifyCasterVideoResourceAsyncHandler; + typedef Outcome ImagePornDetectionOutcome; + typedef std::future ImagePornDetectionOutcomeCallable; + typedef std::function&)> ImagePornDetectionAsyncHandler; + typedef Outcome DescribeCasterStreamUrlOutcome; + typedef std::future DescribeCasterStreamUrlOutcomeCallable; + typedef std::function&)> DescribeCasterStreamUrlAsyncHandler; + typedef Outcome DescribeLiveStreamsControlHistoryOutcome; + typedef std::future DescribeLiveStreamsControlHistoryOutcomeCallable; + typedef std::function&)> DescribeLiveStreamsControlHistoryAsyncHandler; + typedef Outcome StopCasterSceneOutcome; + typedef std::future StopCasterSceneOutcomeCallable; + typedef std::function&)> StopCasterSceneAsyncHandler; + typedef Outcome DescribeLiveDomainSnapshotDataOutcome; + typedef std::future DescribeLiveDomainSnapshotDataOutcomeCallable; + typedef std::function&)> DescribeLiveDomainSnapshotDataAsyncHandler; + typedef Outcome DeleteLiveRecordVodConfigOutcome; + typedef std::future DeleteLiveRecordVodConfigOutcomeCallable; + typedef std::function&)> DeleteLiveRecordVodConfigAsyncHandler; + typedef Outcome ModifyCasterEpisodeOutcome; + typedef std::future ModifyCasterEpisodeOutcomeCallable; + typedef std::function&)> ModifyCasterEpisodeAsyncHandler; + typedef Outcome DescribeLiveStreamSnapshotInfoOutcome; + typedef std::future DescribeLiveStreamSnapshotInfoOutcomeCallable; + typedef std::function&)> DescribeLiveStreamSnapshotInfoAsyncHandler; + typedef Outcome StartMultipleStreamMixServiceOutcome; + typedef std::future StartMultipleStreamMixServiceOutcomeCallable; + typedef std::function&)> StartMultipleStreamMixServiceAsyncHandler; + typedef Outcome StopMultipleStreamMixServiceOutcome; + typedef std::future StopMultipleStreamMixServiceOutcomeCallable; + typedef std::function&)> StopMultipleStreamMixServiceAsyncHandler; + typedef Outcome DescribeLiveMixNotifyConfigOutcome; + typedef std::future DescribeLiveMixNotifyConfigOutcomeCallable; + typedef std::function&)> DescribeLiveMixNotifyConfigAsyncHandler; + typedef Outcome DescribeLiveStreamsFrameRateAndBitRateDataOutcome; + typedef std::future DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable; + typedef std::function&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler; + typedef Outcome CreateCasterOutcome; + typedef std::future CreateCasterOutcomeCallable; + typedef std::function&)> CreateCasterAsyncHandler; + typedef Outcome DescribeLiveStreamRecordContentOutcome; + typedef std::future DescribeLiveStreamRecordContentOutcomeCallable; + typedef std::function&)> DescribeLiveStreamRecordContentAsyncHandler; + typedef Outcome AddMultipleStreamMixServiceOutcome; + typedef std::future AddMultipleStreamMixServiceOutcomeCallable; + typedef std::function&)> AddMultipleStreamMixServiceAsyncHandler; + typedef Outcome AddLiveSnapshotDetectPornConfigOutcome; + typedef std::future AddLiveSnapshotDetectPornConfigOutcomeCallable; + typedef std::function&)> AddLiveSnapshotDetectPornConfigAsyncHandler; + typedef Outcome DescribeCasterLayoutsOutcome; + typedef std::future DescribeCasterLayoutsOutcomeCallable; + typedef std::function&)> DescribeCasterLayoutsAsyncHandler; + typedef Outcome UpdateLiveRecordNotifyConfigOutcome; + typedef std::future UpdateLiveRecordNotifyConfigOutcomeCallable; + typedef std::function&)> UpdateLiveRecordNotifyConfigAsyncHandler; + typedef Outcome DescribeLiveSnapshotConfigOutcome; + typedef std::future DescribeLiveSnapshotConfigOutcomeCallable; + typedef std::function&)> DescribeLiveSnapshotConfigAsyncHandler; + typedef Outcome DescribeCasterProgramOutcome; + typedef std::future DescribeCasterProgramOutcomeCallable; + typedef std::function&)> DescribeCasterProgramAsyncHandler; + typedef Outcome DescribeLiveStreamHistoryUserNumOutcome; + typedef std::future DescribeLiveStreamHistoryUserNumOutcomeCallable; + typedef std::function&)> DescribeLiveStreamHistoryUserNumAsyncHandler; + typedef Outcome AddLiveAppRecordConfigOutcome; + typedef std::future AddLiveAppRecordConfigOutcomeCallable; + typedef std::function&)> AddLiveAppRecordConfigAsyncHandler; + typedef Outcome AddLiveRecordVodConfigOutcome; + typedef std::future AddLiveRecordVodConfigOutcomeCallable; + typedef std::function&)> AddLiveRecordVodConfigAsyncHandler; + typedef Outcome DescribeLiveStreamRecordIndexFilesOutcome; + typedef std::future DescribeLiveStreamRecordIndexFilesOutcomeCallable; + typedef std::function&)> DescribeLiveStreamRecordIndexFilesAsyncHandler; + typedef Outcome AddCasterProgramOutcome; + typedef std::future AddCasterProgramOutcomeCallable; + typedef std::function&)> AddCasterProgramAsyncHandler; + typedef Outcome DeleteLiveMixConfigOutcome; + typedef std::future DeleteLiveMixConfigOutcomeCallable; + typedef std::function&)> DeleteLiveMixConfigAsyncHandler; + typedef Outcome ForbidLiveStreamOutcome; + typedef std::future ForbidLiveStreamOutcomeCallable; + typedef std::function&)> ForbidLiveStreamAsyncHandler; + typedef Outcome DeleteCasterEpisodeGroupOutcome; + typedef std::future DeleteCasterEpisodeGroupOutcomeCallable; + typedef std::function&)> DeleteCasterEpisodeGroupAsyncHandler; + typedef Outcome DescribeCasterVideoResourcesOutcome; + typedef std::future DescribeCasterVideoResourcesOutcomeCallable; + typedef std::function&)> DescribeCasterVideoResourcesAsyncHandler; + typedef Outcome UpdateLiveAppSnapshotConfigOutcome; + typedef std::future UpdateLiveAppSnapshotConfigOutcomeCallable; + typedef std::function&)> UpdateLiveAppSnapshotConfigAsyncHandler; + typedef Outcome DeleteLiveDetectNotifyConfigOutcome; + typedef std::future DeleteLiveDetectNotifyConfigOutcomeCallable; + typedef std::function&)> DeleteLiveDetectNotifyConfigAsyncHandler; + typedef Outcome EffectCasterVideoResourceOutcome; + typedef std::future EffectCasterVideoResourceOutcomeCallable; + typedef std::function&)> EffectCasterVideoResourceAsyncHandler; + typedef Outcome DeleteLiveMixNotifyConfigOutcome; + typedef std::future DeleteLiveMixNotifyConfigOutcomeCallable; + typedef std::function&)> DeleteLiveMixNotifyConfigAsyncHandler; + typedef Outcome AddLiveAppSnapshotConfigOutcome; + typedef std::future AddLiveAppSnapshotConfigOutcomeCallable; + typedef std::function&)> AddLiveAppSnapshotConfigAsyncHandler; + typedef Outcome RemoveMultipleStreamMixServiceOutcome; + typedef std::future RemoveMultipleStreamMixServiceOutcomeCallable; + typedef std::function&)> RemoveMultipleStreamMixServiceAsyncHandler; + typedef Outcome DeleteCasterComponentOutcome; + typedef std::future DeleteCasterComponentOutcomeCallable; + typedef std::function&)> DeleteCasterComponentAsyncHandler; + typedef Outcome SetCasterConfigOutcome; + typedef std::future SetCasterConfigOutcomeCallable; + typedef std::function&)> SetCasterConfigAsyncHandler; + typedef Outcome RealTimeRecordCommandOutcome; + typedef std::future RealTimeRecordCommandOutcomeCallable; + typedef std::function&)> RealTimeRecordCommandAsyncHandler; + typedef Outcome StartCasterOutcome; + typedef std::future StartCasterOutcomeCallable; + typedef std::function&)> StartCasterAsyncHandler; + typedef Outcome ResumeLiveStreamOutcome; + typedef std::future ResumeLiveStreamOutcomeCallable; + typedef std::function&)> ResumeLiveStreamAsyncHandler; + typedef Outcome AddCasterLayoutOutcome; + typedef std::future AddCasterLayoutOutcomeCallable; + typedef std::function&)> AddCasterLayoutAsyncHandler; + typedef Outcome ModifyCasterLayoutOutcome; + typedef std::future ModifyCasterLayoutOutcomeCallable; + typedef std::function&)> ModifyCasterLayoutAsyncHandler; + typedef Outcome StopCasterOutcome; + typedef std::future StopCasterOutcomeCallable; + typedef std::function&)> StopCasterAsyncHandler; + typedef Outcome DescribeLiveStreamsPublishListOutcome; + typedef std::future DescribeLiveStreamsPublishListOutcomeCallable; + typedef std::function&)> DescribeLiveStreamsPublishListAsyncHandler; + typedef Outcome DescribeLiveSnapshotDetectPornConfigOutcome; + typedef std::future DescribeLiveSnapshotDetectPornConfigOutcomeCallable; + typedef std::function&)> DescribeLiveSnapshotDetectPornConfigAsyncHandler; + typedef Outcome DeleteCasterSceneConfigOutcome; + typedef std::future DeleteCasterSceneConfigOutcomeCallable; + typedef std::function&)> DeleteCasterSceneConfigAsyncHandler; + typedef Outcome DeleteLiveAppRecordConfigOutcome; + typedef std::future DeleteLiveAppRecordConfigOutcomeCallable; + typedef std::function&)> DeleteLiveAppRecordConfigAsyncHandler; + typedef Outcome DeleteCasterOutcome; + typedef std::future DeleteCasterOutcomeCallable; + typedef std::function&)> DeleteCasterAsyncHandler; + typedef Outcome DescribeLiveRecordVodConfigsOutcome; + typedef std::future DescribeLiveRecordVodConfigsOutcomeCallable; + typedef std::function&)> DescribeLiveRecordVodConfigsAsyncHandler; + typedef Outcome DescribeCastersOutcome; + typedef std::future DescribeCastersOutcomeCallable; + typedef std::function&)> DescribeCastersAsyncHandler; + typedef Outcome AddLiveMixNotifyConfigOutcome; + typedef std::future AddLiveMixNotifyConfigOutcomeCallable; + typedef std::function&)> AddLiveMixNotifyConfigAsyncHandler; + typedef Outcome AddLiveDetectNotifyConfigOutcome; + typedef std::future AddLiveDetectNotifyConfigOutcomeCallable; + typedef std::function&)> AddLiveDetectNotifyConfigAsyncHandler; + typedef Outcome DescribeCasterScenesOutcome; + typedef std::future DescribeCasterScenesOutcomeCallable; + typedef std::function&)> DescribeCasterScenesAsyncHandler; + + LiveClient(const Credentials &credentials, const ClientConfiguration &configuration); + LiveClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + LiveClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~LiveClient(); + 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; + 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; + ModifyCasterComponentOutcome modifyCasterComponent(const Model::ModifyCasterComponentRequest &request)const; + void modifyCasterComponentAsync(const Model::ModifyCasterComponentRequest& request, const ModifyCasterComponentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCasterComponentOutcomeCallable modifyCasterComponentCallable(const Model::ModifyCasterComponentRequest& request) const; + UpdateLiveSnapshotDetectPornConfigOutcome updateLiveSnapshotDetectPornConfig(const Model::UpdateLiveSnapshotDetectPornConfigRequest &request)const; + void updateLiveSnapshotDetectPornConfigAsync(const Model::UpdateLiveSnapshotDetectPornConfigRequest& request, const UpdateLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLiveSnapshotDetectPornConfigOutcomeCallable updateLiveSnapshotDetectPornConfigCallable(const Model::UpdateLiveSnapshotDetectPornConfigRequest& request) const; + 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; + 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; + 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; + UpdateCasterSceneConfigOutcome updateCasterSceneConfig(const Model::UpdateCasterSceneConfigRequest &request)const; + void updateCasterSceneConfigAsync(const Model::UpdateCasterSceneConfigRequest& request, const UpdateCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCasterSceneConfigOutcomeCallable updateCasterSceneConfigCallable(const Model::UpdateCasterSceneConfigRequest& request) const; + DescribeLiveStreamTranscodeInfoOutcome describeLiveStreamTranscodeInfo(const Model::DescribeLiveStreamTranscodeInfoRequest &request)const; + void describeLiveStreamTranscodeInfoAsync(const Model::DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamTranscodeInfoOutcomeCallable describeLiveStreamTranscodeInfoCallable(const Model::DescribeLiveStreamTranscodeInfoRequest& request) const; + DescribeLiveStreamsOnlineListOutcome describeLiveStreamsOnlineList(const Model::DescribeLiveStreamsOnlineListRequest &request)const; + void describeLiveStreamsOnlineListAsync(const Model::DescribeLiveStreamsOnlineListRequest& request, const DescribeLiveStreamsOnlineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamsOnlineListOutcomeCallable describeLiveStreamsOnlineListCallable(const Model::DescribeLiveStreamsOnlineListRequest& request) const; + DeleteLiveSnapshotDetectPornConfigOutcome deleteLiveSnapshotDetectPornConfig(const Model::DeleteLiveSnapshotDetectPornConfigRequest &request)const; + void deleteLiveSnapshotDetectPornConfigAsync(const Model::DeleteLiveSnapshotDetectPornConfigRequest& request, const DeleteLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveSnapshotDetectPornConfigOutcomeCallable deleteLiveSnapshotDetectPornConfigCallable(const Model::DeleteLiveSnapshotDetectPornConfigRequest& request) const; + CopyCasterSceneConfigOutcome copyCasterSceneConfig(const Model::CopyCasterSceneConfigRequest &request)const; + void copyCasterSceneConfigAsync(const Model::CopyCasterSceneConfigRequest& request, const CopyCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyCasterSceneConfigOutcomeCallable copyCasterSceneConfigCallable(const Model::CopyCasterSceneConfigRequest& request) const; + DescribeLiveDomainTranscodeDataOutcome describeLiveDomainTranscodeData(const Model::DescribeLiveDomainTranscodeDataRequest &request)const; + void describeLiveDomainTranscodeDataAsync(const Model::DescribeLiveDomainTranscodeDataRequest& request, const DescribeLiveDomainTranscodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainTranscodeDataOutcomeCallable describeLiveDomainTranscodeDataCallable(const Model::DescribeLiveDomainTranscodeDataRequest& request) const; + StopMixStreamsServiceOutcome stopMixStreamsService(const Model::StopMixStreamsServiceRequest &request)const; + void stopMixStreamsServiceAsync(const Model::StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopMixStreamsServiceOutcomeCallable stopMixStreamsServiceCallable(const Model::StopMixStreamsServiceRequest& request) const; + DeleteLiveStreamTranscodeOutcome deleteLiveStreamTranscode(const Model::DeleteLiveStreamTranscodeRequest &request)const; + void deleteLiveStreamTranscodeAsync(const Model::DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveStreamTranscodeOutcomeCallable deleteLiveStreamTranscodeCallable(const Model::DeleteLiveStreamTranscodeRequest& request) const; + DeleteCasterEpisodeOutcome deleteCasterEpisode(const Model::DeleteCasterEpisodeRequest &request)const; + void deleteCasterEpisodeAsync(const Model::DeleteCasterEpisodeRequest& request, const DeleteCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterEpisodeOutcomeCallable deleteCasterEpisodeCallable(const Model::DeleteCasterEpisodeRequest& request) const; + DescribeCasterRtcInfoOutcome describeCasterRtcInfo(const Model::DescribeCasterRtcInfoRequest &request)const; + void describeCasterRtcInfoAsync(const Model::DescribeCasterRtcInfoRequest& request, const DescribeCasterRtcInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterRtcInfoOutcomeCallable describeCasterRtcInfoCallable(const Model::DescribeCasterRtcInfoRequest& request) const; + SetCasterSceneConfigOutcome setCasterSceneConfig(const Model::SetCasterSceneConfigRequest &request)const; + void setCasterSceneConfigAsync(const Model::SetCasterSceneConfigRequest& request, const SetCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetCasterSceneConfigOutcomeCallable setCasterSceneConfigCallable(const Model::SetCasterSceneConfigRequest& request) const; + 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; + 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; + DeleteCasterLayoutOutcome deleteCasterLayout(const Model::DeleteCasterLayoutRequest &request)const; + void deleteCasterLayoutAsync(const Model::DeleteCasterLayoutRequest& request, const DeleteCasterLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterLayoutOutcomeCallable deleteCasterLayoutCallable(const Model::DeleteCasterLayoutRequest& request) const; + DeleteCasterProgramOutcome deleteCasterProgram(const Model::DeleteCasterProgramRequest &request)const; + void deleteCasterProgramAsync(const Model::DeleteCasterProgramRequest& request, const DeleteCasterProgramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterProgramOutcomeCallable deleteCasterProgramCallable(const Model::DeleteCasterProgramRequest& request) const; + StartCasterSceneOutcome startCasterScene(const Model::StartCasterSceneRequest &request)const; + void startCasterSceneAsync(const Model::StartCasterSceneRequest& request, const StartCasterSceneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartCasterSceneOutcomeCallable startCasterSceneCallable(const Model::StartCasterSceneRequest& request) const; + DescribeLiveStreamRecordIndexFileOutcome describeLiveStreamRecordIndexFile(const Model::DescribeLiveStreamRecordIndexFileRequest &request)const; + void describeLiveStreamRecordIndexFileAsync(const Model::DescribeLiveStreamRecordIndexFileRequest& request, const DescribeLiveStreamRecordIndexFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamRecordIndexFileOutcomeCallable describeLiveStreamRecordIndexFileCallable(const Model::DescribeLiveStreamRecordIndexFileRequest& request) const; + AddCasterEpisodeGroupOutcome addCasterEpisodeGroup(const Model::AddCasterEpisodeGroupRequest &request)const; + void addCasterEpisodeGroupAsync(const Model::AddCasterEpisodeGroupRequest& request, const AddCasterEpisodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddCasterEpisodeGroupOutcomeCallable addCasterEpisodeGroupCallable(const Model::AddCasterEpisodeGroupRequest& request) const; + AddLiveMixConfigOutcome addLiveMixConfig(const Model::AddLiveMixConfigRequest &request)const; + void addLiveMixConfigAsync(const Model::AddLiveMixConfigRequest& request, const AddLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveMixConfigOutcomeCallable addLiveMixConfigCallable(const Model::AddLiveMixConfigRequest& request) const; + DescribeCasterConfigOutcome describeCasterConfig(const Model::DescribeCasterConfigRequest &request)const; + void describeCasterConfigAsync(const Model::DescribeCasterConfigRequest& request, const DescribeCasterConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterConfigOutcomeCallable describeCasterConfigCallable(const Model::DescribeCasterConfigRequest& request) const; + CopyCasterOutcome copyCaster(const Model::CopyCasterRequest &request)const; + void copyCasterAsync(const Model::CopyCasterRequest& request, const CopyCasterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyCasterOutcomeCallable copyCasterCallable(const Model::CopyCasterRequest& request) const; + 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; + 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; + 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; + DeleteLiveRecordNotifyConfigOutcome deleteLiveRecordNotifyConfig(const Model::DeleteLiveRecordNotifyConfigRequest &request)const; + void deleteLiveRecordNotifyConfigAsync(const Model::DeleteLiveRecordNotifyConfigRequest& request, const DeleteLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveRecordNotifyConfigOutcomeCallable deleteLiveRecordNotifyConfigCallable(const Model::DeleteLiveRecordNotifyConfigRequest& request) const; + AddLiveRecordNotifyConfigOutcome addLiveRecordNotifyConfig(const Model::AddLiveRecordNotifyConfigRequest &request)const; + void addLiveRecordNotifyConfigAsync(const Model::AddLiveRecordNotifyConfigRequest& request, const AddLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveRecordNotifyConfigOutcomeCallable addLiveRecordNotifyConfigCallable(const Model::AddLiveRecordNotifyConfigRequest& 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; + DescribeLiveStreamOnlineUserNumOutcome describeLiveStreamOnlineUserNum(const Model::DescribeLiveStreamOnlineUserNumRequest &request)const; + void describeLiveStreamOnlineUserNumAsync(const Model::DescribeLiveStreamOnlineUserNumRequest& request, const DescribeLiveStreamOnlineUserNumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamOnlineUserNumOutcomeCallable describeLiveStreamOnlineUserNumCallable(const Model::DescribeLiveStreamOnlineUserNumRequest& request) const; + AddCasterComponentOutcome addCasterComponent(const Model::AddCasterComponentRequest &request)const; + void addCasterComponentAsync(const Model::AddCasterComponentRequest& request, const AddCasterComponentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddCasterComponentOutcomeCallable addCasterComponentCallable(const Model::AddCasterComponentRequest& request) const; + UpdateLiveMixNotifyConfigOutcome updateLiveMixNotifyConfig(const Model::UpdateLiveMixNotifyConfigRequest &request)const; + void updateLiveMixNotifyConfigAsync(const Model::UpdateLiveMixNotifyConfigRequest& request, const UpdateLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLiveMixNotifyConfigOutcomeCallable updateLiveMixNotifyConfigCallable(const Model::UpdateLiveMixNotifyConfigRequest& request) const; + DescribeLiveDomainRecordDataOutcome describeLiveDomainRecordData(const Model::DescribeLiveDomainRecordDataRequest &request)const; + void describeLiveDomainRecordDataAsync(const Model::DescribeLiveDomainRecordDataRequest& request, const DescribeLiveDomainRecordDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainRecordDataOutcomeCallable describeLiveDomainRecordDataCallable(const Model::DescribeLiveDomainRecordDataRequest& request) const; + DeleteCasterVideoResourceOutcome deleteCasterVideoResource(const Model::DeleteCasterVideoResourceRequest &request)const; + void deleteCasterVideoResourceAsync(const Model::DeleteCasterVideoResourceRequest& request, const DeleteCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterVideoResourceOutcomeCallable deleteCasterVideoResourceCallable(const Model::DeleteCasterVideoResourceRequest& request) const; + 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; + 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; + DeleteLivePullStreamInfoConfigOutcome deleteLivePullStreamInfoConfig(const Model::DeleteLivePullStreamInfoConfigRequest &request)const; + void deleteLivePullStreamInfoConfigAsync(const Model::DeleteLivePullStreamInfoConfigRequest& request, const DeleteLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLivePullStreamInfoConfigOutcomeCallable deleteLivePullStreamInfoConfigCallable(const Model::DeleteLivePullStreamInfoConfigRequest& request) const; + 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; + StartMixStreamsServiceOutcome startMixStreamsService(const Model::StartMixStreamsServiceRequest &request)const; + void startMixStreamsServiceAsync(const Model::StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartMixStreamsServiceOutcomeCallable startMixStreamsServiceCallable(const Model::StartMixStreamsServiceRequest& request) const; + DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const; + void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const; + SetLiveStreamsNotifyUrlConfigOutcome setLiveStreamsNotifyUrlConfig(const Model::SetLiveStreamsNotifyUrlConfigRequest &request)const; + void setLiveStreamsNotifyUrlConfigAsync(const Model::SetLiveStreamsNotifyUrlConfigRequest& request, const SetLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetLiveStreamsNotifyUrlConfigOutcomeCallable setLiveStreamsNotifyUrlConfigCallable(const Model::SetLiveStreamsNotifyUrlConfigRequest& request) const; + AddLivePullStreamInfoConfigOutcome addLivePullStreamInfoConfig(const Model::AddLivePullStreamInfoConfigRequest &request)const; + void addLivePullStreamInfoConfigAsync(const Model::AddLivePullStreamInfoConfigRequest& request, const AddLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLivePullStreamInfoConfigOutcomeCallable addLivePullStreamInfoConfigCallable(const Model::AddLivePullStreamInfoConfigRequest& 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; + AddLiveStreamTranscodeOutcome addLiveStreamTranscode(const Model::AddLiveStreamTranscodeRequest &request)const; + void addLiveStreamTranscodeAsync(const Model::AddLiveStreamTranscodeRequest& request, const AddLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveStreamTranscodeOutcomeCallable addLiveStreamTranscodeCallable(const Model::AddLiveStreamTranscodeRequest& request) const; + 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; + 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; + UpdateLiveDetectNotifyConfigOutcome updateLiveDetectNotifyConfig(const Model::UpdateLiveDetectNotifyConfigRequest &request)const; + void updateLiveDetectNotifyConfigAsync(const Model::UpdateLiveDetectNotifyConfigRequest& request, const UpdateLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLiveDetectNotifyConfigOutcomeCallable updateLiveDetectNotifyConfigCallable(const Model::UpdateLiveDetectNotifyConfigRequest& request) const; + 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; + ImagePornDetectionOutcome imagePornDetection(const Model::ImagePornDetectionRequest &request)const; + void imagePornDetectionAsync(const Model::ImagePornDetectionRequest& request, const ImagePornDetectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImagePornDetectionOutcomeCallable imagePornDetectionCallable(const Model::ImagePornDetectionRequest& 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; + DescribeLiveStreamsControlHistoryOutcome describeLiveStreamsControlHistory(const Model::DescribeLiveStreamsControlHistoryRequest &request)const; + void describeLiveStreamsControlHistoryAsync(const Model::DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamsControlHistoryOutcomeCallable describeLiveStreamsControlHistoryCallable(const Model::DescribeLiveStreamsControlHistoryRequest& request) const; + StopCasterSceneOutcome stopCasterScene(const Model::StopCasterSceneRequest &request)const; + void stopCasterSceneAsync(const Model::StopCasterSceneRequest& request, const StopCasterSceneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopCasterSceneOutcomeCallable stopCasterSceneCallable(const Model::StopCasterSceneRequest& request) const; + DescribeLiveDomainSnapshotDataOutcome describeLiveDomainSnapshotData(const Model::DescribeLiveDomainSnapshotDataRequest &request)const; + void describeLiveDomainSnapshotDataAsync(const Model::DescribeLiveDomainSnapshotDataRequest& request, const DescribeLiveDomainSnapshotDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainSnapshotDataOutcomeCallable describeLiveDomainSnapshotDataCallable(const Model::DescribeLiveDomainSnapshotDataRequest& request) const; + DeleteLiveRecordVodConfigOutcome deleteLiveRecordVodConfig(const Model::DeleteLiveRecordVodConfigRequest &request)const; + void deleteLiveRecordVodConfigAsync(const Model::DeleteLiveRecordVodConfigRequest& request, const DeleteLiveRecordVodConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveRecordVodConfigOutcomeCallable deleteLiveRecordVodConfigCallable(const Model::DeleteLiveRecordVodConfigRequest& request) const; + 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; + 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; + StartMultipleStreamMixServiceOutcome startMultipleStreamMixService(const Model::StartMultipleStreamMixServiceRequest &request)const; + void startMultipleStreamMixServiceAsync(const Model::StartMultipleStreamMixServiceRequest& request, const StartMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartMultipleStreamMixServiceOutcomeCallable startMultipleStreamMixServiceCallable(const Model::StartMultipleStreamMixServiceRequest& request) const; + StopMultipleStreamMixServiceOutcome stopMultipleStreamMixService(const Model::StopMultipleStreamMixServiceRequest &request)const; + void stopMultipleStreamMixServiceAsync(const Model::StopMultipleStreamMixServiceRequest& request, const StopMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopMultipleStreamMixServiceOutcomeCallable stopMultipleStreamMixServiceCallable(const Model::StopMultipleStreamMixServiceRequest& request) const; + DescribeLiveMixNotifyConfigOutcome describeLiveMixNotifyConfig(const Model::DescribeLiveMixNotifyConfigRequest &request)const; + void describeLiveMixNotifyConfigAsync(const Model::DescribeLiveMixNotifyConfigRequest& request, const DescribeLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveMixNotifyConfigOutcomeCallable describeLiveMixNotifyConfigCallable(const Model::DescribeLiveMixNotifyConfigRequest& request) const; + 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; + 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; + DescribeLiveStreamRecordContentOutcome describeLiveStreamRecordContent(const Model::DescribeLiveStreamRecordContentRequest &request)const; + void describeLiveStreamRecordContentAsync(const Model::DescribeLiveStreamRecordContentRequest& request, const DescribeLiveStreamRecordContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamRecordContentOutcomeCallable describeLiveStreamRecordContentCallable(const Model::DescribeLiveStreamRecordContentRequest& request) const; + AddMultipleStreamMixServiceOutcome addMultipleStreamMixService(const Model::AddMultipleStreamMixServiceRequest &request)const; + void addMultipleStreamMixServiceAsync(const Model::AddMultipleStreamMixServiceRequest& request, const AddMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddMultipleStreamMixServiceOutcomeCallable addMultipleStreamMixServiceCallable(const Model::AddMultipleStreamMixServiceRequest& request) const; + AddLiveSnapshotDetectPornConfigOutcome addLiveSnapshotDetectPornConfig(const Model::AddLiveSnapshotDetectPornConfigRequest &request)const; + void addLiveSnapshotDetectPornConfigAsync(const Model::AddLiveSnapshotDetectPornConfigRequest& request, const AddLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveSnapshotDetectPornConfigOutcomeCallable addLiveSnapshotDetectPornConfigCallable(const Model::AddLiveSnapshotDetectPornConfigRequest& request) const; + DescribeCasterLayoutsOutcome describeCasterLayouts(const Model::DescribeCasterLayoutsRequest &request)const; + void describeCasterLayoutsAsync(const Model::DescribeCasterLayoutsRequest& request, const DescribeCasterLayoutsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterLayoutsOutcomeCallable describeCasterLayoutsCallable(const Model::DescribeCasterLayoutsRequest& request) const; + 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; + 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; + DescribeCasterProgramOutcome describeCasterProgram(const Model::DescribeCasterProgramRequest &request)const; + void describeCasterProgramAsync(const Model::DescribeCasterProgramRequest& request, const DescribeCasterProgramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterProgramOutcomeCallable describeCasterProgramCallable(const Model::DescribeCasterProgramRequest& 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; + AddLiveAppRecordConfigOutcome addLiveAppRecordConfig(const Model::AddLiveAppRecordConfigRequest &request)const; + void addLiveAppRecordConfigAsync(const Model::AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveAppRecordConfigOutcomeCallable addLiveAppRecordConfigCallable(const Model::AddLiveAppRecordConfigRequest& request) const; + 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; + 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; + 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; + 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; + ForbidLiveStreamOutcome forbidLiveStream(const Model::ForbidLiveStreamRequest &request)const; + void forbidLiveStreamAsync(const Model::ForbidLiveStreamRequest& request, const ForbidLiveStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ForbidLiveStreamOutcomeCallable forbidLiveStreamCallable(const Model::ForbidLiveStreamRequest& request) const; + DeleteCasterEpisodeGroupOutcome deleteCasterEpisodeGroup(const Model::DeleteCasterEpisodeGroupRequest &request)const; + void deleteCasterEpisodeGroupAsync(const Model::DeleteCasterEpisodeGroupRequest& request, const DeleteCasterEpisodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterEpisodeGroupOutcomeCallable deleteCasterEpisodeGroupCallable(const Model::DeleteCasterEpisodeGroupRequest& request) const; + DescribeCasterVideoResourcesOutcome describeCasterVideoResources(const Model::DescribeCasterVideoResourcesRequest &request)const; + void describeCasterVideoResourcesAsync(const Model::DescribeCasterVideoResourcesRequest& request, const DescribeCasterVideoResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterVideoResourcesOutcomeCallable describeCasterVideoResourcesCallable(const Model::DescribeCasterVideoResourcesRequest& request) const; + UpdateLiveAppSnapshotConfigOutcome updateLiveAppSnapshotConfig(const Model::UpdateLiveAppSnapshotConfigRequest &request)const; + void updateLiveAppSnapshotConfigAsync(const Model::UpdateLiveAppSnapshotConfigRequest& request, const UpdateLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLiveAppSnapshotConfigOutcomeCallable updateLiveAppSnapshotConfigCallable(const Model::UpdateLiveAppSnapshotConfigRequest& request) const; + DeleteLiveDetectNotifyConfigOutcome deleteLiveDetectNotifyConfig(const Model::DeleteLiveDetectNotifyConfigRequest &request)const; + void deleteLiveDetectNotifyConfigAsync(const Model::DeleteLiveDetectNotifyConfigRequest& request, const DeleteLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveDetectNotifyConfigOutcomeCallable deleteLiveDetectNotifyConfigCallable(const Model::DeleteLiveDetectNotifyConfigRequest& request) const; + EffectCasterVideoResourceOutcome effectCasterVideoResource(const Model::EffectCasterVideoResourceRequest &request)const; + void effectCasterVideoResourceAsync(const Model::EffectCasterVideoResourceRequest& request, const EffectCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EffectCasterVideoResourceOutcomeCallable effectCasterVideoResourceCallable(const Model::EffectCasterVideoResourceRequest& request) const; + DeleteLiveMixNotifyConfigOutcome deleteLiveMixNotifyConfig(const Model::DeleteLiveMixNotifyConfigRequest &request)const; + void deleteLiveMixNotifyConfigAsync(const Model::DeleteLiveMixNotifyConfigRequest& request, const DeleteLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveMixNotifyConfigOutcomeCallable deleteLiveMixNotifyConfigCallable(const Model::DeleteLiveMixNotifyConfigRequest& request) const; + AddLiveAppSnapshotConfigOutcome addLiveAppSnapshotConfig(const Model::AddLiveAppSnapshotConfigRequest &request)const; + void addLiveAppSnapshotConfigAsync(const Model::AddLiveAppSnapshotConfigRequest& request, const AddLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveAppSnapshotConfigOutcomeCallable addLiveAppSnapshotConfigCallable(const Model::AddLiveAppSnapshotConfigRequest& request) const; + RemoveMultipleStreamMixServiceOutcome removeMultipleStreamMixService(const Model::RemoveMultipleStreamMixServiceRequest &request)const; + void removeMultipleStreamMixServiceAsync(const Model::RemoveMultipleStreamMixServiceRequest& request, const RemoveMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveMultipleStreamMixServiceOutcomeCallable removeMultipleStreamMixServiceCallable(const Model::RemoveMultipleStreamMixServiceRequest& request) const; + DeleteCasterComponentOutcome deleteCasterComponent(const Model::DeleteCasterComponentRequest &request)const; + void deleteCasterComponentAsync(const Model::DeleteCasterComponentRequest& request, const DeleteCasterComponentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterComponentOutcomeCallable deleteCasterComponentCallable(const Model::DeleteCasterComponentRequest& request) const; + 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; + 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; + StartCasterOutcome startCaster(const Model::StartCasterRequest &request)const; + void startCasterAsync(const Model::StartCasterRequest& request, const StartCasterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartCasterOutcomeCallable startCasterCallable(const Model::StartCasterRequest& request) const; + ResumeLiveStreamOutcome resumeLiveStream(const Model::ResumeLiveStreamRequest &request)const; + void resumeLiveStreamAsync(const Model::ResumeLiveStreamRequest& request, const ResumeLiveStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResumeLiveStreamOutcomeCallable resumeLiveStreamCallable(const Model::ResumeLiveStreamRequest& request) const; + 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; + ModifyCasterLayoutOutcome modifyCasterLayout(const Model::ModifyCasterLayoutRequest &request)const; + void modifyCasterLayoutAsync(const Model::ModifyCasterLayoutRequest& request, const ModifyCasterLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCasterLayoutOutcomeCallable modifyCasterLayoutCallable(const Model::ModifyCasterLayoutRequest& request) const; + StopCasterOutcome stopCaster(const Model::StopCasterRequest &request)const; + void stopCasterAsync(const Model::StopCasterRequest& request, const StopCasterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopCasterOutcomeCallable stopCasterCallable(const Model::StopCasterRequest& request) const; + DescribeLiveStreamsPublishListOutcome describeLiveStreamsPublishList(const Model::DescribeLiveStreamsPublishListRequest &request)const; + void describeLiveStreamsPublishListAsync(const Model::DescribeLiveStreamsPublishListRequest& request, const DescribeLiveStreamsPublishListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamsPublishListOutcomeCallable describeLiveStreamsPublishListCallable(const Model::DescribeLiveStreamsPublishListRequest& request) const; + DescribeLiveSnapshotDetectPornConfigOutcome describeLiveSnapshotDetectPornConfig(const Model::DescribeLiveSnapshotDetectPornConfigRequest &request)const; + void describeLiveSnapshotDetectPornConfigAsync(const Model::DescribeLiveSnapshotDetectPornConfigRequest& request, const DescribeLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveSnapshotDetectPornConfigOutcomeCallable describeLiveSnapshotDetectPornConfigCallable(const Model::DescribeLiveSnapshotDetectPornConfigRequest& request) const; + DeleteCasterSceneConfigOutcome deleteCasterSceneConfig(const Model::DeleteCasterSceneConfigRequest &request)const; + void deleteCasterSceneConfigAsync(const Model::DeleteCasterSceneConfigRequest& request, const DeleteCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterSceneConfigOutcomeCallable deleteCasterSceneConfigCallable(const Model::DeleteCasterSceneConfigRequest& 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; + DeleteCasterOutcome deleteCaster(const Model::DeleteCasterRequest &request)const; + void deleteCasterAsync(const Model::DeleteCasterRequest& request, const DeleteCasterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCasterOutcomeCallable deleteCasterCallable(const Model::DeleteCasterRequest& request) const; + DescribeLiveRecordVodConfigsOutcome describeLiveRecordVodConfigs(const Model::DescribeLiveRecordVodConfigsRequest &request)const; + void describeLiveRecordVodConfigsAsync(const Model::DescribeLiveRecordVodConfigsRequest& request, const DescribeLiveRecordVodConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveRecordVodConfigsOutcomeCallable describeLiveRecordVodConfigsCallable(const Model::DescribeLiveRecordVodConfigsRequest& request) const; + DescribeCastersOutcome describeCasters(const Model::DescribeCastersRequest &request)const; + void describeCastersAsync(const Model::DescribeCastersRequest& request, const DescribeCastersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCastersOutcomeCallable describeCastersCallable(const Model::DescribeCastersRequest& request) const; + AddLiveMixNotifyConfigOutcome addLiveMixNotifyConfig(const Model::AddLiveMixNotifyConfigRequest &request)const; + void addLiveMixNotifyConfigAsync(const Model::AddLiveMixNotifyConfigRequest& request, const AddLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveMixNotifyConfigOutcomeCallable addLiveMixNotifyConfigCallable(const Model::AddLiveMixNotifyConfigRequest& request) const; + 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; + 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; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_LIVE_LIVECLIENT_H_ diff --git a/live/include/alibabacloud/live/LiveExport.h b/live/include/alibabacloud/live/LiveExport.h new file mode 100644 index 000000000..2dd0e09e0 --- /dev/null +++ b/live/include/alibabacloud/live/LiveExport.h @@ -0,0 +1,32 @@ +/* + * 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_LIVEEXPORT_H_ +#define ALIBABACLOUD_LIVE_LIVEEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_LIVE_LIBRARY) +# define ALIBABACLOUD_LIVE_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_LIVE_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_LIVE_EXPORT +#endif + +#endif // !ALIBABACLOUD_LIVE_LIVEEXPORT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterComponentRequest.h b/live/include/alibabacloud/live/model/AddCasterComponentRequest.h new file mode 100644 index 000000000..5851f2860 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterComponentRequest.h @@ -0,0 +1,75 @@ +/* + * 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_ADDCASTERCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterComponentRequest : public RpcServiceRequest + { + + public: + AddCasterComponentRequest(); + ~AddCasterComponentRequest(); + + std::string getComponentType()const; + void setComponentType(const std::string& componentType); + std::string getLocationId()const; + void setLocationId(const std::string& locationId); + std::string getImageLayerContent()const; + void setImageLayerContent(const std::string& imageLayerContent); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getEffect()const; + void setEffect(const std::string& effect); + std::string getComponentLayer()const; + void setComponentLayer(const std::string& componentLayer); + std::string getCaptionLayerContent()const; + void setCaptionLayerContent(const std::string& captionLayerContent); + std::string getComponentName()const; + void setComponentName(const std::string& componentName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTextLayerContent()const; + void setTextLayerContent(const std::string& textLayerContent); + + private: + std::string componentType_; + std::string locationId_; + std::string imageLayerContent_; + std::string casterId_; + std::string effect_; + std::string componentLayer_; + std::string captionLayerContent_; + std::string componentName_; + long ownerId_; + std::string textLayerContent_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterComponentResult.h b/live/include/alibabacloud/live/model/AddCasterComponentResult.h new file mode 100644 index 000000000..4c913bfa5 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterComponentResult.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_ADDCASTERCOMPONENTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterComponentResult : public ServiceResult + { + public: + + + AddCasterComponentResult(); + explicit AddCasterComponentResult(const std::string &payload); + ~AddCasterComponentResult(); + std::string getComponentId()const; + + protected: + void parse(const std::string &payload); + private: + std::string componentId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h new file mode 100644 index 000000000..581e6a784 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.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_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupContentRequest : public RpcServiceRequest + { + + public: + AddCasterEpisodeGroupContentRequest(); + ~AddCasterEpisodeGroupContentRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getContent()const; + void setContent(const std::string& content); + + private: + std::string clientToken_; + long ownerId_; + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h new file mode 100644 index 000000000..9a7d79ac9 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.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_ADDCASTEREPISODEGROUPCONTENTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupContentResult : public ServiceResult + { + public: + + + AddCasterEpisodeGroupContentResult(); + explicit AddCasterEpisodeGroupContentResult(const std::string &payload); + ~AddCasterEpisodeGroupContentResult(); + std::string getProgramId()const; + std::vector getItemIds()const; + + protected: + void parse(const std::string &payload); + private: + std::string programId_; + std::vector itemIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h new file mode 100644 index 000000000..2e888b0d2 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h @@ -0,0 +1,74 @@ +/* + * 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_ADDCASTEREPISODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupRequest : public RpcServiceRequest + { + struct Item + { + std::string itemName; + std::string vodUrl; + }; + + public: + AddCasterEpisodeGroupRequest(); + ~AddCasterEpisodeGroupRequest(); + + std::string getSideOutputUrl()const; + void setSideOutputUrl(const std::string& sideOutputUrl); + std::vector getItem()const; + void setItem(const std::vector& item); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + int getRepeatNum()const; + void setRepeatNum(int repeatNum); + std::string getCallbackUrl()const; + void setCallbackUrl(const std::string& callbackUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string sideOutputUrl_; + std::vector item_; + std::string clientToken_; + std::string domainName_; + std::string startTime_; + int repeatNum_; + std::string callbackUrl_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupResult.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupResult.h new file mode 100644 index 000000000..b5c63a06f --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupResult.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_ADDCASTEREPISODEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupResult : public ServiceResult + { + public: + + + AddCasterEpisodeGroupResult(); + explicit AddCasterEpisodeGroupResult(const std::string &payload); + ~AddCasterEpisodeGroupResult(); + std::string getProgramId()const; + std::vector getItemIds()const; + + protected: + void parse(const std::string &payload); + private: + std::string programId_; + std::vector itemIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h new file mode 100644 index 000000000..4c65047df --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.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_ADDCASTEREPISODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeRequest : public RpcServiceRequest + { + + public: + AddCasterEpisodeRequest(); + ~AddCasterEpisodeRequest(); + + std::string getResourceId()const; + void setResourceId(const std::string& resourceId); + std::vector getComponentId()const; + void setComponentId(const std::vector& componentId); + std::string getSwitchType()const; + void setSwitchType(const std::string& switchType); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getEpisodeType()const; + void setEpisodeType(const std::string& episodeType); + std::string getEpisodeName()const; + void setEpisodeName(const std::string& episodeName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string resourceId_; + std::vector componentId_; + std::string switchType_; + std::string casterId_; + std::string episodeType_; + std::string episodeName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeResult.h b/live/include/alibabacloud/live/model/AddCasterEpisodeResult.h new file mode 100644 index 000000000..49c26c06e --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeResult.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_ADDCASTEREPISODERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeResult : public ServiceResult + { + public: + + + AddCasterEpisodeResult(); + explicit AddCasterEpisodeResult(const std::string &payload); + ~AddCasterEpisodeResult(); + std::string getEpisodeId()const; + + protected: + void parse(const std::string &payload); + private: + std::string episodeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h b/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h new file mode 100644 index 000000000..0ea5e24cd --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterLayoutRequest : public RpcServiceRequest + { + struct AudioLayer + { + float volumeRate; + std::string validChannel; + int fixedDelayDuration; + }; + struct VideoLayer + { + std::string fillMode; + float heightNormalized; + float widthNormalized; + std::string positionRefer; + std::vector positionNormalized; + int fixedDelayDuration; + }; + + public: + AddCasterLayoutRequest(); + ~AddCasterLayoutRequest(); + + std::vector getBlendList()const; + void setBlendList(const std::vector& blendList); + std::vector getAudioLayer()const; + void setAudioLayer(const std::vector& audioLayer); + std::vector getVideoLayer()const; + void setVideoLayer(const std::vector& videoLayer); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::vector getMixList()const; + void setMixList(const std::vector& mixList); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::vector blendList_; + std::vector audioLayer_; + std::vector videoLayer_; + std::string casterId_; + std::vector mixList_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterLayoutResult.h b/live/include/alibabacloud/live/model/AddCasterLayoutResult.h new file mode 100644 index 000000000..b15545c3f --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterLayoutResult.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_ADDCASTERLAYOUTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterLayoutResult : public ServiceResult + { + public: + + + AddCasterLayoutResult(); + explicit AddCasterLayoutResult(const std::string &payload); + ~AddCasterLayoutResult(); + std::string getLayoutId()const; + + protected: + void parse(const std::string &payload); + private: + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterProgramRequest.h b/live/include/alibabacloud/live/model/AddCasterProgramRequest.h new file mode 100644 index 000000000..39533c9bc --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterProgramRequest.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterProgramRequest : public RpcServiceRequest + { + struct Episode + { + std::string episodeType; + std::string episodeName; + std::string resourceId; + std::vector componentId; + std::string startTime; + std::string endTime; + std::string switchType; + }; + + public: + AddCasterProgramRequest(); + ~AddCasterProgramRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::vector getEpisode()const; + void setEpisode(const std::vector& episode); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + std::vector episode_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterProgramResult.h b/live/include/alibabacloud/live/model/AddCasterProgramResult.h new file mode 100644 index 000000000..2f15a8fea --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterProgramResult.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_ADDCASTERPROGRAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterProgramResult : public ServiceResult + { + public: + struct EpisodeId + { + std::string episodeId; + }; + + + AddCasterProgramResult(); + explicit AddCasterProgramResult(const std::string &payload); + ~AddCasterProgramResult(); + std::vector getEpisodeIds()const; + + protected: + void parse(const std::string &payload); + private: + std::vector episodeIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h new file mode 100644 index 000000000..b835d292e --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h @@ -0,0 +1,75 @@ +/* + * 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_ADDCASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterVideoResourceRequest : public RpcServiceRequest + { + + public: + 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); + + 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_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCasterVideoResourceResult.h b/live/include/alibabacloud/live/model/AddCasterVideoResourceResult.h new file mode 100644 index 000000000..d8b6c46c2 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCasterVideoResourceResult.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_ADDCASTERVIDEORESOURCERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCasterVideoResourceResult : public ServiceResult + { + public: + + + AddCasterVideoResourceResult(); + explicit AddCasterVideoResourceResult(const std::string &payload); + ~AddCasterVideoResourceResult(); + std::string getResourceId()const; + + protected: + void parse(const std::string &payload); + private: + std::string resourceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h new file mode 100644 index 000000000..563eb19ee --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h @@ -0,0 +1,81 @@ +/* + * 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_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCustomLiveStreamTranscodeRequest : public RpcServiceRequest + { + + public: + AddCustomLiveStreamTranscodeRequest(); + ~AddCustomLiveStreamTranscodeRequest(); + + std::string getApp()const; + void setApp(const std::string& app); + std::string get_Template()const; + void set_Template(const std::string& _template); + int getFPS()const; + void setFPS(int fPS); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getTemplateType()const; + void setTemplateType(const std::string& templateType); + std::string getDomain()const; + void setDomain(const std::string& domain); + int getWidth()const; + void setWidth(int width); + int getVideoBitrate()const; + void setVideoBitrate(int videoBitrate); + int getHeight()const; + void setHeight(int height); + + private: + std::string app_; + std::string _template_; + int fPS_; + long ownerId_; + std::string version_; + std::string accessKeyId_; + std::string securityToken_; + std::string templateType_; + std::string domain_; + int width_; + int videoBitrate_; + int height_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.h b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.h new file mode 100644 index 000000000..bf0c5b4bc --- /dev/null +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.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_ADDCUSTOMLIVESTREAMTRANSCODERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddCustomLiveStreamTranscodeResult : public ServiceResult + { + public: + + + AddCustomLiveStreamTranscodeResult(); + explicit AddCustomLiveStreamTranscodeResult(const std::string &payload); + ~AddCustomLiveStreamTranscodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h new file mode 100644 index 000000000..41ed95749 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h @@ -0,0 +1,88 @@ +/* + * 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_ADDLIVEAPPRECORDCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveAppRecordConfigRequest : public RpcServiceRequest + { + struct RecordFormat + { + std::string format; + std::string ossObjectPrefix; + std::string sliceOssObjectPrefix; + int cycleDuration; + }; + + public: + AddLiveAppRecordConfigRequest(); + ~AddLiveAppRecordConfigRequest(); + + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + 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::vector getRecordFormat()const; + void setRecordFormat(const std::vector& recordFormat); + int getOnDemand()const; + void setOnDemand(int onDemand); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + + private: + std::string ossBucket_; + std::string domainName_; + std::string ossEndpoint_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string accessKeyId_; + std::string appName_; + std::string securityToken_; + std::vector recordFormat_; + int onDemand_; + std::string streamName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigResult.h b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigResult.h new file mode 100644 index 000000000..3aa78c139 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigResult.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_ADDLIVEAPPRECORDCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveAppRecordConfigResult : public ServiceResult + { + public: + + + AddLiveAppRecordConfigResult(); + explicit AddLiveAppRecordConfigResult(const std::string &payload); + ~AddLiveAppRecordConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h new file mode 100644 index 000000000..56d984562 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h @@ -0,0 +1,75 @@ +/* + * 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_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveAppSnapshotConfigRequest : public RpcServiceRequest + { + + public: + AddLiveAppSnapshotConfigRequest(); + ~AddLiveAppSnapshotConfigRequest(); + + int getTimeInterval()const; + void setTimeInterval(int timeInterval); + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + 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); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + std::string getSequenceOssObject()const; + void setSequenceOssObject(const std::string& sequenceOssObject); + std::string getOverwriteOssObject()const; + void setOverwriteOssObject(const std::string& overwriteOssObject); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + int timeInterval_; + std::string ossBucket_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string ossEndpoint_; + std::string sequenceOssObject_; + std::string overwriteOssObject_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigResult.h b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigResult.h new file mode 100644 index 000000000..ebff27d84 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigResult.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_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveAppSnapshotConfigResult : public ServiceResult + { + public: + + + AddLiveAppSnapshotConfigResult(); + explicit AddLiveAppSnapshotConfigResult(const std::string &payload); + ~AddLiveAppSnapshotConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h new file mode 100644 index 000000000..9689e2cba --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.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_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDetectNotifyConfigRequest : public RpcServiceRequest + { + + public: + AddLiveDetectNotifyConfigRequest(); + ~AddLiveDetectNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string domainName_; + std::string notifyUrl_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.h b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.h new file mode 100644 index 000000000..d0059c029 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.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_ADDLIVEDETECTNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDetectNotifyConfigResult : public ServiceResult + { + public: + + + AddLiveDetectNotifyConfigResult(); + explicit AddLiveDetectNotifyConfigResult(const std::string &payload); + ~AddLiveDetectNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveMixConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveMixConfigRequest.h new file mode 100644 index 000000000..d1583e8fc --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveMixConfigRequest.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_ADDLIVEMIXCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveMixConfigRequest : public RpcServiceRequest + { + + public: + AddLiveMixConfigRequest(); + ~AddLiveMixConfigRequest(); + + std::string get_Template()const; + void set_Template(const std::string& _template); + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string _template_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveMixConfigResult.h b/live/include/alibabacloud/live/model/AddLiveMixConfigResult.h new file mode 100644 index 000000000..f9834afde --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveMixConfigResult.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_ADDLIVEMIXCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveMixConfigResult : public ServiceResult + { + public: + + + AddLiveMixConfigResult(); + explicit AddLiveMixConfigResult(const std::string &payload); + ~AddLiveMixConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigRequest.h new file mode 100644 index 000000000..39b7be4e1 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigRequest.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_ADDLIVEMIXNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveMixNotifyConfigRequest : public RpcServiceRequest + { + + public: + AddLiveMixNotifyConfigRequest(); + ~AddLiveMixNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string domainName_; + std::string notifyUrl_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h b/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h new file mode 100644 index 000000000..5725343ee --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.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_ADDLIVEMIXNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveMixNotifyConfigResult : public ServiceResult + { + public: + + + AddLiveMixNotifyConfigResult(); + explicit AddLiveMixNotifyConfigResult(const std::string &payload); + ~AddLiveMixNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h new file mode 100644 index 000000000..374ab6379 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.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_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLivePullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + AddLivePullStreamInfoConfigRequest(); + ~AddLivePullStreamInfoConfigRequest(); + + std::string getSourceUrl()const; + void setSourceUrl(const std::string& sourceUrl); + 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); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + 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); + + private: + std::string sourceUrl_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h new file mode 100644 index 000000000..66805398c --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.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_ADDLIVEPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLivePullStreamInfoConfigResult : public ServiceResult + { + public: + + + AddLivePullStreamInfoConfigResult(); + explicit AddLivePullStreamInfoConfigResult(const std::string &payload); + ~AddLivePullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h new file mode 100644 index 000000000..82619275a --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.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_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordNotifyConfigRequest : public RpcServiceRequest + { + + public: + AddLiveRecordNotifyConfigRequest(); + ~AddLiveRecordNotifyConfigRequest(); + + std::string getOnDemandUrl()const; + void setOnDemandUrl(const std::string& onDemandUrl); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + bool getNeedStatusNotify()const; + void setNeedStatusNotify(bool needStatusNotify); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string onDemandUrl_; + std::string securityToken_; + std::string domainName_; + std::string notifyUrl_; + long ownerId_; + bool needStatusNotify_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h new file mode 100644 index 000000000..1630f627e --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.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_ADDLIVERECORDNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordNotifyConfigResult : public ServiceResult + { + public: + + + AddLiveRecordNotifyConfigResult(); + explicit AddLiveRecordNotifyConfigResult(const std::string &payload); + ~AddLiveRecordNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h new file mode 100644 index 000000000..af4daa079 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordVodConfigRequest : public RpcServiceRequest + { + + public: + AddLiveRecordVodConfigRequest(); + ~AddLiveRecordVodConfigRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getAutoCompose()const; + void setAutoCompose(const std::string& autoCompose); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + int getCycleDuration()const; + void setCycleDuration(int cycleDuration); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getComposeVodTranscodeGroupId()const; + void setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getVodTranscodeGroupId()const; + void setVodTranscodeGroupId(const std::string& vodTranscodeGroupId); + + private: + std::string appName_; + std::string autoCompose_; + std::string domainName_; + int cycleDuration_; + long ownerId_; + std::string composeVodTranscodeGroupId_; + std::string streamName_; + std::string vodTranscodeGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigResult.h b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigResult.h new file mode 100644 index 000000000..b2d955dcb --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigResult.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_ADDLIVERECORDVODCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordVodConfigResult : public ServiceResult + { + public: + + + AddLiveRecordVodConfigResult(); + explicit AddLiveRecordVodConfigResult(const std::string &payload); + ~AddLiveRecordVodConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h new file mode 100644 index 000000000..2a29f0acb --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h @@ -0,0 +1,75 @@ +/* + * 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_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest + { + + public: + AddLiveSnapshotDetectPornConfigRequest(); + ~AddLiveSnapshotDetectPornConfigRequest(); + + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + 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); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + int getInterval()const; + void setInterval(int interval); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getOssObject()const; + void setOssObject(const std::string& ossObject); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::vector getScene()const; + void setScene(const std::vector& scene); + + private: + std::string ossBucket_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string ossEndpoint_; + int interval_; + long ownerId_; + std::string ossObject_; + std::string accessKeyId_; + std::vector scene_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.h b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.h new file mode 100644 index 000000000..8415d135a --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.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_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveSnapshotDetectPornConfigResult : public ServiceResult + { + public: + + + AddLiveSnapshotDetectPornConfigResult(); + explicit AddLiveSnapshotDetectPornConfigResult(const std::string &payload); + ~AddLiveSnapshotDetectPornConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h new file mode 100644 index 000000000..0681cd7a8 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.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_ADDLIVESTREAMTRANSCODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamTranscodeRequest : public RpcServiceRequest + { + + public: + AddLiveStreamTranscodeRequest(); + ~AddLiveStreamTranscodeRequest(); + + std::string getApp()const; + void setApp(const std::string& app); + std::string get_Template()const; + void set_Template(const std::string& _template); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomain()const; + void setDomain(const std::string& domain); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string app_; + std::string _template_; + std::string securityToken_; + std::string domain_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h new file mode 100644 index 000000000..d6bce6fc2 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeResult.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_ADDLIVESTREAMTRANSCODERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamTranscodeResult : public ServiceResult + { + public: + + + AddLiveStreamTranscodeResult(); + explicit AddLiveStreamTranscodeResult(const std::string &payload); + ~AddLiveStreamTranscodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceRequest.h b/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceRequest.h new file mode 100644 index 000000000..aed5d51e2 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceRequest.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_ADDMULTIPLESTREAMMIXSERVICEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDMULTIPLESTREAMMIXSERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddMultipleStreamMixServiceRequest : public RpcServiceRequest + { + + public: + AddMultipleStreamMixServiceRequest(); + ~AddMultipleStreamMixServiceRequest(); + + 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); + std::string getMixStreamName()const; + void setMixStreamName(const std::string& mixStreamName); + std::string getMixDomainName()const; + void setMixDomainName(const std::string& mixDomainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getMixAppName()const; + void setMixAppName(const std::string& mixAppName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string mixStreamName_; + std::string mixDomainName_; + long ownerId_; + std::string mixAppName_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDMULTIPLESTREAMMIXSERVICEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.h b/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.h new file mode 100644 index 000000000..6a4ff6360 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.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_ADDMULTIPLESTREAMMIXSERVICERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDMULTIPLESTREAMMIXSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddMultipleStreamMixServiceResult : public ServiceResult + { + public: + + + AddMultipleStreamMixServiceResult(); + explicit AddMultipleStreamMixServiceResult(const std::string &payload); + ~AddMultipleStreamMixServiceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDMULTIPLESTREAMMIXSERVICERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h new file mode 100644 index 000000000..57a07ea1a --- /dev/null +++ b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddTrancodeSEIRequest : public RpcServiceRequest + { + + public: + AddTrancodeSEIRequest(); + ~AddTrancodeSEIRequest(); + + int getDelay()const; + void setDelay(int delay); + std::string getAppName()const; + void setAppName(const std::string& appName); + int getRepeat()const; + void setRepeat(int repeat); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getPattern()const; + void setPattern(const std::string& pattern); + std::string getText()const; + void setText(const std::string& text); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + + private: + int delay_; + std::string appName_; + int repeat_; + std::string domainName_; + std::string pattern_; + std::string text_; + long ownerId_; + std::string streamName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddTrancodeSEIResult.h b/live/include/alibabacloud/live/model/AddTrancodeSEIResult.h new file mode 100644 index 000000000..7f8bed397 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddTrancodeSEIResult.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_ADDTRANCODESEIRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddTrancodeSEIResult : public ServiceResult + { + public: + + + AddTrancodeSEIResult(); + explicit AddTrancodeSEIResult(const std::string &payload); + ~AddTrancodeSEIResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CopyCasterRequest.h b/live/include/alibabacloud/live/model/CopyCasterRequest.h new file mode 100644 index 000000000..c3de85ccc --- /dev/null +++ b/live/include/alibabacloud/live/model/CopyCasterRequest.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_COPYCASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CopyCasterRequest : public RpcServiceRequest + { + + public: + CopyCasterRequest(); + ~CopyCasterRequest(); + + std::string getSrcCasterId()const; + void setSrcCasterId(const std::string& srcCasterId); + std::string getCasterName()const; + void setCasterName(const std::string& casterName); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string srcCasterId_; + std::string casterName_; + std::string clientToken_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CopyCasterResult.h b/live/include/alibabacloud/live/model/CopyCasterResult.h new file mode 100644 index 000000000..d646b1d70 --- /dev/null +++ b/live/include/alibabacloud/live/model/CopyCasterResult.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_COPYCASTERRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CopyCasterResult : public ServiceResult + { + public: + + + CopyCasterResult(); + explicit CopyCasterResult(const std::string &payload); + ~CopyCasterResult(); + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h new file mode 100644 index 000000000..e04350fd0 --- /dev/null +++ b/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.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_COPYCASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CopyCasterSceneConfigRequest : public RpcServiceRequest + { + + public: + CopyCasterSceneConfigRequest(); + ~CopyCasterSceneConfigRequest(); + + std::string getFromSceneId()const; + void setFromSceneId(const std::string& fromSceneId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getToSceneId()const; + void setToSceneId(const std::string& toSceneId); + + private: + std::string fromSceneId_; + std::string casterId_; + long ownerId_; + std::string toSceneId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CopyCasterSceneConfigResult.h b/live/include/alibabacloud/live/model/CopyCasterSceneConfigResult.h new file mode 100644 index 000000000..21ec700a7 --- /dev/null +++ b/live/include/alibabacloud/live/model/CopyCasterSceneConfigResult.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_COPYCASTERSCENECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CopyCasterSceneConfigResult : public ServiceResult + { + public: + + + CopyCasterSceneConfigResult(); + explicit CopyCasterSceneConfigResult(const std::string &payload); + ~CopyCasterSceneConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateCasterRequest.h b/live/include/alibabacloud/live/model/CreateCasterRequest.h new file mode 100644 index 000000000..929368b21 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateCasterRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateCasterRequest : public RpcServiceRequest + { + + public: + CreateCasterRequest(); + ~CreateCasterRequest(); + + std::string getCasterTemplate()const; + void setCasterTemplate(const std::string& casterTemplate); + std::string getExpireTime()const; + void setExpireTime(const std::string& expireTime); + int getNormType()const; + void setNormType(int normType); + std::string getCasterName()const; + void setCasterName(const std::string& casterName); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getChargeType()const; + void setChargeType(const std::string& chargeType); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getPurchaseTime()const; + void setPurchaseTime(const std::string& purchaseTime); + + private: + std::string casterTemplate_; + std::string expireTime_; + int normType_; + std::string casterName_; + std::string clientToken_; + std::string chargeType_; + long ownerId_; + std::string purchaseTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateCasterResult.h b/live/include/alibabacloud/live/model/CreateCasterResult.h new file mode 100644 index 000000000..ed0bf87c5 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateCasterResult.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_CREATECASTERRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATECASTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateCasterResult : public ServiceResult + { + public: + + + CreateCasterResult(); + explicit CreateCasterResult(const std::string &payload); + ~CreateCasterResult(); + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATECASTERRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h new file mode 100644 index 000000000..33540aec5 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateLiveStreamRecordIndexFilesRequest : public RpcServiceRequest + { + + public: + CreateLiveStreamRecordIndexFilesRequest(); + ~CreateLiveStreamRecordIndexFilesRequest(); + + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + 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); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getOssObject()const; + void setOssObject(const std::string& ossObject); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ossBucket_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string ossEndpoint_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string ossObject_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h new file mode 100644 index 000000000..fa9bcd794 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.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_CREATELIVESTREAMRECORDINDEXFILESRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateLiveStreamRecordIndexFilesResult : public ServiceResult + { + public: + struct RecordInfo + { + std::string endTime; + std::string domainName; + std::string createTime; + std::string ossBucket; + std::string startTime; + float duration; + std::string appName; + std::string streamName; + std::string recordUrl; + std::string ossEndpoint; + std::string ossObject; + int height; + std::string recordId; + int width; + }; + + + CreateLiveStreamRecordIndexFilesResult(); + explicit CreateLiveStreamRecordIndexFilesResult(const std::string &payload); + ~CreateLiveStreamRecordIndexFilesResult(); + RecordInfo getRecordInfo()const; + + protected: + void parse(const std::string &payload); + private: + RecordInfo recordInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h new file mode 100644 index 000000000..70789f723 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.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_DELETECASTERCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterComponentRequest : public RpcServiceRequest + { + + public: + DeleteCasterComponentRequest(); + ~DeleteCasterComponentRequest(); + + std::string getComponentId()const; + void setComponentId(const std::string& componentId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string componentId_; + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterComponentResult.h b/live/include/alibabacloud/live/model/DeleteCasterComponentResult.h new file mode 100644 index 000000000..56678c730 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterComponentResult.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_DELETECASTERCOMPONENTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterComponentResult : public ServiceResult + { + public: + + + DeleteCasterComponentResult(); + explicit DeleteCasterComponentResult(const std::string &payload); + ~DeleteCasterComponentResult(); + std::string getCasterId()const; + std::string getComponentId()const; + + protected: + void parse(const std::string &payload); + private: + std::string casterId_; + std::string componentId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h new file mode 100644 index 000000000..05c56bcf4 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.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_DELETECASTEREPISODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeGroupRequest : public RpcServiceRequest + { + + public: + DeleteCasterEpisodeGroupRequest(); + ~DeleteCasterEpisodeGroupRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProgramId()const; + void setProgramId(const std::string& programId); + + private: + long ownerId_; + std::string programId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupResult.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupResult.h new file mode 100644 index 000000000..230324220 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupResult.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_DELETECASTEREPISODEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeGroupResult : public ServiceResult + { + public: + + + DeleteCasterEpisodeGroupResult(); + explicit DeleteCasterEpisodeGroupResult(const std::string &payload); + ~DeleteCasterEpisodeGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h new file mode 100644 index 000000000..f74e1dce6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.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_DELETECASTEREPISODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeRequest : public RpcServiceRequest + { + + public: + DeleteCasterEpisodeRequest(); + ~DeleteCasterEpisodeRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getEpisodeId()const; + void setEpisodeId(const std::string& episodeId); + + private: + std::string casterId_; + long ownerId_; + std::string episodeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeResult.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeResult.h new file mode 100644 index 000000000..c8f180568 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeResult.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_DELETECASTEREPISODERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeResult : public ServiceResult + { + public: + + + DeleteCasterEpisodeResult(); + explicit DeleteCasterEpisodeResult(const std::string &payload); + ~DeleteCasterEpisodeResult(); + std::string getEpisodeId()const; + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string episodeId_; + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h b/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h new file mode 100644 index 000000000..b843dd4ec --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.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_DELETECASTERLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterLayoutRequest : public RpcServiceRequest + { + + public: + DeleteCasterLayoutRequest(); + ~DeleteCasterLayoutRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + + private: + std::string casterId_; + long ownerId_; + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterLayoutResult.h b/live/include/alibabacloud/live/model/DeleteCasterLayoutResult.h new file mode 100644 index 000000000..ef628c6a3 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterLayoutResult.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_DELETECASTERLAYOUTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterLayoutResult : public ServiceResult + { + public: + + + DeleteCasterLayoutResult(); + explicit DeleteCasterLayoutResult(const std::string &payload); + ~DeleteCasterLayoutResult(); + std::string getLayoutId()const; + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string layoutId_; + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h b/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h new file mode 100644 index 000000000..c31a83e89 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.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_DELETECASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterProgramRequest : public RpcServiceRequest + { + + public: + DeleteCasterProgramRequest(); + ~DeleteCasterProgramRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterProgramResult.h b/live/include/alibabacloud/live/model/DeleteCasterProgramResult.h new file mode 100644 index 000000000..807c4bd02 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterProgramResult.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_DELETECASTERPROGRAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterProgramResult : public ServiceResult + { + public: + + + DeleteCasterProgramResult(); + explicit DeleteCasterProgramResult(const std::string &payload); + ~DeleteCasterProgramResult(); + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterRequest.h b/live/include/alibabacloud/live/model/DeleteCasterRequest.h new file mode 100644 index 000000000..cbe0af51f --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterRequest.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_DELETECASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterRequest : public RpcServiceRequest + { + + public: + DeleteCasterRequest(); + ~DeleteCasterRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterResult.h b/live/include/alibabacloud/live/model/DeleteCasterResult.h new file mode 100644 index 000000000..e678b2e7c --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterResult.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_DELETECASTERRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterResult : public ServiceResult + { + public: + + + DeleteCasterResult(); + explicit DeleteCasterResult(const std::string &payload); + ~DeleteCasterResult(); + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h new file mode 100644 index 000000000..4e5888c4f --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.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_DELETECASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterSceneConfigRequest : public RpcServiceRequest + { + + public: + DeleteCasterSceneConfigRequest(); + ~DeleteCasterSceneConfigRequest(); + + 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); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string casterId_; + std::string sceneId_; + long ownerId_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h new file mode 100644 index 000000000..e2b957813 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigResult.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_DELETECASTERSCENECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterSceneConfigResult : public ServiceResult + { + public: + + + DeleteCasterSceneConfigResult(); + explicit DeleteCasterSceneConfigResult(const std::string &payload); + ~DeleteCasterSceneConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h new file mode 100644 index 000000000..9439d15dd --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.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_DELETECASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterVideoResourceRequest : public RpcServiceRequest + { + + public: + DeleteCasterVideoResourceRequest(); + ~DeleteCasterVideoResourceRequest(); + + std::string getResourceId()const; + void setResourceId(const std::string& resourceId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string resourceId_; + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceResult.h b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceResult.h new file mode 100644 index 000000000..11191da1b --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceResult.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_DELETECASTERVIDEORESOURCERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterVideoResourceResult : public ServiceResult + { + public: + + + DeleteCasterVideoResourceResult(); + explicit DeleteCasterVideoResourceResult(const std::string &payload); + ~DeleteCasterVideoResourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h new file mode 100644 index 000000000..d360d1a7c --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.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_DELETELIVEAPPRECORDCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppRecordConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveAppRecordConfigRequest(); + ~DeleteLiveAppRecordConfigRequest(); + + 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); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h new file mode 100644 index 000000000..a417416a9 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.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_DELETELIVEAPPRECORDCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppRecordConfigResult : public ServiceResult + { + public: + + + DeleteLiveAppRecordConfigResult(); + explicit DeleteLiveAppRecordConfigResult(const std::string &payload); + ~DeleteLiveAppRecordConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h new file mode 100644 index 000000000..683ae3fb6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.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_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppSnapshotConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveAppSnapshotConfigRequest(); + ~DeleteLiveAppSnapshotConfigRequest(); + + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.h new file mode 100644 index 000000000..fd47f56ac --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.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_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppSnapshotConfigResult : public ServiceResult + { + public: + + + DeleteLiveAppSnapshotConfigResult(); + explicit DeleteLiveAppSnapshotConfigResult(const std::string &payload); + ~DeleteLiveAppSnapshotConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h new file mode 100644 index 000000000..c643e3a5f --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.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_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDetectNotifyConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveDetectNotifyConfigRequest(); + ~DeleteLiveDetectNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.h new file mode 100644 index 000000000..fba3b1882 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.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_DELETELIVEDETECTNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDetectNotifyConfigResult : public ServiceResult + { + public: + + + DeleteLiveDetectNotifyConfigResult(); + explicit DeleteLiveDetectNotifyConfigResult(const std::string &payload); + ~DeleteLiveDetectNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h new file mode 100644 index 000000000..2dbbaa9b1 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveMixConfigRequest.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_DELETELIVEMIXCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMixConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveMixConfigRequest(); + ~DeleteLiveMixConfigRequest(); + + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveMixConfigResult.h new file mode 100644 index 000000000..ecccdb5c5 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveMixConfigResult.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_DELETELIVEMIXCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMixConfigResult : public ServiceResult + { + public: + + + DeleteLiveMixConfigResult(); + explicit DeleteLiveMixConfigResult(const std::string &payload); + ~DeleteLiveMixConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.h new file mode 100644 index 000000000..1866c6568 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.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_DELETELIVEMIXNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMixNotifyConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveMixNotifyConfigRequest(); + ~DeleteLiveMixNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.h new file mode 100644 index 000000000..1dff56eb2 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.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_DELETELIVEMIXNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMixNotifyConfigResult : public ServiceResult + { + public: + + + DeleteLiveMixNotifyConfigResult(); + explicit DeleteLiveMixNotifyConfigResult(const std::string &payload); + ~DeleteLiveMixNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h new file mode 100644 index 000000000..24ec051ad --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.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_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLivePullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + DeleteLivePullStreamInfoConfigRequest(); + ~DeleteLivePullStreamInfoConfigRequest(); + + 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); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h new file mode 100644 index 000000000..3ce74f567 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.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_DELETELIVEPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLivePullStreamInfoConfigResult : public ServiceResult + { + public: + + + DeleteLivePullStreamInfoConfigResult(); + explicit DeleteLivePullStreamInfoConfigResult(const std::string &payload); + ~DeleteLivePullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h new file mode 100644 index 000000000..26077dfb2 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.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_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordNotifyConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveRecordNotifyConfigRequest(); + ~DeleteLiveRecordNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.h new file mode 100644 index 000000000..3c6b2e187 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.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_DELETELIVERECORDNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordNotifyConfigResult : public ServiceResult + { + public: + + + DeleteLiveRecordNotifyConfigResult(); + explicit DeleteLiveRecordNotifyConfigResult(const std::string &payload); + ~DeleteLiveRecordNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h new file mode 100644 index 000000000..1daf238d1 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.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_DELETELIVERECORDVODCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordVodConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveRecordVodConfigRequest(); + ~DeleteLiveRecordVodConfigRequest(); + + 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); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h new file mode 100644 index 000000000..05fc7ccbb --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.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_DELETELIVERECORDVODCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordVodConfigResult : public ServiceResult + { + public: + + + DeleteLiveRecordVodConfigResult(); + explicit DeleteLiveRecordVodConfigResult(const std::string &payload); + ~DeleteLiveRecordVodConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h new file mode 100644 index 000000000..6197d02e3 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.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_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveSnapshotDetectPornConfigRequest(); + ~DeleteLiveSnapshotDetectPornConfigRequest(); + + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h new file mode 100644 index 000000000..a5e932bf1 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.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_DELETELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSnapshotDetectPornConfigResult : public ServiceResult + { + public: + + + DeleteLiveSnapshotDetectPornConfigResult(); + explicit DeleteLiveSnapshotDetectPornConfigResult(const std::string &payload); + ~DeleteLiveSnapshotDetectPornConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h new file mode 100644 index 000000000..b51cda73f --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.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_DELETELIVESTREAMTRANSCODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamTranscodeRequest : public RpcServiceRequest + { + + public: + DeleteLiveStreamTranscodeRequest(); + ~DeleteLiveStreamTranscodeRequest(); + + std::string getApp()const; + void setApp(const std::string& app); + std::string get_Template()const; + void set_Template(const std::string& _template); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomain()const; + void setDomain(const std::string& domain); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string app_; + std::string _template_; + std::string securityToken_; + std::string domain_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h new file mode 100644 index 000000000..8a52df8c5 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.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_DELETELIVESTREAMTRANSCODERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamTranscodeResult : public ServiceResult + { + public: + + + DeleteLiveStreamTranscodeResult(); + explicit DeleteLiveStreamTranscodeResult(const std::string &payload); + ~DeleteLiveStreamTranscodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODERESULT_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 new file mode 100644 index 000000000..c51e4e1e9 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.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_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveStreamsNotifyUrlConfigRequest(); + ~DeleteLiveStreamsNotifyUrlConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h new file mode 100644 index 000000000..bd6d65b72 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.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_DELETELIVESTREAMSNOTIFYURLCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamsNotifyUrlConfigResult : public ServiceResult + { + public: + + + DeleteLiveStreamsNotifyUrlConfigResult(); + explicit DeleteLiveStreamsNotifyUrlConfigResult(const std::string &payload); + ~DeleteLiveStreamsNotifyUrlConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h new file mode 100644 index 000000000..df408ecd5 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.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_DESCRIBECASTERCOMPONENTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterComponentsRequest : public RpcServiceRequest + { + + public: + DescribeCasterComponentsRequest(); + ~DescribeCasterComponentsRequest(); + + std::string getComponentId()const; + void setComponentId(const std::string& componentId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string componentId_; + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h b/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h new file mode 100644 index 000000000..adbd97df4 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterComponentsResult : public ServiceResult + { + public: + struct Component + { + struct ComponentLayer + { + std::vector positionNormalizeds; + float heightNormalized; + std::string positionRefer; + float widthNormalized; + }; + struct TextLayerContent + { + float borderWidthNormalized; + float sizeNormalized; + std::string color; + std::string fontName; + std::string borderColor; + std::string text; + }; + struct ImageLayerContent + { + std::string materialId; + }; + struct CaptionLayerContent + { + int ptsOffset; + float borderWidthNormalized; + float sizeNormalized; + std::string color; + std::string locationId; + std::string fontName; + std::string borderColor; + int wordsCount; + }; + CaptionLayerContent captionLayerContent; + TextLayerContent textLayerContent; + std::string componentType; + ComponentLayer componentLayer; + std::string locationId; + std::string componentName; + std::string effect; + std::string componentId; + ImageLayerContent imageLayerContent; + }; + + + DescribeCasterComponentsResult(); + explicit DescribeCasterComponentsResult(const std::string &payload); + ~DescribeCasterComponentsResult(); + std::vector getComponents()const; + int getTotal()const; + + protected: + void parse(const std::string &payload); + private: + std::vector components_; + int total_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSRESULT_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 new file mode 100644 index 000000000..f033ad471 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.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_DESCRIBECASTERCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterConfigRequest : public RpcServiceRequest + { + + public: + DescribeCasterConfigRequest(); + ~DescribeCasterConfigRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h new file mode 100644 index 000000000..3660964e7 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h @@ -0,0 +1,89 @@ +/* + * 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_DESCRIBECASTERCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterConfigResult : public ServiceResult + { + public: + struct TranscodeConfig + { + std::string casterTemplate; + std::vector liveTemplateIds; + }; + struct RecordConfig + { + struct RecordFormatItem + { + std::string format; + std::string sliceOssObjectPrefix; + int cycleDuration; + std::string ossObjectPrefix; + }; + std::string ossEndpoint; + std::vector recordFormat; + std::string ossBucket; + }; + + + DescribeCasterConfigResult(); + explicit DescribeCasterConfigResult(const std::string &payload); + ~DescribeCasterConfigResult(); + std::string getSideOutputUrl()const; + std::string getCallbackUrl()const; + std::string getCasterName()const; + std::string getDomainName()const; + int getProgramEffect()const; + std::string getUrgentMaterialId()const; + TranscodeConfig getTranscodeConfig()const; + std::string getCasterId()const; + std::string getProgramName()const; + RecordConfig getRecordConfig()const; + float getDelay()const; + + protected: + void parse(const std::string &payload); + private: + std::string sideOutputUrl_; + std::string callbackUrl_; + std::string casterName_; + std::string domainName_; + int programEffect_; + std::string urgentMaterialId_; + TranscodeConfig transcodeConfig_; + std::string casterId_; + std::string programName_; + RecordConfig recordConfig_; + float delay_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h new file mode 100644 index 000000000..3b35406a1 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.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_DESCRIBECASTERLAYOUTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterLayoutsRequest : public RpcServiceRequest + { + + public: + DescribeCasterLayoutsRequest(); + ~DescribeCasterLayoutsRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + + private: + std::string casterId_; + long ownerId_; + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterLayoutsResult.h b/live/include/alibabacloud/live/model/DescribeCasterLayoutsResult.h new file mode 100644 index 000000000..31f2bde68 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterLayoutsResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterLayoutsResult : public ServiceResult + { + public: + struct Layout + { + struct VideoLayer + { + std::vector positionNormalizeds; + std::string fillMode; + float heightNormalized; + std::string positionRefer; + int fixedDelayDuration; + float widthNormalized; + }; + struct AudioLayer + { + std::string validChannel; + float volumeRate; + int fixedDelayDuration; + }; + std::vector mixList; + std::vector audioLayers; + std::vector videoLayers; + std::string layoutId; + std::vector blendList; + }; + + + DescribeCasterLayoutsResult(); + explicit DescribeCasterLayoutsResult(const std::string &payload); + ~DescribeCasterLayoutsResult(); + std::vector getLayouts()const; + int getTotal()const; + + protected: + void parse(const std::string &payload); + private: + std::vector layouts_; + int total_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h b/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h new file mode 100644 index 000000000..72e273423 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.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_DESCRIBECASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterProgramRequest : public RpcServiceRequest + { + + public: + DescribeCasterProgramRequest(); + ~DescribeCasterProgramRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getEpisodeType()const; + void setEpisodeType(const std::string& episodeType); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getEpisodeId()const; + void setEpisodeId(const std::string& episodeId); + int getPageNum()const; + void setPageNum(int pageNum); + int getStatus()const; + void setStatus(int status); + + private: + std::string casterId_; + std::string episodeType_; + int pageSize_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string episodeId_; + int pageNum_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h b/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h new file mode 100644 index 000000000..04ca87b5d --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterProgramResult : public ServiceResult + { + public: + struct Episode + { + std::string switchType; + int status; + std::vector componentIds; + std::string endTime; + std::string resourceId; + std::string episodeType; + std::string startTime; + std::string episodeId; + std::string episodeName; + }; + + + DescribeCasterProgramResult(); + explicit DescribeCasterProgramResult(const std::string &payload); + ~DescribeCasterProgramResult(); + int getProgramEffect()const; + int getTotal()const; + std::vector getEpisodes()const; + std::string getCasterId()const; + std::string getProgramName()const; + + protected: + void parse(const std::string &payload); + private: + int programEffect_; + int total_; + std::vector episodes_; + std::string casterId_; + std::string programName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterRtcInfoRequest.h b/live/include/alibabacloud/live/model/DescribeCasterRtcInfoRequest.h new file mode 100644 index 000000000..749ebac84 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterRtcInfoRequest.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_DESCRIBECASTERRTCINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERRTCINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterRtcInfoRequest : public RpcServiceRequest + { + + public: + DescribeCasterRtcInfoRequest(); + ~DescribeCasterRtcInfoRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERRTCINFOREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterRtcInfoResult.h b/live/include/alibabacloud/live/model/DescribeCasterRtcInfoResult.h new file mode 100644 index 000000000..f34f42a73 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterRtcInfoResult.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_DESCRIBECASTERRTCINFORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERRTCINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterRtcInfoResult : public ServiceResult + { + public: + + + DescribeCasterRtcInfoResult(); + explicit DescribeCasterRtcInfoResult(const std::string &payload); + ~DescribeCasterRtcInfoResult(); + std::string getAuthToken()const; + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string authToken_; + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERRTCINFORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h new file mode 100644 index 000000000..35e62ff79 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.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_DESCRIBECASTERSCENESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterScenesRequest : public RpcServiceRequest + { + + public: + DescribeCasterScenesRequest(); + ~DescribeCasterScenesRequest(); + + 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 casterId_; + std::string sceneId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h b/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h new file mode 100644 index 000000000..ce70f0082 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterScenesResult : public ServiceResult + { + public: + struct Scene + { + struct StreamInfo + { + std::string outputStreamUrl; + std::string transcodeConfig; + std::string videoFormat; + }; + std::string sceneId; + int status; + std::vector componentIds; + std::string sceneName; + std::string layoutId; + std::vector streamInfos; + std::string streamUrl; + std::string outputType; + }; + + + DescribeCasterScenesResult(); + explicit DescribeCasterScenesResult(const std::string &payload); + ~DescribeCasterScenesResult(); + int getTotal()const; + std::vector getSceneList()const; + + protected: + void parse(const std::string &payload); + private: + int total_; + std::vector sceneList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h new file mode 100644 index 000000000..b5c78986d --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.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_DESCRIBECASTERSTREAMURLREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterStreamUrlRequest : public RpcServiceRequest + { + + public: + DescribeCasterStreamUrlRequest(); + ~DescribeCasterStreamUrlRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h new file mode 100644 index 000000000..493df1ada --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.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_DESCRIBECASTERSTREAMURLRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterStreamUrlResult : public ServiceResult + { + public: + struct CasterStream + { + struct StreamInfo + { + std::string outputStreamUrl; + std::string transcodeConfig; + std::string videoFormat; + }; + std::string sceneId; + std::vector streamInfos; + std::string streamUrl; + int outputType; + }; + + + DescribeCasterStreamUrlResult(); + explicit DescribeCasterStreamUrlResult(const std::string &payload); + ~DescribeCasterStreamUrlResult(); + std::vector getCasterStreams()const; + int getTotal()const; + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::vector casterStreams_; + int total_; + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLRESULT_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 new file mode 100644 index 000000000..d17e545b3 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.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_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterVideoResourcesRequest : public RpcServiceRequest + { + + public: + DescribeCasterVideoResourcesRequest(); + ~DescribeCasterVideoResourcesRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h new file mode 100644 index 000000000..b9e0334f7 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h @@ -0,0 +1,65 @@ +/* + * 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_DESCRIBECASTERVIDEORESOURCESRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterVideoResourcesResult : public ServiceResult + { + public: + struct VideoResource + { + int endOffset; + int beginOffset; + std::string materialId; + std::string resourceId; + std::string resourceName; + std::string locationId; + int repeatNum; + std::string liveStreamUrl; + std::string vodUrl; + }; + + + DescribeCasterVideoResourcesResult(); + explicit DescribeCasterVideoResourcesResult(const std::string &payload); + ~DescribeCasterVideoResourcesResult(); + int getTotal()const; + std::vector getVideoResources()const; + + protected: + void parse(const std::string &payload); + private: + int total_; + std::vector videoResources_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCastersRequest.h b/live/include/alibabacloud/live/model/DescribeCastersRequest.h new file mode 100644 index 000000000..7c519b30c --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCastersRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCastersRequest : public RpcServiceRequest + { + + public: + DescribeCastersRequest(); + ~DescribeCastersRequest(); + + std::string getCasterName()const; + void setCasterName(const std::string& casterName); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNum()const; + void setPageNum(int pageNum); + int getStatus()const; + void setStatus(int status); + + private: + std::string casterName_; + std::string casterId_; + int pageSize_; + std::string endTime_; + std::string startTime_; + long ownerId_; + int pageNum_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCastersResult.h b/live/include/alibabacloud/live/model/DescribeCastersResult.h new file mode 100644 index 000000000..002ce12af --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeCastersResult.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_DESCRIBECASTERSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCastersResult : public ServiceResult + { + public: + struct Caster + { + int status; + std::string purchaseTime; + std::string casterTemplate; + std::string casterName; + std::string chargeType; + std::string createTime; + std::string startTime; + int normType; + std::string expireTime; + std::string casterId; + }; + + + DescribeCastersResult(); + explicit DescribeCastersResult(const std::string &payload); + ~DescribeCastersResult(); + int getTotal()const; + std::vector getCasterList()const; + + protected: + void parse(const std::string &payload); + private: + int total_; + std::vector casterList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h new file mode 100644 index 000000000..5a40ec3b6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.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_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDetectNotifyConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveDetectNotifyConfigRequest(); + ~DescribeLiveDetectNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h new file mode 100644 index 000000000..a973a7c61 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h @@ -0,0 +1,56 @@ +/* + * 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_DESCRIBELIVEDETECTNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDetectNotifyConfigResult : public ServiceResult + { + public: + struct LiveDetectNotifyConfig + { + std::string domainName; + std::string notifyUrl; + }; + + + DescribeLiveDetectNotifyConfigResult(); + explicit DescribeLiveDetectNotifyConfigResult(const std::string &payload); + ~DescribeLiveDetectNotifyConfigResult(); + LiveDetectNotifyConfig getLiveDetectNotifyConfig()const; + + protected: + void parse(const std::string &payload); + private: + LiveDetectNotifyConfig liveDetectNotifyConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGRESULT_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 new file mode 100644 index 000000000..a27f2c8cf --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.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_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainRecordDataRequest(); + ~DescribeLiveDomainRecordDataRequest(); + + std::string getRecordType()const; + void setRecordType(const std::string& recordType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string recordType_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h new file mode 100644 index 000000000..d4f59980d --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.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_DESCRIBELIVEDOMAINRECORDDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordDataResult : public ServiceResult + { + public: + struct RecordDataInfo + { + struct Detail + { + int mP4; + int fLV; + int tS; + }; + int total; + Detail detail; + std::string date; + }; + + + DescribeLiveDomainRecordDataResult(); + explicit DescribeLiveDomainRecordDataResult(const std::string &payload); + ~DescribeLiveDomainRecordDataResult(); + std::vector getRecordDataInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector recordDataInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h new file mode 100644 index 000000000..128e0c301 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.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_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainSnapshotDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainSnapshotDataRequest(); + ~DescribeLiveDomainSnapshotDataRequest(); + + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h new file mode 100644 index 000000000..900bfd051 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h @@ -0,0 +1,56 @@ +/* + * 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_DESCRIBELIVEDOMAINSNAPSHOTDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainSnapshotDataResult : public ServiceResult + { + public: + struct SnapshotDataInfo + { + int total; + std::string date; + }; + + + DescribeLiveDomainSnapshotDataResult(); + explicit DescribeLiveDomainSnapshotDataResult(const std::string &payload); + ~DescribeLiveDomainSnapshotDataResult(); + std::vector getSnapshotDataInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector snapshotDataInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h new file mode 100644 index 000000000..798d3b4ab --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.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_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTranscodeDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainTranscodeDataRequest(); + ~DescribeLiveDomainTranscodeDataRequest(); + + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h new file mode 100644 index 000000000..3b3005b68 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.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_DESCRIBELIVEDOMAINTRANSCODEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTranscodeDataResult : public ServiceResult + { + public: + struct TranscodeDataInfo + { + int total; + std::string date; + std::string detail; + }; + + + DescribeLiveDomainTranscodeDataResult(); + explicit DescribeLiveDomainTranscodeDataResult(const std::string &payload); + ~DescribeLiveDomainTranscodeDataResult(); + std::vector getTranscodeDataInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector transcodeDataInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h new file mode 100644 index 000000000..0f2ae06da --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveMixConfigRequest.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_DESCRIBELIVEMIXCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveMixConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveMixConfigRequest(); + ~DescribeLiveMixConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveMixConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveMixConfigResult.h new file mode 100644 index 000000000..087175567 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveMixConfigResult.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_DESCRIBELIVEMIXCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveMixConfigResult : public ServiceResult + { + public: + struct MixConfig + { + std::string _template; + std::string domainName; + std::string appName; + }; + + + DescribeLiveMixConfigResult(); + explicit DescribeLiveMixConfigResult(const std::string &payload); + ~DescribeLiveMixConfigResult(); + std::vector getMixConfigList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector mixConfigList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigRequest.h new file mode 100644 index 000000000..bb29c4ae1 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigRequest.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_DESCRIBELIVEMIXNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveMixNotifyConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveMixNotifyConfigRequest(); + ~DescribeLiveMixNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigResult.h new file mode 100644 index 000000000..ca7bbe845 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigResult.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_DESCRIBELIVEMIXNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveMixNotifyConfigResult : public ServiceResult + { + public: + + + DescribeLiveMixNotifyConfigResult(); + explicit DescribeLiveMixNotifyConfigResult(const std::string &payload); + ~DescribeLiveMixNotifyConfigResult(); + std::string getNotifyUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string notifyUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEMIXNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h new file mode 100644 index 000000000..09cc2fe2a --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.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_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLivePullStreamConfigRequest : public RpcServiceRequest + { + + public: + DescribeLivePullStreamConfigRequest(); + ~DescribeLivePullStreamConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h new file mode 100644 index 000000000..684e355ec --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.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_DESCRIBELIVEPULLSTREAMCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLivePullStreamConfigResult : public ServiceResult + { + public: + struct LiveAppRecord + { + std::string sourceUrl; + std::string streamName; + std::string endTime; + std::string domainName; + std::string startTime; + std::string appName; + }; + + + DescribeLivePullStreamConfigResult(); + explicit DescribeLivePullStreamConfigResult(const std::string &payload); + ~DescribeLivePullStreamConfigResult(); + std::vector getLiveAppRecordList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveAppRecordList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h new file mode 100644 index 000000000..5565d643b --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.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_DESCRIBELIVERECORDCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveRecordConfigRequest(); + ~DescribeLiveRecordConfigRequest(); + + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getOrder()const; + void setOrder(const std::string& order); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + int pageSize_; + long ownerId_; + int pageNum_; + std::string streamName_; + std::string accessKeyId_; + std::string order_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h new file mode 100644 index 000000000..c38e9b499 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h @@ -0,0 +1,81 @@ +/* + * 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_DESCRIBELIVERECORDCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordConfigResult : public ServiceResult + { + public: + struct LiveAppRecord + { + struct RecordFormat + { + std::string format; + std::string sliceOssObjectPrefix; + int cycleDuration; + std::string ossObjectPrefix; + }; + std::string streamName; + std::string ossEndpoint; + std::string endTime; + std::string domainName; + std::string createTime; + std::string ossBucket; + std::string startTime; + std::vector recordFormatList; + int onDemond; + std::string appName; + }; + + + DescribeLiveRecordConfigResult(); + explicit DescribeLiveRecordConfigResult(const std::string &payload); + ~DescribeLiveRecordConfigResult(); + std::string getOrder()const; + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getLiveAppRecordList()const; + + protected: + void parse(const std::string &payload); + private: + std::string order_; + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector liveAppRecordList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h new file mode 100644 index 000000000..e56eddda6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.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_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordNotifyConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveRecordNotifyConfigRequest(); + ~DescribeLiveRecordNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h new file mode 100644 index 000000000..f40941297 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.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_DESCRIBELIVERECORDNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordNotifyConfigResult : public ServiceResult + { + public: + struct LiveRecordNotifyConfig + { + std::string domainName; + std::string onDemandUrl; + bool needStatusNotify; + std::string notifyUrl; + }; + + + DescribeLiveRecordNotifyConfigResult(); + explicit DescribeLiveRecordNotifyConfigResult(const std::string &payload); + ~DescribeLiveRecordNotifyConfigResult(); + LiveRecordNotifyConfig getLiveRecordNotifyConfig()const; + + protected: + void parse(const std::string &payload); + private: + LiveRecordNotifyConfig liveRecordNotifyConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h new file mode 100644 index 000000000..9eef85072 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.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_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordVodConfigsRequest : public RpcServiceRequest + { + + public: + DescribeLiveRecordVodConfigsRequest(); + ~DescribeLiveRecordVodConfigsRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getPageSize()const; + void setPageSize(long pageSize); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getPageNum()const; + void setPageNum(long pageNum); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + + private: + std::string appName_; + std::string domainName_; + long pageSize_; + long ownerId_; + long pageNum_; + std::string streamName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h new file mode 100644 index 000000000..e568277b0 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.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_DESCRIBELIVERECORDVODCONFIGSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordVodConfigsResult : public ServiceResult + { + public: + struct LiveRecordVodConfig + { + std::string streamName; + std::string composeVodTranscodeGroupId; + std::string domainName; + std::string autoCompose; + std::string createTime; + int cycleDuration; + std::string appName; + std::string vodTranscodeGroupId; + }; + + + DescribeLiveRecordVodConfigsResult(); + explicit DescribeLiveRecordVodConfigsResult(const std::string &payload); + ~DescribeLiveRecordVodConfigsResult(); + std::vector getLiveRecordVodConfigs()const; + int getPageNum()const; + int getPageSize()const; + std::string getTotal()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveRecordVodConfigs_; + int pageNum_; + int pageSize_; + std::string total_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h new file mode 100644 index 000000000..1b6b6c23c --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveSnapshotConfigRequest(); + ~DescribeLiveSnapshotConfigRequest(); + + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getOrder()const; + void setOrder(const std::string& order); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + int pageSize_; + long ownerId_; + int pageNum_; + std::string accessKeyId_; + std::string order_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h new file mode 100644 index 000000000..474d35135 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.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_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotConfigResult : public ServiceResult + { + public: + struct LiveStreamSnapshotConfig + { + std::string overwriteOssObject; + std::string sequenceOssObject; + int timeInterval; + std::string ossEndpoint; + std::string domainName; + std::string createTime; + std::string ossBucket; + std::string appName; + }; + + + DescribeLiveSnapshotConfigResult(); + explicit DescribeLiveSnapshotConfigResult(const std::string &payload); + ~DescribeLiveSnapshotConfigResult(); + std::string getOrder()const; + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getLiveStreamSnapshotConfigList()const; + + protected: + void parse(const std::string &payload); + private: + std::string order_; + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector liveStreamSnapshotConfigList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h new file mode 100644 index 000000000..23bb92657 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveSnapshotDetectPornConfigRequest(); + ~DescribeLiveSnapshotDetectPornConfigRequest(); + + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getOrder()const; + void setOrder(const std::string& order); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + int pageSize_; + long ownerId_; + int pageNum_; + std::string accessKeyId_; + std::string order_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h new file mode 100644 index 000000000..f0028876c --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotDetectPornConfigResult : public ServiceResult + { + public: + struct LiveSnapshotDetectPornConfig + { + std::vector scenes; + std::string ossEndpoint; + std::string domainName; + std::string ossBucket; + std::string ossObject; + std::string appName; + int interval; + }; + + + DescribeLiveSnapshotDetectPornConfigResult(); + explicit DescribeLiveSnapshotDetectPornConfigResult(const std::string &payload); + ~DescribeLiveSnapshotDetectPornConfigResult(); + std::string getOrder()const; + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getLiveSnapshotDetectPornConfigList()const; + + protected: + void parse(const std::string &payload); + private: + std::string order_; + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector liveSnapshotDetectPornConfigList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h new file mode 100644 index 000000000..ac9dba344 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamBitRateDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamBitRateDataRequest(); + ~DescribeLiveStreamBitRateDataRequest(); + + 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); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h new file mode 100644 index 000000000..4e3a2c50a --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.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_DESCRIBELIVESTREAMBITRATEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamBitRateDataResult : public ServiceResult + { + public: + struct FrameRateAndBitRateInfo + { + float videoFrameRate; + std::string time; + float audioFrameRate; + float bitRate; + std::string streamUrl; + }; + + + DescribeLiveStreamBitRateDataResult(); + explicit DescribeLiveStreamBitRateDataResult(const std::string &payload); + ~DescribeLiveStreamBitRateDataResult(); + std::vector getFrameRateAndBitRateInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector frameRateAndBitRateInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h new file mode 100644 index 000000000..53f5f50c8 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamHistoryUserNumRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamHistoryUserNumRequest(); + ~DescribeLiveStreamHistoryUserNumRequest(); + + 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); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h new file mode 100644 index 000000000..4a4713d4c --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h @@ -0,0 +1,56 @@ +/* + * 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_DESCRIBELIVESTREAMHISTORYUSERNUMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamHistoryUserNumResult : public ServiceResult + { + public: + struct LiveStreamUserNumInfo + { + std::string streamTime; + std::string userNum; + }; + + + DescribeLiveStreamHistoryUserNumResult(); + explicit DescribeLiveStreamHistoryUserNumResult(const std::string &payload); + ~DescribeLiveStreamHistoryUserNumResult(); + std::vector getLiveStreamUserNumInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveStreamUserNumInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h new file mode 100644 index 000000000..b1da9032d --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.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_DESCRIBELIVESTREAMONLINEUSERNUMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOnlineUserNumRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamOnlineUserNumRequest(); + ~DescribeLiveStreamOnlineUserNumRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getHlsSwitch()const; + void setHlsSwitch(const std::string& hlsSwitch); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string hlsSwitch_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumResult.h new file mode 100644 index 000000000..79e41661a --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumResult.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_DESCRIBELIVESTREAMONLINEUSERNUMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOnlineUserNumResult : public ServiceResult + { + public: + struct LiveStreamOnlineUserNumInfo + { + std::string time; + std::string streamUrl; + long userNumber; + }; + + + DescribeLiveStreamOnlineUserNumResult(); + explicit DescribeLiveStreamOnlineUserNumResult(const std::string &payload); + ~DescribeLiveStreamOnlineUserNumResult(); + std::vector getOnlineUserInfo()const; + long getTotalUserNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector onlineUserInfo_; + long totalUserNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMONLINEUSERNUMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h new file mode 100644 index 000000000..0ed83a12f --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordContentRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamRecordContentRequest(); + ~DescribeLiveStreamRecordContentRequest(); + + 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); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h new file mode 100644 index 000000000..ed8ab4a35 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.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_DESCRIBELIVESTREAMRECORDCONTENTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordContentResult : public ServiceResult + { + public: + struct RecordContentInfo + { + std::string ossEndpoint; + std::string endTime; + std::string ossBucket; + std::string startTime; + float duration; + std::string ossObjectPrefix; + }; + + + DescribeLiveStreamRecordContentResult(); + explicit DescribeLiveStreamRecordContentResult(const std::string &payload); + ~DescribeLiveStreamRecordContentResult(); + std::vector getRecordContentInfoList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector recordContentInfoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h new file mode 100644 index 000000000..d3ff0a22e --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.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_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFileRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamRecordIndexFileRequest(); + ~DescribeLiveStreamRecordIndexFileRequest(); + + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + 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); + 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); + + private: + std::string recordId_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileResult.h new file mode 100644 index 000000000..8bb4511fd --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileResult.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_DESCRIBELIVESTREAMRECORDINDEXFILERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFileResult : public ServiceResult + { + public: + struct RecordIndexInfo + { + std::string endTime; + std::string domainName; + std::string createTime; + std::string ossBucket; + std::string startTime; + float duration; + std::string appName; + std::string streamName; + std::string recordUrl; + std::string ossEndpoint; + std::string ossObject; + int height; + std::string recordId; + int width; + }; + + + DescribeLiveStreamRecordIndexFileResult(); + explicit DescribeLiveStreamRecordIndexFileResult(const std::string &payload); + ~DescribeLiveStreamRecordIndexFileResult(); + RecordIndexInfo getRecordIndexInfo()const; + + protected: + void parse(const std::string &payload); + private: + RecordIndexInfo recordIndexInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h new file mode 100644 index 000000000..92c683e91 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFilesRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamRecordIndexFilesRequest(); + ~DescribeLiveStreamRecordIndexFilesRequest(); + + 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 getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getOrder()const; + void setOrder(const std::string& order); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + int pageSize_; + std::string endTime_; + std::string startTime_; + long ownerId_; + int pageNum_; + std::string streamName_; + std::string accessKeyId_; + std::string order_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h new file mode 100644 index 000000000..2e1269b1f --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFilesResult : public ServiceResult + { + public: + struct RecordIndexInfo + { + std::string endTime; + std::string domainName; + std::string createTime; + std::string ossBucket; + std::string startTime; + float duration; + std::string appName; + std::string streamName; + std::string recordUrl; + std::string ossEndpoint; + std::string ossObject; + int height; + std::string recordId; + int width; + }; + + + DescribeLiveStreamRecordIndexFilesResult(); + explicit DescribeLiveStreamRecordIndexFilesResult(const std::string &payload); + ~DescribeLiveStreamRecordIndexFilesResult(); + std::string getOrder()const; + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getRecordIndexInfoList()const; + + protected: + void parse(const std::string &payload); + private: + std::string order_; + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector recordIndexInfoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h new file mode 100644 index 000000000..786642bd8 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h @@ -0,0 +1,75 @@ +/* + * 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_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamSnapshotInfoRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamSnapshotInfoRequest(); + ~DescribeLiveStreamSnapshotInfoRequest(); + + 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 getLimit()const; + void setLimit(int limit); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + 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 getOrder()const; + void setOrder(const std::string& order); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + int limit_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + std::string order_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h new file mode 100644 index 000000000..580a476a7 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.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_DESCRIBELIVESTREAMSNAPSHOTINFORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamSnapshotInfoResult : public ServiceResult + { + public: + struct LiveStreamSnapshotInfo + { + std::string ossEndpoint; + std::string createTime; + std::string ossBucket; + std::string ossObject; + }; + + + DescribeLiveStreamSnapshotInfoResult(); + explicit DescribeLiveStreamSnapshotInfoResult(const std::string &payload); + ~DescribeLiveStreamSnapshotInfoResult(); + std::vector getLiveStreamSnapshotInfoList()const; + std::string getNextStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveStreamSnapshotInfoList_; + std::string nextStartTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h new file mode 100644 index 000000000..e67c5b4df --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.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_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamTranscodeInfoRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamTranscodeInfoRequest(); + ~DescribeLiveStreamTranscodeInfoRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDomainTranscodeName()const; + void setDomainTranscodeName(const std::string& domainTranscodeName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long ownerId_; + std::string domainTranscodeName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h new file mode 100644 index 000000000..95baf1876 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.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_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamTranscodeInfoResult : public ServiceResult + { + public: + struct DomainTranscodeInfo + { + struct CustomTranscodeParameters + { + int fPS; + int height; + std::string templateType; + int width; + int videoBitrate; + }; + std::string transcodeTemplate; + CustomTranscodeParameters customTranscodeParameters; + std::string transcodeApp; + std::string transcodeName; + }; + + + DescribeLiveStreamTranscodeInfoResult(); + explicit DescribeLiveStreamTranscodeInfoResult(const std::string &payload); + ~DescribeLiveStreamTranscodeInfoResult(); + std::vector getDomainTranscodeList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainTranscodeList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h new file mode 100644 index 000000000..874d03032 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.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_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsBlockListRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamsBlockListRequest(); + ~DescribeLiveStreamsBlockListRequest(); + + 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); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string domainName_; + int pageSize_; + long ownerId_; + int pageNum_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h new file mode 100644 index 000000000..6aa04d1ac --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.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_DESCRIBELIVESTREAMSBLOCKLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsBlockListResult : public ServiceResult + { + public: + + + DescribeLiveStreamsBlockListResult(); + explicit DescribeLiveStreamsBlockListResult(const std::string &payload); + ~DescribeLiveStreamsBlockListResult(); + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::string getDomainName()const; + std::vector getStreamUrls()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::string domainName_; + std::vector streamUrls_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h new file mode 100644 index 000000000..f3da7c8d6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.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_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsControlHistoryRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamsControlHistoryRequest(); + ~DescribeLiveStreamsControlHistoryRequest(); + + 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); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.h new file mode 100644 index 000000000..ee4d6ef4f --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.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_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsControlHistoryResult : public ServiceResult + { + public: + struct LiveStreamControlInfo + { + std::string action; + std::string streamName; + std::string clientIP; + std::string timeStamp; + }; + + + DescribeLiveStreamsControlHistoryResult(); + explicit DescribeLiveStreamsControlHistoryResult(const std::string &payload); + ~DescribeLiveStreamsControlHistoryResult(); + std::vector getControlInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector controlInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h new file mode 100644 index 000000000..1f7eca367 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsFrameRateAndBitRateDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamsFrameRateAndBitRateDataRequest(); + ~DescribeLiveStreamsFrameRateAndBitRateDataRequest(); + + 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); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h new file mode 100644 index 000000000..601637075 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.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_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsFrameRateAndBitRateDataResult : public ServiceResult + { + public: + struct FrameRateAndBitRateInfo + { + float videoFrameRate; + std::string time; + float audioFrameRate; + float bitRate; + std::string streamUrl; + }; + + + DescribeLiveStreamsFrameRateAndBitRateDataResult(); + explicit DescribeLiveStreamsFrameRateAndBitRateDataResult(const std::string &payload); + ~DescribeLiveStreamsFrameRateAndBitRateDataResult(); + std::vector getFrameRateAndBitRateInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector frameRateAndBitRateInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSFRAMERATEANDBITRATEDATARESULT_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 new file mode 100644 index 000000000..050d8e01f --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.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_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamsNotifyUrlConfigRequest(); + ~DescribeLiveStreamsNotifyUrlConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + 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 domainName_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h new file mode 100644 index 000000000..9de6ce5f6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h @@ -0,0 +1,56 @@ +/* + * 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_DESCRIBELIVESTREAMSNOTIFYURLCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsNotifyUrlConfigResult : public ServiceResult + { + public: + struct LiveStreamsNotifyConfig + { + std::string domainName; + std::string notifyUrl; + }; + + + DescribeLiveStreamsNotifyUrlConfigResult(); + explicit DescribeLiveStreamsNotifyUrlConfigResult(const std::string &payload); + ~DescribeLiveStreamsNotifyUrlConfigResult(); + LiveStreamsNotifyConfig getLiveStreamsNotifyConfig()const; + + protected: + void parse(const std::string &payload); + private: + LiveStreamsNotifyConfig liveStreamsNotifyConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h new file mode 100644 index 000000000..45169e07c --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsOnlineListRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamsOnlineListRequest(); + ~DescribeLiveStreamsOnlineListRequest(); + + 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 getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNum()const; + void setPageNum(int pageNum); + 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 startTime_; + long ownerId_; + int pageNum_; + std::string queryType_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h new file mode 100644 index 000000000..a0f6a8444 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsOnlineListResult : public ServiceResult + { + public: + struct LiveStreamOnlineInfo + { + std::string publishUrl; + std::string streamName; + std::string domainName; + std::string transcodeId; + std::string publishDomain; + std::string transcoded; + std::string publishTime; + std::string publishType; + std::string appName; + }; + + + DescribeLiveStreamsOnlineListResult(); + explicit DescribeLiveStreamsOnlineListResult(const std::string &payload); + ~DescribeLiveStreamsOnlineListResult(); + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getOnlineInfo()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector onlineInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h new file mode 100644 index 000000000..cf3f689ba --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h @@ -0,0 +1,81 @@ +/* + * 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_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsPublishListRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamsPublishListRequest(); + ~DescribeLiveStreamsPublishListRequest(); + + std::string getStreamType()const; + void setStreamType(const std::string& streamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + 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); + 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); + + private: + std::string streamType_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + int pageNumber_; + std::string accessKeyId_; + std::string appName_; + std::string securityToken_; + int pageSize_; + std::string streamName_; + std::string queryType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h new file mode 100644 index 000000000..e5669ed87 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h @@ -0,0 +1,75 @@ +/* + * 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_DESCRIBELIVESTREAMSPUBLISHLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsPublishListResult : public ServiceResult + { + public: + struct LiveStreamPublishInfo + { + std::string publishUrl; + std::string clientAddr; + std::string domainName; + std::string transcodeId; + std::string streamUrl; + std::string publishType; + std::string appName; + std::string streamName; + std::string edgeNodeAddr; + std::string publishDomain; + std::string transcoded; + std::string publishTime; + std::string stopTime; + }; + + + DescribeLiveStreamsPublishListResult(); + explicit DescribeLiveStreamsPublishListResult(const std::string &payload); + ~DescribeLiveStreamsPublishListResult(); + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getPublishInfo()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector publishInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h b/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h new file mode 100644 index 000000000..17eea3779 --- /dev/null +++ b/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.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_EFFECTCASTERURGENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT EffectCasterUrgentRequest : public RpcServiceRequest + { + + public: + EffectCasterUrgentRequest(); + ~EffectCasterUrgentRequest(); + + 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 casterId_; + std::string sceneId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/EffectCasterUrgentResult.h b/live/include/alibabacloud/live/model/EffectCasterUrgentResult.h new file mode 100644 index 000000000..d1ba0fba3 --- /dev/null +++ b/live/include/alibabacloud/live/model/EffectCasterUrgentResult.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_EFFECTCASTERURGENTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT EffectCasterUrgentResult : public ServiceResult + { + public: + + + EffectCasterUrgentResult(); + explicit EffectCasterUrgentResult(const std::string &payload); + ~EffectCasterUrgentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h new file mode 100644 index 000000000..d7d9c336e --- /dev/null +++ b/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.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_EFFECTCASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT EffectCasterVideoResourceRequest : public RpcServiceRequest + { + + public: + EffectCasterVideoResourceRequest(); + ~EffectCasterVideoResourceRequest(); + + std::string getResourceId()const; + void setResourceId(const std::string& resourceId); + 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 resourceId_; + std::string casterId_; + std::string sceneId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/EffectCasterVideoResourceResult.h b/live/include/alibabacloud/live/model/EffectCasterVideoResourceResult.h new file mode 100644 index 000000000..7be5bbf02 --- /dev/null +++ b/live/include/alibabacloud/live/model/EffectCasterVideoResourceResult.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_EFFECTCASTERVIDEORESOURCERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT EffectCasterVideoResourceResult : public ServiceResult + { + public: + + + EffectCasterVideoResourceResult(); + explicit EffectCasterVideoResourceResult(const std::string &payload); + ~EffectCasterVideoResourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCERESULT_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 new file mode 100644 index 000000000..f5c867d55 --- /dev/null +++ b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ForbidLiveStreamRequest : public RpcServiceRequest + { + + public: + ForbidLiveStreamRequest(); + ~ForbidLiveStreamRequest(); + + std::string getResumeTime()const; + void setResumeTime(const std::string& resumeTime); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getLiveStreamType()const; + void setLiveStreamType(const std::string& liveStreamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + 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); + + private: + std::string resumeTime_; + std::string appName_; + std::string securityToken_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ForbidLiveStreamResult.h b/live/include/alibabacloud/live/model/ForbidLiveStreamResult.h new file mode 100644 index 000000000..182352077 --- /dev/null +++ b/live/include/alibabacloud/live/model/ForbidLiveStreamResult.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_FORBIDLIVESTREAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ForbidLiveStreamResult : public ServiceResult + { + public: + + + ForbidLiveStreamResult(); + explicit ForbidLiveStreamResult(const std::string &payload); + ~ForbidLiveStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ImagePornDetectionRequest.h b/live/include/alibabacloud/live/model/ImagePornDetectionRequest.h new file mode 100644 index 000000000..924efdf93 --- /dev/null +++ b/live/include/alibabacloud/live/model/ImagePornDetectionRequest.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_IMAGEPORNDETECTIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_IMAGEPORNDETECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ImagePornDetectionRequest : public RpcServiceRequest + { + + public: + ImagePornDetectionRequest(); + ~ImagePornDetectionRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getImageUrl()const; + void setImageUrl(const std::string& imageUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string imageUrl_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_IMAGEPORNDETECTIONREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ImagePornDetectionResult.h b/live/include/alibabacloud/live/model/ImagePornDetectionResult.h new file mode 100644 index 000000000..b4550edc8 --- /dev/null +++ b/live/include/alibabacloud/live/model/ImagePornDetectionResult.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_IMAGEPORNDETECTIONRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_IMAGEPORNDETECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ImagePornDetectionResult : public ServiceResult + { + public: + + + ImagePornDetectionResult(); + explicit ImagePornDetectionResult(const std::string &payload); + ~ImagePornDetectionResult(); + float getRate()const; + std::string getLabel()const; + + protected: + void parse(const std::string &payload); + private: + float rate_; + std::string label_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_IMAGEPORNDETECTIONRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h b/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h new file mode 100644 index 000000000..1eb5edd9d --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h @@ -0,0 +1,75 @@ +/* + * 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_MODIFYCASTERCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterComponentRequest : public RpcServiceRequest + { + + public: + ModifyCasterComponentRequest(); + ~ModifyCasterComponentRequest(); + + std::string getComponentId()const; + void setComponentId(const std::string& componentId); + std::string getComponentType()const; + void setComponentType(const std::string& componentType); + std::string getImageLayerContent()const; + void setImageLayerContent(const std::string& imageLayerContent); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getEffect()const; + void setEffect(const std::string& effect); + std::string getComponentLayer()const; + void setComponentLayer(const std::string& componentLayer); + std::string getCaptionLayerContent()const; + void setCaptionLayerContent(const std::string& captionLayerContent); + std::string getComponentName()const; + void setComponentName(const std::string& componentName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTextLayerContent()const; + void setTextLayerContent(const std::string& textLayerContent); + + private: + std::string componentId_; + std::string componentType_; + std::string imageLayerContent_; + std::string casterId_; + std::string effect_; + std::string componentLayer_; + std::string captionLayerContent_; + std::string componentName_; + long ownerId_; + std::string textLayerContent_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterComponentResult.h b/live/include/alibabacloud/live/model/ModifyCasterComponentResult.h new file mode 100644 index 000000000..304f66c93 --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterComponentResult.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_MODIFYCASTERCOMPONENTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterComponentResult : public ServiceResult + { + public: + + + ModifyCasterComponentResult(); + explicit ModifyCasterComponentResult(const std::string &payload); + ~ModifyCasterComponentResult(); + std::string getComponentId()const; + + protected: + void parse(const std::string &payload); + private: + std::string componentId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h new file mode 100644 index 000000000..6fc950c3f --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.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_MODIFYCASTEREPISODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterEpisodeRequest : public RpcServiceRequest + { + + public: + ModifyCasterEpisodeRequest(); + ~ModifyCasterEpisodeRequest(); + + std::string getResourceId()const; + void setResourceId(const std::string& resourceId); + std::vector getComponentId()const; + void setComponentId(const std::vector& componentId); + std::string getSwitchType()const; + void setSwitchType(const std::string& switchType); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getEpisodeName()const; + void setEpisodeName(const std::string& episodeName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getEpisodeId()const; + void setEpisodeId(const std::string& episodeId); + + private: + std::string resourceId_; + std::vector componentId_; + std::string switchType_; + std::string casterId_; + std::string episodeName_; + std::string endTime_; + std::string startTime_; + long ownerId_; + std::string episodeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterEpisodeResult.h b/live/include/alibabacloud/live/model/ModifyCasterEpisodeResult.h new file mode 100644 index 000000000..64e7f2a78 --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterEpisodeResult.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_MODIFYCASTEREPISODERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterEpisodeResult : public ServiceResult + { + public: + + + ModifyCasterEpisodeResult(); + explicit ModifyCasterEpisodeResult(const std::string &payload); + ~ModifyCasterEpisodeResult(); + std::string getEpisodeId()const; + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string episodeId_; + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h b/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h new file mode 100644 index 000000000..31e795d33 --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h @@ -0,0 +1,81 @@ +/* + * 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_MODIFYCASTERLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterLayoutRequest : public RpcServiceRequest + { + struct AudioLayer + { + float volumeRate; + std::string validChannel; + int fixedDelayDuration; + }; + struct VideoLayer + { + std::string fillMode; + float heightNormalized; + float widthNormalized; + std::string positionRefer; + std::vector positionNormalized; + int fixedDelayDuration; + }; + + public: + ModifyCasterLayoutRequest(); + ~ModifyCasterLayoutRequest(); + + std::vector getBlendList()const; + void setBlendList(const std::vector& blendList); + std::vector getAudioLayer()const; + void setAudioLayer(const std::vector& audioLayer); + std::vector getVideoLayer()const; + void setVideoLayer(const std::vector& videoLayer); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::vector getMixList()const; + void setMixList(const std::vector& mixList); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + + private: + std::vector blendList_; + std::vector audioLayer_; + std::vector videoLayer_; + std::string casterId_; + std::vector mixList_; + long ownerId_; + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterLayoutResult.h b/live/include/alibabacloud/live/model/ModifyCasterLayoutResult.h new file mode 100644 index 000000000..ceb4d4461 --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterLayoutResult.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_MODIFYCASTERLAYOUTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterLayoutResult : public ServiceResult + { + public: + + + ModifyCasterLayoutResult(); + explicit ModifyCasterLayoutResult(const std::string &payload); + ~ModifyCasterLayoutResult(); + std::string getLayoutId()const; + + protected: + void parse(const std::string &payload); + private: + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h b/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h new file mode 100644 index 000000000..89b32b9e0 --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h @@ -0,0 +1,65 @@ +/* + * 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_MODIFYCASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterProgramRequest : public RpcServiceRequest + { + struct Episode + { + std::string episodeId; + std::string episodeType; + std::string episodeName; + std::string resourceId; + std::vector componentId; + std::string startTime; + std::string endTime; + std::string switchType; + }; + + public: + ModifyCasterProgramRequest(); + ~ModifyCasterProgramRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::vector getEpisode()const; + void setEpisode(const std::vector& episode); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + std::vector episode_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterProgramResult.h b/live/include/alibabacloud/live/model/ModifyCasterProgramResult.h new file mode 100644 index 000000000..200132968 --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterProgramResult.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_MODIFYCASTERPROGRAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterProgramResult : public ServiceResult + { + public: + + + ModifyCasterProgramResult(); + explicit ModifyCasterProgramResult(const std::string &payload); + ~ModifyCasterProgramResult(); + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMRESULT_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 new file mode 100644 index 000000000..f7b76d66b --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h @@ -0,0 +1,75 @@ +/* + * 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_MODIFYCASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterVideoResourceRequest : public RpcServiceRequest + { + + public: + ModifyCasterVideoResourceRequest(); + ~ModifyCasterVideoResourceRequest(); + + 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); + + 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_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceResult.h b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceResult.h new file mode 100644 index 000000000..0f546374f --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceResult.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_MODIFYCASTERVIDEORESOURCERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyCasterVideoResourceResult : public ServiceResult + { + public: + + + ModifyCasterVideoResourceResult(); + explicit ModifyCasterVideoResourceResult(const std::string &payload); + ~ModifyCasterVideoResourceResult(); + std::string getResourceId()const; + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string resourceId_; + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h new file mode 100644 index 000000000..8cc2559cc --- /dev/null +++ b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.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_REALTIMERECORDCOMMANDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT RealTimeRecordCommandRequest : public RpcServiceRequest + { + + public: + RealTimeRecordCommandRequest(); + ~RealTimeRecordCommandRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getCommand()const; + void setCommand(const std::string& command); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + + private: + std::string appName_; + std::string domainName_; + long ownerId_; + std::string command_; + std::string streamName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/RealTimeRecordCommandResult.h b/live/include/alibabacloud/live/model/RealTimeRecordCommandResult.h new file mode 100644 index 000000000..19662a20f --- /dev/null +++ b/live/include/alibabacloud/live/model/RealTimeRecordCommandResult.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_REALTIMERECORDCOMMANDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT RealTimeRecordCommandResult : public ServiceResult + { + public: + + + RealTimeRecordCommandResult(); + explicit RealTimeRecordCommandResult(const std::string &payload); + ~RealTimeRecordCommandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.h b/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.h new file mode 100644 index 000000000..165485bd8 --- /dev/null +++ b/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.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_REMOVEMULTIPLESTREAMMIXSERVICEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT RemoveMultipleStreamMixServiceRequest : public RpcServiceRequest + { + + public: + RemoveMultipleStreamMixServiceRequest(); + ~RemoveMultipleStreamMixServiceRequest(); + + 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); + std::string getMixStreamName()const; + void setMixStreamName(const std::string& mixStreamName); + std::string getMixDomainName()const; + void setMixDomainName(const std::string& mixDomainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getMixAppName()const; + void setMixAppName(const std::string& mixAppName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string mixStreamName_; + std::string mixDomainName_; + long ownerId_; + std::string mixAppName_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceResult.h b/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceResult.h new file mode 100644 index 000000000..ab5195291 --- /dev/null +++ b/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceResult.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_REMOVEMULTIPLESTREAMMIXSERVICERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT RemoveMultipleStreamMixServiceResult : public ServiceResult + { + public: + + + RemoveMultipleStreamMixServiceResult(); + explicit RemoveMultipleStreamMixServiceResult(const std::string &payload); + ~RemoveMultipleStreamMixServiceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h b/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h new file mode 100644 index 000000000..f24ea2232 --- /dev/null +++ b/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.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_RESUMELIVESTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ResumeLiveStreamRequest : public RpcServiceRequest + { + + public: + ResumeLiveStreamRequest(); + ~ResumeLiveStreamRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getLiveStreamType()const; + void setLiveStreamType(const std::string& liveStreamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ResumeLiveStreamResult.h b/live/include/alibabacloud/live/model/ResumeLiveStreamResult.h new file mode 100644 index 000000000..b0f175fc3 --- /dev/null +++ b/live/include/alibabacloud/live/model/ResumeLiveStreamResult.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_RESUMELIVESTREAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ResumeLiveStreamResult : public ServiceResult + { + public: + + + ResumeLiveStreamResult(); + explicit ResumeLiveStreamResult(const std::string &payload); + ~ResumeLiveStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMRESULT_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 new file mode 100644 index 000000000..f55700982 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h @@ -0,0 +1,81 @@ +/* + * 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_SETCASTERCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterConfigRequest : public RpcServiceRequest + { + + public: + SetCasterConfigRequest(); + ~SetCasterConfigRequest(); + + std::string getSideOutputUrl()const; + void setSideOutputUrl(const std::string& sideOutputUrl); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + int getProgramEffect()const; + void setProgramEffect(int programEffect); + std::string getProgramName()const; + void setProgramName(const std::string& programName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getRecordConfig()const; + void setRecordConfig(const std::string& recordConfig); + std::string getUrgentMaterialId()const; + void setUrgentMaterialId(const std::string& urgentMaterialId); + std::string getTranscodeConfig()const; + void setTranscodeConfig(const std::string& transcodeConfig); + float getDelay()const; + void setDelay(float delay); + std::string getCasterName()const; + void setCasterName(const std::string& casterName); + std::string getCallbackUrl()const; + void setCallbackUrl(const std::string& callbackUrl); + + private: + std::string sideOutputUrl_; + std::string casterId_; + std::string domainName_; + int programEffect_; + std::string programName_; + long ownerId_; + std::string recordConfig_; + std::string urgentMaterialId_; + std::string transcodeConfig_; + float delay_; + std::string casterName_; + std::string callbackUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterConfigResult.h b/live/include/alibabacloud/live/model/SetCasterConfigResult.h new file mode 100644 index 000000000..4c4edac38 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetCasterConfigResult.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_SETCASTERCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterConfigResult : public ServiceResult + { + public: + + + SetCasterConfigResult(); + explicit SetCasterConfigResult(const std::string &payload); + ~SetCasterConfigResult(); + std::string getCasterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string casterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h new file mode 100644 index 000000000..46c3cc5b5 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.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_SETCASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterSceneConfigRequest : public RpcServiceRequest + { + + public: + SetCasterSceneConfigRequest(); + ~SetCasterSceneConfigRequest(); + + std::vector getComponentId()const; + void setComponentId(const std::vector& componentId); + 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); + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + + private: + std::vector componentId_; + std::string casterId_; + std::string sceneId_; + long ownerId_; + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterSceneConfigResult.h b/live/include/alibabacloud/live/model/SetCasterSceneConfigResult.h new file mode 100644 index 000000000..5a7d26e45 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetCasterSceneConfigResult.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_SETCASTERSCENECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterSceneConfigResult : public ServiceResult + { + public: + + + SetCasterSceneConfigResult(); + explicit SetCasterSceneConfigResult(const std::string &payload); + ~SetCasterSceneConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h new file mode 100644 index 000000000..e4fdd0de0 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.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_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest + { + + public: + SetLiveStreamsNotifyUrlConfigRequest(); + ~SetLiveStreamsNotifyUrlConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string domainName_; + std::string notifyUrl_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.h b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.h new file mode 100644 index 000000000..f7d85c39b --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.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_SETLIVESTREAMSNOTIFYURLCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamsNotifyUrlConfigResult : public ServiceResult + { + public: + + + SetLiveStreamsNotifyUrlConfigResult(); + explicit SetLiveStreamsNotifyUrlConfigResult(const std::string &payload); + ~SetLiveStreamsNotifyUrlConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartCasterRequest.h b/live/include/alibabacloud/live/model/StartCasterRequest.h new file mode 100644 index 000000000..e248af30f --- /dev/null +++ b/live/include/alibabacloud/live/model/StartCasterRequest.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_STARTCASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartCasterRequest : public RpcServiceRequest + { + + public: + StartCasterRequest(); + ~StartCasterRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartCasterResult.h b/live/include/alibabacloud/live/model/StartCasterResult.h new file mode 100644 index 000000000..018b8fbd0 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartCasterResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTCASTERRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartCasterResult : public ServiceResult + { + public: + struct SceneInfo + { + std::string sceneId; + std::string streamUrl; + }; + struct SceneInfo1 + { + struct StreamInfo + { + std::string outputStreamUrl; + std::string transcodeConfig; + std::string videoFormat; + }; + std::string sceneId; + std::vector streamInfos; + std::string streamUrl; + }; + + + StartCasterResult(); + explicit StartCasterResult(const std::string &payload); + ~StartCasterResult(); + std::vector getPvwSceneInfos()const; + std::vector getPgmSceneInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector pvwSceneInfos_; + std::vector pgmSceneInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartCasterSceneRequest.h b/live/include/alibabacloud/live/model/StartCasterSceneRequest.h new file mode 100644 index 000000000..6bfd9a352 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartCasterSceneRequest.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_STARTCASTERSCENEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartCasterSceneRequest : public RpcServiceRequest + { + + public: + StartCasterSceneRequest(); + ~StartCasterSceneRequest(); + + 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 casterId_; + std::string sceneId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartCasterSceneResult.h b/live/include/alibabacloud/live/model/StartCasterSceneResult.h new file mode 100644 index 000000000..e48cbb5af --- /dev/null +++ b/live/include/alibabacloud/live/model/StartCasterSceneResult.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_STARTCASTERSCENERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartCasterSceneResult : public ServiceResult + { + public: + + + StartCasterSceneResult(); + explicit StartCasterSceneResult(const std::string &payload); + ~StartCasterSceneResult(); + std::string getStreamUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string streamUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartMixStreamsServiceRequest.h b/live/include/alibabacloud/live/model/StartMixStreamsServiceRequest.h new file mode 100644 index 000000000..036ee1f57 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartMixStreamsServiceRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartMixStreamsServiceRequest : public RpcServiceRequest + { + + public: + StartMixStreamsServiceRequest(); + ~StartMixStreamsServiceRequest(); + + std::string getMixType()const; + void setMixType(const std::string& mixType); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getMainDomainName()const; + void setMainDomainName(const std::string& mainDomainName); + std::string getMixStreamName()const; + void setMixStreamName(const std::string& mixStreamName); + std::string getMixTemplate()const; + void setMixTemplate(const std::string& mixTemplate); + std::string getMixDomainName()const; + void setMixDomainName(const std::string& mixDomainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getMainAppName()const; + void setMainAppName(const std::string& mainAppName); + std::string getMixAppName()const; + void setMixAppName(const std::string& mixAppName); + std::string getMainStreamName()const; + void setMainStreamName(const std::string& mainStreamName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string mixType_; + std::string securityToken_; + std::string mainDomainName_; + std::string mixStreamName_; + std::string mixTemplate_; + std::string mixDomainName_; + long ownerId_; + std::string mainAppName_; + std::string mixAppName_; + std::string mainStreamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartMixStreamsServiceResult.h b/live/include/alibabacloud/live/model/StartMixStreamsServiceResult.h new file mode 100644 index 000000000..496f92040 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartMixStreamsServiceResult.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_STARTMIXSTREAMSSERVICERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTMIXSTREAMSSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartMixStreamsServiceResult : public ServiceResult + { + public: + struct MixStreamsInfo + { + std::string streamName; + std::string domainName; + std::string appName; + }; + + + StartMixStreamsServiceResult(); + explicit StartMixStreamsServiceResult(const std::string &payload); + ~StartMixStreamsServiceResult(); + std::vector getMixStreamsInfoList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector mixStreamsInfoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTMIXSTREAMSSERVICERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h b/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h new file mode 100644 index 000000000..3fa1acc3d --- /dev/null +++ b/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.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_STARTMULTIPLESTREAMMIXSERVICEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTMULTIPLESTREAMMIXSERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartMultipleStreamMixServiceRequest : public RpcServiceRequest + { + + public: + StartMultipleStreamMixServiceRequest(); + ~StartMultipleStreamMixServiceRequest(); + + 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); + std::string getMixTemplate()const; + void setMixTemplate(const std::string& mixTemplate); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string mixTemplate_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTMULTIPLESTREAMMIXSERVICEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceResult.h b/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceResult.h new file mode 100644 index 000000000..2e37cefe6 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceResult.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_STARTMULTIPLESTREAMMIXSERVICERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTMULTIPLESTREAMMIXSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartMultipleStreamMixServiceResult : public ServiceResult + { + public: + + + StartMultipleStreamMixServiceResult(); + explicit StartMultipleStreamMixServiceResult(const std::string &payload); + ~StartMultipleStreamMixServiceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTMULTIPLESTREAMMIXSERVICERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopCasterRequest.h b/live/include/alibabacloud/live/model/StopCasterRequest.h new file mode 100644 index 000000000..133fa28ee --- /dev/null +++ b/live/include/alibabacloud/live/model/StopCasterRequest.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_STOPCASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopCasterRequest : public RpcServiceRequest + { + + public: + StopCasterRequest(); + ~StopCasterRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopCasterResult.h b/live/include/alibabacloud/live/model/StopCasterResult.h new file mode 100644 index 000000000..7cca257b1 --- /dev/null +++ b/live/include/alibabacloud/live/model/StopCasterResult.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_STOPCASTERRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopCasterResult : public ServiceResult + { + public: + + + StopCasterResult(); + explicit StopCasterResult(const std::string &payload); + ~StopCasterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopCasterSceneRequest.h b/live/include/alibabacloud/live/model/StopCasterSceneRequest.h new file mode 100644 index 000000000..837997014 --- /dev/null +++ b/live/include/alibabacloud/live/model/StopCasterSceneRequest.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_STOPCASTERSCENEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopCasterSceneRequest : public RpcServiceRequest + { + + public: + StopCasterSceneRequest(); + ~StopCasterSceneRequest(); + + 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 casterId_; + std::string sceneId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopCasterSceneResult.h b/live/include/alibabacloud/live/model/StopCasterSceneResult.h new file mode 100644 index 000000000..5087f8e19 --- /dev/null +++ b/live/include/alibabacloud/live/model/StopCasterSceneResult.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_STOPCASTERSCENERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopCasterSceneResult : public ServiceResult + { + public: + + + StopCasterSceneResult(); + explicit StopCasterSceneResult(const std::string &payload); + ~StopCasterSceneResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopMixStreamsServiceRequest.h b/live/include/alibabacloud/live/model/StopMixStreamsServiceRequest.h new file mode 100644 index 000000000..c722175ed --- /dev/null +++ b/live/include/alibabacloud/live/model/StopMixStreamsServiceRequest.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_STOPMIXSTREAMSSERVICEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopMixStreamsServiceRequest : public RpcServiceRequest + { + + public: + StopMixStreamsServiceRequest(); + ~StopMixStreamsServiceRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getMainDomainName()const; + void setMainDomainName(const std::string& mainDomainName); + std::string getMixStreamName()const; + void setMixStreamName(const std::string& mixStreamName); + std::string getMixDomainName()const; + void setMixDomainName(const std::string& mixDomainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getMainAppName()const; + void setMainAppName(const std::string& mainAppName); + std::string getMixAppName()const; + void setMixAppName(const std::string& mixAppName); + std::string getMainStreamName()const; + void setMainStreamName(const std::string& mainStreamName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string mainDomainName_; + std::string mixStreamName_; + std::string mixDomainName_; + long ownerId_; + std::string mainAppName_; + std::string mixAppName_; + std::string mainStreamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopMixStreamsServiceResult.h b/live/include/alibabacloud/live/model/StopMixStreamsServiceResult.h new file mode 100644 index 000000000..f5727ca7e --- /dev/null +++ b/live/include/alibabacloud/live/model/StopMixStreamsServiceResult.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_STOPMIXSTREAMSSERVICERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPMIXSTREAMSSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopMixStreamsServiceResult : public ServiceResult + { + public: + struct MixStreamsInfo + { + std::string streamName; + std::string domainName; + std::string appName; + }; + + + StopMixStreamsServiceResult(); + explicit StopMixStreamsServiceResult(const std::string &payload); + ~StopMixStreamsServiceResult(); + std::vector getMixStreamsInfoList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector mixStreamsInfoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPMIXSTREAMSSERVICERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.h b/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.h new file mode 100644 index 000000000..7d277113b --- /dev/null +++ b/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.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_STOPMULTIPLESTREAMMIXSERVICEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPMULTIPLESTREAMMIXSERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopMultipleStreamMixServiceRequest : public RpcServiceRequest + { + + public: + StopMultipleStreamMixServiceRequest(); + ~StopMultipleStreamMixServiceRequest(); + + 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); + 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); + + private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string streamName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPMULTIPLESTREAMMIXSERVICEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceResult.h b/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceResult.h new file mode 100644 index 000000000..9260373fd --- /dev/null +++ b/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceResult.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_STOPMULTIPLESTREAMMIXSERVICERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPMULTIPLESTREAMMIXSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopMultipleStreamMixServiceResult : public ServiceResult + { + public: + + + StopMultipleStreamMixServiceResult(); + explicit StopMultipleStreamMixServiceResult(const std::string &payload); + ~StopMultipleStreamMixServiceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPMULTIPLESTREAMMIXSERVICERESULT_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 new file mode 100644 index 000000000..475ba73d5 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.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_UPDATECASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneConfigRequest : public RpcServiceRequest + { + + public: + UpdateCasterSceneConfigRequest(); + ~UpdateCasterSceneConfigRequest(); + + std::vector getComponentId()const; + void setComponentId(const std::vector& componentId); + 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); + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + + private: + std::vector componentId_; + std::string casterId_; + std::string sceneId_; + long ownerId_; + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigResult.h b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigResult.h new file mode 100644 index 000000000..b1f804de3 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigResult.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_UPDATECASTERSCENECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneConfigResult : public ServiceResult + { + public: + + + UpdateCasterSceneConfigResult(); + explicit UpdateCasterSceneConfigResult(const std::string &payload); + ~UpdateCasterSceneConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h new file mode 100644 index 000000000..8f0d4cfb8 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h @@ -0,0 +1,75 @@ +/* + * 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_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAppSnapshotConfigRequest : public RpcServiceRequest + { + + public: + UpdateLiveAppSnapshotConfigRequest(); + ~UpdateLiveAppSnapshotConfigRequest(); + + int getTimeInterval()const; + void setTimeInterval(int timeInterval); + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + 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); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + std::string getSequenceOssObject()const; + void setSequenceOssObject(const std::string& sequenceOssObject); + std::string getOverwriteOssObject()const; + void setOverwriteOssObject(const std::string& overwriteOssObject); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + int timeInterval_; + std::string ossBucket_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string ossEndpoint_; + std::string sequenceOssObject_; + std::string overwriteOssObject_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigResult.h b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigResult.h new file mode 100644 index 000000000..50dbb22d8 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigResult.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_UPDATELIVEAPPSNAPSHOTCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAppSnapshotConfigResult : public ServiceResult + { + public: + + + UpdateLiveAppSnapshotConfigResult(); + explicit UpdateLiveAppSnapshotConfigResult(const std::string &payload); + ~UpdateLiveAppSnapshotConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h new file mode 100644 index 000000000..2a0bb33af --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.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_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveDetectNotifyConfigRequest : public RpcServiceRequest + { + + public: + UpdateLiveDetectNotifyConfigRequest(); + ~UpdateLiveDetectNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string domainName_; + std::string notifyUrl_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h new file mode 100644 index 000000000..4df104e0c --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.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_UPDATELIVEDETECTNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveDetectNotifyConfigResult : public ServiceResult + { + public: + + + UpdateLiveDetectNotifyConfigResult(); + explicit UpdateLiveDetectNotifyConfigResult(const std::string &payload); + ~UpdateLiveDetectNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigRequest.h new file mode 100644 index 000000000..aca3a127c --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigRequest.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_UPDATELIVEMIXNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMIXNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveMixNotifyConfigRequest : public RpcServiceRequest + { + + public: + UpdateLiveMixNotifyConfigRequest(); + ~UpdateLiveMixNotifyConfigRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string domainName_; + std::string notifyUrl_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMIXNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.h b/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.h new file mode 100644 index 000000000..9abe3898c --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.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_UPDATELIVEMIXNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMIXNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveMixNotifyConfigResult : public ServiceResult + { + public: + + + UpdateLiveMixNotifyConfigResult(); + explicit UpdateLiveMixNotifyConfigResult(const std::string &payload); + ~UpdateLiveMixNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMIXNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h new file mode 100644 index 000000000..ff97a9beb --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.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_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveRecordNotifyConfigRequest : public RpcServiceRequest + { + + public: + UpdateLiveRecordNotifyConfigRequest(); + ~UpdateLiveRecordNotifyConfigRequest(); + + std::string getOnDemandUrl()const; + void setOnDemandUrl(const std::string& onDemandUrl); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + long getOwnerId()const; + void setOwnerId(long ownerId); + bool getNeedStatusNotify()const; + void setNeedStatusNotify(bool needStatusNotify); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string onDemandUrl_; + std::string securityToken_; + std::string domainName_; + std::string notifyUrl_; + long ownerId_; + bool needStatusNotify_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h new file mode 100644 index 000000000..b95f03ad1 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.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_UPDATELIVERECORDNOTIFYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveRecordNotifyConfigResult : public ServiceResult + { + public: + + + UpdateLiveRecordNotifyConfigResult(); + explicit UpdateLiveRecordNotifyConfigResult(const std::string &payload); + ~UpdateLiveRecordNotifyConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h new file mode 100644 index 000000000..d945eaf21 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h @@ -0,0 +1,75 @@ +/* + * 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_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest + { + + public: + UpdateLiveSnapshotDetectPornConfigRequest(); + ~UpdateLiveSnapshotDetectPornConfigRequest(); + + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + 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); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + int getInterval()const; + void setInterval(int interval); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getOssObject()const; + void setOssObject(const std::string& ossObject); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::vector getScene()const; + void setScene(const std::vector& scene); + + private: + std::string ossBucket_; + std::string appName_; + std::string securityToken_; + std::string domainName_; + std::string ossEndpoint_; + int interval_; + long ownerId_; + std::string ossObject_; + std::string accessKeyId_; + std::vector scene_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h new file mode 100644 index 000000000..e2aea4c25 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.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_UPDATELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveSnapshotDetectPornConfigResult : public ServiceResult + { + public: + + + UpdateLiveSnapshotDetectPornConfigResult(); + explicit UpdateLiveSnapshotDetectPornConfigResult(const std::string &payload); + ~UpdateLiveSnapshotDetectPornConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc new file mode 100644 index 000000000..cfbe20089 --- /dev/null +++ b/live/src/LiveClient.cc @@ -0,0 +1,3905 @@ +/* + * 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; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +namespace +{ + const std::string SERVICE_NAME = "live"; +} + +LiveClient::LiveClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "live"); +} + +LiveClient::LiveClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "live"); +} + +LiveClient::LiveClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "live"); +} + +LiveClient::~LiveClient() +{} + +LiveClient::DescribeLiveRecordNotifyConfigOutcome LiveClient::describeLiveRecordNotifyConfig(const DescribeLiveRecordNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveRecordNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveRecordNotifyConfigOutcome(DescribeLiveRecordNotifyConfigResult(outcome.result())); + else + return DescribeLiveRecordNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveRecordNotifyConfigAsync(const DescribeLiveRecordNotifyConfigRequest& request, const DescribeLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveRecordNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveRecordNotifyConfigOutcomeCallable LiveClient::describeLiveRecordNotifyConfigCallable(const DescribeLiveRecordNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveRecordNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveDetectNotifyConfigOutcome LiveClient::describeLiveDetectNotifyConfig(const DescribeLiveDetectNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDetectNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDetectNotifyConfigOutcome(DescribeLiveDetectNotifyConfigResult(outcome.result())); + else + return DescribeLiveDetectNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveDetectNotifyConfigAsync(const DescribeLiveDetectNotifyConfigRequest& request, const DescribeLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDetectNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDetectNotifyConfigOutcomeCallable LiveClient::describeLiveDetectNotifyConfigCallable(const DescribeLiveDetectNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDetectNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ModifyCasterComponentOutcome LiveClient::modifyCasterComponent(const ModifyCasterComponentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCasterComponentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCasterComponentOutcome(ModifyCasterComponentResult(outcome.result())); + else + return ModifyCasterComponentOutcome(outcome.error()); +} + +void LiveClient::modifyCasterComponentAsync(const ModifyCasterComponentRequest& request, const ModifyCasterComponentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCasterComponent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ModifyCasterComponentOutcomeCallable LiveClient::modifyCasterComponentCallable(const ModifyCasterComponentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCasterComponent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::UpdateLiveSnapshotDetectPornConfigOutcome LiveClient::updateLiveSnapshotDetectPornConfig(const UpdateLiveSnapshotDetectPornConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLiveSnapshotDetectPornConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLiveSnapshotDetectPornConfigOutcome(UpdateLiveSnapshotDetectPornConfigResult(outcome.result())); + else + return UpdateLiveSnapshotDetectPornConfigOutcome(outcome.error()); +} + +void LiveClient::updateLiveSnapshotDetectPornConfigAsync(const UpdateLiveSnapshotDetectPornConfigRequest& request, const UpdateLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLiveSnapshotDetectPornConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLiveSnapshotDetectPornConfigOutcomeCallable LiveClient::updateLiveSnapshotDetectPornConfigCallable(const UpdateLiveSnapshotDetectPornConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLiveSnapshotDetectPornConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::EffectCasterUrgentOutcome LiveClient::effectCasterUrgent(const EffectCasterUrgentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EffectCasterUrgentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EffectCasterUrgentOutcome(EffectCasterUrgentResult(outcome.result())); + else + return EffectCasterUrgentOutcome(outcome.error()); +} + +void LiveClient::effectCasterUrgentAsync(const EffectCasterUrgentRequest& request, const EffectCasterUrgentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, effectCasterUrgent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::EffectCasterUrgentOutcomeCallable LiveClient::effectCasterUrgentCallable(const EffectCasterUrgentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->effectCasterUrgent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterComponentsOutcome LiveClient::describeCasterComponents(const DescribeCasterComponentsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterComponentsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterComponentsOutcome(DescribeCasterComponentsResult(outcome.result())); + else + return DescribeCasterComponentsOutcome(outcome.error()); +} + +void LiveClient::describeCasterComponentsAsync(const DescribeCasterComponentsRequest& request, const DescribeCasterComponentsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterComponents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterComponentsOutcomeCallable LiveClient::describeCasterComponentsCallable(const DescribeCasterComponentsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterComponents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveMixConfigOutcome LiveClient::describeLiveMixConfig(const DescribeLiveMixConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveMixConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveMixConfigOutcome(DescribeLiveMixConfigResult(outcome.result())); + else + return DescribeLiveMixConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveMixConfigAsync(const DescribeLiveMixConfigRequest& request, const DescribeLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveMixConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveMixConfigOutcomeCallable LiveClient::describeLiveMixConfigCallable(const DescribeLiveMixConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveMixConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::CreateLiveStreamRecordIndexFilesOutcome LiveClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateLiveStreamRecordIndexFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateLiveStreamRecordIndexFilesOutcome(CreateLiveStreamRecordIndexFilesResult(outcome.result())); + else + return CreateLiveStreamRecordIndexFilesOutcome(outcome.error()); +} + +void LiveClient::createLiveStreamRecordIndexFilesAsync(const CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createLiveStreamRecordIndexFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateLiveStreamRecordIndexFilesOutcomeCallable LiveClient::createLiveStreamRecordIndexFilesCallable(const CreateLiveStreamRecordIndexFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createLiveStreamRecordIndexFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::UpdateCasterSceneConfigOutcome LiveClient::updateCasterSceneConfig(const UpdateCasterSceneConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCasterSceneConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCasterSceneConfigOutcome(UpdateCasterSceneConfigResult(outcome.result())); + else + return UpdateCasterSceneConfigOutcome(outcome.error()); +} + +void LiveClient::updateCasterSceneConfigAsync(const UpdateCasterSceneConfigRequest& request, const UpdateCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCasterSceneConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateCasterSceneConfigOutcomeCallable LiveClient::updateCasterSceneConfigCallable(const UpdateCasterSceneConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCasterSceneConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamTranscodeInfoOutcome LiveClient::describeLiveStreamTranscodeInfo(const DescribeLiveStreamTranscodeInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamTranscodeInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamTranscodeInfoOutcome(DescribeLiveStreamTranscodeInfoResult(outcome.result())); + else + return DescribeLiveStreamTranscodeInfoOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamTranscodeInfoAsync(const DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamTranscodeInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamTranscodeInfoOutcomeCallable LiveClient::describeLiveStreamTranscodeInfoCallable(const DescribeLiveStreamTranscodeInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamTranscodeInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamsOnlineListOutcome LiveClient::describeLiveStreamsOnlineList(const DescribeLiveStreamsOnlineListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamsOnlineListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamsOnlineListOutcome(DescribeLiveStreamsOnlineListResult(outcome.result())); + else + return DescribeLiveStreamsOnlineListOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamsOnlineListAsync(const DescribeLiveStreamsOnlineListRequest& request, const DescribeLiveStreamsOnlineListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamsOnlineList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamsOnlineListOutcomeCallable LiveClient::describeLiveStreamsOnlineListCallable(const DescribeLiveStreamsOnlineListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamsOnlineList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveSnapshotDetectPornConfigOutcome LiveClient::deleteLiveSnapshotDetectPornConfig(const DeleteLiveSnapshotDetectPornConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveSnapshotDetectPornConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveSnapshotDetectPornConfigOutcome(DeleteLiveSnapshotDetectPornConfigResult(outcome.result())); + else + return DeleteLiveSnapshotDetectPornConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveSnapshotDetectPornConfigAsync(const DeleteLiveSnapshotDetectPornConfigRequest& request, const DeleteLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveSnapshotDetectPornConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveSnapshotDetectPornConfigOutcomeCallable LiveClient::deleteLiveSnapshotDetectPornConfigCallable(const DeleteLiveSnapshotDetectPornConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveSnapshotDetectPornConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::CopyCasterSceneConfigOutcome LiveClient::copyCasterSceneConfig(const CopyCasterSceneConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyCasterSceneConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyCasterSceneConfigOutcome(CopyCasterSceneConfigResult(outcome.result())); + else + return CopyCasterSceneConfigOutcome(outcome.error()); +} + +void LiveClient::copyCasterSceneConfigAsync(const CopyCasterSceneConfigRequest& request, const CopyCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyCasterSceneConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CopyCasterSceneConfigOutcomeCallable LiveClient::copyCasterSceneConfigCallable(const CopyCasterSceneConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyCasterSceneConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveDomainTranscodeDataOutcome LiveClient::describeLiveDomainTranscodeData(const DescribeLiveDomainTranscodeDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainTranscodeDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainTranscodeDataOutcome(DescribeLiveDomainTranscodeDataResult(outcome.result())); + else + return DescribeLiveDomainTranscodeDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainTranscodeDataAsync(const DescribeLiveDomainTranscodeDataRequest& request, const DescribeLiveDomainTranscodeDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainTranscodeData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainTranscodeDataOutcomeCallable LiveClient::describeLiveDomainTranscodeDataCallable(const DescribeLiveDomainTranscodeDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainTranscodeData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StopMixStreamsServiceOutcome LiveClient::stopMixStreamsService(const StopMixStreamsServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopMixStreamsServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopMixStreamsServiceOutcome(StopMixStreamsServiceResult(outcome.result())); + else + return StopMixStreamsServiceOutcome(outcome.error()); +} + +void LiveClient::stopMixStreamsServiceAsync(const StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopMixStreamsService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopMixStreamsServiceOutcomeCallable LiveClient::stopMixStreamsServiceCallable(const StopMixStreamsServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopMixStreamsService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveStreamTranscodeOutcome LiveClient::deleteLiveStreamTranscode(const DeleteLiveStreamTranscodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveStreamTranscodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveStreamTranscodeOutcome(DeleteLiveStreamTranscodeResult(outcome.result())); + else + return DeleteLiveStreamTranscodeOutcome(outcome.error()); +} + +void LiveClient::deleteLiveStreamTranscodeAsync(const DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveStreamTranscode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveStreamTranscodeOutcomeCallable LiveClient::deleteLiveStreamTranscodeCallable(const DeleteLiveStreamTranscodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveStreamTranscode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterEpisodeOutcome LiveClient::deleteCasterEpisode(const DeleteCasterEpisodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterEpisodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterEpisodeOutcome(DeleteCasterEpisodeResult(outcome.result())); + else + return DeleteCasterEpisodeOutcome(outcome.error()); +} + +void LiveClient::deleteCasterEpisodeAsync(const DeleteCasterEpisodeRequest& request, const DeleteCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCasterEpisode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterEpisodeOutcomeCallable LiveClient::deleteCasterEpisodeCallable(const DeleteCasterEpisodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCasterEpisode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterRtcInfoOutcome LiveClient::describeCasterRtcInfo(const DescribeCasterRtcInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterRtcInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterRtcInfoOutcome(DescribeCasterRtcInfoResult(outcome.result())); + else + return DescribeCasterRtcInfoOutcome(outcome.error()); +} + +void LiveClient::describeCasterRtcInfoAsync(const DescribeCasterRtcInfoRequest& request, const DescribeCasterRtcInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterRtcInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterRtcInfoOutcomeCallable LiveClient::describeCasterRtcInfoCallable(const DescribeCasterRtcInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterRtcInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::SetCasterSceneConfigOutcome LiveClient::setCasterSceneConfig(const SetCasterSceneConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetCasterSceneConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetCasterSceneConfigOutcome(SetCasterSceneConfigResult(outcome.result())); + else + return SetCasterSceneConfigOutcome(outcome.error()); +} + +void LiveClient::setCasterSceneConfigAsync(const SetCasterSceneConfigRequest& request, const SetCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setCasterSceneConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetCasterSceneConfigOutcomeCallable LiveClient::setCasterSceneConfigCallable(const SetCasterSceneConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setCasterSceneConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddTrancodeSEIOutcome LiveClient::addTrancodeSEI(const AddTrancodeSEIRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddTrancodeSEIOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddTrancodeSEIOutcome(AddTrancodeSEIResult(outcome.result())); + else + return AddTrancodeSEIOutcome(outcome.error()); +} + +void LiveClient::addTrancodeSEIAsync(const AddTrancodeSEIRequest& request, const AddTrancodeSEIAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addTrancodeSEI(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddTrancodeSEIOutcomeCallable LiveClient::addTrancodeSEICallable(const AddTrancodeSEIRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addTrancodeSEI(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamBitRateDataOutcome LiveClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamBitRateDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamBitRateDataOutcome(DescribeLiveStreamBitRateDataResult(outcome.result())); + else + return DescribeLiveStreamBitRateDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamBitRateDataAsync(const DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamBitRateData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamBitRateDataOutcomeCallable LiveClient::describeLiveStreamBitRateDataCallable(const DescribeLiveStreamBitRateDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamBitRateData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterLayoutOutcome LiveClient::deleteCasterLayout(const DeleteCasterLayoutRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterLayoutOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterLayoutOutcome(DeleteCasterLayoutResult(outcome.result())); + else + return DeleteCasterLayoutOutcome(outcome.error()); +} + +void LiveClient::deleteCasterLayoutAsync(const DeleteCasterLayoutRequest& request, const DeleteCasterLayoutAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCasterLayout(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterLayoutOutcomeCallable LiveClient::deleteCasterLayoutCallable(const DeleteCasterLayoutRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCasterLayout(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterProgramOutcome LiveClient::deleteCasterProgram(const DeleteCasterProgramRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterProgramOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterProgramOutcome(DeleteCasterProgramResult(outcome.result())); + else + return DeleteCasterProgramOutcome(outcome.error()); +} + +void LiveClient::deleteCasterProgramAsync(const DeleteCasterProgramRequest& request, const DeleteCasterProgramAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCasterProgram(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterProgramOutcomeCallable LiveClient::deleteCasterProgramCallable(const DeleteCasterProgramRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCasterProgram(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StartCasterSceneOutcome LiveClient::startCasterScene(const StartCasterSceneRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartCasterSceneOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartCasterSceneOutcome(StartCasterSceneResult(outcome.result())); + else + return StartCasterSceneOutcome(outcome.error()); +} + +void LiveClient::startCasterSceneAsync(const StartCasterSceneRequest& request, const StartCasterSceneAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startCasterScene(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartCasterSceneOutcomeCallable LiveClient::startCasterSceneCallable(const StartCasterSceneRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startCasterScene(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamRecordIndexFileOutcome LiveClient::describeLiveStreamRecordIndexFile(const DescribeLiveStreamRecordIndexFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamRecordIndexFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamRecordIndexFileOutcome(DescribeLiveStreamRecordIndexFileResult(outcome.result())); + else + return DescribeLiveStreamRecordIndexFileOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamRecordIndexFileAsync(const DescribeLiveStreamRecordIndexFileRequest& request, const DescribeLiveStreamRecordIndexFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamRecordIndexFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamRecordIndexFileOutcomeCallable LiveClient::describeLiveStreamRecordIndexFileCallable(const DescribeLiveStreamRecordIndexFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamRecordIndexFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCasterEpisodeGroupOutcome LiveClient::addCasterEpisodeGroup(const AddCasterEpisodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCasterEpisodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCasterEpisodeGroupOutcome(AddCasterEpisodeGroupResult(outcome.result())); + else + return AddCasterEpisodeGroupOutcome(outcome.error()); +} + +void LiveClient::addCasterEpisodeGroupAsync(const AddCasterEpisodeGroupRequest& request, const AddCasterEpisodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCasterEpisodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCasterEpisodeGroupOutcomeCallable LiveClient::addCasterEpisodeGroupCallable(const AddCasterEpisodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCasterEpisodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveMixConfigOutcome LiveClient::addLiveMixConfig(const AddLiveMixConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveMixConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveMixConfigOutcome(AddLiveMixConfigResult(outcome.result())); + else + return AddLiveMixConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveMixConfigAsync(const AddLiveMixConfigRequest& request, const AddLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveMixConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveMixConfigOutcomeCallable LiveClient::addLiveMixConfigCallable(const AddLiveMixConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveMixConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterConfigOutcome LiveClient::describeCasterConfig(const DescribeCasterConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterConfigOutcome(DescribeCasterConfigResult(outcome.result())); + else + return DescribeCasterConfigOutcome(outcome.error()); +} + +void LiveClient::describeCasterConfigAsync(const DescribeCasterConfigRequest& request, const DescribeCasterConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterConfigOutcomeCallable LiveClient::describeCasterConfigCallable(const DescribeCasterConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::CopyCasterOutcome LiveClient::copyCaster(const CopyCasterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyCasterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyCasterOutcome(CopyCasterResult(outcome.result())); + else + return CopyCasterOutcome(outcome.error()); +} + +void LiveClient::copyCasterAsync(const CopyCasterRequest& request, const CopyCasterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyCaster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CopyCasterOutcomeCallable LiveClient::copyCasterCallable(const CopyCasterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyCaster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCustomLiveStreamTranscodeOutcome LiveClient::addCustomLiveStreamTranscode(const AddCustomLiveStreamTranscodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCustomLiveStreamTranscodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCustomLiveStreamTranscodeOutcome(AddCustomLiveStreamTranscodeResult(outcome.result())); + else + return AddCustomLiveStreamTranscodeOutcome(outcome.error()); +} + +void LiveClient::addCustomLiveStreamTranscodeAsync(const AddCustomLiveStreamTranscodeRequest& request, const AddCustomLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCustomLiveStreamTranscode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCustomLiveStreamTranscodeOutcomeCallable LiveClient::addCustomLiveStreamTranscodeCallable(const AddCustomLiveStreamTranscodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCustomLiveStreamTranscode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCasterEpisodeOutcome LiveClient::addCasterEpisode(const AddCasterEpisodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCasterEpisodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCasterEpisodeOutcome(AddCasterEpisodeResult(outcome.result())); + else + return AddCasterEpisodeOutcome(outcome.error()); +} + +void LiveClient::addCasterEpisodeAsync(const AddCasterEpisodeRequest& request, const AddCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCasterEpisode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCasterEpisodeOutcomeCallable LiveClient::addCasterEpisodeCallable(const AddCasterEpisodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCasterEpisode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveRecordConfigOutcome LiveClient::describeLiveRecordConfig(const DescribeLiveRecordConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveRecordConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveRecordConfigOutcome(DescribeLiveRecordConfigResult(outcome.result())); + else + return DescribeLiveRecordConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveRecordConfigAsync(const DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveRecordConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveRecordConfigOutcomeCallable LiveClient::describeLiveRecordConfigCallable(const DescribeLiveRecordConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveRecordConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveRecordNotifyConfigOutcome LiveClient::deleteLiveRecordNotifyConfig(const DeleteLiveRecordNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveRecordNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveRecordNotifyConfigOutcome(DeleteLiveRecordNotifyConfigResult(outcome.result())); + else + return DeleteLiveRecordNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveRecordNotifyConfigAsync(const DeleteLiveRecordNotifyConfigRequest& request, const DeleteLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveRecordNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveRecordNotifyConfigOutcomeCallable LiveClient::deleteLiveRecordNotifyConfigCallable(const DeleteLiveRecordNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveRecordNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveRecordNotifyConfigOutcome LiveClient::addLiveRecordNotifyConfig(const AddLiveRecordNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveRecordNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveRecordNotifyConfigOutcome(AddLiveRecordNotifyConfigResult(outcome.result())); + else + return AddLiveRecordNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveRecordNotifyConfigAsync(const AddLiveRecordNotifyConfigRequest& request, const AddLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveRecordNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveRecordNotifyConfigOutcomeCallable LiveClient::addLiveRecordNotifyConfigCallable(const AddLiveRecordNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveRecordNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveStreamsNotifyUrlConfigOutcome LiveClient::deleteLiveStreamsNotifyUrlConfig(const DeleteLiveStreamsNotifyUrlConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveStreamsNotifyUrlConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveStreamsNotifyUrlConfigOutcome(DeleteLiveStreamsNotifyUrlConfigResult(outcome.result())); + else + return DeleteLiveStreamsNotifyUrlConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveStreamsNotifyUrlConfigAsync(const DeleteLiveStreamsNotifyUrlConfigRequest& request, const DeleteLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveStreamsNotifyUrlConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveStreamsNotifyUrlConfigOutcomeCallable LiveClient::deleteLiveStreamsNotifyUrlConfigCallable(const DeleteLiveStreamsNotifyUrlConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveStreamsNotifyUrlConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamOnlineUserNumOutcome LiveClient::describeLiveStreamOnlineUserNum(const DescribeLiveStreamOnlineUserNumRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamOnlineUserNumOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamOnlineUserNumOutcome(DescribeLiveStreamOnlineUserNumResult(outcome.result())); + else + return DescribeLiveStreamOnlineUserNumOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamOnlineUserNumAsync(const DescribeLiveStreamOnlineUserNumRequest& request, const DescribeLiveStreamOnlineUserNumAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamOnlineUserNum(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamOnlineUserNumOutcomeCallable LiveClient::describeLiveStreamOnlineUserNumCallable(const DescribeLiveStreamOnlineUserNumRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamOnlineUserNum(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCasterComponentOutcome LiveClient::addCasterComponent(const AddCasterComponentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCasterComponentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCasterComponentOutcome(AddCasterComponentResult(outcome.result())); + else + return AddCasterComponentOutcome(outcome.error()); +} + +void LiveClient::addCasterComponentAsync(const AddCasterComponentRequest& request, const AddCasterComponentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCasterComponent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCasterComponentOutcomeCallable LiveClient::addCasterComponentCallable(const AddCasterComponentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCasterComponent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::UpdateLiveMixNotifyConfigOutcome LiveClient::updateLiveMixNotifyConfig(const UpdateLiveMixNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLiveMixNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLiveMixNotifyConfigOutcome(UpdateLiveMixNotifyConfigResult(outcome.result())); + else + return UpdateLiveMixNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::updateLiveMixNotifyConfigAsync(const UpdateLiveMixNotifyConfigRequest& request, const UpdateLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLiveMixNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLiveMixNotifyConfigOutcomeCallable LiveClient::updateLiveMixNotifyConfigCallable(const UpdateLiveMixNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLiveMixNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveDomainRecordDataOutcome LiveClient::describeLiveDomainRecordData(const DescribeLiveDomainRecordDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainRecordDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainRecordDataOutcome(DescribeLiveDomainRecordDataResult(outcome.result())); + else + return DescribeLiveDomainRecordDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainRecordDataAsync(const DescribeLiveDomainRecordDataRequest& request, const DescribeLiveDomainRecordDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainRecordData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainRecordDataOutcomeCallable LiveClient::describeLiveDomainRecordDataCallable(const DescribeLiveDomainRecordDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainRecordData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterVideoResourceOutcome LiveClient::deleteCasterVideoResource(const DeleteCasterVideoResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterVideoResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterVideoResourceOutcome(DeleteCasterVideoResourceResult(outcome.result())); + else + return DeleteCasterVideoResourceOutcome(outcome.error()); +} + +void LiveClient::deleteCasterVideoResourceAsync(const DeleteCasterVideoResourceRequest& request, const DeleteCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCasterVideoResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterVideoResourceOutcomeCallable LiveClient::deleteCasterVideoResourceCallable(const DeleteCasterVideoResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCasterVideoResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveAppSnapshotConfigOutcome LiveClient::deleteLiveAppSnapshotConfig(const DeleteLiveAppSnapshotConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveAppSnapshotConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveAppSnapshotConfigOutcome(DeleteLiveAppSnapshotConfigResult(outcome.result())); + else + return DeleteLiveAppSnapshotConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveAppSnapshotConfigAsync(const DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveAppSnapshotConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveAppSnapshotConfigOutcomeCallable LiveClient::deleteLiveAppSnapshotConfigCallable(const DeleteLiveAppSnapshotConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveAppSnapshotConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamsNotifyUrlConfigOutcome LiveClient::describeLiveStreamsNotifyUrlConfig(const DescribeLiveStreamsNotifyUrlConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamsNotifyUrlConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamsNotifyUrlConfigOutcome(DescribeLiveStreamsNotifyUrlConfigResult(outcome.result())); + else + return DescribeLiveStreamsNotifyUrlConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamsNotifyUrlConfigAsync(const DescribeLiveStreamsNotifyUrlConfigRequest& request, const DescribeLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamsNotifyUrlConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamsNotifyUrlConfigOutcomeCallable LiveClient::describeLiveStreamsNotifyUrlConfigCallable(const DescribeLiveStreamsNotifyUrlConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamsNotifyUrlConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLivePullStreamInfoConfigOutcome LiveClient::deleteLivePullStreamInfoConfig(const DeleteLivePullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLivePullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLivePullStreamInfoConfigOutcome(DeleteLivePullStreamInfoConfigResult(outcome.result())); + else + return DeleteLivePullStreamInfoConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLivePullStreamInfoConfigAsync(const DeleteLivePullStreamInfoConfigRequest& request, const DeleteLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLivePullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLivePullStreamInfoConfigOutcomeCallable LiveClient::deleteLivePullStreamInfoConfigCallable(const DeleteLivePullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLivePullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ModifyCasterProgramOutcome LiveClient::modifyCasterProgram(const ModifyCasterProgramRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCasterProgramOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCasterProgramOutcome(ModifyCasterProgramResult(outcome.result())); + else + return ModifyCasterProgramOutcome(outcome.error()); +} + +void LiveClient::modifyCasterProgramAsync(const ModifyCasterProgramRequest& request, const ModifyCasterProgramAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCasterProgram(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ModifyCasterProgramOutcomeCallable LiveClient::modifyCasterProgramCallable(const ModifyCasterProgramRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCasterProgram(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StartMixStreamsServiceOutcome LiveClient::startMixStreamsService(const StartMixStreamsServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartMixStreamsServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartMixStreamsServiceOutcome(StartMixStreamsServiceResult(outcome.result())); + else + return StartMixStreamsServiceOutcome(outcome.error()); +} + +void LiveClient::startMixStreamsServiceAsync(const StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startMixStreamsService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartMixStreamsServiceOutcomeCallable LiveClient::startMixStreamsServiceCallable(const StartMixStreamsServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startMixStreamsService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLivePullStreamConfigOutcome LiveClient::describeLivePullStreamConfig(const DescribeLivePullStreamConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLivePullStreamConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLivePullStreamConfigOutcome(DescribeLivePullStreamConfigResult(outcome.result())); + else + return DescribeLivePullStreamConfigOutcome(outcome.error()); +} + +void LiveClient::describeLivePullStreamConfigAsync(const DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLivePullStreamConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLivePullStreamConfigOutcomeCallable LiveClient::describeLivePullStreamConfigCallable(const DescribeLivePullStreamConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLivePullStreamConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::SetLiveStreamsNotifyUrlConfigOutcome LiveClient::setLiveStreamsNotifyUrlConfig(const SetLiveStreamsNotifyUrlConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetLiveStreamsNotifyUrlConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetLiveStreamsNotifyUrlConfigOutcome(SetLiveStreamsNotifyUrlConfigResult(outcome.result())); + else + return SetLiveStreamsNotifyUrlConfigOutcome(outcome.error()); +} + +void LiveClient::setLiveStreamsNotifyUrlConfigAsync(const SetLiveStreamsNotifyUrlConfigRequest& request, const SetLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setLiveStreamsNotifyUrlConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetLiveStreamsNotifyUrlConfigOutcomeCallable LiveClient::setLiveStreamsNotifyUrlConfigCallable(const SetLiveStreamsNotifyUrlConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setLiveStreamsNotifyUrlConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLivePullStreamInfoConfigOutcome LiveClient::addLivePullStreamInfoConfig(const AddLivePullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLivePullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLivePullStreamInfoConfigOutcome(AddLivePullStreamInfoConfigResult(outcome.result())); + else + return AddLivePullStreamInfoConfigOutcome(outcome.error()); +} + +void LiveClient::addLivePullStreamInfoConfigAsync(const AddLivePullStreamInfoConfigRequest& request, const AddLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLivePullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLivePullStreamInfoConfigOutcomeCallable LiveClient::addLivePullStreamInfoConfigCallable(const AddLivePullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLivePullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamsBlockListOutcome LiveClient::describeLiveStreamsBlockList(const DescribeLiveStreamsBlockListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamsBlockListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamsBlockListOutcome(DescribeLiveStreamsBlockListResult(outcome.result())); + else + return DescribeLiveStreamsBlockListOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamsBlockListAsync(const DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamsBlockList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamsBlockListOutcomeCallable LiveClient::describeLiveStreamsBlockListCallable(const DescribeLiveStreamsBlockListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamsBlockList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveStreamTranscodeOutcome LiveClient::addLiveStreamTranscode(const AddLiveStreamTranscodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveStreamTranscodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveStreamTranscodeOutcome(AddLiveStreamTranscodeResult(outcome.result())); + else + return AddLiveStreamTranscodeOutcome(outcome.error()); +} + +void LiveClient::addLiveStreamTranscodeAsync(const AddLiveStreamTranscodeRequest& request, const AddLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveStreamTranscode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveStreamTranscodeOutcomeCallable LiveClient::addLiveStreamTranscodeCallable(const AddLiveStreamTranscodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveStreamTranscode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCasterVideoResourceOutcome LiveClient::addCasterVideoResource(const AddCasterVideoResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCasterVideoResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCasterVideoResourceOutcome(AddCasterVideoResourceResult(outcome.result())); + else + return AddCasterVideoResourceOutcome(outcome.error()); +} + +void LiveClient::addCasterVideoResourceAsync(const AddCasterVideoResourceRequest& request, const AddCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCasterVideoResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCasterVideoResourceOutcomeCallable LiveClient::addCasterVideoResourceCallable(const AddCasterVideoResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCasterVideoResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCasterEpisodeGroupContentOutcome LiveClient::addCasterEpisodeGroupContent(const AddCasterEpisodeGroupContentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCasterEpisodeGroupContentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCasterEpisodeGroupContentOutcome(AddCasterEpisodeGroupContentResult(outcome.result())); + else + return AddCasterEpisodeGroupContentOutcome(outcome.error()); +} + +void LiveClient::addCasterEpisodeGroupContentAsync(const AddCasterEpisodeGroupContentRequest& request, const AddCasterEpisodeGroupContentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCasterEpisodeGroupContent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCasterEpisodeGroupContentOutcomeCallable LiveClient::addCasterEpisodeGroupContentCallable(const AddCasterEpisodeGroupContentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCasterEpisodeGroupContent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::UpdateLiveDetectNotifyConfigOutcome LiveClient::updateLiveDetectNotifyConfig(const UpdateLiveDetectNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLiveDetectNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLiveDetectNotifyConfigOutcome(UpdateLiveDetectNotifyConfigResult(outcome.result())); + else + return UpdateLiveDetectNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::updateLiveDetectNotifyConfigAsync(const UpdateLiveDetectNotifyConfigRequest& request, const UpdateLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLiveDetectNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLiveDetectNotifyConfigOutcomeCallable LiveClient::updateLiveDetectNotifyConfigCallable(const UpdateLiveDetectNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLiveDetectNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ModifyCasterVideoResourceOutcome LiveClient::modifyCasterVideoResource(const ModifyCasterVideoResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCasterVideoResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCasterVideoResourceOutcome(ModifyCasterVideoResourceResult(outcome.result())); + else + return ModifyCasterVideoResourceOutcome(outcome.error()); +} + +void LiveClient::modifyCasterVideoResourceAsync(const ModifyCasterVideoResourceRequest& request, const ModifyCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCasterVideoResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ModifyCasterVideoResourceOutcomeCallable LiveClient::modifyCasterVideoResourceCallable(const ModifyCasterVideoResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCasterVideoResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ImagePornDetectionOutcome LiveClient::imagePornDetection(const ImagePornDetectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImagePornDetectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImagePornDetectionOutcome(ImagePornDetectionResult(outcome.result())); + else + return ImagePornDetectionOutcome(outcome.error()); +} + +void LiveClient::imagePornDetectionAsync(const ImagePornDetectionRequest& request, const ImagePornDetectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, imagePornDetection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ImagePornDetectionOutcomeCallable LiveClient::imagePornDetectionCallable(const ImagePornDetectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->imagePornDetection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterStreamUrlOutcome LiveClient::describeCasterStreamUrl(const DescribeCasterStreamUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterStreamUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterStreamUrlOutcome(DescribeCasterStreamUrlResult(outcome.result())); + else + return DescribeCasterStreamUrlOutcome(outcome.error()); +} + +void LiveClient::describeCasterStreamUrlAsync(const DescribeCasterStreamUrlRequest& request, const DescribeCasterStreamUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterStreamUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterStreamUrlOutcomeCallable LiveClient::describeCasterStreamUrlCallable(const DescribeCasterStreamUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterStreamUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamsControlHistoryOutcome LiveClient::describeLiveStreamsControlHistory(const DescribeLiveStreamsControlHistoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamsControlHistoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamsControlHistoryOutcome(DescribeLiveStreamsControlHistoryResult(outcome.result())); + else + return DescribeLiveStreamsControlHistoryOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamsControlHistoryAsync(const DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamsControlHistory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamsControlHistoryOutcomeCallable LiveClient::describeLiveStreamsControlHistoryCallable(const DescribeLiveStreamsControlHistoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamsControlHistory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StopCasterSceneOutcome LiveClient::stopCasterScene(const StopCasterSceneRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopCasterSceneOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopCasterSceneOutcome(StopCasterSceneResult(outcome.result())); + else + return StopCasterSceneOutcome(outcome.error()); +} + +void LiveClient::stopCasterSceneAsync(const StopCasterSceneRequest& request, const StopCasterSceneAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopCasterScene(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopCasterSceneOutcomeCallable LiveClient::stopCasterSceneCallable(const StopCasterSceneRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopCasterScene(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveDomainSnapshotDataOutcome LiveClient::describeLiveDomainSnapshotData(const DescribeLiveDomainSnapshotDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainSnapshotDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainSnapshotDataOutcome(DescribeLiveDomainSnapshotDataResult(outcome.result())); + else + return DescribeLiveDomainSnapshotDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainSnapshotDataAsync(const DescribeLiveDomainSnapshotDataRequest& request, const DescribeLiveDomainSnapshotDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainSnapshotData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainSnapshotDataOutcomeCallable LiveClient::describeLiveDomainSnapshotDataCallable(const DescribeLiveDomainSnapshotDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainSnapshotData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveRecordVodConfigOutcome LiveClient::deleteLiveRecordVodConfig(const DeleteLiveRecordVodConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveRecordVodConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveRecordVodConfigOutcome(DeleteLiveRecordVodConfigResult(outcome.result())); + else + return DeleteLiveRecordVodConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveRecordVodConfigAsync(const DeleteLiveRecordVodConfigRequest& request, const DeleteLiveRecordVodConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveRecordVodConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveRecordVodConfigOutcomeCallable LiveClient::deleteLiveRecordVodConfigCallable(const DeleteLiveRecordVodConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveRecordVodConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ModifyCasterEpisodeOutcome LiveClient::modifyCasterEpisode(const ModifyCasterEpisodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCasterEpisodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCasterEpisodeOutcome(ModifyCasterEpisodeResult(outcome.result())); + else + return ModifyCasterEpisodeOutcome(outcome.error()); +} + +void LiveClient::modifyCasterEpisodeAsync(const ModifyCasterEpisodeRequest& request, const ModifyCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCasterEpisode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ModifyCasterEpisodeOutcomeCallable LiveClient::modifyCasterEpisodeCallable(const ModifyCasterEpisodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCasterEpisode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamSnapshotInfoOutcome LiveClient::describeLiveStreamSnapshotInfo(const DescribeLiveStreamSnapshotInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamSnapshotInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamSnapshotInfoOutcome(DescribeLiveStreamSnapshotInfoResult(outcome.result())); + else + return DescribeLiveStreamSnapshotInfoOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamSnapshotInfoAsync(const DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamSnapshotInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamSnapshotInfoOutcomeCallable LiveClient::describeLiveStreamSnapshotInfoCallable(const DescribeLiveStreamSnapshotInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamSnapshotInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StartMultipleStreamMixServiceOutcome LiveClient::startMultipleStreamMixService(const StartMultipleStreamMixServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartMultipleStreamMixServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartMultipleStreamMixServiceOutcome(StartMultipleStreamMixServiceResult(outcome.result())); + else + return StartMultipleStreamMixServiceOutcome(outcome.error()); +} + +void LiveClient::startMultipleStreamMixServiceAsync(const StartMultipleStreamMixServiceRequest& request, const StartMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startMultipleStreamMixService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartMultipleStreamMixServiceOutcomeCallable LiveClient::startMultipleStreamMixServiceCallable(const StartMultipleStreamMixServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startMultipleStreamMixService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StopMultipleStreamMixServiceOutcome LiveClient::stopMultipleStreamMixService(const StopMultipleStreamMixServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopMultipleStreamMixServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopMultipleStreamMixServiceOutcome(StopMultipleStreamMixServiceResult(outcome.result())); + else + return StopMultipleStreamMixServiceOutcome(outcome.error()); +} + +void LiveClient::stopMultipleStreamMixServiceAsync(const StopMultipleStreamMixServiceRequest& request, const StopMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopMultipleStreamMixService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopMultipleStreamMixServiceOutcomeCallable LiveClient::stopMultipleStreamMixServiceCallable(const StopMultipleStreamMixServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopMultipleStreamMixService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveMixNotifyConfigOutcome LiveClient::describeLiveMixNotifyConfig(const DescribeLiveMixNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveMixNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveMixNotifyConfigOutcome(DescribeLiveMixNotifyConfigResult(outcome.result())); + else + return DescribeLiveMixNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveMixNotifyConfigAsync(const DescribeLiveMixNotifyConfigRequest& request, const DescribeLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveMixNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveMixNotifyConfigOutcomeCallable LiveClient::describeLiveMixNotifyConfigCallable(const DescribeLiveMixNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveMixNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcome LiveClient::describeLiveStreamsFrameRateAndBitRateData(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamsFrameRateAndBitRateDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamsFrameRateAndBitRateDataOutcome(DescribeLiveStreamsFrameRateAndBitRateDataResult(outcome.result())); + else + return DescribeLiveStreamsFrameRateAndBitRateDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamsFrameRateAndBitRateDataAsync(const DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamsFrameRateAndBitRateData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable LiveClient::describeLiveStreamsFrameRateAndBitRateDataCallable(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamsFrameRateAndBitRateData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::CreateCasterOutcome LiveClient::createCaster(const CreateCasterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCasterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCasterOutcome(CreateCasterResult(outcome.result())); + else + return CreateCasterOutcome(outcome.error()); +} + +void LiveClient::createCasterAsync(const CreateCasterRequest& request, const CreateCasterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCaster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateCasterOutcomeCallable LiveClient::createCasterCallable(const CreateCasterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCaster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamRecordContentOutcome LiveClient::describeLiveStreamRecordContent(const DescribeLiveStreamRecordContentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamRecordContentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamRecordContentOutcome(DescribeLiveStreamRecordContentResult(outcome.result())); + else + return DescribeLiveStreamRecordContentOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamRecordContentAsync(const DescribeLiveStreamRecordContentRequest& request, const DescribeLiveStreamRecordContentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamRecordContent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamRecordContentOutcomeCallable LiveClient::describeLiveStreamRecordContentCallable(const DescribeLiveStreamRecordContentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamRecordContent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddMultipleStreamMixServiceOutcome LiveClient::addMultipleStreamMixService(const AddMultipleStreamMixServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddMultipleStreamMixServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddMultipleStreamMixServiceOutcome(AddMultipleStreamMixServiceResult(outcome.result())); + else + return AddMultipleStreamMixServiceOutcome(outcome.error()); +} + +void LiveClient::addMultipleStreamMixServiceAsync(const AddMultipleStreamMixServiceRequest& request, const AddMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addMultipleStreamMixService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddMultipleStreamMixServiceOutcomeCallable LiveClient::addMultipleStreamMixServiceCallable(const AddMultipleStreamMixServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addMultipleStreamMixService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveSnapshotDetectPornConfigOutcome LiveClient::addLiveSnapshotDetectPornConfig(const AddLiveSnapshotDetectPornConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveSnapshotDetectPornConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveSnapshotDetectPornConfigOutcome(AddLiveSnapshotDetectPornConfigResult(outcome.result())); + else + return AddLiveSnapshotDetectPornConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveSnapshotDetectPornConfigAsync(const AddLiveSnapshotDetectPornConfigRequest& request, const AddLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveSnapshotDetectPornConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveSnapshotDetectPornConfigOutcomeCallable LiveClient::addLiveSnapshotDetectPornConfigCallable(const AddLiveSnapshotDetectPornConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveSnapshotDetectPornConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterLayoutsOutcome LiveClient::describeCasterLayouts(const DescribeCasterLayoutsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterLayoutsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterLayoutsOutcome(DescribeCasterLayoutsResult(outcome.result())); + else + return DescribeCasterLayoutsOutcome(outcome.error()); +} + +void LiveClient::describeCasterLayoutsAsync(const DescribeCasterLayoutsRequest& request, const DescribeCasterLayoutsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterLayouts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterLayoutsOutcomeCallable LiveClient::describeCasterLayoutsCallable(const DescribeCasterLayoutsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterLayouts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::UpdateLiveRecordNotifyConfigOutcome LiveClient::updateLiveRecordNotifyConfig(const UpdateLiveRecordNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLiveRecordNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLiveRecordNotifyConfigOutcome(UpdateLiveRecordNotifyConfigResult(outcome.result())); + else + return UpdateLiveRecordNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::updateLiveRecordNotifyConfigAsync(const UpdateLiveRecordNotifyConfigRequest& request, const UpdateLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLiveRecordNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLiveRecordNotifyConfigOutcomeCallable LiveClient::updateLiveRecordNotifyConfigCallable(const UpdateLiveRecordNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLiveRecordNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveSnapshotConfigOutcome LiveClient::describeLiveSnapshotConfig(const DescribeLiveSnapshotConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveSnapshotConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveSnapshotConfigOutcome(DescribeLiveSnapshotConfigResult(outcome.result())); + else + return DescribeLiveSnapshotConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveSnapshotConfigAsync(const DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveSnapshotConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveSnapshotConfigOutcomeCallable LiveClient::describeLiveSnapshotConfigCallable(const DescribeLiveSnapshotConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveSnapshotConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterProgramOutcome LiveClient::describeCasterProgram(const DescribeCasterProgramRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterProgramOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterProgramOutcome(DescribeCasterProgramResult(outcome.result())); + else + return DescribeCasterProgramOutcome(outcome.error()); +} + +void LiveClient::describeCasterProgramAsync(const DescribeCasterProgramRequest& request, const DescribeCasterProgramAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterProgram(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterProgramOutcomeCallable LiveClient::describeCasterProgramCallable(const DescribeCasterProgramRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterProgram(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamHistoryUserNumOutcome LiveClient::describeLiveStreamHistoryUserNum(const DescribeLiveStreamHistoryUserNumRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamHistoryUserNumOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamHistoryUserNumOutcome(DescribeLiveStreamHistoryUserNumResult(outcome.result())); + else + return DescribeLiveStreamHistoryUserNumOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamHistoryUserNumAsync(const DescribeLiveStreamHistoryUserNumRequest& request, const DescribeLiveStreamHistoryUserNumAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamHistoryUserNum(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamHistoryUserNumOutcomeCallable LiveClient::describeLiveStreamHistoryUserNumCallable(const DescribeLiveStreamHistoryUserNumRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamHistoryUserNum(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveAppRecordConfigOutcome LiveClient::addLiveAppRecordConfig(const AddLiveAppRecordConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveAppRecordConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveAppRecordConfigOutcome(AddLiveAppRecordConfigResult(outcome.result())); + else + return AddLiveAppRecordConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveAppRecordConfigAsync(const AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveAppRecordConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveAppRecordConfigOutcomeCallable LiveClient::addLiveAppRecordConfigCallable(const AddLiveAppRecordConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveAppRecordConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveRecordVodConfigOutcome LiveClient::addLiveRecordVodConfig(const AddLiveRecordVodConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveRecordVodConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveRecordVodConfigOutcome(AddLiveRecordVodConfigResult(outcome.result())); + else + return AddLiveRecordVodConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveRecordVodConfigAsync(const AddLiveRecordVodConfigRequest& request, const AddLiveRecordVodConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveRecordVodConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveRecordVodConfigOutcomeCallable LiveClient::addLiveRecordVodConfigCallable(const AddLiveRecordVodConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveRecordVodConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamRecordIndexFilesOutcome LiveClient::describeLiveStreamRecordIndexFiles(const DescribeLiveStreamRecordIndexFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamRecordIndexFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamRecordIndexFilesOutcome(DescribeLiveStreamRecordIndexFilesResult(outcome.result())); + else + return DescribeLiveStreamRecordIndexFilesOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamRecordIndexFilesAsync(const DescribeLiveStreamRecordIndexFilesRequest& request, const DescribeLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamRecordIndexFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamRecordIndexFilesOutcomeCallable LiveClient::describeLiveStreamRecordIndexFilesCallable(const DescribeLiveStreamRecordIndexFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamRecordIndexFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCasterProgramOutcome LiveClient::addCasterProgram(const AddCasterProgramRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCasterProgramOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCasterProgramOutcome(AddCasterProgramResult(outcome.result())); + else + return AddCasterProgramOutcome(outcome.error()); +} + +void LiveClient::addCasterProgramAsync(const AddCasterProgramRequest& request, const AddCasterProgramAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCasterProgram(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCasterProgramOutcomeCallable LiveClient::addCasterProgramCallable(const AddCasterProgramRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCasterProgram(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveMixConfigOutcome LiveClient::deleteLiveMixConfig(const DeleteLiveMixConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveMixConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveMixConfigOutcome(DeleteLiveMixConfigResult(outcome.result())); + else + return DeleteLiveMixConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveMixConfigAsync(const DeleteLiveMixConfigRequest& request, const DeleteLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveMixConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveMixConfigOutcomeCallable LiveClient::deleteLiveMixConfigCallable(const DeleteLiveMixConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveMixConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ForbidLiveStreamOutcome LiveClient::forbidLiveStream(const ForbidLiveStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ForbidLiveStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ForbidLiveStreamOutcome(ForbidLiveStreamResult(outcome.result())); + else + return ForbidLiveStreamOutcome(outcome.error()); +} + +void LiveClient::forbidLiveStreamAsync(const ForbidLiveStreamRequest& request, const ForbidLiveStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, forbidLiveStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ForbidLiveStreamOutcomeCallable LiveClient::forbidLiveStreamCallable(const ForbidLiveStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->forbidLiveStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterEpisodeGroupOutcome LiveClient::deleteCasterEpisodeGroup(const DeleteCasterEpisodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterEpisodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterEpisodeGroupOutcome(DeleteCasterEpisodeGroupResult(outcome.result())); + else + return DeleteCasterEpisodeGroupOutcome(outcome.error()); +} + +void LiveClient::deleteCasterEpisodeGroupAsync(const DeleteCasterEpisodeGroupRequest& request, const DeleteCasterEpisodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCasterEpisodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterEpisodeGroupOutcomeCallable LiveClient::deleteCasterEpisodeGroupCallable(const DeleteCasterEpisodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCasterEpisodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterVideoResourcesOutcome LiveClient::describeCasterVideoResources(const DescribeCasterVideoResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterVideoResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterVideoResourcesOutcome(DescribeCasterVideoResourcesResult(outcome.result())); + else + return DescribeCasterVideoResourcesOutcome(outcome.error()); +} + +void LiveClient::describeCasterVideoResourcesAsync(const DescribeCasterVideoResourcesRequest& request, const DescribeCasterVideoResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterVideoResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterVideoResourcesOutcomeCallable LiveClient::describeCasterVideoResourcesCallable(const DescribeCasterVideoResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterVideoResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::UpdateLiveAppSnapshotConfigOutcome LiveClient::updateLiveAppSnapshotConfig(const UpdateLiveAppSnapshotConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLiveAppSnapshotConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLiveAppSnapshotConfigOutcome(UpdateLiveAppSnapshotConfigResult(outcome.result())); + else + return UpdateLiveAppSnapshotConfigOutcome(outcome.error()); +} + +void LiveClient::updateLiveAppSnapshotConfigAsync(const UpdateLiveAppSnapshotConfigRequest& request, const UpdateLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLiveAppSnapshotConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLiveAppSnapshotConfigOutcomeCallable LiveClient::updateLiveAppSnapshotConfigCallable(const UpdateLiveAppSnapshotConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLiveAppSnapshotConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveDetectNotifyConfigOutcome LiveClient::deleteLiveDetectNotifyConfig(const DeleteLiveDetectNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveDetectNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveDetectNotifyConfigOutcome(DeleteLiveDetectNotifyConfigResult(outcome.result())); + else + return DeleteLiveDetectNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveDetectNotifyConfigAsync(const DeleteLiveDetectNotifyConfigRequest& request, const DeleteLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveDetectNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveDetectNotifyConfigOutcomeCallable LiveClient::deleteLiveDetectNotifyConfigCallable(const DeleteLiveDetectNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveDetectNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::EffectCasterVideoResourceOutcome LiveClient::effectCasterVideoResource(const EffectCasterVideoResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EffectCasterVideoResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EffectCasterVideoResourceOutcome(EffectCasterVideoResourceResult(outcome.result())); + else + return EffectCasterVideoResourceOutcome(outcome.error()); +} + +void LiveClient::effectCasterVideoResourceAsync(const EffectCasterVideoResourceRequest& request, const EffectCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, effectCasterVideoResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::EffectCasterVideoResourceOutcomeCallable LiveClient::effectCasterVideoResourceCallable(const EffectCasterVideoResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->effectCasterVideoResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveMixNotifyConfigOutcome LiveClient::deleteLiveMixNotifyConfig(const DeleteLiveMixNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveMixNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveMixNotifyConfigOutcome(DeleteLiveMixNotifyConfigResult(outcome.result())); + else + return DeleteLiveMixNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveMixNotifyConfigAsync(const DeleteLiveMixNotifyConfigRequest& request, const DeleteLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveMixNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveMixNotifyConfigOutcomeCallable LiveClient::deleteLiveMixNotifyConfigCallable(const DeleteLiveMixNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveMixNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveAppSnapshotConfigOutcome LiveClient::addLiveAppSnapshotConfig(const AddLiveAppSnapshotConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveAppSnapshotConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveAppSnapshotConfigOutcome(AddLiveAppSnapshotConfigResult(outcome.result())); + else + return AddLiveAppSnapshotConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveAppSnapshotConfigAsync(const AddLiveAppSnapshotConfigRequest& request, const AddLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveAppSnapshotConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveAppSnapshotConfigOutcomeCallable LiveClient::addLiveAppSnapshotConfigCallable(const AddLiveAppSnapshotConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveAppSnapshotConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::RemoveMultipleStreamMixServiceOutcome LiveClient::removeMultipleStreamMixService(const RemoveMultipleStreamMixServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveMultipleStreamMixServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveMultipleStreamMixServiceOutcome(RemoveMultipleStreamMixServiceResult(outcome.result())); + else + return RemoveMultipleStreamMixServiceOutcome(outcome.error()); +} + +void LiveClient::removeMultipleStreamMixServiceAsync(const RemoveMultipleStreamMixServiceRequest& request, const RemoveMultipleStreamMixServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeMultipleStreamMixService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::RemoveMultipleStreamMixServiceOutcomeCallable LiveClient::removeMultipleStreamMixServiceCallable(const RemoveMultipleStreamMixServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeMultipleStreamMixService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterComponentOutcome LiveClient::deleteCasterComponent(const DeleteCasterComponentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterComponentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterComponentOutcome(DeleteCasterComponentResult(outcome.result())); + else + return DeleteCasterComponentOutcome(outcome.error()); +} + +void LiveClient::deleteCasterComponentAsync(const DeleteCasterComponentRequest& request, const DeleteCasterComponentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCasterComponent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterComponentOutcomeCallable LiveClient::deleteCasterComponentCallable(const DeleteCasterComponentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCasterComponent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::SetCasterConfigOutcome LiveClient::setCasterConfig(const SetCasterConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetCasterConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetCasterConfigOutcome(SetCasterConfigResult(outcome.result())); + else + return SetCasterConfigOutcome(outcome.error()); +} + +void LiveClient::setCasterConfigAsync(const SetCasterConfigRequest& request, const SetCasterConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setCasterConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetCasterConfigOutcomeCallable LiveClient::setCasterConfigCallable(const SetCasterConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setCasterConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::RealTimeRecordCommandOutcome LiveClient::realTimeRecordCommand(const RealTimeRecordCommandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RealTimeRecordCommandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RealTimeRecordCommandOutcome(RealTimeRecordCommandResult(outcome.result())); + else + return RealTimeRecordCommandOutcome(outcome.error()); +} + +void LiveClient::realTimeRecordCommandAsync(const RealTimeRecordCommandRequest& request, const RealTimeRecordCommandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, realTimeRecordCommand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::RealTimeRecordCommandOutcomeCallable LiveClient::realTimeRecordCommandCallable(const RealTimeRecordCommandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->realTimeRecordCommand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StartCasterOutcome LiveClient::startCaster(const StartCasterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartCasterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartCasterOutcome(StartCasterResult(outcome.result())); + else + return StartCasterOutcome(outcome.error()); +} + +void LiveClient::startCasterAsync(const StartCasterRequest& request, const StartCasterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startCaster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartCasterOutcomeCallable LiveClient::startCasterCallable(const StartCasterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startCaster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ResumeLiveStreamOutcome LiveClient::resumeLiveStream(const ResumeLiveStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ResumeLiveStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResumeLiveStreamOutcome(ResumeLiveStreamResult(outcome.result())); + else + return ResumeLiveStreamOutcome(outcome.error()); +} + +void LiveClient::resumeLiveStreamAsync(const ResumeLiveStreamRequest& request, const ResumeLiveStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resumeLiveStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ResumeLiveStreamOutcomeCallable LiveClient::resumeLiveStreamCallable(const ResumeLiveStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resumeLiveStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddCasterLayoutOutcome LiveClient::addCasterLayout(const AddCasterLayoutRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCasterLayoutOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCasterLayoutOutcome(AddCasterLayoutResult(outcome.result())); + else + return AddCasterLayoutOutcome(outcome.error()); +} + +void LiveClient::addCasterLayoutAsync(const AddCasterLayoutRequest& request, const AddCasterLayoutAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCasterLayout(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddCasterLayoutOutcomeCallable LiveClient::addCasterLayoutCallable(const AddCasterLayoutRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCasterLayout(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ModifyCasterLayoutOutcome LiveClient::modifyCasterLayout(const ModifyCasterLayoutRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCasterLayoutOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCasterLayoutOutcome(ModifyCasterLayoutResult(outcome.result())); + else + return ModifyCasterLayoutOutcome(outcome.error()); +} + +void LiveClient::modifyCasterLayoutAsync(const ModifyCasterLayoutRequest& request, const ModifyCasterLayoutAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCasterLayout(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ModifyCasterLayoutOutcomeCallable LiveClient::modifyCasterLayoutCallable(const ModifyCasterLayoutRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCasterLayout(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StopCasterOutcome LiveClient::stopCaster(const StopCasterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopCasterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopCasterOutcome(StopCasterResult(outcome.result())); + else + return StopCasterOutcome(outcome.error()); +} + +void LiveClient::stopCasterAsync(const StopCasterRequest& request, const StopCasterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopCaster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopCasterOutcomeCallable LiveClient::stopCasterCallable(const StopCasterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopCaster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamsPublishListOutcome LiveClient::describeLiveStreamsPublishList(const DescribeLiveStreamsPublishListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamsPublishListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamsPublishListOutcome(DescribeLiveStreamsPublishListResult(outcome.result())); + else + return DescribeLiveStreamsPublishListOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamsPublishListAsync(const DescribeLiveStreamsPublishListRequest& request, const DescribeLiveStreamsPublishListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamsPublishList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamsPublishListOutcomeCallable LiveClient::describeLiveStreamsPublishListCallable(const DescribeLiveStreamsPublishListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamsPublishList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveSnapshotDetectPornConfigOutcome LiveClient::describeLiveSnapshotDetectPornConfig(const DescribeLiveSnapshotDetectPornConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveSnapshotDetectPornConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveSnapshotDetectPornConfigOutcome(DescribeLiveSnapshotDetectPornConfigResult(outcome.result())); + else + return DescribeLiveSnapshotDetectPornConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveSnapshotDetectPornConfigAsync(const DescribeLiveSnapshotDetectPornConfigRequest& request, const DescribeLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveSnapshotDetectPornConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveSnapshotDetectPornConfigOutcomeCallable LiveClient::describeLiveSnapshotDetectPornConfigCallable(const DescribeLiveSnapshotDetectPornConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveSnapshotDetectPornConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterSceneConfigOutcome LiveClient::deleteCasterSceneConfig(const DeleteCasterSceneConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterSceneConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterSceneConfigOutcome(DeleteCasterSceneConfigResult(outcome.result())); + else + return DeleteCasterSceneConfigOutcome(outcome.error()); +} + +void LiveClient::deleteCasterSceneConfigAsync(const DeleteCasterSceneConfigRequest& request, const DeleteCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCasterSceneConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterSceneConfigOutcomeCallable LiveClient::deleteCasterSceneConfigCallable(const DeleteCasterSceneConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCasterSceneConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveAppRecordConfigOutcome LiveClient::deleteLiveAppRecordConfig(const DeleteLiveAppRecordConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveAppRecordConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveAppRecordConfigOutcome(DeleteLiveAppRecordConfigResult(outcome.result())); + else + return DeleteLiveAppRecordConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveAppRecordConfigAsync(const DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveAppRecordConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveAppRecordConfigOutcomeCallable LiveClient::deleteLiveAppRecordConfigCallable(const DeleteLiveAppRecordConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveAppRecordConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteCasterOutcome LiveClient::deleteCaster(const DeleteCasterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCasterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCasterOutcome(DeleteCasterResult(outcome.result())); + else + return DeleteCasterOutcome(outcome.error()); +} + +void LiveClient::deleteCasterAsync(const DeleteCasterRequest& request, const DeleteCasterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCaster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteCasterOutcomeCallable LiveClient::deleteCasterCallable(const DeleteCasterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCaster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveRecordVodConfigsOutcome LiveClient::describeLiveRecordVodConfigs(const DescribeLiveRecordVodConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveRecordVodConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveRecordVodConfigsOutcome(DescribeLiveRecordVodConfigsResult(outcome.result())); + else + return DescribeLiveRecordVodConfigsOutcome(outcome.error()); +} + +void LiveClient::describeLiveRecordVodConfigsAsync(const DescribeLiveRecordVodConfigsRequest& request, const DescribeLiveRecordVodConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveRecordVodConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveRecordVodConfigsOutcomeCallable LiveClient::describeLiveRecordVodConfigsCallable(const DescribeLiveRecordVodConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveRecordVodConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCastersOutcome LiveClient::describeCasters(const DescribeCastersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCastersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCastersOutcome(DescribeCastersResult(outcome.result())); + else + return DescribeCastersOutcome(outcome.error()); +} + +void LiveClient::describeCastersAsync(const DescribeCastersRequest& request, const DescribeCastersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasters(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCastersOutcomeCallable LiveClient::describeCastersCallable(const DescribeCastersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasters(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveMixNotifyConfigOutcome LiveClient::addLiveMixNotifyConfig(const AddLiveMixNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveMixNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveMixNotifyConfigOutcome(AddLiveMixNotifyConfigResult(outcome.result())); + else + return AddLiveMixNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveMixNotifyConfigAsync(const AddLiveMixNotifyConfigRequest& request, const AddLiveMixNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveMixNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveMixNotifyConfigOutcomeCallable LiveClient::addLiveMixNotifyConfigCallable(const AddLiveMixNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveMixNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AddLiveDetectNotifyConfigOutcome LiveClient::addLiveDetectNotifyConfig(const AddLiveDetectNotifyConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveDetectNotifyConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveDetectNotifyConfigOutcome(AddLiveDetectNotifyConfigResult(outcome.result())); + else + return AddLiveDetectNotifyConfigOutcome(outcome.error()); +} + +void LiveClient::addLiveDetectNotifyConfigAsync(const AddLiveDetectNotifyConfigRequest& request, const AddLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveDetectNotifyConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveDetectNotifyConfigOutcomeCallable LiveClient::addLiveDetectNotifyConfigCallable(const AddLiveDetectNotifyConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveDetectNotifyConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterScenesOutcome LiveClient::describeCasterScenes(const DescribeCasterScenesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterScenesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterScenesOutcome(DescribeCasterScenesResult(outcome.result())); + else + return DescribeCasterScenesOutcome(outcome.error()); +} + +void LiveClient::describeCasterScenesAsync(const DescribeCasterScenesRequest& request, const DescribeCasterScenesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterScenes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterScenesOutcomeCallable LiveClient::describeCasterScenesCallable(const DescribeCasterScenesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterScenes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/live/src/model/AddCasterComponentRequest.cc b/live/src/model/AddCasterComponentRequest.cc new file mode 100644 index 000000000..c7b077d63 --- /dev/null +++ b/live/src/model/AddCasterComponentRequest.cc @@ -0,0 +1,137 @@ +/* + * 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::AddCasterComponentRequest; + +AddCasterComponentRequest::AddCasterComponentRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCasterComponent") +{} + +AddCasterComponentRequest::~AddCasterComponentRequest() +{} + +std::string AddCasterComponentRequest::getComponentType()const +{ + return componentType_; +} + +void AddCasterComponentRequest::setComponentType(const std::string& componentType) +{ + componentType_ = componentType; + setParameter("ComponentType", componentType); +} + +std::string AddCasterComponentRequest::getLocationId()const +{ + return locationId_; +} + +void AddCasterComponentRequest::setLocationId(const std::string& locationId) +{ + locationId_ = locationId; + setParameter("LocationId", locationId); +} + +std::string AddCasterComponentRequest::getImageLayerContent()const +{ + return imageLayerContent_; +} + +void AddCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) +{ + imageLayerContent_ = imageLayerContent; + setParameter("ImageLayerContent", imageLayerContent); +} + +std::string AddCasterComponentRequest::getCasterId()const +{ + return casterId_; +} + +void AddCasterComponentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string AddCasterComponentRequest::getEffect()const +{ + return effect_; +} + +void AddCasterComponentRequest::setEffect(const std::string& effect) +{ + effect_ = effect; + setParameter("Effect", effect); +} + +std::string AddCasterComponentRequest::getComponentLayer()const +{ + return componentLayer_; +} + +void AddCasterComponentRequest::setComponentLayer(const std::string& componentLayer) +{ + componentLayer_ = componentLayer; + setParameter("ComponentLayer", componentLayer); +} + +std::string AddCasterComponentRequest::getCaptionLayerContent()const +{ + return captionLayerContent_; +} + +void AddCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) +{ + captionLayerContent_ = captionLayerContent; + setParameter("CaptionLayerContent", captionLayerContent); +} + +std::string AddCasterComponentRequest::getComponentName()const +{ + return componentName_; +} + +void AddCasterComponentRequest::setComponentName(const std::string& componentName) +{ + componentName_ = componentName; + setParameter("ComponentName", componentName); +} + +long AddCasterComponentRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddCasterComponentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddCasterComponentRequest::getTextLayerContent()const +{ + return textLayerContent_; +} + +void AddCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) +{ + textLayerContent_ = textLayerContent; + setParameter("TextLayerContent", textLayerContent); +} + diff --git a/live/src/model/AddCasterComponentResult.cc b/live/src/model/AddCasterComponentResult.cc new file mode 100644 index 000000000..5546cbc40 --- /dev/null +++ b/live/src/model/AddCasterComponentResult.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; + +AddCasterComponentResult::AddCasterComponentResult() : + ServiceResult() +{} + +AddCasterComponentResult::AddCasterComponentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCasterComponentResult::~AddCasterComponentResult() +{} + +void AddCasterComponentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["ComponentId"].isNull()) + componentId_ = value["ComponentId"].asString(); + +} + +std::string AddCasterComponentResult::getComponentId()const +{ + return componentId_; +} + diff --git a/live/src/model/AddCasterEpisodeGroupContentRequest.cc b/live/src/model/AddCasterEpisodeGroupContentRequest.cc new file mode 100644 index 000000000..6b9888ca9 --- /dev/null +++ b/live/src/model/AddCasterEpisodeGroupContentRequest.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::AddCasterEpisodeGroupContentRequest; + +AddCasterEpisodeGroupContentRequest::AddCasterEpisodeGroupContentRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroupContent") +{} + +AddCasterEpisodeGroupContentRequest::~AddCasterEpisodeGroupContentRequest() +{} + +std::string AddCasterEpisodeGroupContentRequest::getClientToken()const +{ + return clientToken_; +} + +void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +long AddCasterEpisodeGroupContentRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddCasterEpisodeGroupContentRequest::getContent()const +{ + return content_; +} + +void AddCasterEpisodeGroupContentRequest::setContent(const std::string& content) +{ + content_ = content; + setParameter("Content", content); +} + diff --git a/live/src/model/AddCasterEpisodeGroupContentResult.cc b/live/src/model/AddCasterEpisodeGroupContentResult.cc new file mode 100644 index 000000000..170c8abb6 --- /dev/null +++ b/live/src/model/AddCasterEpisodeGroupContentResult.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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AddCasterEpisodeGroupContentResult::AddCasterEpisodeGroupContentResult() : + ServiceResult() +{} + +AddCasterEpisodeGroupContentResult::AddCasterEpisodeGroupContentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCasterEpisodeGroupContentResult::~AddCasterEpisodeGroupContentResult() +{} + +void AddCasterEpisodeGroupContentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allItemIds = value["ItemIds"]["ItemId"]; + for (const auto &item : allItemIds) + itemIds_.push_back(item.asString()); + if(!value["ProgramId"].isNull()) + programId_ = value["ProgramId"].asString(); + +} + +std::string AddCasterEpisodeGroupContentResult::getProgramId()const +{ + return programId_; +} + +std::vector AddCasterEpisodeGroupContentResult::getItemIds()const +{ + return itemIds_; +} + diff --git a/live/src/model/AddCasterEpisodeGroupRequest.cc b/live/src/model/AddCasterEpisodeGroupRequest.cc new file mode 100644 index 000000000..96cf607b4 --- /dev/null +++ b/live/src/model/AddCasterEpisodeGroupRequest.cc @@ -0,0 +1,121 @@ +/* + * 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::AddCasterEpisodeGroupRequest; + +AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup") +{} + +AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest() +{} + +std::string AddCasterEpisodeGroupRequest::getSideOutputUrl()const +{ + return sideOutputUrl_; +} + +void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string& sideOutputUrl) +{ + sideOutputUrl_ = sideOutputUrl; + setParameter("SideOutputUrl", sideOutputUrl); +} + +std::vector AddCasterEpisodeGroupRequest::getItem()const +{ + return item_; +} + +void AddCasterEpisodeGroupRequest::setItem(const std::vector& item) +{ + item_ = item; + int i = 0; + for(int i = 0; i!= item.size(); i++) { + auto obj = item.at(i); + std::string str ="Item."+ std::to_string(i); + setParameter(str + ".ItemName", obj.itemName); + setParameter(str + ".VodUrl", obj.vodUrl); + } +} + +std::string AddCasterEpisodeGroupRequest::getClientToken()const +{ + return clientToken_; +} + +void AddCasterEpisodeGroupRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string AddCasterEpisodeGroupRequest::getDomainName()const +{ + return domainName_; +} + +void AddCasterEpisodeGroupRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddCasterEpisodeGroupRequest::getStartTime()const +{ + return startTime_; +} + +void AddCasterEpisodeGroupRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +int AddCasterEpisodeGroupRequest::getRepeatNum()const +{ + return repeatNum_; +} + +void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) +{ + repeatNum_ = repeatNum; + setParameter("RepeatNum", std::to_string(repeatNum)); +} + +std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const +{ + return callbackUrl_; +} + +void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string& callbackUrl) +{ + callbackUrl_ = callbackUrl; + setParameter("CallbackUrl", callbackUrl); +} + +long AddCasterEpisodeGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/AddCasterEpisodeGroupResult.cc b/live/src/model/AddCasterEpisodeGroupResult.cc new file mode 100644 index 000000000..91ee9d883 --- /dev/null +++ b/live/src/model/AddCasterEpisodeGroupResult.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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AddCasterEpisodeGroupResult::AddCasterEpisodeGroupResult() : + ServiceResult() +{} + +AddCasterEpisodeGroupResult::AddCasterEpisodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCasterEpisodeGroupResult::~AddCasterEpisodeGroupResult() +{} + +void AddCasterEpisodeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allItemIds = value["ItemIds"]["ItemId"]; + for (const auto &item : allItemIds) + itemIds_.push_back(item.asString()); + if(!value["ProgramId"].isNull()) + programId_ = value["ProgramId"].asString(); + +} + +std::string AddCasterEpisodeGroupResult::getProgramId()const +{ + return programId_; +} + +std::vector AddCasterEpisodeGroupResult::getItemIds()const +{ + return itemIds_; +} + diff --git a/live/src/model/AddCasterEpisodeRequest.cc b/live/src/model/AddCasterEpisodeRequest.cc new file mode 100644 index 000000000..51703631c --- /dev/null +++ b/live/src/model/AddCasterEpisodeRequest.cc @@ -0,0 +1,127 @@ +/* + * 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::AddCasterEpisodeRequest; + +AddCasterEpisodeRequest::AddCasterEpisodeRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCasterEpisode") +{} + +AddCasterEpisodeRequest::~AddCasterEpisodeRequest() +{} + +std::string AddCasterEpisodeRequest::getResourceId()const +{ + return resourceId_; +} + +void AddCasterEpisodeRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); +} + +std::vector AddCasterEpisodeRequest::getComponentId()const +{ + return componentId_; +} + +void AddCasterEpisodeRequest::setComponentId(const std::vector& componentId) +{ + componentId_ = componentId; + for(int i = 0; i!= componentId.size(); i++) + setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); +} + +std::string AddCasterEpisodeRequest::getSwitchType()const +{ + return switchType_; +} + +void AddCasterEpisodeRequest::setSwitchType(const std::string& switchType) +{ + switchType_ = switchType; + setParameter("SwitchType", switchType); +} + +std::string AddCasterEpisodeRequest::getCasterId()const +{ + return casterId_; +} + +void AddCasterEpisodeRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string AddCasterEpisodeRequest::getEpisodeType()const +{ + return episodeType_; +} + +void AddCasterEpisodeRequest::setEpisodeType(const std::string& episodeType) +{ + episodeType_ = episodeType; + setParameter("EpisodeType", episodeType); +} + +std::string AddCasterEpisodeRequest::getEpisodeName()const +{ + return episodeName_; +} + +void AddCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) +{ + episodeName_ = episodeName; + setParameter("EpisodeName", episodeName); +} + +std::string AddCasterEpisodeRequest::getEndTime()const +{ + return endTime_; +} + +void AddCasterEpisodeRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string AddCasterEpisodeRequest::getStartTime()const +{ + return startTime_; +} + +void AddCasterEpisodeRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long AddCasterEpisodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddCasterEpisodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/AddCasterEpisodeResult.cc b/live/src/model/AddCasterEpisodeResult.cc new file mode 100644 index 000000000..5222833cf --- /dev/null +++ b/live/src/model/AddCasterEpisodeResult.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; + +AddCasterEpisodeResult::AddCasterEpisodeResult() : + ServiceResult() +{} + +AddCasterEpisodeResult::AddCasterEpisodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCasterEpisodeResult::~AddCasterEpisodeResult() +{} + +void AddCasterEpisodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["EpisodeId"].isNull()) + episodeId_ = value["EpisodeId"].asString(); + +} + +std::string AddCasterEpisodeResult::getEpisodeId()const +{ + return episodeId_; +} + diff --git a/live/src/model/AddCasterLayoutRequest.cc b/live/src/model/AddCasterLayoutRequest.cc new file mode 100644 index 000000000..50579adef --- /dev/null +++ b/live/src/model/AddCasterLayoutRequest.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::AddCasterLayoutRequest; + +AddCasterLayoutRequest::AddCasterLayoutRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCasterLayout") +{} + +AddCasterLayoutRequest::~AddCasterLayoutRequest() +{} + +std::vector AddCasterLayoutRequest::getBlendList()const +{ + return blendList_; +} + +void AddCasterLayoutRequest::setBlendList(const std::vector& blendList) +{ + blendList_ = blendList; + for(int i = 0; i!= blendList.size(); i++) + setParameter("BlendList."+ std::to_string(i), blendList.at(i)); +} + +std::vector AddCasterLayoutRequest::getAudioLayer()const +{ + return audioLayer_; +} + +void AddCasterLayoutRequest::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 + ".VolumeRate", std::to_string(obj.volumeRate)); + setParameter(str + ".ValidChannel", obj.validChannel); + setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + } +} + +std::vector AddCasterLayoutRequest::getVideoLayer()const +{ + return videoLayer_; +} + +void AddCasterLayoutRequest::setVideoLayer(const std::vector& videoLayer) +{ + videoLayer_ = videoLayer; + int i = 0; + for(int i = 0; i!= videoLayer.size(); i++) { + auto obj = videoLayer.at(i); + std::string str ="VideoLayer."+ std::to_string(i); + setParameter(str + ".FillMode", obj.fillMode); + setParameter(str + ".HeightNormalized", std::to_string(obj.heightNormalized)); + setParameter(str + ".WidthNormalized", std::to_string(obj.widthNormalized)); + setParameter(str + ".PositionRefer", obj.positionRefer); + for(int i = 0; i!= obj.positionNormalized.size(); i++) setParameter(str + ".PositionNormalized."+ std::to_string(i), std::to_string(obj.positionNormalized.at(i))); + setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + } +} + +std::string AddCasterLayoutRequest::getCasterId()const +{ + return casterId_; +} + +void AddCasterLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::vector AddCasterLayoutRequest::getMixList()const +{ + return mixList_; +} + +void AddCasterLayoutRequest::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 AddCasterLayoutRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddCasterLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/AddCasterLayoutResult.cc b/live/src/model/AddCasterLayoutResult.cc new file mode 100644 index 000000000..f1b03153d --- /dev/null +++ b/live/src/model/AddCasterLayoutResult.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; + +AddCasterLayoutResult::AddCasterLayoutResult() : + ServiceResult() +{} + +AddCasterLayoutResult::AddCasterLayoutResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCasterLayoutResult::~AddCasterLayoutResult() +{} + +void AddCasterLayoutResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["LayoutId"].isNull()) + layoutId_ = value["LayoutId"].asString(); + +} + +std::string AddCasterLayoutResult::getLayoutId()const +{ + return layoutId_; +} + diff --git a/live/src/model/AddCasterProgramRequest.cc b/live/src/model/AddCasterProgramRequest.cc new file mode 100644 index 000000000..e816e91ed --- /dev/null +++ b/live/src/model/AddCasterProgramRequest.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::AddCasterProgramRequest; + +AddCasterProgramRequest::AddCasterProgramRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCasterProgram") +{} + +AddCasterProgramRequest::~AddCasterProgramRequest() +{} + +std::string AddCasterProgramRequest::getCasterId()const +{ + return casterId_; +} + +void AddCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::vector AddCasterProgramRequest::getEpisode()const +{ + return episode_; +} + +void AddCasterProgramRequest::setEpisode(const std::vector& episode) +{ + episode_ = episode; + int i = 0; + for(int i = 0; i!= episode.size(); i++) { + auto obj = episode.at(i); + std::string str ="Episode."+ std::to_string(i); + setParameter(str + ".EpisodeType", obj.episodeType); + setParameter(str + ".EpisodeName", obj.episodeName); + setParameter(str + ".ResourceId", obj.resourceId); + for(int i = 0; i!= obj.componentId.size(); i++) setParameter(str + ".ComponentId."+ std::to_string(i), obj.componentId.at(i)); + setParameter(str + ".StartTime", obj.startTime); + setParameter(str + ".EndTime", obj.endTime); + setParameter(str + ".SwitchType", obj.switchType); + } +} + +long AddCasterProgramRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/AddCasterProgramResult.cc b/live/src/model/AddCasterProgramResult.cc new file mode 100644 index 000000000..b941474fe --- /dev/null +++ b/live/src/model/AddCasterProgramResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AddCasterProgramResult::AddCasterProgramResult() : + ServiceResult() +{} + +AddCasterProgramResult::AddCasterProgramResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCasterProgramResult::~AddCasterProgramResult() +{} + +void AddCasterProgramResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEpisodeIds = value["EpisodeIds"]["EpisodeId"]; + for (auto value : allEpisodeIds) + { + EpisodeId episodeIdsObject; + if(!value["EpisodeId"].isNull()) + episodeIdsObject.episodeId = value["EpisodeId"].asString(); + episodeIds_.push_back(episodeIdsObject); + } + +} + +std::vector AddCasterProgramResult::getEpisodeIds()const +{ + return episodeIds_; +} + diff --git a/live/src/model/AddCasterVideoResourceRequest.cc b/live/src/model/AddCasterVideoResourceRequest.cc new file mode 100644 index 000000000..7f7db4337 --- /dev/null +++ b/live/src/model/AddCasterVideoResourceRequest.cc @@ -0,0 +1,137 @@ +/* + * 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::AddCasterVideoResourceRequest; + +AddCasterVideoResourceRequest::AddCasterVideoResourceRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCasterVideoResource") +{} + +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_; +} + +void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) +{ + vodUrl_ = 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_; +} + +void AddCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +int AddCasterVideoResourceRequest::getEndOffset()const +{ + return endOffset_; +} + +void AddCasterVideoResourceRequest::setEndOffset(int endOffset) +{ + endOffset_ = 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_; +} + +void AddCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddCasterVideoResourceRequest::getMaterialId()const +{ + return materialId_; +} + +void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setParameter("MaterialId", materialId); +} + diff --git a/live/src/model/AddCasterVideoResourceResult.cc b/live/src/model/AddCasterVideoResourceResult.cc new file mode 100644 index 000000000..ad140a0fb --- /dev/null +++ b/live/src/model/AddCasterVideoResourceResult.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; + +AddCasterVideoResourceResult::AddCasterVideoResourceResult() : + ServiceResult() +{} + +AddCasterVideoResourceResult::AddCasterVideoResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCasterVideoResourceResult::~AddCasterVideoResourceResult() +{} + +void AddCasterVideoResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["ResourceId"].isNull()) + resourceId_ = value["ResourceId"].asString(); + +} + +std::string AddCasterVideoResourceResult::getResourceId()const +{ + return resourceId_; +} + diff --git a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc new file mode 100644 index 000000000..a55e70f5f --- /dev/null +++ b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc @@ -0,0 +1,159 @@ +/* + * 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::AddCustomLiveStreamTranscodeRequest; + +AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest() : + RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode") +{} + +AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest() +{} + +std::string AddCustomLiveStreamTranscodeRequest::getApp()const +{ + return app_; +} + +void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +std::string AddCustomLiveStreamTranscodeRequest::get_Template()const +{ + return _template_; +} + +void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); +} + +int AddCustomLiveStreamTranscodeRequest::getFPS()const +{ + return fPS_; +} + +void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) +{ + fPS_ = fPS; + setParameter("FPS", std::to_string(fPS)); +} + +long AddCustomLiveStreamTranscodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddCustomLiveStreamTranscodeRequest::getVersion()const +{ + return version_; +} + +void AddCustomLiveStreamTranscodeRequest::setVersion(const std::string& version) +{ + version_ = version; + setParameter("Version", version); +} + +std::string AddCustomLiveStreamTranscodeRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddCustomLiveStreamTranscodeRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string AddCustomLiveStreamTranscodeRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddCustomLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const +{ + return templateType_; +} + +void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); +} + +std::string AddCustomLiveStreamTranscodeRequest::getDomain()const +{ + return domain_; +} + +void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + +int AddCustomLiveStreamTranscodeRequest::getWidth()const +{ + return width_; +} + +void AddCustomLiveStreamTranscodeRequest::setWidth(int width) +{ + width_ = width; + setParameter("Width", std::to_string(width)); +} + +int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const +{ + return videoBitrate_; +} + +void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) +{ + videoBitrate_ = videoBitrate; + setParameter("VideoBitrate", std::to_string(videoBitrate)); +} + +int AddCustomLiveStreamTranscodeRequest::getHeight()const +{ + return height_; +} + +void AddCustomLiveStreamTranscodeRequest::setHeight(int height) +{ + height_ = height; + setParameter("Height", std::to_string(height)); +} + diff --git a/live/src/model/AddCustomLiveStreamTranscodeResult.cc b/live/src/model/AddCustomLiveStreamTranscodeResult.cc new file mode 100644 index 000000000..9026368d0 --- /dev/null +++ b/live/src/model/AddCustomLiveStreamTranscodeResult.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; + +AddCustomLiveStreamTranscodeResult::AddCustomLiveStreamTranscodeResult() : + ServiceResult() +{} + +AddCustomLiveStreamTranscodeResult::AddCustomLiveStreamTranscodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCustomLiveStreamTranscodeResult::~AddCustomLiveStreamTranscodeResult() +{} + +void AddCustomLiveStreamTranscodeResult::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/AddLiveAppRecordConfigRequest.cc b/live/src/model/AddLiveAppRecordConfigRequest.cc new file mode 100644 index 000000000..b94bb428d --- /dev/null +++ b/live/src/model/AddLiveAppRecordConfigRequest.cc @@ -0,0 +1,167 @@ +/* + * 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::AddLiveAppRecordConfigRequest; + +AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveAppRecordConfig") +{} + +AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest() +{} + +std::string AddLiveAppRecordConfigRequest::getOssBucket()const +{ + return ossBucket_; +} + +void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string AddLiveAppRecordConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +std::string AddLiveAppRecordConfigRequest::getEndTime()const +{ + return endTime_; +} + +void AddLiveAppRecordConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string AddLiveAppRecordConfigRequest::getStartTime()const +{ + return startTime_; +} + +void AddLiveAppRecordConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long AddLiveAppRecordConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveAppRecordConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveAppRecordConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string AddLiveAppRecordConfigRequest::getAppName()const +{ + return appName_; +} + +void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddLiveAppRecordConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::vector AddLiveAppRecordConfigRequest::getRecordFormat()const +{ + return recordFormat_; +} + +void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector& recordFormat) +{ + recordFormat_ = recordFormat; + int i = 0; + for(int i = 0; i!= recordFormat.size(); i++) { + auto obj = recordFormat.at(i); + std::string str ="RecordFormat."+ std::to_string(i); + setParameter(str + ".Format", obj.format); + setParameter(str + ".OssObjectPrefix", obj.ossObjectPrefix); + setParameter(str + ".SliceOssObjectPrefix", obj.sliceOssObjectPrefix); + setParameter(str + ".CycleDuration", std::to_string(obj.cycleDuration)); + } +} + +int AddLiveAppRecordConfigRequest::getOnDemand()const +{ + return onDemand_; +} + +void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand) +{ + onDemand_ = onDemand; + setParameter("OnDemand", std::to_string(onDemand)); +} + +std::string AddLiveAppRecordConfigRequest::getStreamName()const +{ + return streamName_; +} + +void AddLiveAppRecordConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + diff --git a/live/src/model/AddLiveAppRecordConfigResult.cc b/live/src/model/AddLiveAppRecordConfigResult.cc new file mode 100644 index 000000000..6e9650fa8 --- /dev/null +++ b/live/src/model/AddLiveAppRecordConfigResult.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; + +AddLiveAppRecordConfigResult::AddLiveAppRecordConfigResult() : + ServiceResult() +{} + +AddLiveAppRecordConfigResult::AddLiveAppRecordConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveAppRecordConfigResult::~AddLiveAppRecordConfigResult() +{} + +void AddLiveAppRecordConfigResult::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/AddLiveAppSnapshotConfigRequest.cc b/live/src/model/AddLiveAppSnapshotConfigRequest.cc new file mode 100644 index 000000000..f574044c9 --- /dev/null +++ b/live/src/model/AddLiveAppSnapshotConfigRequest.cc @@ -0,0 +1,137 @@ +/* + * 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::AddLiveAppSnapshotConfigRequest; + +AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveAppSnapshotConfig") +{} + +AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest() +{} + +int AddLiveAppSnapshotConfigRequest::getTimeInterval()const +{ + return timeInterval_; +} + +void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) +{ + timeInterval_ = timeInterval; + setParameter("TimeInterval", std::to_string(timeInterval)); +} + +std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const +{ + return ossBucket_; +} + +void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string AddLiveAppSnapshotConfigRequest::getAppName()const +{ + return appName_; +} + +void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveAppSnapshotConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const +{ + return sequenceOssObject_; +} + +void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) +{ + sequenceOssObject_ = sequenceOssObject; + setParameter("SequenceOssObject", sequenceOssObject); +} + +std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const +{ + return overwriteOssObject_; +} + +void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) +{ + overwriteOssObject_ = overwriteOssObject; + setParameter("OverwriteOssObject", overwriteOssObject); +} + +long AddLiveAppSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveAppSnapshotConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveAppSnapshotConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLiveAppSnapshotConfigResult.cc b/live/src/model/AddLiveAppSnapshotConfigResult.cc new file mode 100644 index 000000000..fe526692d --- /dev/null +++ b/live/src/model/AddLiveAppSnapshotConfigResult.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; + +AddLiveAppSnapshotConfigResult::AddLiveAppSnapshotConfigResult() : + ServiceResult() +{} + +AddLiveAppSnapshotConfigResult::AddLiveAppSnapshotConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveAppSnapshotConfigResult::~AddLiveAppSnapshotConfigResult() +{} + +void AddLiveAppSnapshotConfigResult::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/AddLiveDetectNotifyConfigRequest.cc b/live/src/model/AddLiveDetectNotifyConfigRequest.cc new file mode 100644 index 000000000..66bcb314f --- /dev/null +++ b/live/src/model/AddLiveDetectNotifyConfigRequest.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::AddLiveDetectNotifyConfigRequest; + +AddLiveDetectNotifyConfigRequest::AddLiveDetectNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveDetectNotifyConfig") +{} + +AddLiveDetectNotifyConfigRequest::~AddLiveDetectNotifyConfigRequest() +{} + +std::string AddLiveDetectNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +long AddLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveDetectNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveDetectNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLiveDetectNotifyConfigResult.cc b/live/src/model/AddLiveDetectNotifyConfigResult.cc new file mode 100644 index 000000000..d3c8791be --- /dev/null +++ b/live/src/model/AddLiveDetectNotifyConfigResult.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; + +AddLiveDetectNotifyConfigResult::AddLiveDetectNotifyConfigResult() : + ServiceResult() +{} + +AddLiveDetectNotifyConfigResult::AddLiveDetectNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveDetectNotifyConfigResult::~AddLiveDetectNotifyConfigResult() +{} + +void AddLiveDetectNotifyConfigResult::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/AddLiveMixConfigRequest.cc b/live/src/model/AddLiveMixConfigRequest.cc new file mode 100644 index 000000000..4d0244a3f --- /dev/null +++ b/live/src/model/AddLiveMixConfigRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::AddLiveMixConfigRequest; + +AddLiveMixConfigRequest::AddLiveMixConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveMixConfig") +{} + +AddLiveMixConfigRequest::~AddLiveMixConfigRequest() +{} + +std::string AddLiveMixConfigRequest::get_Template()const +{ + return _template_; +} + +void AddLiveMixConfigRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); +} + +std::string AddLiveMixConfigRequest::getAppName()const +{ + return appName_; +} + +void AddLiveMixConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddLiveMixConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveMixConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveMixConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveMixConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long AddLiveMixConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveMixConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveMixConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveMixConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLiveMixConfigResult.cc b/live/src/model/AddLiveMixConfigResult.cc new file mode 100644 index 000000000..e6482dd72 --- /dev/null +++ b/live/src/model/AddLiveMixConfigResult.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; + +AddLiveMixConfigResult::AddLiveMixConfigResult() : + ServiceResult() +{} + +AddLiveMixConfigResult::AddLiveMixConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveMixConfigResult::~AddLiveMixConfigResult() +{} + +void AddLiveMixConfigResult::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/AddLiveMixNotifyConfigRequest.cc b/live/src/model/AddLiveMixNotifyConfigRequest.cc new file mode 100644 index 000000000..3539c9d2d --- /dev/null +++ b/live/src/model/AddLiveMixNotifyConfigRequest.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::AddLiveMixNotifyConfigRequest; + +AddLiveMixNotifyConfigRequest::AddLiveMixNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveMixNotifyConfig") +{} + +AddLiveMixNotifyConfigRequest::~AddLiveMixNotifyConfigRequest() +{} + +std::string AddLiveMixNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveMixNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveMixNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveMixNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddLiveMixNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void AddLiveMixNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +long AddLiveMixNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveMixNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveMixNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveMixNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLiveMixNotifyConfigResult.cc b/live/src/model/AddLiveMixNotifyConfigResult.cc new file mode 100644 index 000000000..4006331de --- /dev/null +++ b/live/src/model/AddLiveMixNotifyConfigResult.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; + +AddLiveMixNotifyConfigResult::AddLiveMixNotifyConfigResult() : + ServiceResult() +{} + +AddLiveMixNotifyConfigResult::AddLiveMixNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveMixNotifyConfigResult::~AddLiveMixNotifyConfigResult() +{} + +void AddLiveMixNotifyConfigResult::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/AddLivePullStreamInfoConfigRequest.cc b/live/src/model/AddLivePullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..65d91107d --- /dev/null +++ b/live/src/model/AddLivePullStreamInfoConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::AddLivePullStreamInfoConfigRequest; + +AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig") +{} + +AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest() +{} + +std::string AddLivePullStreamInfoConfigRequest::getSourceUrl()const +{ + return sourceUrl_; +} + +void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) +{ + sourceUrl_ = sourceUrl; + setParameter("SourceUrl", sourceUrl); +} + +std::string AddLivePullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void AddLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddLivePullStreamInfoConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLivePullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLivePullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddLivePullStreamInfoConfigRequest::getEndTime()const +{ + return endTime_; +} + +void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string AddLivePullStreamInfoConfigRequest::getStartTime()const +{ + return startTime_; +} + +void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long AddLivePullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLivePullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; +} + +void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string AddLivePullStreamInfoConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLivePullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLivePullStreamInfoConfigResult.cc b/live/src/model/AddLivePullStreamInfoConfigResult.cc new file mode 100644 index 000000000..b0ec113c0 --- /dev/null +++ b/live/src/model/AddLivePullStreamInfoConfigResult.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; + +AddLivePullStreamInfoConfigResult::AddLivePullStreamInfoConfigResult() : + ServiceResult() +{} + +AddLivePullStreamInfoConfigResult::AddLivePullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLivePullStreamInfoConfigResult::~AddLivePullStreamInfoConfigResult() +{} + +void AddLivePullStreamInfoConfigResult::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/AddLiveRecordNotifyConfigRequest.cc b/live/src/model/AddLiveRecordNotifyConfigRequest.cc new file mode 100644 index 000000000..5bc1b2868 --- /dev/null +++ b/live/src/model/AddLiveRecordNotifyConfigRequest.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::AddLiveRecordNotifyConfigRequest; + +AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig") +{} + +AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest() +{} + +std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl()const +{ + return onDemandUrl_; +} + +void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) +{ + onDemandUrl_ = onDemandUrl; + setParameter("OnDemandUrl", onDemandUrl); +} + +std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +long AddLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const +{ + return needStatusNotify_; +} + +void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) +{ + needStatusNotify_ = needStatusNotify; + setParameter("NeedStatusNotify", std::to_string(needStatusNotify)); +} + +std::string AddLiveRecordNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveRecordNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLiveRecordNotifyConfigResult.cc b/live/src/model/AddLiveRecordNotifyConfigResult.cc new file mode 100644 index 000000000..b0fbd6aa9 --- /dev/null +++ b/live/src/model/AddLiveRecordNotifyConfigResult.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; + +AddLiveRecordNotifyConfigResult::AddLiveRecordNotifyConfigResult() : + ServiceResult() +{} + +AddLiveRecordNotifyConfigResult::AddLiveRecordNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveRecordNotifyConfigResult::~AddLiveRecordNotifyConfigResult() +{} + +void AddLiveRecordNotifyConfigResult::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/AddLiveRecordVodConfigRequest.cc b/live/src/model/AddLiveRecordVodConfigRequest.cc new file mode 100644 index 000000000..eb107d2e0 --- /dev/null +++ b/live/src/model/AddLiveRecordVodConfigRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::AddLiveRecordVodConfigRequest; + +AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig") +{} + +AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest() +{} + +std::string AddLiveRecordVodConfigRequest::getAppName()const +{ + return appName_; +} + +void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddLiveRecordVodConfigRequest::getAutoCompose()const +{ + return autoCompose_; +} + +void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose) +{ + autoCompose_ = autoCompose; + setParameter("AutoCompose", autoCompose); +} + +std::string AddLiveRecordVodConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int AddLiveRecordVodConfigRequest::getCycleDuration()const +{ + return cycleDuration_; +} + +void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) +{ + cycleDuration_ = cycleDuration; + setParameter("CycleDuration", std::to_string(cycleDuration)); +} + +long AddLiveRecordVodConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const +{ + return composeVodTranscodeGroupId_; +} + +void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId) +{ + composeVodTranscodeGroupId_ = composeVodTranscodeGroupId; + setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId); +} + +std::string AddLiveRecordVodConfigRequest::getStreamName()const +{ + return streamName_; +} + +void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const +{ + return vodTranscodeGroupId_; +} + +void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId) +{ + vodTranscodeGroupId_ = vodTranscodeGroupId; + setParameter("VodTranscodeGroupId", vodTranscodeGroupId); +} + diff --git a/live/src/model/AddLiveRecordVodConfigResult.cc b/live/src/model/AddLiveRecordVodConfigResult.cc new file mode 100644 index 000000000..98fc4c33f --- /dev/null +++ b/live/src/model/AddLiveRecordVodConfigResult.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; + +AddLiveRecordVodConfigResult::AddLiveRecordVodConfigResult() : + ServiceResult() +{} + +AddLiveRecordVodConfigResult::AddLiveRecordVodConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveRecordVodConfigResult::~AddLiveRecordVodConfigResult() +{} + +void AddLiveRecordVodConfigResult::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/AddLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc new file mode 100644 index 000000000..356090535 --- /dev/null +++ b/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc @@ -0,0 +1,138 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveSnapshotDetectPornConfigRequest; + +AddLiveSnapshotDetectPornConfigRequest::AddLiveSnapshotDetectPornConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveSnapshotDetectPornConfig") +{} + +AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest() +{} + +std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket()const +{ + return ossBucket_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const +{ + return appName_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +int AddLiveSnapshotDetectPornConfigRequest::getInterval()const +{ + return interval_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); +} + +long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const +{ + return ossObject_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); +} + +std::string AddLiveSnapshotDetectPornConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::vector AddLiveSnapshotDetectPornConfigRequest::getScene()const +{ + return scene_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector& scene) +{ + scene_ = scene; + for(int i = 0; i!= scene.size(); i++) + setParameter("Scene."+ std::to_string(i), scene.at(i)); +} + diff --git a/live/src/model/AddLiveSnapshotDetectPornConfigResult.cc b/live/src/model/AddLiveSnapshotDetectPornConfigResult.cc new file mode 100644 index 000000000..78ec07ec5 --- /dev/null +++ b/live/src/model/AddLiveSnapshotDetectPornConfigResult.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; + +AddLiveSnapshotDetectPornConfigResult::AddLiveSnapshotDetectPornConfigResult() : + ServiceResult() +{} + +AddLiveSnapshotDetectPornConfigResult::AddLiveSnapshotDetectPornConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveSnapshotDetectPornConfigResult::~AddLiveSnapshotDetectPornConfigResult() +{} + +void AddLiveSnapshotDetectPornConfigResult::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/AddLiveStreamTranscodeRequest.cc b/live/src/model/AddLiveStreamTranscodeRequest.cc new file mode 100644 index 000000000..37ed8bee8 --- /dev/null +++ b/live/src/model/AddLiveStreamTranscodeRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::AddLiveStreamTranscodeRequest; + +AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode") +{} + +AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest() +{} + +std::string AddLiveStreamTranscodeRequest::getApp()const +{ + return app_; +} + +void AddLiveStreamTranscodeRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +std::string AddLiveStreamTranscodeRequest::get_Template()const +{ + return _template_; +} + +void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); +} + +std::string AddLiveStreamTranscodeRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddLiveStreamTranscodeRequest::getDomain()const +{ + return domain_; +} + +void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + +long AddLiveStreamTranscodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddLiveStreamTranscodeRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddLiveStreamTranscodeRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddLiveStreamTranscodeResult.cc b/live/src/model/AddLiveStreamTranscodeResult.cc new file mode 100644 index 000000000..12ffae6eb --- /dev/null +++ b/live/src/model/AddLiveStreamTranscodeResult.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; + +AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult() : + ServiceResult() +{} + +AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveStreamTranscodeResult::~AddLiveStreamTranscodeResult() +{} + +void AddLiveStreamTranscodeResult::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/AddMultipleStreamMixServiceRequest.cc b/live/src/model/AddMultipleStreamMixServiceRequest.cc new file mode 100644 index 000000000..4521ad7be --- /dev/null +++ b/live/src/model/AddMultipleStreamMixServiceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::AddMultipleStreamMixServiceRequest; + +AddMultipleStreamMixServiceRequest::AddMultipleStreamMixServiceRequest() : + RpcServiceRequest("live", "2016-11-01", "AddMultipleStreamMixService") +{} + +AddMultipleStreamMixServiceRequest::~AddMultipleStreamMixServiceRequest() +{} + +std::string AddMultipleStreamMixServiceRequest::getAppName()const +{ + return appName_; +} + +void AddMultipleStreamMixServiceRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddMultipleStreamMixServiceRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddMultipleStreamMixServiceRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string AddMultipleStreamMixServiceRequest::getDomainName()const +{ + return domainName_; +} + +void AddMultipleStreamMixServiceRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddMultipleStreamMixServiceRequest::getMixStreamName()const +{ + return mixStreamName_; +} + +void AddMultipleStreamMixServiceRequest::setMixStreamName(const std::string& mixStreamName) +{ + mixStreamName_ = mixStreamName; + setParameter("MixStreamName", mixStreamName); +} + +std::string AddMultipleStreamMixServiceRequest::getMixDomainName()const +{ + return mixDomainName_; +} + +void AddMultipleStreamMixServiceRequest::setMixDomainName(const std::string& mixDomainName) +{ + mixDomainName_ = mixDomainName; + setParameter("MixDomainName", mixDomainName); +} + +long AddMultipleStreamMixServiceRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddMultipleStreamMixServiceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddMultipleStreamMixServiceRequest::getMixAppName()const +{ + return mixAppName_; +} + +void AddMultipleStreamMixServiceRequest::setMixAppName(const std::string& mixAppName) +{ + mixAppName_ = mixAppName; + setParameter("MixAppName", mixAppName); +} + +std::string AddMultipleStreamMixServiceRequest::getStreamName()const +{ + return streamName_; +} + +void AddMultipleStreamMixServiceRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string AddMultipleStreamMixServiceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddMultipleStreamMixServiceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/AddMultipleStreamMixServiceResult.cc b/live/src/model/AddMultipleStreamMixServiceResult.cc new file mode 100644 index 000000000..534165c5e --- /dev/null +++ b/live/src/model/AddMultipleStreamMixServiceResult.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; + +AddMultipleStreamMixServiceResult::AddMultipleStreamMixServiceResult() : + ServiceResult() +{} + +AddMultipleStreamMixServiceResult::AddMultipleStreamMixServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddMultipleStreamMixServiceResult::~AddMultipleStreamMixServiceResult() +{} + +void AddMultipleStreamMixServiceResult::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/AddTrancodeSEIRequest.cc b/live/src/model/AddTrancodeSEIRequest.cc new file mode 100644 index 000000000..7d42a0988 --- /dev/null +++ b/live/src/model/AddTrancodeSEIRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::AddTrancodeSEIRequest; + +AddTrancodeSEIRequest::AddTrancodeSEIRequest() : + RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI") +{} + +AddTrancodeSEIRequest::~AddTrancodeSEIRequest() +{} + +int AddTrancodeSEIRequest::getDelay()const +{ + return delay_; +} + +void AddTrancodeSEIRequest::setDelay(int delay) +{ + delay_ = delay; + setParameter("Delay", std::to_string(delay)); +} + +std::string AddTrancodeSEIRequest::getAppName()const +{ + return appName_; +} + +void AddTrancodeSEIRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +int AddTrancodeSEIRequest::getRepeat()const +{ + return repeat_; +} + +void AddTrancodeSEIRequest::setRepeat(int repeat) +{ + repeat_ = repeat; + setParameter("Repeat", std::to_string(repeat)); +} + +std::string AddTrancodeSEIRequest::getDomainName()const +{ + return domainName_; +} + +void AddTrancodeSEIRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddTrancodeSEIRequest::getPattern()const +{ + return pattern_; +} + +void AddTrancodeSEIRequest::setPattern(const std::string& pattern) +{ + pattern_ = pattern; + setParameter("Pattern", pattern); +} + +std::string AddTrancodeSEIRequest::getText()const +{ + return text_; +} + +void AddTrancodeSEIRequest::setText(const std::string& text) +{ + text_ = text; + setParameter("Text", text); +} + +long AddTrancodeSEIRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddTrancodeSEIRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddTrancodeSEIRequest::getStreamName()const +{ + return streamName_; +} + +void AddTrancodeSEIRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + diff --git a/live/src/model/AddTrancodeSEIResult.cc b/live/src/model/AddTrancodeSEIResult.cc new file mode 100644 index 000000000..e7bf720ce --- /dev/null +++ b/live/src/model/AddTrancodeSEIResult.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; + +AddTrancodeSEIResult::AddTrancodeSEIResult() : + ServiceResult() +{} + +AddTrancodeSEIResult::AddTrancodeSEIResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddTrancodeSEIResult::~AddTrancodeSEIResult() +{} + +void AddTrancodeSEIResult::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/CopyCasterRequest.cc b/live/src/model/CopyCasterRequest.cc new file mode 100644 index 000000000..cb2185894 --- /dev/null +++ b/live/src/model/CopyCasterRequest.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::CopyCasterRequest; + +CopyCasterRequest::CopyCasterRequest() : + RpcServiceRequest("live", "2016-11-01", "CopyCaster") +{} + +CopyCasterRequest::~CopyCasterRequest() +{} + +std::string CopyCasterRequest::getSrcCasterId()const +{ + return srcCasterId_; +} + +void CopyCasterRequest::setSrcCasterId(const std::string& srcCasterId) +{ + srcCasterId_ = srcCasterId; + setParameter("SrcCasterId", srcCasterId); +} + +std::string CopyCasterRequest::getCasterName()const +{ + return casterName_; +} + +void CopyCasterRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); +} + +std::string CopyCasterRequest::getClientToken()const +{ + return clientToken_; +} + +void CopyCasterRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +long CopyCasterRequest::getOwnerId()const +{ + return ownerId_; +} + +void CopyCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/CopyCasterResult.cc b/live/src/model/CopyCasterResult.cc new file mode 100644 index 000000000..d7d1d7e76 --- /dev/null +++ b/live/src/model/CopyCasterResult.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; + +CopyCasterResult::CopyCasterResult() : + ServiceResult() +{} + +CopyCasterResult::CopyCasterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyCasterResult::~CopyCasterResult() +{} + +void CopyCasterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + +} + +std::string CopyCasterResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/CopyCasterSceneConfigRequest.cc b/live/src/model/CopyCasterSceneConfigRequest.cc new file mode 100644 index 000000000..e5ffd6fc9 --- /dev/null +++ b/live/src/model/CopyCasterSceneConfigRequest.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::CopyCasterSceneConfigRequest; + +CopyCasterSceneConfigRequest::CopyCasterSceneConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "CopyCasterSceneConfig") +{} + +CopyCasterSceneConfigRequest::~CopyCasterSceneConfigRequest() +{} + +std::string CopyCasterSceneConfigRequest::getFromSceneId()const +{ + return fromSceneId_; +} + +void CopyCasterSceneConfigRequest::setFromSceneId(const std::string& fromSceneId) +{ + fromSceneId_ = fromSceneId; + setParameter("FromSceneId", fromSceneId); +} + +std::string CopyCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; +} + +void CopyCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long CopyCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void CopyCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CopyCasterSceneConfigRequest::getToSceneId()const +{ + return toSceneId_; +} + +void CopyCasterSceneConfigRequest::setToSceneId(const std::string& toSceneId) +{ + toSceneId_ = toSceneId; + setParameter("ToSceneId", toSceneId); +} + diff --git a/live/src/model/CopyCasterSceneConfigResult.cc b/live/src/model/CopyCasterSceneConfigResult.cc new file mode 100644 index 000000000..c922802fd --- /dev/null +++ b/live/src/model/CopyCasterSceneConfigResult.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; + +CopyCasterSceneConfigResult::CopyCasterSceneConfigResult() : + ServiceResult() +{} + +CopyCasterSceneConfigResult::CopyCasterSceneConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyCasterSceneConfigResult::~CopyCasterSceneConfigResult() +{} + +void CopyCasterSceneConfigResult::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/CreateCasterRequest.cc b/live/src/model/CreateCasterRequest.cc new file mode 100644 index 000000000..299dcf277 --- /dev/null +++ b/live/src/model/CreateCasterRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::CreateCasterRequest; + +CreateCasterRequest::CreateCasterRequest() : + RpcServiceRequest("live", "2016-11-01", "CreateCaster") +{} + +CreateCasterRequest::~CreateCasterRequest() +{} + +std::string CreateCasterRequest::getCasterTemplate()const +{ + return casterTemplate_; +} + +void CreateCasterRequest::setCasterTemplate(const std::string& casterTemplate) +{ + casterTemplate_ = casterTemplate; + setParameter("CasterTemplate", casterTemplate); +} + +std::string CreateCasterRequest::getExpireTime()const +{ + return expireTime_; +} + +void CreateCasterRequest::setExpireTime(const std::string& expireTime) +{ + expireTime_ = expireTime; + setParameter("ExpireTime", expireTime); +} + +int CreateCasterRequest::getNormType()const +{ + return normType_; +} + +void CreateCasterRequest::setNormType(int normType) +{ + normType_ = normType; + setParameter("NormType", std::to_string(normType)); +} + +std::string CreateCasterRequest::getCasterName()const +{ + return casterName_; +} + +void CreateCasterRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); +} + +std::string CreateCasterRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateCasterRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string CreateCasterRequest::getChargeType()const +{ + return chargeType_; +} + +void CreateCasterRequest::setChargeType(const std::string& chargeType) +{ + chargeType_ = chargeType; + setParameter("ChargeType", chargeType); +} + +long CreateCasterRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateCasterRequest::getPurchaseTime()const +{ + return purchaseTime_; +} + +void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime) +{ + purchaseTime_ = purchaseTime; + setParameter("PurchaseTime", purchaseTime); +} + diff --git a/live/src/model/CreateCasterResult.cc b/live/src/model/CreateCasterResult.cc new file mode 100644 index 000000000..7c5e037ed --- /dev/null +++ b/live/src/model/CreateCasterResult.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; + +CreateCasterResult::CreateCasterResult() : + ServiceResult() +{} + +CreateCasterResult::CreateCasterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCasterResult::~CreateCasterResult() +{} + +void CreateCasterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + +} + +std::string CreateCasterResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc b/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc new file mode 100644 index 000000000..250b93d15 --- /dev/null +++ b/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc @@ -0,0 +1,148 @@ +/* + * 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::CreateLiveStreamRecordIndexFilesRequest; + +CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest() : + RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamRecordIndexFiles") +{} + +CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest() +{} + +std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const +{ + return ossBucket_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const +{ + return appName_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const +{ + return domainName_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const +{ + return endTime_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const +{ + return startTime_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const +{ + return streamName_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const +{ + return ossObject_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); +} + +std::string CreateLiveStreamRecordIndexFilesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/CreateLiveStreamRecordIndexFilesResult.cc b/live/src/model/CreateLiveStreamRecordIndexFilesResult.cc new file mode 100644 index 000000000..891d3af07 --- /dev/null +++ b/live/src/model/CreateLiveStreamRecordIndexFilesResult.cc @@ -0,0 +1,79 @@ +/* + * 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; + +CreateLiveStreamRecordIndexFilesResult::CreateLiveStreamRecordIndexFilesResult() : + ServiceResult() +{} + +CreateLiveStreamRecordIndexFilesResult::CreateLiveStreamRecordIndexFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateLiveStreamRecordIndexFilesResult::~CreateLiveStreamRecordIndexFilesResult() +{} + +void CreateLiveStreamRecordIndexFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto recordInfoNode = value["RecordInfo"]; + if(!recordInfoNode["RecordId"].isNull()) + recordInfo_.recordId = recordInfoNode["RecordId"].asString(); + if(!recordInfoNode["RecordUrl"].isNull()) + recordInfo_.recordUrl = recordInfoNode["RecordUrl"].asString(); + if(!recordInfoNode["DomainName"].isNull()) + recordInfo_.domainName = recordInfoNode["DomainName"].asString(); + if(!recordInfoNode["AppName"].isNull()) + recordInfo_.appName = recordInfoNode["AppName"].asString(); + if(!recordInfoNode["StreamName"].isNull()) + recordInfo_.streamName = recordInfoNode["StreamName"].asString(); + if(!recordInfoNode["OssBucket"].isNull()) + recordInfo_.ossBucket = recordInfoNode["OssBucket"].asString(); + if(!recordInfoNode["OssEndpoint"].isNull()) + recordInfo_.ossEndpoint = recordInfoNode["OssEndpoint"].asString(); + if(!recordInfoNode["OssObject"].isNull()) + recordInfo_.ossObject = recordInfoNode["OssObject"].asString(); + if(!recordInfoNode["StartTime"].isNull()) + recordInfo_.startTime = recordInfoNode["StartTime"].asString(); + if(!recordInfoNode["EndTime"].isNull()) + recordInfo_.endTime = recordInfoNode["EndTime"].asString(); + if(!recordInfoNode["Duration"].isNull()) + recordInfo_.duration = std::stof(recordInfoNode["Duration"].asString()); + if(!recordInfoNode["Height"].isNull()) + recordInfo_.height = std::stoi(recordInfoNode["Height"].asString()); + if(!recordInfoNode["Width"].isNull()) + recordInfo_.width = std::stoi(recordInfoNode["Width"].asString()); + if(!recordInfoNode["CreateTime"].isNull()) + recordInfo_.createTime = recordInfoNode["CreateTime"].asString(); + +} + +CreateLiveStreamRecordIndexFilesResult::RecordInfo CreateLiveStreamRecordIndexFilesResult::getRecordInfo()const +{ + return recordInfo_; +} + diff --git a/live/src/model/DeleteCasterComponentRequest.cc b/live/src/model/DeleteCasterComponentRequest.cc new file mode 100644 index 000000000..cf2faf0f9 --- /dev/null +++ b/live/src/model/DeleteCasterComponentRequest.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::DeleteCasterComponentRequest; + +DeleteCasterComponentRequest::DeleteCasterComponentRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCasterComponent") +{} + +DeleteCasterComponentRequest::~DeleteCasterComponentRequest() +{} + +std::string DeleteCasterComponentRequest::getComponentId()const +{ + return componentId_; +} + +void DeleteCasterComponentRequest::setComponentId(const std::string& componentId) +{ + componentId_ = componentId; + setParameter("ComponentId", componentId); +} + +std::string DeleteCasterComponentRequest::getCasterId()const +{ + return casterId_; +} + +void DeleteCasterComponentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DeleteCasterComponentRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterComponentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteCasterComponentResult.cc b/live/src/model/DeleteCasterComponentResult.cc new file mode 100644 index 000000000..b6a016899 --- /dev/null +++ b/live/src/model/DeleteCasterComponentResult.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; + +DeleteCasterComponentResult::DeleteCasterComponentResult() : + ServiceResult() +{} + +DeleteCasterComponentResult::DeleteCasterComponentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterComponentResult::~DeleteCasterComponentResult() +{} + +void DeleteCasterComponentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["ComponentId"].isNull()) + componentId_ = value["ComponentId"].asString(); + +} + +std::string DeleteCasterComponentResult::getCasterId()const +{ + return casterId_; +} + +std::string DeleteCasterComponentResult::getComponentId()const +{ + return componentId_; +} + diff --git a/live/src/model/DeleteCasterEpisodeGroupRequest.cc b/live/src/model/DeleteCasterEpisodeGroupRequest.cc new file mode 100644 index 000000000..a0034abe3 --- /dev/null +++ b/live/src/model/DeleteCasterEpisodeGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterEpisodeGroupRequest; + +DeleteCasterEpisodeGroupRequest::DeleteCasterEpisodeGroupRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisodeGroup") +{} + +DeleteCasterEpisodeGroupRequest::~DeleteCasterEpisodeGroupRequest() +{} + +long DeleteCasterEpisodeGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteCasterEpisodeGroupRequest::getProgramId()const +{ + return programId_; +} + +void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); +} + diff --git a/live/src/model/DeleteCasterEpisodeGroupResult.cc b/live/src/model/DeleteCasterEpisodeGroupResult.cc new file mode 100644 index 000000000..88572c3e8 --- /dev/null +++ b/live/src/model/DeleteCasterEpisodeGroupResult.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; + +DeleteCasterEpisodeGroupResult::DeleteCasterEpisodeGroupResult() : + ServiceResult() +{} + +DeleteCasterEpisodeGroupResult::DeleteCasterEpisodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterEpisodeGroupResult::~DeleteCasterEpisodeGroupResult() +{} + +void DeleteCasterEpisodeGroupResult::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/DeleteCasterEpisodeRequest.cc b/live/src/model/DeleteCasterEpisodeRequest.cc new file mode 100644 index 000000000..9a7df2b79 --- /dev/null +++ b/live/src/model/DeleteCasterEpisodeRequest.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::DeleteCasterEpisodeRequest; + +DeleteCasterEpisodeRequest::DeleteCasterEpisodeRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisode") +{} + +DeleteCasterEpisodeRequest::~DeleteCasterEpisodeRequest() +{} + +std::string DeleteCasterEpisodeRequest::getCasterId()const +{ + return casterId_; +} + +void DeleteCasterEpisodeRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DeleteCasterEpisodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterEpisodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteCasterEpisodeRequest::getEpisodeId()const +{ + return episodeId_; +} + +void DeleteCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) +{ + episodeId_ = episodeId; + setParameter("EpisodeId", episodeId); +} + diff --git a/live/src/model/DeleteCasterEpisodeResult.cc b/live/src/model/DeleteCasterEpisodeResult.cc new file mode 100644 index 000000000..9e2e5b8ae --- /dev/null +++ b/live/src/model/DeleteCasterEpisodeResult.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; + +DeleteCasterEpisodeResult::DeleteCasterEpisodeResult() : + ServiceResult() +{} + +DeleteCasterEpisodeResult::DeleteCasterEpisodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterEpisodeResult::~DeleteCasterEpisodeResult() +{} + +void DeleteCasterEpisodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["EpisodeId"].isNull()) + episodeId_ = value["EpisodeId"].asString(); + +} + +std::string DeleteCasterEpisodeResult::getEpisodeId()const +{ + return episodeId_; +} + +std::string DeleteCasterEpisodeResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/DeleteCasterLayoutRequest.cc b/live/src/model/DeleteCasterLayoutRequest.cc new file mode 100644 index 000000000..40d0648ef --- /dev/null +++ b/live/src/model/DeleteCasterLayoutRequest.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::DeleteCasterLayoutRequest; + +DeleteCasterLayoutRequest::DeleteCasterLayoutRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCasterLayout") +{} + +DeleteCasterLayoutRequest::~DeleteCasterLayoutRequest() +{} + +std::string DeleteCasterLayoutRequest::getCasterId()const +{ + return casterId_; +} + +void DeleteCasterLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DeleteCasterLayoutRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteCasterLayoutRequest::getLayoutId()const +{ + return layoutId_; +} + +void DeleteCasterLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); +} + diff --git a/live/src/model/DeleteCasterLayoutResult.cc b/live/src/model/DeleteCasterLayoutResult.cc new file mode 100644 index 000000000..3a7e75e55 --- /dev/null +++ b/live/src/model/DeleteCasterLayoutResult.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; + +DeleteCasterLayoutResult::DeleteCasterLayoutResult() : + ServiceResult() +{} + +DeleteCasterLayoutResult::DeleteCasterLayoutResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterLayoutResult::~DeleteCasterLayoutResult() +{} + +void DeleteCasterLayoutResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["LayoutId"].isNull()) + layoutId_ = value["LayoutId"].asString(); + +} + +std::string DeleteCasterLayoutResult::getLayoutId()const +{ + return layoutId_; +} + +std::string DeleteCasterLayoutResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/DeleteCasterProgramRequest.cc b/live/src/model/DeleteCasterProgramRequest.cc new file mode 100644 index 000000000..80dd183b6 --- /dev/null +++ b/live/src/model/DeleteCasterProgramRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterProgramRequest; + +DeleteCasterProgramRequest::DeleteCasterProgramRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCasterProgram") +{} + +DeleteCasterProgramRequest::~DeleteCasterProgramRequest() +{} + +std::string DeleteCasterProgramRequest::getCasterId()const +{ + return casterId_; +} + +void DeleteCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DeleteCasterProgramRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteCasterProgramResult.cc b/live/src/model/DeleteCasterProgramResult.cc new file mode 100644 index 000000000..a458a260a --- /dev/null +++ b/live/src/model/DeleteCasterProgramResult.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; + +DeleteCasterProgramResult::DeleteCasterProgramResult() : + ServiceResult() +{} + +DeleteCasterProgramResult::DeleteCasterProgramResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterProgramResult::~DeleteCasterProgramResult() +{} + +void DeleteCasterProgramResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + +} + +std::string DeleteCasterProgramResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/DeleteCasterRequest.cc b/live/src/model/DeleteCasterRequest.cc new file mode 100644 index 000000000..f2e7bdac8 --- /dev/null +++ b/live/src/model/DeleteCasterRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterRequest; + +DeleteCasterRequest::DeleteCasterRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCaster") +{} + +DeleteCasterRequest::~DeleteCasterRequest() +{} + +std::string DeleteCasterRequest::getCasterId()const +{ + return casterId_; +} + +void DeleteCasterRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DeleteCasterRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteCasterResult.cc b/live/src/model/DeleteCasterResult.cc new file mode 100644 index 000000000..eeb0fe242 --- /dev/null +++ b/live/src/model/DeleteCasterResult.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; + +DeleteCasterResult::DeleteCasterResult() : + ServiceResult() +{} + +DeleteCasterResult::DeleteCasterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterResult::~DeleteCasterResult() +{} + +void DeleteCasterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + +} + +std::string DeleteCasterResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/DeleteCasterSceneConfigRequest.cc b/live/src/model/DeleteCasterSceneConfigRequest.cc new file mode 100644 index 000000000..20ccc3f94 --- /dev/null +++ b/live/src/model/DeleteCasterSceneConfigRequest.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::DeleteCasterSceneConfigRequest; + +DeleteCasterSceneConfigRequest::DeleteCasterSceneConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCasterSceneConfig") +{} + +DeleteCasterSceneConfigRequest::~DeleteCasterSceneConfigRequest() +{} + +std::string DeleteCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; +} + +void DeleteCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string DeleteCasterSceneConfigRequest::getSceneId()const +{ + return sceneId_; +} + +void DeleteCasterSceneConfigRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long DeleteCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteCasterSceneConfigRequest::getType()const +{ + return type_; +} + +void DeleteCasterSceneConfigRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + diff --git a/live/src/model/DeleteCasterSceneConfigResult.cc b/live/src/model/DeleteCasterSceneConfigResult.cc new file mode 100644 index 000000000..429e69dfa --- /dev/null +++ b/live/src/model/DeleteCasterSceneConfigResult.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; + +DeleteCasterSceneConfigResult::DeleteCasterSceneConfigResult() : + ServiceResult() +{} + +DeleteCasterSceneConfigResult::DeleteCasterSceneConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterSceneConfigResult::~DeleteCasterSceneConfigResult() +{} + +void DeleteCasterSceneConfigResult::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/DeleteCasterVideoResourceRequest.cc b/live/src/model/DeleteCasterVideoResourceRequest.cc new file mode 100644 index 000000000..82d5e6d00 --- /dev/null +++ b/live/src/model/DeleteCasterVideoResourceRequest.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::DeleteCasterVideoResourceRequest; + +DeleteCasterVideoResourceRequest::DeleteCasterVideoResourceRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteCasterVideoResource") +{} + +DeleteCasterVideoResourceRequest::~DeleteCasterVideoResourceRequest() +{} + +std::string DeleteCasterVideoResourceRequest::getResourceId()const +{ + return resourceId_; +} + +void DeleteCasterVideoResourceRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); +} + +std::string DeleteCasterVideoResourceRequest::getCasterId()const +{ + return casterId_; +} + +void DeleteCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DeleteCasterVideoResourceRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteCasterVideoResourceResult.cc b/live/src/model/DeleteCasterVideoResourceResult.cc new file mode 100644 index 000000000..ba7fdccd1 --- /dev/null +++ b/live/src/model/DeleteCasterVideoResourceResult.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; + +DeleteCasterVideoResourceResult::DeleteCasterVideoResourceResult() : + ServiceResult() +{} + +DeleteCasterVideoResourceResult::DeleteCasterVideoResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCasterVideoResourceResult::~DeleteCasterVideoResourceResult() +{} + +void DeleteCasterVideoResourceResult::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/DeleteLiveAppRecordConfigRequest.cc b/live/src/model/DeleteLiveAppRecordConfigRequest.cc new file mode 100644 index 000000000..b64c58247 --- /dev/null +++ b/live/src/model/DeleteLiveAppRecordConfigRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::DeleteLiveAppRecordConfigRequest; + +DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig") +{} + +DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest() +{} + +std::string DeleteLiveAppRecordConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveAppRecordConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveAppRecordConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveAppRecordConfigRequest::getStreamName()const +{ + return streamName_; +} + +void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DeleteLiveAppRecordConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveAppRecordConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveAppRecordConfigResult.cc b/live/src/model/DeleteLiveAppRecordConfigResult.cc new file mode 100644 index 000000000..3dcc5697d --- /dev/null +++ b/live/src/model/DeleteLiveAppRecordConfigResult.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; + +DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult() : + ServiceResult() +{} + +DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveAppRecordConfigResult::~DeleteLiveAppRecordConfigResult() +{} + +void DeleteLiveAppRecordConfigResult::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/DeleteLiveAppSnapshotConfigRequest.cc b/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc new file mode 100644 index 000000000..94f8e7de9 --- /dev/null +++ b/live/src/model/DeleteLiveAppSnapshotConfigRequest.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::DeleteLiveAppSnapshotConfigRequest; + +DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppSnapshotConfig") +{} + +DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest() +{} + +std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveAppSnapshotConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveAppSnapshotConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveAppSnapshotConfigResult.cc b/live/src/model/DeleteLiveAppSnapshotConfigResult.cc new file mode 100644 index 000000000..07ed0319c --- /dev/null +++ b/live/src/model/DeleteLiveAppSnapshotConfigResult.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; + +DeleteLiveAppSnapshotConfigResult::DeleteLiveAppSnapshotConfigResult() : + ServiceResult() +{} + +DeleteLiveAppSnapshotConfigResult::DeleteLiveAppSnapshotConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveAppSnapshotConfigResult::~DeleteLiveAppSnapshotConfigResult() +{} + +void DeleteLiveAppSnapshotConfigResult::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/DeleteLiveDetectNotifyConfigRequest.cc b/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc new file mode 100644 index 000000000..1d3ab8b1e --- /dev/null +++ b/live/src/model/DeleteLiveDetectNotifyConfigRequest.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::DeleteLiveDetectNotifyConfigRequest; + +DeleteLiveDetectNotifyConfigRequest::DeleteLiveDetectNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveDetectNotifyConfig") +{} + +DeleteLiveDetectNotifyConfigRequest::~DeleteLiveDetectNotifyConfigRequest() +{} + +std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveDetectNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveDetectNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveDetectNotifyConfigResult.cc b/live/src/model/DeleteLiveDetectNotifyConfigResult.cc new file mode 100644 index 000000000..9b62e2554 --- /dev/null +++ b/live/src/model/DeleteLiveDetectNotifyConfigResult.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; + +DeleteLiveDetectNotifyConfigResult::DeleteLiveDetectNotifyConfigResult() : + ServiceResult() +{} + +DeleteLiveDetectNotifyConfigResult::DeleteLiveDetectNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveDetectNotifyConfigResult::~DeleteLiveDetectNotifyConfigResult() +{} + +void DeleteLiveDetectNotifyConfigResult::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/DeleteLiveMixConfigRequest.cc b/live/src/model/DeleteLiveMixConfigRequest.cc new file mode 100644 index 000000000..23f810f7f --- /dev/null +++ b/live/src/model/DeleteLiveMixConfigRequest.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::DeleteLiveMixConfigRequest; + +DeleteLiveMixConfigRequest::DeleteLiveMixConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveMixConfig") +{} + +DeleteLiveMixConfigRequest::~DeleteLiveMixConfigRequest() +{} + +std::string DeleteLiveMixConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteLiveMixConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLiveMixConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveMixConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveMixConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveMixConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveMixConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveMixConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveMixConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveMixConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveMixConfigResult.cc b/live/src/model/DeleteLiveMixConfigResult.cc new file mode 100644 index 000000000..00b2b1080 --- /dev/null +++ b/live/src/model/DeleteLiveMixConfigResult.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; + +DeleteLiveMixConfigResult::DeleteLiveMixConfigResult() : + ServiceResult() +{} + +DeleteLiveMixConfigResult::DeleteLiveMixConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveMixConfigResult::~DeleteLiveMixConfigResult() +{} + +void DeleteLiveMixConfigResult::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/DeleteLiveMixNotifyConfigRequest.cc b/live/src/model/DeleteLiveMixNotifyConfigRequest.cc new file mode 100644 index 000000000..b6fc97d59 --- /dev/null +++ b/live/src/model/DeleteLiveMixNotifyConfigRequest.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::DeleteLiveMixNotifyConfigRequest; + +DeleteLiveMixNotifyConfigRequest::DeleteLiveMixNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveMixNotifyConfig") +{} + +DeleteLiveMixNotifyConfigRequest::~DeleteLiveMixNotifyConfigRequest() +{} + +std::string DeleteLiveMixNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveMixNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveMixNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveMixNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveMixNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveMixNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveMixNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveMixNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveMixNotifyConfigResult.cc b/live/src/model/DeleteLiveMixNotifyConfigResult.cc new file mode 100644 index 000000000..f18e737f6 --- /dev/null +++ b/live/src/model/DeleteLiveMixNotifyConfigResult.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; + +DeleteLiveMixNotifyConfigResult::DeleteLiveMixNotifyConfigResult() : + ServiceResult() +{} + +DeleteLiveMixNotifyConfigResult::DeleteLiveMixNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveMixNotifyConfigResult::~DeleteLiveMixNotifyConfigResult() +{} + +void DeleteLiveMixNotifyConfigResult::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/DeleteLivePullStreamInfoConfigRequest.cc b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..16b1102d5 --- /dev/null +++ b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::DeleteLivePullStreamInfoConfigRequest; + +DeleteLivePullStreamInfoConfigRequest::DeleteLivePullStreamInfoConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLivePullStreamInfoConfig") +{} + +DeleteLivePullStreamInfoConfigRequest::~DeleteLivePullStreamInfoConfigRequest() +{} + +std::string DeleteLivePullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLivePullStreamInfoConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLivePullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLivePullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLivePullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; +} + +void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DeleteLivePullStreamInfoConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLivePullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLivePullStreamInfoConfigResult.cc b/live/src/model/DeleteLivePullStreamInfoConfigResult.cc new file mode 100644 index 000000000..4115f4995 --- /dev/null +++ b/live/src/model/DeleteLivePullStreamInfoConfigResult.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; + +DeleteLivePullStreamInfoConfigResult::DeleteLivePullStreamInfoConfigResult() : + ServiceResult() +{} + +DeleteLivePullStreamInfoConfigResult::DeleteLivePullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLivePullStreamInfoConfigResult::~DeleteLivePullStreamInfoConfigResult() +{} + +void DeleteLivePullStreamInfoConfigResult::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/DeleteLiveRecordNotifyConfigRequest.cc b/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc new file mode 100644 index 000000000..67ef77b6c --- /dev/null +++ b/live/src/model/DeleteLiveRecordNotifyConfigRequest.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::DeleteLiveRecordNotifyConfigRequest; + +DeleteLiveRecordNotifyConfigRequest::DeleteLiveRecordNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordNotifyConfig") +{} + +DeleteLiveRecordNotifyConfigRequest::~DeleteLiveRecordNotifyConfigRequest() +{} + +std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveRecordNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveRecordNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveRecordNotifyConfigResult.cc b/live/src/model/DeleteLiveRecordNotifyConfigResult.cc new file mode 100644 index 000000000..0b82219e1 --- /dev/null +++ b/live/src/model/DeleteLiveRecordNotifyConfigResult.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; + +DeleteLiveRecordNotifyConfigResult::DeleteLiveRecordNotifyConfigResult() : + ServiceResult() +{} + +DeleteLiveRecordNotifyConfigResult::DeleteLiveRecordNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveRecordNotifyConfigResult::~DeleteLiveRecordNotifyConfigResult() +{} + +void DeleteLiveRecordNotifyConfigResult::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/DeleteLiveRecordVodConfigRequest.cc b/live/src/model/DeleteLiveRecordVodConfigRequest.cc new file mode 100644 index 000000000..91ff7a575 --- /dev/null +++ b/live/src/model/DeleteLiveRecordVodConfigRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::DeleteLiveRecordVodConfigRequest; + +DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordVodConfig") +{} + +DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest() +{} + +std::string DeleteLiveRecordVodConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteLiveRecordVodConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLiveRecordVodConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveRecordVodConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveRecordVodConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveRecordVodConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveRecordVodConfigRequest::getStreamName()const +{ + return streamName_; +} + +void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DeleteLiveRecordVodConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveRecordVodConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveRecordVodConfigResult.cc b/live/src/model/DeleteLiveRecordVodConfigResult.cc new file mode 100644 index 000000000..be9772541 --- /dev/null +++ b/live/src/model/DeleteLiveRecordVodConfigResult.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; + +DeleteLiveRecordVodConfigResult::DeleteLiveRecordVodConfigResult() : + ServiceResult() +{} + +DeleteLiveRecordVodConfigResult::DeleteLiveRecordVodConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveRecordVodConfigResult::~DeleteLiveRecordVodConfigResult() +{} + +void DeleteLiveRecordVodConfigResult::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/DeleteLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc new file mode 100644 index 000000000..e02c75268 --- /dev/null +++ b/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.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::DeleteLiveSnapshotDetectPornConfigRequest; + +DeleteLiveSnapshotDetectPornConfigRequest::DeleteLiveSnapshotDetectPornConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveSnapshotDetectPornConfig") +{} + +DeleteLiveSnapshotDetectPornConfigRequest::~DeleteLiveSnapshotDetectPornConfigRequest() +{} + +std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveSnapshotDetectPornConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveSnapshotDetectPornConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc b/live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc new file mode 100644 index 000000000..2d0a02c3c --- /dev/null +++ b/live/src/model/DeleteLiveSnapshotDetectPornConfigResult.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; + +DeleteLiveSnapshotDetectPornConfigResult::DeleteLiveSnapshotDetectPornConfigResult() : + ServiceResult() +{} + +DeleteLiveSnapshotDetectPornConfigResult::DeleteLiveSnapshotDetectPornConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveSnapshotDetectPornConfigResult::~DeleteLiveSnapshotDetectPornConfigResult() +{} + +void DeleteLiveSnapshotDetectPornConfigResult::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/DeleteLiveStreamTranscodeRequest.cc b/live/src/model/DeleteLiveStreamTranscodeRequest.cc new file mode 100644 index 000000000..53ffda616 --- /dev/null +++ b/live/src/model/DeleteLiveStreamTranscodeRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::DeleteLiveStreamTranscodeRequest; + +DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode") +{} + +DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest() +{} + +std::string DeleteLiveStreamTranscodeRequest::getApp()const +{ + return app_; +} + +void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +std::string DeleteLiveStreamTranscodeRequest::get_Template()const +{ + return _template_; +} + +void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); +} + +std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveStreamTranscodeRequest::getDomain()const +{ + return domain_; +} + +void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + +long DeleteLiveStreamTranscodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveStreamTranscodeRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLiveStreamTranscodeRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DeleteLiveStreamTranscodeResult.cc b/live/src/model/DeleteLiveStreamTranscodeResult.cc new file mode 100644 index 000000000..71b2fa4e2 --- /dev/null +++ b/live/src/model/DeleteLiveStreamTranscodeResult.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; + +DeleteLiveStreamTranscodeResult::DeleteLiveStreamTranscodeResult() : + ServiceResult() +{} + +DeleteLiveStreamTranscodeResult::DeleteLiveStreamTranscodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveStreamTranscodeResult::~DeleteLiveStreamTranscodeResult() +{} + +void DeleteLiveStreamTranscodeResult::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 new file mode 100644 index 000000000..b2e855a73 --- /dev/null +++ b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.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::DeleteLiveStreamsNotifyUrlConfigRequest; + +DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamsNotifyUrlConfig") +{} + +DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest() +{} + +std::string DeleteLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = 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/DeleteLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc new file mode 100644 index 000000000..f9d6355df --- /dev/null +++ b/live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.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; + +DeleteLiveStreamsNotifyUrlConfigResult::DeleteLiveStreamsNotifyUrlConfigResult() : + ServiceResult() +{} + +DeleteLiveStreamsNotifyUrlConfigResult::DeleteLiveStreamsNotifyUrlConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveStreamsNotifyUrlConfigResult::~DeleteLiveStreamsNotifyUrlConfigResult() +{} + +void DeleteLiveStreamsNotifyUrlConfigResult::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/DescribeCasterComponentsRequest.cc b/live/src/model/DescribeCasterComponentsRequest.cc new file mode 100644 index 000000000..0077c794d --- /dev/null +++ b/live/src/model/DescribeCasterComponentsRequest.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::DescribeCasterComponentsRequest; + +DescribeCasterComponentsRequest::DescribeCasterComponentsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterComponents") +{} + +DescribeCasterComponentsRequest::~DescribeCasterComponentsRequest() +{} + +std::string DescribeCasterComponentsRequest::getComponentId()const +{ + return componentId_; +} + +void DescribeCasterComponentsRequest::setComponentId(const std::string& componentId) +{ + componentId_ = componentId; + setParameter("ComponentId", componentId); +} + +std::string DescribeCasterComponentsRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterComponentsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DescribeCasterComponentsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterComponentsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterComponentsResult.cc b/live/src/model/DescribeCasterComponentsResult.cc new file mode 100644 index 000000000..67dc0fc89 --- /dev/null +++ b/live/src/model/DescribeCasterComponentsResult.cc @@ -0,0 +1,116 @@ +/* + * 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; + +DescribeCasterComponentsResult::DescribeCasterComponentsResult() : + ServiceResult() +{} + +DescribeCasterComponentsResult::DescribeCasterComponentsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterComponentsResult::~DescribeCasterComponentsResult() +{} + +void DescribeCasterComponentsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allComponents = value["Components"]["Component"]; + for (auto value : allComponents) + { + Component componentsObject; + if(!value["ComponentId"].isNull()) + componentsObject.componentId = value["ComponentId"].asString(); + if(!value["ComponentName"].isNull()) + componentsObject.componentName = value["ComponentName"].asString(); + if(!value["LocationId"].isNull()) + componentsObject.locationId = value["LocationId"].asString(); + if(!value["ComponentType"].isNull()) + componentsObject.componentType = value["ComponentType"].asString(); + if(!value["Effect"].isNull()) + componentsObject.effect = value["Effect"].asString(); + auto componentLayerNode = value["ComponentLayer"]; + if(!componentLayerNode["HeightNormalized"].isNull()) + componentsObject.componentLayer.heightNormalized = std::stof(componentLayerNode["HeightNormalized"].asString()); + if(!componentLayerNode["WidthNormalized"].isNull()) + componentsObject.componentLayer.widthNormalized = std::stof(componentLayerNode["WidthNormalized"].asString()); + if(!componentLayerNode["PositionRefer"].isNull()) + componentsObject.componentLayer.positionRefer = componentLayerNode["PositionRefer"].asString(); + auto allPositionNormalizeds = componentLayerNode["PositionNormalizeds"]["Position"]; + for (auto value : allPositionNormalizeds) + componentsObject.componentLayer.positionNormalizeds.push_back(value.asString()); + auto textLayerContentNode = value["TextLayerContent"]; + if(!textLayerContentNode["Text"].isNull()) + componentsObject.textLayerContent.text = textLayerContentNode["Text"].asString(); + if(!textLayerContentNode["Color"].isNull()) + componentsObject.textLayerContent.color = textLayerContentNode["Color"].asString(); + if(!textLayerContentNode["FontName"].isNull()) + componentsObject.textLayerContent.fontName = textLayerContentNode["FontName"].asString(); + if(!textLayerContentNode["SizeNormalized"].isNull()) + componentsObject.textLayerContent.sizeNormalized = std::stof(textLayerContentNode["SizeNormalized"].asString()); + if(!textLayerContentNode["BorderWidthNormalized"].isNull()) + componentsObject.textLayerContent.borderWidthNormalized = std::stof(textLayerContentNode["BorderWidthNormalized"].asString()); + if(!textLayerContentNode["BorderColor"].isNull()) + componentsObject.textLayerContent.borderColor = textLayerContentNode["BorderColor"].asString(); + auto imageLayerContentNode = value["ImageLayerContent"]; + if(!imageLayerContentNode["MaterialId"].isNull()) + componentsObject.imageLayerContent.materialId = imageLayerContentNode["MaterialId"].asString(); + auto captionLayerContentNode = value["CaptionLayerContent"]; + if(!captionLayerContentNode["LocationId"].isNull()) + componentsObject.captionLayerContent.locationId = captionLayerContentNode["LocationId"].asString(); + if(!captionLayerContentNode["PtsOffset"].isNull()) + componentsObject.captionLayerContent.ptsOffset = std::stoi(captionLayerContentNode["PtsOffset"].asString()); + if(!captionLayerContentNode["WordsCount"].isNull()) + componentsObject.captionLayerContent.wordsCount = std::stoi(captionLayerContentNode["WordsCount"].asString()); + if(!captionLayerContentNode["Color"].isNull()) + componentsObject.captionLayerContent.color = captionLayerContentNode["Color"].asString(); + if(!captionLayerContentNode["FontName"].isNull()) + componentsObject.captionLayerContent.fontName = captionLayerContentNode["FontName"].asString(); + if(!captionLayerContentNode["SizeNormalized"].isNull()) + componentsObject.captionLayerContent.sizeNormalized = std::stof(captionLayerContentNode["SizeNormalized"].asString()); + if(!captionLayerContentNode["BorderWidthNormalized"].isNull()) + componentsObject.captionLayerContent.borderWidthNormalized = std::stof(captionLayerContentNode["BorderWidthNormalized"].asString()); + if(!captionLayerContentNode["BorderColor"].isNull()) + componentsObject.captionLayerContent.borderColor = captionLayerContentNode["BorderColor"].asString(); + components_.push_back(componentsObject); + } + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +std::vector DescribeCasterComponentsResult::getComponents()const +{ + return components_; +} + +int DescribeCasterComponentsResult::getTotal()const +{ + return total_; +} + diff --git a/live/src/model/DescribeCasterConfigRequest.cc b/live/src/model/DescribeCasterConfigRequest.cc new file mode 100644 index 000000000..0c97580db --- /dev/null +++ b/live/src/model/DescribeCasterConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterConfigRequest; + +DescribeCasterConfigRequest::DescribeCasterConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterConfig") +{} + +DescribeCasterConfigRequest::~DescribeCasterConfigRequest() +{} + +std::string DescribeCasterConfigRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DescribeCasterConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterConfigResult.cc b/live/src/model/DescribeCasterConfigResult.cc new file mode 100644 index 000000000..49dcc1f68 --- /dev/null +++ b/live/src/model/DescribeCasterConfigResult.cc @@ -0,0 +1,143 @@ +/* + * 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; + +DescribeCasterConfigResult::DescribeCasterConfigResult() : + ServiceResult() +{} + +DescribeCasterConfigResult::DescribeCasterConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterConfigResult::~DescribeCasterConfigResult() +{} + +void DescribeCasterConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto transcodeConfigNode = value["TranscodeConfig"]; + if(!transcodeConfigNode["CasterTemplate"].isNull()) + transcodeConfig_.casterTemplate = transcodeConfigNode["CasterTemplate"].asString(); + auto allLiveTemplateIds = transcodeConfigNode["LiveTemplateIds"]["LocationId"]; + for (auto value : allLiveTemplateIds) + transcodeConfig_.liveTemplateIds.push_back(value.asString()); + auto recordConfigNode = value["RecordConfig"]; + if(!recordConfigNode["OssEndpoint"].isNull()) + recordConfig_.ossEndpoint = recordConfigNode["OssEndpoint"].asString(); + if(!recordConfigNode["OssBucket"].isNull()) + recordConfig_.ossBucket = recordConfigNode["OssBucket"].asString(); + auto allRecordFormat = value["RecordFormat"]["RecordFormatItem"]; + for (auto value : allRecordFormat) + { + RecordConfig::RecordFormatItem recordFormatItemObject; + if(!value["Format"].isNull()) + recordFormatItemObject.format = value["Format"].asString(); + if(!value["OssObjectPrefix"].isNull()) + recordFormatItemObject.ossObjectPrefix = value["OssObjectPrefix"].asString(); + if(!value["SliceOssObjectPrefix"].isNull()) + recordFormatItemObject.sliceOssObjectPrefix = value["SliceOssObjectPrefix"].asString(); + if(!value["CycleDuration"].isNull()) + recordFormatItemObject.cycleDuration = std::stoi(value["CycleDuration"].asString()); + recordConfig_.recordFormat.push_back(recordFormatItemObject); + } + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["CasterName"].isNull()) + casterName_ = value["CasterName"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["Delay"].isNull()) + delay_ = std::stof(value["Delay"].asString()); + if(!value["UrgentMaterialId"].isNull()) + urgentMaterialId_ = value["UrgentMaterialId"].asString(); + if(!value["SideOutputUrl"].isNull()) + sideOutputUrl_ = value["SideOutputUrl"].asString(); + if(!value["CallbackUrl"].isNull()) + callbackUrl_ = value["CallbackUrl"].asString(); + if(!value["ProgramName"].isNull()) + programName_ = value["ProgramName"].asString(); + if(!value["ProgramEffect"].isNull()) + programEffect_ = std::stoi(value["ProgramEffect"].asString()); + +} + +std::string DescribeCasterConfigResult::getSideOutputUrl()const +{ + return sideOutputUrl_; +} + +std::string DescribeCasterConfigResult::getCallbackUrl()const +{ + return callbackUrl_; +} + +std::string DescribeCasterConfigResult::getCasterName()const +{ + return casterName_; +} + +std::string DescribeCasterConfigResult::getDomainName()const +{ + return domainName_; +} + +int DescribeCasterConfigResult::getProgramEffect()const +{ + return programEffect_; +} + +std::string DescribeCasterConfigResult::getUrgentMaterialId()const +{ + return urgentMaterialId_; +} + +DescribeCasterConfigResult::TranscodeConfig DescribeCasterConfigResult::getTranscodeConfig()const +{ + return transcodeConfig_; +} + +std::string DescribeCasterConfigResult::getCasterId()const +{ + return casterId_; +} + +std::string DescribeCasterConfigResult::getProgramName()const +{ + return programName_; +} + +DescribeCasterConfigResult::RecordConfig DescribeCasterConfigResult::getRecordConfig()const +{ + return recordConfig_; +} + +float DescribeCasterConfigResult::getDelay()const +{ + return delay_; +} + diff --git a/live/src/model/DescribeCasterLayoutsRequest.cc b/live/src/model/DescribeCasterLayoutsRequest.cc new file mode 100644 index 000000000..59a711043 --- /dev/null +++ b/live/src/model/DescribeCasterLayoutsRequest.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::DescribeCasterLayoutsRequest; + +DescribeCasterLayoutsRequest::DescribeCasterLayoutsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterLayouts") +{} + +DescribeCasterLayoutsRequest::~DescribeCasterLayoutsRequest() +{} + +std::string DescribeCasterLayoutsRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterLayoutsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DescribeCasterLayoutsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterLayoutsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeCasterLayoutsRequest::getLayoutId()const +{ + return layoutId_; +} + +void DescribeCasterLayoutsRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); +} + diff --git a/live/src/model/DescribeCasterLayoutsResult.cc b/live/src/model/DescribeCasterLayoutsResult.cc new file mode 100644 index 000000000..918751594 --- /dev/null +++ b/live/src/model/DescribeCasterLayoutsResult.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; + +DescribeCasterLayoutsResult::DescribeCasterLayoutsResult() : + ServiceResult() +{} + +DescribeCasterLayoutsResult::DescribeCasterLayoutsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterLayoutsResult::~DescribeCasterLayoutsResult() +{} + +void DescribeCasterLayoutsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLayouts = value["Layouts"]["Layout"]; + for (auto value : allLayouts) + { + Layout layoutsObject; + if(!value["LayoutId"].isNull()) + layoutsObject.layoutId = value["LayoutId"].asString(); + auto allVideoLayers = value["VideoLayers"]["VideoLayer"]; + for (auto value : allVideoLayers) + { + Layout::VideoLayer videoLayersObject; + if(!value["FillMode"].isNull()) + videoLayersObject.fillMode = value["FillMode"].asString(); + if(!value["HeightNormalized"].isNull()) + videoLayersObject.heightNormalized = std::stof(value["HeightNormalized"].asString()); + if(!value["WidthNormalized"].isNull()) + videoLayersObject.widthNormalized = std::stof(value["WidthNormalized"].asString()); + if(!value["PositionRefer"].isNull()) + videoLayersObject.positionRefer = value["PositionRefer"].asString(); + if(!value["FixedDelayDuration"].isNull()) + videoLayersObject.fixedDelayDuration = std::stoi(value["FixedDelayDuration"].asString()); + auto allPositionNormalizeds = value["PositionNormalizeds"]["Position"]; + for (auto value : allPositionNormalizeds) + videoLayersObject.positionNormalizeds.push_back(value.asString()); + layoutsObject.videoLayers.push_back(videoLayersObject); + } + auto allAudioLayers = value["AudioLayers"]["AudioLayer"]; + for (auto value : allAudioLayers) + { + Layout::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()); + layoutsObject.audioLayers.push_back(audioLayersObject); + } + auto allBlendList = value["BlendList"]["LocationId"]; + for (auto value : allBlendList) + layoutsObject.blendList.push_back(value.asString()); + auto allMixList = value["MixList"]["LocationId"]; + for (auto value : allMixList) + layoutsObject.mixList.push_back(value.asString()); + layouts_.push_back(layoutsObject); + } + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +std::vector DescribeCasterLayoutsResult::getLayouts()const +{ + return layouts_; +} + +int DescribeCasterLayoutsResult::getTotal()const +{ + return total_; +} + diff --git a/live/src/model/DescribeCasterProgramRequest.cc b/live/src/model/DescribeCasterProgramRequest.cc new file mode 100644 index 000000000..d8429006c --- /dev/null +++ b/live/src/model/DescribeCasterProgramRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterProgramRequest; + +DescribeCasterProgramRequest::DescribeCasterProgramRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterProgram") +{} + +DescribeCasterProgramRequest::~DescribeCasterProgramRequest() +{} + +std::string DescribeCasterProgramRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string DescribeCasterProgramRequest::getEpisodeType()const +{ + return episodeType_; +} + +void DescribeCasterProgramRequest::setEpisodeType(const std::string& episodeType) +{ + episodeType_ = episodeType; + setParameter("EpisodeType", episodeType); +} + +int DescribeCasterProgramRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeCasterProgramRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeCasterProgramRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeCasterProgramRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeCasterProgramRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeCasterProgramRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeCasterProgramRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeCasterProgramRequest::getEpisodeId()const +{ + return episodeId_; +} + +void DescribeCasterProgramRequest::setEpisodeId(const std::string& episodeId) +{ + episodeId_ = episodeId; + setParameter("EpisodeId", episodeId); +} + +int DescribeCasterProgramRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeCasterProgramRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +int DescribeCasterProgramRequest::getStatus()const +{ + return status_; +} + +void DescribeCasterProgramRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); +} + diff --git a/live/src/model/DescribeCasterProgramResult.cc b/live/src/model/DescribeCasterProgramResult.cc new file mode 100644 index 000000000..a9c6fae2f --- /dev/null +++ b/live/src/model/DescribeCasterProgramResult.cc @@ -0,0 +1,103 @@ +/* + * 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; + +DescribeCasterProgramResult::DescribeCasterProgramResult() : + ServiceResult() +{} + +DescribeCasterProgramResult::DescribeCasterProgramResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterProgramResult::~DescribeCasterProgramResult() +{} + +void DescribeCasterProgramResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEpisodes = value["Episodes"]["Episode"]; + for (auto value : allEpisodes) + { + Episode episodesObject; + if(!value["EpisodeId"].isNull()) + episodesObject.episodeId = value["EpisodeId"].asString(); + if(!value["EpisodeType"].isNull()) + episodesObject.episodeType = value["EpisodeType"].asString(); + if(!value["EpisodeName"].isNull()) + episodesObject.episodeName = value["EpisodeName"].asString(); + if(!value["ResourceId"].isNull()) + episodesObject.resourceId = value["ResourceId"].asString(); + if(!value["StartTime"].isNull()) + episodesObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + episodesObject.endTime = value["EndTime"].asString(); + if(!value["SwitchType"].isNull()) + episodesObject.switchType = value["SwitchType"].asString(); + if(!value["Status"].isNull()) + episodesObject.status = std::stoi(value["Status"].asString()); + auto allComponentIds = value["ComponentIds"]["ComponentId"]; + for (auto value : allComponentIds) + episodesObject.componentIds.push_back(value.asString()); + episodes_.push_back(episodesObject); + } + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["ProgramName"].isNull()) + programName_ = value["ProgramName"].asString(); + if(!value["ProgramEffect"].isNull()) + programEffect_ = std::stoi(value["ProgramEffect"].asString()); + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +int DescribeCasterProgramResult::getProgramEffect()const +{ + return programEffect_; +} + +int DescribeCasterProgramResult::getTotal()const +{ + return total_; +} + +std::vector DescribeCasterProgramResult::getEpisodes()const +{ + return episodes_; +} + +std::string DescribeCasterProgramResult::getCasterId()const +{ + return casterId_; +} + +std::string DescribeCasterProgramResult::getProgramName()const +{ + return programName_; +} + diff --git a/live/src/model/DescribeCasterRtcInfoRequest.cc b/live/src/model/DescribeCasterRtcInfoRequest.cc new file mode 100644 index 000000000..10a1c9eae --- /dev/null +++ b/live/src/model/DescribeCasterRtcInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterRtcInfoRequest; + +DescribeCasterRtcInfoRequest::DescribeCasterRtcInfoRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterRtcInfo") +{} + +DescribeCasterRtcInfoRequest::~DescribeCasterRtcInfoRequest() +{} + +std::string DescribeCasterRtcInfoRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterRtcInfoRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DescribeCasterRtcInfoRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterRtcInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterRtcInfoResult.cc b/live/src/model/DescribeCasterRtcInfoResult.cc new file mode 100644 index 000000000..76b3a342c --- /dev/null +++ b/live/src/model/DescribeCasterRtcInfoResult.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; + +DescribeCasterRtcInfoResult::DescribeCasterRtcInfoResult() : + ServiceResult() +{} + +DescribeCasterRtcInfoResult::DescribeCasterRtcInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterRtcInfoResult::~DescribeCasterRtcInfoResult() +{} + +void DescribeCasterRtcInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["AuthToken"].isNull()) + authToken_ = value["AuthToken"].asString(); + +} + +std::string DescribeCasterRtcInfoResult::getAuthToken()const +{ + return authToken_; +} + +std::string DescribeCasterRtcInfoResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/DescribeCasterScenesRequest.cc b/live/src/model/DescribeCasterScenesRequest.cc new file mode 100644 index 000000000..b11614933 --- /dev/null +++ b/live/src/model/DescribeCasterScenesRequest.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::DescribeCasterScenesRequest; + +DescribeCasterScenesRequest::DescribeCasterScenesRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterScenes") +{} + +DescribeCasterScenesRequest::~DescribeCasterScenesRequest() +{} + +std::string DescribeCasterScenesRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterScenesRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string DescribeCasterScenesRequest::getSceneId()const +{ + return sceneId_; +} + +void DescribeCasterScenesRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long DescribeCasterScenesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterScenesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterScenesResult.cc b/live/src/model/DescribeCasterScenesResult.cc new file mode 100644 index 000000000..a01ad846a --- /dev/null +++ b/live/src/model/DescribeCasterScenesResult.cc @@ -0,0 +1,90 @@ +/* + * 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; + +DescribeCasterScenesResult::DescribeCasterScenesResult() : + ServiceResult() +{} + +DescribeCasterScenesResult::DescribeCasterScenesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterScenesResult::~DescribeCasterScenesResult() +{} + +void DescribeCasterScenesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSceneList = value["SceneList"]["Scene"]; + for (auto value : allSceneList) + { + Scene sceneListObject; + if(!value["SceneId"].isNull()) + sceneListObject.sceneId = value["SceneId"].asString(); + if(!value["SceneName"].isNull()) + sceneListObject.sceneName = value["SceneName"].asString(); + if(!value["OutputType"].isNull()) + sceneListObject.outputType = value["OutputType"].asString(); + if(!value["LayoutId"].isNull()) + sceneListObject.layoutId = value["LayoutId"].asString(); + if(!value["StreamUrl"].isNull()) + sceneListObject.streamUrl = value["StreamUrl"].asString(); + if(!value["Status"].isNull()) + sceneListObject.status = std::stoi(value["Status"].asString()); + auto allStreamInfos = value["StreamInfos"]["StreamInfo"]; + for (auto value : allStreamInfos) + { + Scene::StreamInfo streamInfosObject; + if(!value["TranscodeConfig"].isNull()) + streamInfosObject.transcodeConfig = value["TranscodeConfig"].asString(); + if(!value["VideoFormat"].isNull()) + streamInfosObject.videoFormat = value["VideoFormat"].asString(); + if(!value["OutputStreamUrl"].isNull()) + streamInfosObject.outputStreamUrl = value["OutputStreamUrl"].asString(); + sceneListObject.streamInfos.push_back(streamInfosObject); + } + auto allComponentIds = value["ComponentIds"]["componentId"]; + for (auto value : allComponentIds) + sceneListObject.componentIds.push_back(value.asString()); + sceneList_.push_back(sceneListObject); + } + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +int DescribeCasterScenesResult::getTotal()const +{ + return total_; +} + +std::vector DescribeCasterScenesResult::getSceneList()const +{ + return sceneList_; +} + diff --git a/live/src/model/DescribeCasterStreamUrlRequest.cc b/live/src/model/DescribeCasterStreamUrlRequest.cc new file mode 100644 index 000000000..c5b3c0e46 --- /dev/null +++ b/live/src/model/DescribeCasterStreamUrlRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterStreamUrlRequest; + +DescribeCasterStreamUrlRequest::DescribeCasterStreamUrlRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterStreamUrl") +{} + +DescribeCasterStreamUrlRequest::~DescribeCasterStreamUrlRequest() +{} + +std::string DescribeCasterStreamUrlRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterStreamUrlRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DescribeCasterStreamUrlRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterStreamUrlRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterStreamUrlResult.cc b/live/src/model/DescribeCasterStreamUrlResult.cc new file mode 100644 index 000000000..c728e5078 --- /dev/null +++ b/live/src/model/DescribeCasterStreamUrlResult.cc @@ -0,0 +1,88 @@ +/* + * 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; + +DescribeCasterStreamUrlResult::DescribeCasterStreamUrlResult() : + ServiceResult() +{} + +DescribeCasterStreamUrlResult::DescribeCasterStreamUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterStreamUrlResult::~DescribeCasterStreamUrlResult() +{} + +void DescribeCasterStreamUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCasterStreams = value["CasterStreams"]["CasterStream"]; + for (auto value : allCasterStreams) + { + CasterStream casterStreamsObject; + if(!value["SceneId"].isNull()) + casterStreamsObject.sceneId = value["SceneId"].asString(); + if(!value["StreamUrl"].isNull()) + casterStreamsObject.streamUrl = value["StreamUrl"].asString(); + if(!value["OutputType"].isNull()) + casterStreamsObject.outputType = std::stoi(value["OutputType"].asString()); + auto allStreamInfos = value["StreamInfos"]["StreamInfo"]; + for (auto value : allStreamInfos) + { + CasterStream::StreamInfo streamInfosObject; + if(!value["TranscodeConfig"].isNull()) + streamInfosObject.transcodeConfig = value["TranscodeConfig"].asString(); + if(!value["VideoFormat"].isNull()) + streamInfosObject.videoFormat = value["VideoFormat"].asString(); + if(!value["OutputStreamUrl"].isNull()) + streamInfosObject.outputStreamUrl = value["OutputStreamUrl"].asString(); + casterStreamsObject.streamInfos.push_back(streamInfosObject); + } + casterStreams_.push_back(casterStreamsObject); + } + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +std::vector DescribeCasterStreamUrlResult::getCasterStreams()const +{ + return casterStreams_; +} + +int DescribeCasterStreamUrlResult::getTotal()const +{ + return total_; +} + +std::string DescribeCasterStreamUrlResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/DescribeCasterVideoResourcesRequest.cc b/live/src/model/DescribeCasterVideoResourcesRequest.cc new file mode 100644 index 000000000..403838eb0 --- /dev/null +++ b/live/src/model/DescribeCasterVideoResourcesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterVideoResourcesRequest; + +DescribeCasterVideoResourcesRequest::DescribeCasterVideoResourcesRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterVideoResources") +{} + +DescribeCasterVideoResourcesRequest::~DescribeCasterVideoResourcesRequest() +{} + +std::string DescribeCasterVideoResourcesRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCasterVideoResourcesRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long DescribeCasterVideoResourcesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCasterVideoResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeCasterVideoResourcesResult.cc b/live/src/model/DescribeCasterVideoResourcesResult.cc new file mode 100644 index 000000000..9d4f06277 --- /dev/null +++ b/live/src/model/DescribeCasterVideoResourcesResult.cc @@ -0,0 +1,81 @@ +/* + * 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; + +DescribeCasterVideoResourcesResult::DescribeCasterVideoResourcesResult() : + ServiceResult() +{} + +DescribeCasterVideoResourcesResult::DescribeCasterVideoResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterVideoResourcesResult::~DescribeCasterVideoResourcesResult() +{} + +void DescribeCasterVideoResourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allVideoResources = value["VideoResources"]["VideoResource"]; + for (auto value : allVideoResources) + { + VideoResource videoResourcesObject; + if(!value["MaterialId"].isNull()) + videoResourcesObject.materialId = value["MaterialId"].asString(); + if(!value["ResourceId"].isNull()) + videoResourcesObject.resourceId = value["ResourceId"].asString(); + if(!value["ResourceName"].isNull()) + videoResourcesObject.resourceName = value["ResourceName"].asString(); + if(!value["LocationId"].isNull()) + videoResourcesObject.locationId = value["LocationId"].asString(); + if(!value["LiveStreamUrl"].isNull()) + videoResourcesObject.liveStreamUrl = value["LiveStreamUrl"].asString(); + if(!value["RepeatNum"].isNull()) + videoResourcesObject.repeatNum = std::stoi(value["RepeatNum"].asString()); + if(!value["VodUrl"].isNull()) + videoResourcesObject.vodUrl = value["VodUrl"].asString(); + if(!value["BeginOffset"].isNull()) + videoResourcesObject.beginOffset = std::stoi(value["BeginOffset"].asString()); + if(!value["EndOffset"].isNull()) + videoResourcesObject.endOffset = std::stoi(value["EndOffset"].asString()); + videoResources_.push_back(videoResourcesObject); + } + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +int DescribeCasterVideoResourcesResult::getTotal()const +{ + return total_; +} + +std::vector DescribeCasterVideoResourcesResult::getVideoResources()const +{ + return videoResources_; +} + diff --git a/live/src/model/DescribeCastersRequest.cc b/live/src/model/DescribeCastersRequest.cc new file mode 100644 index 000000000..2424918bb --- /dev/null +++ b/live/src/model/DescribeCastersRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::DescribeCastersRequest; + +DescribeCastersRequest::DescribeCastersRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasters") +{} + +DescribeCastersRequest::~DescribeCastersRequest() +{} + +std::string DescribeCastersRequest::getCasterName()const +{ + return casterName_; +} + +void DescribeCastersRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); +} + +std::string DescribeCastersRequest::getCasterId()const +{ + return casterId_; +} + +void DescribeCastersRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +int DescribeCastersRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeCastersRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeCastersRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeCastersRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeCastersRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeCastersRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeCastersRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCastersRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeCastersRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeCastersRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +int DescribeCastersRequest::getStatus()const +{ + return status_; +} + +void DescribeCastersRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); +} + diff --git a/live/src/model/DescribeCastersResult.cc b/live/src/model/DescribeCastersResult.cc new file mode 100644 index 000000000..d09e38c93 --- /dev/null +++ b/live/src/model/DescribeCastersResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeCastersResult::DescribeCastersResult() : + ServiceResult() +{} + +DescribeCastersResult::DescribeCastersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCastersResult::~DescribeCastersResult() +{} + +void DescribeCastersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCasterList = value["CasterList"]["Caster"]; + for (auto value : allCasterList) + { + Caster casterListObject; + if(!value["Status"].isNull()) + casterListObject.status = std::stoi(value["Status"].asString()); + if(!value["NormType"].isNull()) + casterListObject.normType = std::stoi(value["NormType"].asString()); + if(!value["CasterId"].isNull()) + casterListObject.casterId = value["CasterId"].asString(); + if(!value["CasterName"].isNull()) + casterListObject.casterName = value["CasterName"].asString(); + if(!value["CreateTime"].isNull()) + casterListObject.createTime = value["CreateTime"].asString(); + if(!value["StartTime"].isNull()) + casterListObject.startTime = value["StartTime"].asString(); + if(!value["PurchaseTime"].isNull()) + casterListObject.purchaseTime = value["PurchaseTime"].asString(); + if(!value["ExpireTime"].isNull()) + casterListObject.expireTime = value["ExpireTime"].asString(); + if(!value["ChargeType"].isNull()) + casterListObject.chargeType = value["ChargeType"].asString(); + if(!value["CasterTemplate"].isNull()) + casterListObject.casterTemplate = value["CasterTemplate"].asString(); + casterList_.push_back(casterListObject); + } + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + +} + +int DescribeCastersResult::getTotal()const +{ + return total_; +} + +std::vector DescribeCastersResult::getCasterList()const +{ + return casterList_; +} + diff --git a/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc b/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc new file mode 100644 index 000000000..efe4929ed --- /dev/null +++ b/live/src/model/DescribeLiveDetectNotifyConfigRequest.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::DescribeLiveDetectNotifyConfigRequest; + +DescribeLiveDetectNotifyConfigRequest::DescribeLiveDetectNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDetectNotifyConfig") +{} + +DescribeLiveDetectNotifyConfigRequest::~DescribeLiveDetectNotifyConfigRequest() +{} + +std::string DescribeLiveDetectNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveDetectNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveDetectNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveDetectNotifyConfigResult.cc b/live/src/model/DescribeLiveDetectNotifyConfigResult.cc new file mode 100644 index 000000000..8d67007ad --- /dev/null +++ b/live/src/model/DescribeLiveDetectNotifyConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveDetectNotifyConfigResult::DescribeLiveDetectNotifyConfigResult() : + ServiceResult() +{} + +DescribeLiveDetectNotifyConfigResult::DescribeLiveDetectNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDetectNotifyConfigResult::~DescribeLiveDetectNotifyConfigResult() +{} + +void DescribeLiveDetectNotifyConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto liveDetectNotifyConfigNode = value["LiveDetectNotifyConfig"]; + if(!liveDetectNotifyConfigNode["DomainName"].isNull()) + liveDetectNotifyConfig_.domainName = liveDetectNotifyConfigNode["DomainName"].asString(); + if(!liveDetectNotifyConfigNode["NotifyUrl"].isNull()) + liveDetectNotifyConfig_.notifyUrl = liveDetectNotifyConfigNode["NotifyUrl"].asString(); + +} + +DescribeLiveDetectNotifyConfigResult::LiveDetectNotifyConfig DescribeLiveDetectNotifyConfigResult::getLiveDetectNotifyConfig()const +{ + return liveDetectNotifyConfig_; +} + diff --git a/live/src/model/DescribeLiveDomainRecordDataRequest.cc b/live/src/model/DescribeLiveDomainRecordDataRequest.cc new file mode 100644 index 000000000..beea080ab --- /dev/null +++ b/live/src/model/DescribeLiveDomainRecordDataRequest.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::DescribeLiveDomainRecordDataRequest; + +DescribeLiveDomainRecordDataRequest::DescribeLiveDomainRecordDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordData") +{} + +DescribeLiveDomainRecordDataRequest::~DescribeLiveDomainRecordDataRequest() +{} + +std::string DescribeLiveDomainRecordDataRequest::getRecordType()const +{ + return recordType_; +} + +void DescribeLiveDomainRecordDataRequest::setRecordType(const std::string& recordType) +{ + recordType_ = recordType; + setParameter("RecordType", recordType); +} + +std::string DescribeLiveDomainRecordDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDomainRecordDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveDomainRecordDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveDomainRecordDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveDomainRecordDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveDomainRecordDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveDomainRecordDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDomainRecordDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveDomainRecordDataResult.cc b/live/src/model/DescribeLiveDomainRecordDataResult.cc new file mode 100644 index 000000000..b16faa3ff --- /dev/null +++ b/live/src/model/DescribeLiveDomainRecordDataResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveDomainRecordDataResult::DescribeLiveDomainRecordDataResult() : + ServiceResult() +{} + +DescribeLiveDomainRecordDataResult::DescribeLiveDomainRecordDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainRecordDataResult::~DescribeLiveDomainRecordDataResult() +{} + +void DescribeLiveDomainRecordDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRecordDataInfos = value["RecordDataInfos"]["RecordDataInfo"]; + for (auto value : allRecordDataInfos) + { + RecordDataInfo recordDataInfosObject; + if(!value["Date"].isNull()) + recordDataInfosObject.date = value["Date"].asString(); + if(!value["Total"].isNull()) + recordDataInfosObject.total = std::stoi(value["Total"].asString()); + auto detailNode = value["Detail"]; + if(!detailNode["MP4"].isNull()) + recordDataInfosObject.detail.mP4 = std::stoi(detailNode["MP4"].asString()); + if(!detailNode["FLV"].isNull()) + recordDataInfosObject.detail.fLV = std::stoi(detailNode["FLV"].asString()); + if(!detailNode["TS"].isNull()) + recordDataInfosObject.detail.tS = std::stoi(detailNode["TS"].asString()); + recordDataInfos_.push_back(recordDataInfosObject); + } + +} + +std::vector DescribeLiveDomainRecordDataResult::getRecordDataInfos()const +{ + return recordDataInfos_; +} + diff --git a/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc b/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc new file mode 100644 index 000000000..0e988aade --- /dev/null +++ b/live/src/model/DescribeLiveDomainSnapshotDataRequest.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::DescribeLiveDomainSnapshotDataRequest; + +DescribeLiveDomainSnapshotDataRequest::DescribeLiveDomainSnapshotDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainSnapshotData") +{} + +DescribeLiveDomainSnapshotDataRequest::~DescribeLiveDomainSnapshotDataRequest() +{} + +std::string DescribeLiveDomainSnapshotDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDomainSnapshotDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveDomainSnapshotDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveDomainSnapshotDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveDomainSnapshotDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveDomainSnapshotDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveDomainSnapshotDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDomainSnapshotDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveDomainSnapshotDataResult.cc b/live/src/model/DescribeLiveDomainSnapshotDataResult.cc new file mode 100644 index 000000000..c2812e477 --- /dev/null +++ b/live/src/model/DescribeLiveDomainSnapshotDataResult.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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveDomainSnapshotDataResult::DescribeLiveDomainSnapshotDataResult() : + ServiceResult() +{} + +DescribeLiveDomainSnapshotDataResult::DescribeLiveDomainSnapshotDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainSnapshotDataResult::~DescribeLiveDomainSnapshotDataResult() +{} + +void DescribeLiveDomainSnapshotDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSnapshotDataInfos = value["SnapshotDataInfos"]["SnapshotDataInfo"]; + for (auto value : allSnapshotDataInfos) + { + SnapshotDataInfo snapshotDataInfosObject; + if(!value["Date"].isNull()) + snapshotDataInfosObject.date = value["Date"].asString(); + if(!value["Total"].isNull()) + snapshotDataInfosObject.total = std::stoi(value["Total"].asString()); + snapshotDataInfos_.push_back(snapshotDataInfosObject); + } + +} + +std::vector DescribeLiveDomainSnapshotDataResult::getSnapshotDataInfos()const +{ + return snapshotDataInfos_; +} + diff --git a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc new file mode 100644 index 000000000..d453dc21a --- /dev/null +++ b/live/src/model/DescribeLiveDomainTranscodeDataRequest.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::DescribeLiveDomainTranscodeDataRequest; + +DescribeLiveDomainTranscodeDataRequest::DescribeLiveDomainTranscodeDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTranscodeData") +{} + +DescribeLiveDomainTranscodeDataRequest::~DescribeLiveDomainTranscodeDataRequest() +{} + +std::string DescribeLiveDomainTranscodeDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDomainTranscodeDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveDomainTranscodeDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveDomainTranscodeDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveDomainTranscodeDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveDomainTranscodeDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveDomainTranscodeDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDomainTranscodeDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveDomainTranscodeDataResult.cc b/live/src/model/DescribeLiveDomainTranscodeDataResult.cc new file mode 100644 index 000000000..14e96e947 --- /dev/null +++ b/live/src/model/DescribeLiveDomainTranscodeDataResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveDomainTranscodeDataResult::DescribeLiveDomainTranscodeDataResult() : + ServiceResult() +{} + +DescribeLiveDomainTranscodeDataResult::DescribeLiveDomainTranscodeDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainTranscodeDataResult::~DescribeLiveDomainTranscodeDataResult() +{} + +void DescribeLiveDomainTranscodeDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTranscodeDataInfos = value["TranscodeDataInfos"]["TranscodeDataInfo"]; + for (auto value : allTranscodeDataInfos) + { + TranscodeDataInfo transcodeDataInfosObject; + if(!value["Date"].isNull()) + transcodeDataInfosObject.date = value["Date"].asString(); + if(!value["Total"].isNull()) + transcodeDataInfosObject.total = std::stoi(value["Total"].asString()); + if(!value["Detail"].isNull()) + transcodeDataInfosObject.detail = value["Detail"].asString(); + transcodeDataInfos_.push_back(transcodeDataInfosObject); + } + +} + +std::vector DescribeLiveDomainTranscodeDataResult::getTranscodeDataInfos()const +{ + return transcodeDataInfos_; +} + diff --git a/live/src/model/DescribeLiveMixConfigRequest.cc b/live/src/model/DescribeLiveMixConfigRequest.cc new file mode 100644 index 000000000..e15de7537 --- /dev/null +++ b/live/src/model/DescribeLiveMixConfigRequest.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::DescribeLiveMixConfigRequest; + +DescribeLiveMixConfigRequest::DescribeLiveMixConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveMixConfig") +{} + +DescribeLiveMixConfigRequest::~DescribeLiveMixConfigRequest() +{} + +std::string DescribeLiveMixConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveMixConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveMixConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveMixConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveMixConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveMixConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveMixConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveMixConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveMixConfigResult.cc b/live/src/model/DescribeLiveMixConfigResult.cc new file mode 100644 index 000000000..5da59e5a6 --- /dev/null +++ b/live/src/model/DescribeLiveMixConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveMixConfigResult::DescribeLiveMixConfigResult() : + ServiceResult() +{} + +DescribeLiveMixConfigResult::DescribeLiveMixConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveMixConfigResult::~DescribeLiveMixConfigResult() +{} + +void DescribeLiveMixConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allMixConfigList = value["MixConfigList"]["MixConfig"]; + for (auto value : allMixConfigList) + { + MixConfig mixConfigListObject; + if(!value["DomainName"].isNull()) + mixConfigListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + mixConfigListObject.appName = value["AppName"].asString(); + if(!value["Template"].isNull()) + mixConfigListObject._template = value["Template"].asString(); + mixConfigList_.push_back(mixConfigListObject); + } + +} + +std::vector DescribeLiveMixConfigResult::getMixConfigList()const +{ + return mixConfigList_; +} + diff --git a/live/src/model/DescribeLiveMixNotifyConfigRequest.cc b/live/src/model/DescribeLiveMixNotifyConfigRequest.cc new file mode 100644 index 000000000..f51692538 --- /dev/null +++ b/live/src/model/DescribeLiveMixNotifyConfigRequest.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::DescribeLiveMixNotifyConfigRequest; + +DescribeLiveMixNotifyConfigRequest::DescribeLiveMixNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveMixNotifyConfig") +{} + +DescribeLiveMixNotifyConfigRequest::~DescribeLiveMixNotifyConfigRequest() +{} + +std::string DescribeLiveMixNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveMixNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveMixNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveMixNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveMixNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveMixNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveMixNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveMixNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveMixNotifyConfigResult.cc b/live/src/model/DescribeLiveMixNotifyConfigResult.cc new file mode 100644 index 000000000..8c82e8229 --- /dev/null +++ b/live/src/model/DescribeLiveMixNotifyConfigResult.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; + +DescribeLiveMixNotifyConfigResult::DescribeLiveMixNotifyConfigResult() : + ServiceResult() +{} + +DescribeLiveMixNotifyConfigResult::DescribeLiveMixNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveMixNotifyConfigResult::~DescribeLiveMixNotifyConfigResult() +{} + +void DescribeLiveMixNotifyConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["NotifyUrl"].isNull()) + notifyUrl_ = value["NotifyUrl"].asString(); + +} + +std::string DescribeLiveMixNotifyConfigResult::getNotifyUrl()const +{ + return notifyUrl_; +} + diff --git a/live/src/model/DescribeLivePullStreamConfigRequest.cc b/live/src/model/DescribeLivePullStreamConfigRequest.cc new file mode 100644 index 000000000..ae98d08c1 --- /dev/null +++ b/live/src/model/DescribeLivePullStreamConfigRequest.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::DescribeLivePullStreamConfigRequest; + +DescribeLivePullStreamConfigRequest::DescribeLivePullStreamConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLivePullStreamConfig") +{} + +DescribeLivePullStreamConfigRequest::~DescribeLivePullStreamConfigRequest() +{} + +std::string DescribeLivePullStreamConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLivePullStreamConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLivePullStreamConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLivePullStreamConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLivePullStreamConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLivePullStreamConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLivePullStreamConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLivePullStreamConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLivePullStreamConfigResult.cc b/live/src/model/DescribeLivePullStreamConfigResult.cc new file mode 100644 index 000000000..0fe0784f7 --- /dev/null +++ b/live/src/model/DescribeLivePullStreamConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLivePullStreamConfigResult::DescribeLivePullStreamConfigResult() : + ServiceResult() +{} + +DescribeLivePullStreamConfigResult::DescribeLivePullStreamConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLivePullStreamConfigResult::~DescribeLivePullStreamConfigResult() +{} + +void DescribeLivePullStreamConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveAppRecordList = value["LiveAppRecordList"]["LiveAppRecord"]; + for (auto value : allLiveAppRecordList) + { + LiveAppRecord liveAppRecordListObject; + if(!value["DomainName"].isNull()) + liveAppRecordListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + liveAppRecordListObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + liveAppRecordListObject.streamName = value["StreamName"].asString(); + if(!value["SourceUrl"].isNull()) + liveAppRecordListObject.sourceUrl = value["SourceUrl"].asString(); + if(!value["StartTime"].isNull()) + liveAppRecordListObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + liveAppRecordListObject.endTime = value["EndTime"].asString(); + liveAppRecordList_.push_back(liveAppRecordListObject); + } + +} + +std::vector DescribeLivePullStreamConfigResult::getLiveAppRecordList()const +{ + return liveAppRecordList_; +} + diff --git a/live/src/model/DescribeLiveRecordConfigRequest.cc b/live/src/model/DescribeLiveRecordConfigRequest.cc new file mode 100644 index 000000000..f926c5bbe --- /dev/null +++ b/live/src/model/DescribeLiveRecordConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveRecordConfigRequest; + +DescribeLiveRecordConfigRequest::DescribeLiveRecordConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordConfig") +{} + +DescribeLiveRecordConfigRequest::~DescribeLiveRecordConfigRequest() +{} + +std::string DescribeLiveRecordConfigRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveRecordConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveRecordConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveRecordConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveRecordConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int DescribeLiveRecordConfigRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveRecordConfigRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeLiveRecordConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeLiveRecordConfigRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeLiveRecordConfigRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeLiveRecordConfigRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveRecordConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveRecordConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveRecordConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLiveRecordConfigRequest::getOrder()const +{ + return order_; +} + +void DescribeLiveRecordConfigRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + diff --git a/live/src/model/DescribeLiveRecordConfigResult.cc b/live/src/model/DescribeLiveRecordConfigResult.cc new file mode 100644 index 000000000..9dbc28748 --- /dev/null +++ b/live/src/model/DescribeLiveRecordConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult() : + ServiceResult() +{} + +DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveRecordConfigResult::~DescribeLiveRecordConfigResult() +{} + +void DescribeLiveRecordConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveAppRecordList = value["LiveAppRecordList"]["LiveAppRecord"]; + for (auto value : allLiveAppRecordList) + { + LiveAppRecord liveAppRecordListObject; + if(!value["DomainName"].isNull()) + liveAppRecordListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + liveAppRecordListObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + liveAppRecordListObject.streamName = value["StreamName"].asString(); + if(!value["OssEndpoint"].isNull()) + liveAppRecordListObject.ossEndpoint = value["OssEndpoint"].asString(); + if(!value["OssBucket"].isNull()) + liveAppRecordListObject.ossBucket = value["OssBucket"].asString(); + if(!value["CreateTime"].isNull()) + liveAppRecordListObject.createTime = value["CreateTime"].asString(); + if(!value["StartTime"].isNull()) + liveAppRecordListObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + liveAppRecordListObject.endTime = value["EndTime"].asString(); + if(!value["OnDemond"].isNull()) + liveAppRecordListObject.onDemond = std::stoi(value["OnDemond"].asString()); + auto allRecordFormatList = value["RecordFormatList"]["RecordFormat"]; + for (auto value : allRecordFormatList) + { + LiveAppRecord::RecordFormat recordFormatListObject; + if(!value["Format"].isNull()) + recordFormatListObject.format = value["Format"].asString(); + if(!value["OssObjectPrefix"].isNull()) + recordFormatListObject.ossObjectPrefix = value["OssObjectPrefix"].asString(); + if(!value["SliceOssObjectPrefix"].isNull()) + recordFormatListObject.sliceOssObjectPrefix = value["SliceOssObjectPrefix"].asString(); + if(!value["CycleDuration"].isNull()) + recordFormatListObject.cycleDuration = std::stoi(value["CycleDuration"].asString()); + liveAppRecordListObject.recordFormatList.push_back(recordFormatListObject); + } + liveAppRecordList_.push_back(liveAppRecordListObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Order"].isNull()) + order_ = value["Order"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +std::string DescribeLiveRecordConfigResult::getOrder()const +{ + return order_; +} + +int DescribeLiveRecordConfigResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLiveRecordConfigResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveRecordConfigResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLiveRecordConfigResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeLiveRecordConfigResult::getLiveAppRecordList()const +{ + return liveAppRecordList_; +} + diff --git a/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc b/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc new file mode 100644 index 000000000..6c07c4eb9 --- /dev/null +++ b/live/src/model/DescribeLiveRecordNotifyConfigRequest.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::DescribeLiveRecordNotifyConfigRequest; + +DescribeLiveRecordNotifyConfigRequest::DescribeLiveRecordNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordNotifyConfig") +{} + +DescribeLiveRecordNotifyConfigRequest::~DescribeLiveRecordNotifyConfigRequest() +{} + +std::string DescribeLiveRecordNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveRecordNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveRecordNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveRecordNotifyConfigResult.cc b/live/src/model/DescribeLiveRecordNotifyConfigResult.cc new file mode 100644 index 000000000..3f1140ed4 --- /dev/null +++ b/live/src/model/DescribeLiveRecordNotifyConfigResult.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; + +DescribeLiveRecordNotifyConfigResult::DescribeLiveRecordNotifyConfigResult() : + ServiceResult() +{} + +DescribeLiveRecordNotifyConfigResult::DescribeLiveRecordNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveRecordNotifyConfigResult::~DescribeLiveRecordNotifyConfigResult() +{} + +void DescribeLiveRecordNotifyConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto liveRecordNotifyConfigNode = value["LiveRecordNotifyConfig"]; + if(!liveRecordNotifyConfigNode["DomainName"].isNull()) + liveRecordNotifyConfig_.domainName = liveRecordNotifyConfigNode["DomainName"].asString(); + if(!liveRecordNotifyConfigNode["NotifyUrl"].isNull()) + liveRecordNotifyConfig_.notifyUrl = liveRecordNotifyConfigNode["NotifyUrl"].asString(); + if(!liveRecordNotifyConfigNode["OnDemandUrl"].isNull()) + liveRecordNotifyConfig_.onDemandUrl = liveRecordNotifyConfigNode["OnDemandUrl"].asString(); + if(!liveRecordNotifyConfigNode["NeedStatusNotify"].isNull()) + liveRecordNotifyConfig_.needStatusNotify = liveRecordNotifyConfigNode["NeedStatusNotify"].asString() == "true"; + +} + +DescribeLiveRecordNotifyConfigResult::LiveRecordNotifyConfig DescribeLiveRecordNotifyConfigResult::getLiveRecordNotifyConfig()const +{ + return liveRecordNotifyConfig_; +} + diff --git a/live/src/model/DescribeLiveRecordVodConfigsRequest.cc b/live/src/model/DescribeLiveRecordVodConfigsRequest.cc new file mode 100644 index 000000000..8695b63cb --- /dev/null +++ b/live/src/model/DescribeLiveRecordVodConfigsRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::DescribeLiveRecordVodConfigsRequest; + +DescribeLiveRecordVodConfigsRequest::DescribeLiveRecordVodConfigsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordVodConfigs") +{} + +DescribeLiveRecordVodConfigsRequest::~DescribeLiveRecordVodConfigsRequest() +{} + +std::string DescribeLiveRecordVodConfigsRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveRecordVodConfigsRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveRecordVodConfigsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeLiveRecordVodConfigsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long DescribeLiveRecordVodConfigsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeLiveRecordVodConfigsRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeLiveRecordVodConfigsRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveRecordVodConfigsRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + diff --git a/live/src/model/DescribeLiveRecordVodConfigsResult.cc b/live/src/model/DescribeLiveRecordVodConfigsResult.cc new file mode 100644 index 000000000..74cdd5fe9 --- /dev/null +++ b/live/src/model/DescribeLiveRecordVodConfigsResult.cc @@ -0,0 +1,93 @@ +/* + * 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; + +DescribeLiveRecordVodConfigsResult::DescribeLiveRecordVodConfigsResult() : + ServiceResult() +{} + +DescribeLiveRecordVodConfigsResult::DescribeLiveRecordVodConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveRecordVodConfigsResult::~DescribeLiveRecordVodConfigsResult() +{} + +void DescribeLiveRecordVodConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveRecordVodConfigs = value["LiveRecordVodConfigs"]["LiveRecordVodConfig"]; + for (auto value : allLiveRecordVodConfigs) + { + LiveRecordVodConfig liveRecordVodConfigsObject; + if(!value["CreateTime"].isNull()) + liveRecordVodConfigsObject.createTime = value["CreateTime"].asString(); + if(!value["DomainName"].isNull()) + liveRecordVodConfigsObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + liveRecordVodConfigsObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + liveRecordVodConfigsObject.streamName = value["StreamName"].asString(); + if(!value["VodTranscodeGroupId"].isNull()) + liveRecordVodConfigsObject.vodTranscodeGroupId = value["VodTranscodeGroupId"].asString(); + if(!value["CycleDuration"].isNull()) + liveRecordVodConfigsObject.cycleDuration = std::stoi(value["CycleDuration"].asString()); + if(!value["AutoCompose"].isNull()) + liveRecordVodConfigsObject.autoCompose = value["AutoCompose"].asString(); + if(!value["ComposeVodTranscodeGroupId"].isNull()) + liveRecordVodConfigsObject.composeVodTranscodeGroupId = value["ComposeVodTranscodeGroupId"].asString(); + liveRecordVodConfigs_.push_back(liveRecordVodConfigsObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Total"].isNull()) + total_ = value["Total"].asString(); + +} + +std::vector DescribeLiveRecordVodConfigsResult::getLiveRecordVodConfigs()const +{ + return liveRecordVodConfigs_; +} + +int DescribeLiveRecordVodConfigsResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveRecordVodConfigsResult::getPageSize()const +{ + return pageSize_; +} + +std::string DescribeLiveRecordVodConfigsResult::getTotal()const +{ + return total_; +} + diff --git a/live/src/model/DescribeLiveSnapshotConfigRequest.cc b/live/src/model/DescribeLiveSnapshotConfigRequest.cc new file mode 100644 index 000000000..ec31c91f8 --- /dev/null +++ b/live/src/model/DescribeLiveSnapshotConfigRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::DescribeLiveSnapshotConfigRequest; + +DescribeLiveSnapshotConfigRequest::DescribeLiveSnapshotConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotConfig") +{} + +DescribeLiveSnapshotConfigRequest::~DescribeLiveSnapshotConfigRequest() +{} + +std::string DescribeLiveSnapshotConfigRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveSnapshotConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int DescribeLiveSnapshotConfigRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeLiveSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeLiveSnapshotConfigRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeLiveSnapshotConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveSnapshotConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLiveSnapshotConfigRequest::getOrder()const +{ + return order_; +} + +void DescribeLiveSnapshotConfigRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + diff --git a/live/src/model/DescribeLiveSnapshotConfigResult.cc b/live/src/model/DescribeLiveSnapshotConfigResult.cc new file mode 100644 index 000000000..a4b2427a0 --- /dev/null +++ b/live/src/model/DescribeLiveSnapshotConfigResult.cc @@ -0,0 +1,107 @@ +/* + * 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; + +DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult() : + ServiceResult() +{} + +DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveSnapshotConfigResult::~DescribeLiveSnapshotConfigResult() +{} + +void DescribeLiveSnapshotConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveStreamSnapshotConfigList = value["LiveStreamSnapshotConfigList"]["LiveStreamSnapshotConfig"]; + for (auto value : allLiveStreamSnapshotConfigList) + { + LiveStreamSnapshotConfig liveStreamSnapshotConfigListObject; + if(!value["DomainName"].isNull()) + liveStreamSnapshotConfigListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + liveStreamSnapshotConfigListObject.appName = value["AppName"].asString(); + if(!value["TimeInterval"].isNull()) + liveStreamSnapshotConfigListObject.timeInterval = std::stoi(value["TimeInterval"].asString()); + if(!value["OssEndpoint"].isNull()) + liveStreamSnapshotConfigListObject.ossEndpoint = value["OssEndpoint"].asString(); + if(!value["OssBucket"].isNull()) + liveStreamSnapshotConfigListObject.ossBucket = value["OssBucket"].asString(); + if(!value["OverwriteOssObject"].isNull()) + liveStreamSnapshotConfigListObject.overwriteOssObject = value["OverwriteOssObject"].asString(); + if(!value["SequenceOssObject"].isNull()) + liveStreamSnapshotConfigListObject.sequenceOssObject = value["SequenceOssObject"].asString(); + if(!value["CreateTime"].isNull()) + liveStreamSnapshotConfigListObject.createTime = value["CreateTime"].asString(); + liveStreamSnapshotConfigList_.push_back(liveStreamSnapshotConfigListObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Order"].isNull()) + order_ = value["Order"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +std::string DescribeLiveSnapshotConfigResult::getOrder()const +{ + return order_; +} + +int DescribeLiveSnapshotConfigResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLiveSnapshotConfigResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveSnapshotConfigResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLiveSnapshotConfigResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeLiveSnapshotConfigResult::getLiveStreamSnapshotConfigList()const +{ + return liveStreamSnapshotConfigList_; +} + diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc new file mode 100644 index 000000000..335778fd9 --- /dev/null +++ b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::DescribeLiveSnapshotDetectPornConfigRequest; + +DescribeLiveSnapshotDetectPornConfigRequest::DescribeLiveSnapshotDetectPornConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotDetectPornConfig") +{} + +DescribeLiveSnapshotDetectPornConfigRequest::~DescribeLiveSnapshotDetectPornConfigRequest() +{} + +std::string DescribeLiveSnapshotDetectPornConfigRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int DescribeLiveSnapshotDetectPornConfigRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeLiveSnapshotDetectPornConfigRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeLiveSnapshotDetectPornConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLiveSnapshotDetectPornConfigRequest::getOrder()const +{ + return order_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc new file mode 100644 index 000000000..c3b9012be --- /dev/null +++ b/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc @@ -0,0 +1,106 @@ +/* + * 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; + +DescribeLiveSnapshotDetectPornConfigResult::DescribeLiveSnapshotDetectPornConfigResult() : + ServiceResult() +{} + +DescribeLiveSnapshotDetectPornConfigResult::DescribeLiveSnapshotDetectPornConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveSnapshotDetectPornConfigResult::~DescribeLiveSnapshotDetectPornConfigResult() +{} + +void DescribeLiveSnapshotDetectPornConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveSnapshotDetectPornConfigList = value["LiveSnapshotDetectPornConfigList"]["LiveSnapshotDetectPornConfig"]; + for (auto value : allLiveSnapshotDetectPornConfigList) + { + LiveSnapshotDetectPornConfig liveSnapshotDetectPornConfigListObject; + if(!value["DomainName"].isNull()) + liveSnapshotDetectPornConfigListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + liveSnapshotDetectPornConfigListObject.appName = value["AppName"].asString(); + if(!value["OssEndpoint"].isNull()) + liveSnapshotDetectPornConfigListObject.ossEndpoint = value["OssEndpoint"].asString(); + if(!value["OssBucket"].isNull()) + liveSnapshotDetectPornConfigListObject.ossBucket = value["OssBucket"].asString(); + if(!value["OssObject"].isNull()) + liveSnapshotDetectPornConfigListObject.ossObject = value["OssObject"].asString(); + if(!value["Interval"].isNull()) + liveSnapshotDetectPornConfigListObject.interval = std::stoi(value["Interval"].asString()); + auto allScenes = value["Scenes"]["scene"]; + for (auto value : allScenes) + liveSnapshotDetectPornConfigListObject.scenes.push_back(value.asString()); + liveSnapshotDetectPornConfigList_.push_back(liveSnapshotDetectPornConfigListObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Order"].isNull()) + order_ = value["Order"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +std::string DescribeLiveSnapshotDetectPornConfigResult::getOrder()const +{ + return order_; +} + +int DescribeLiveSnapshotDetectPornConfigResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLiveSnapshotDetectPornConfigResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveSnapshotDetectPornConfigResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLiveSnapshotDetectPornConfigResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeLiveSnapshotDetectPornConfigResult::getLiveSnapshotDetectPornConfigList()const +{ + return liveSnapshotDetectPornConfigList_; +} + diff --git a/live/src/model/DescribeLiveStreamBitRateDataRequest.cc b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc new file mode 100644 index 000000000..3ad733331 --- /dev/null +++ b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::DescribeLiveStreamBitRateDataRequest; + +DescribeLiveStreamBitRateDataRequest::DescribeLiveStreamBitRateDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamBitRateData") +{} + +DescribeLiveStreamBitRateDataRequest::~DescribeLiveStreamBitRateDataRequest() +{} + +std::string DescribeLiveStreamBitRateDataRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamBitRateDataRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamBitRateDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamBitRateDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamBitRateDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamBitRateDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamBitRateDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamBitRateDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamBitRateDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamBitRateDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamBitRateDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamBitRateDataRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamBitRateDataRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamBitRateDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamBitRateDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamBitRateDataResult.cc b/live/src/model/DescribeLiveStreamBitRateDataResult.cc new file mode 100644 index 000000000..1cc88eba6 --- /dev/null +++ b/live/src/model/DescribeLiveStreamBitRateDataResult.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; + +DescribeLiveStreamBitRateDataResult::DescribeLiveStreamBitRateDataResult() : + ServiceResult() +{} + +DescribeLiveStreamBitRateDataResult::DescribeLiveStreamBitRateDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamBitRateDataResult::~DescribeLiveStreamBitRateDataResult() +{} + +void DescribeLiveStreamBitRateDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allFrameRateAndBitRateInfos = value["FrameRateAndBitRateInfos"]["FrameRateAndBitRateInfo"]; + for (auto value : allFrameRateAndBitRateInfos) + { + FrameRateAndBitRateInfo frameRateAndBitRateInfosObject; + if(!value["StreamUrl"].isNull()) + frameRateAndBitRateInfosObject.streamUrl = value["StreamUrl"].asString(); + if(!value["VideoFrameRate"].isNull()) + frameRateAndBitRateInfosObject.videoFrameRate = std::stof(value["VideoFrameRate"].asString()); + if(!value["AudioFrameRate"].isNull()) + frameRateAndBitRateInfosObject.audioFrameRate = std::stof(value["AudioFrameRate"].asString()); + if(!value["BitRate"].isNull()) + frameRateAndBitRateInfosObject.bitRate = std::stof(value["BitRate"].asString()); + if(!value["Time"].isNull()) + frameRateAndBitRateInfosObject.time = value["Time"].asString(); + frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject); + } + +} + +std::vector DescribeLiveStreamBitRateDataResult::getFrameRateAndBitRateInfos()const +{ + return frameRateAndBitRateInfos_; +} + diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc new file mode 100644 index 000000000..86ff28051 --- /dev/null +++ b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::DescribeLiveStreamHistoryUserNumRequest; + +DescribeLiveStreamHistoryUserNumRequest::DescribeLiveStreamHistoryUserNumRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamHistoryUserNum") +{} + +DescribeLiveStreamHistoryUserNumRequest::~DescribeLiveStreamHistoryUserNumRequest() +{} + +std::string DescribeLiveStreamHistoryUserNumRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamHistoryUserNumRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamHistoryUserNumRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamHistoryUserNumRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamHistoryUserNumRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamHistoryUserNumRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamHistoryUserNumRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamHistoryUserNumRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc b/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc new file mode 100644 index 000000000..f19099937 --- /dev/null +++ b/live/src/model/DescribeLiveStreamHistoryUserNumResult.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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamHistoryUserNumResult::DescribeLiveStreamHistoryUserNumResult() : + ServiceResult() +{} + +DescribeLiveStreamHistoryUserNumResult::DescribeLiveStreamHistoryUserNumResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamHistoryUserNumResult::~DescribeLiveStreamHistoryUserNumResult() +{} + +void DescribeLiveStreamHistoryUserNumResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveStreamUserNumInfos = value["LiveStreamUserNumInfos"]["LiveStreamUserNumInfo"]; + for (auto value : allLiveStreamUserNumInfos) + { + LiveStreamUserNumInfo liveStreamUserNumInfosObject; + if(!value["StreamTime"].isNull()) + liveStreamUserNumInfosObject.streamTime = value["StreamTime"].asString(); + if(!value["UserNum"].isNull()) + liveStreamUserNumInfosObject.userNum = value["UserNum"].asString(); + liveStreamUserNumInfos_.push_back(liveStreamUserNumInfosObject); + } + +} + +std::vector DescribeLiveStreamHistoryUserNumResult::getLiveStreamUserNumInfos()const +{ + return liveStreamUserNumInfos_; +} + diff --git a/live/src/model/DescribeLiveStreamOnlineUserNumRequest.cc b/live/src/model/DescribeLiveStreamOnlineUserNumRequest.cc new file mode 100644 index 000000000..3a671a582 --- /dev/null +++ b/live/src/model/DescribeLiveStreamOnlineUserNumRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamOnlineUserNumRequest; + +DescribeLiveStreamOnlineUserNumRequest::DescribeLiveStreamOnlineUserNumRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamOnlineUserNum") +{} + +DescribeLiveStreamOnlineUserNumRequest::~DescribeLiveStreamOnlineUserNumRequest() +{} + +std::string DescribeLiveStreamOnlineUserNumRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamOnlineUserNumRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamOnlineUserNumRequest::getHlsSwitch()const +{ + return hlsSwitch_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setHlsSwitch(const std::string& hlsSwitch) +{ + hlsSwitch_ = hlsSwitch; + setParameter("HlsSwitch", hlsSwitch); +} + +std::string DescribeLiveStreamOnlineUserNumRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamOnlineUserNumRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamOnlineUserNumRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamOnlineUserNumRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamOnlineUserNumRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamOnlineUserNumRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamOnlineUserNumRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamOnlineUserNumResult.cc b/live/src/model/DescribeLiveStreamOnlineUserNumResult.cc new file mode 100644 index 000000000..e8c22c541 --- /dev/null +++ b/live/src/model/DescribeLiveStreamOnlineUserNumResult.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; + +DescribeLiveStreamOnlineUserNumResult::DescribeLiveStreamOnlineUserNumResult() : + ServiceResult() +{} + +DescribeLiveStreamOnlineUserNumResult::DescribeLiveStreamOnlineUserNumResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamOnlineUserNumResult::~DescribeLiveStreamOnlineUserNumResult() +{} + +void DescribeLiveStreamOnlineUserNumResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allOnlineUserInfo = value["OnlineUserInfo"]["LiveStreamOnlineUserNumInfo"]; + for (auto value : allOnlineUserInfo) + { + LiveStreamOnlineUserNumInfo onlineUserInfoObject; + if(!value["StreamUrl"].isNull()) + onlineUserInfoObject.streamUrl = value["StreamUrl"].asString(); + if(!value["UserNumber"].isNull()) + onlineUserInfoObject.userNumber = std::stol(value["UserNumber"].asString()); + if(!value["Time"].isNull()) + onlineUserInfoObject.time = value["Time"].asString(); + onlineUserInfo_.push_back(onlineUserInfoObject); + } + if(!value["TotalUserNumber"].isNull()) + totalUserNumber_ = std::stol(value["TotalUserNumber"].asString()); + +} + +std::vector DescribeLiveStreamOnlineUserNumResult::getOnlineUserInfo()const +{ + return onlineUserInfo_; +} + +long DescribeLiveStreamOnlineUserNumResult::getTotalUserNumber()const +{ + return totalUserNumber_; +} + diff --git a/live/src/model/DescribeLiveStreamRecordContentRequest.cc b/live/src/model/DescribeLiveStreamRecordContentRequest.cc new file mode 100644 index 000000000..8395728e8 --- /dev/null +++ b/live/src/model/DescribeLiveStreamRecordContentRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::DescribeLiveStreamRecordContentRequest; + +DescribeLiveStreamRecordContentRequest::DescribeLiveStreamRecordContentRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordContent") +{} + +DescribeLiveStreamRecordContentRequest::~DescribeLiveStreamRecordContentRequest() +{} + +std::string DescribeLiveStreamRecordContentRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamRecordContentRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamRecordContentRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamRecordContentRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamRecordContentRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamRecordContentRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamRecordContentRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamRecordContentRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamRecordContentRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamRecordContentRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamRecordContentRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamRecordContentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamRecordContentRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamRecordContentRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamRecordContentRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamRecordContentRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamRecordContentResult.cc b/live/src/model/DescribeLiveStreamRecordContentResult.cc new file mode 100644 index 000000000..6685cf776 --- /dev/null +++ b/live/src/model/DescribeLiveStreamRecordContentResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamRecordContentResult::DescribeLiveStreamRecordContentResult() : + ServiceResult() +{} + +DescribeLiveStreamRecordContentResult::DescribeLiveStreamRecordContentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamRecordContentResult::~DescribeLiveStreamRecordContentResult() +{} + +void DescribeLiveStreamRecordContentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRecordContentInfoList = value["RecordContentInfoList"]["RecordContentInfo"]; + for (auto value : allRecordContentInfoList) + { + RecordContentInfo recordContentInfoListObject; + if(!value["OssEndpoint"].isNull()) + recordContentInfoListObject.ossEndpoint = value["OssEndpoint"].asString(); + if(!value["OssBucket"].isNull()) + recordContentInfoListObject.ossBucket = value["OssBucket"].asString(); + if(!value["OssObjectPrefix"].isNull()) + recordContentInfoListObject.ossObjectPrefix = value["OssObjectPrefix"].asString(); + if(!value["StartTime"].isNull()) + recordContentInfoListObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + recordContentInfoListObject.endTime = value["EndTime"].asString(); + if(!value["Duration"].isNull()) + recordContentInfoListObject.duration = std::stof(value["Duration"].asString()); + recordContentInfoList_.push_back(recordContentInfoListObject); + } + +} + +std::vector DescribeLiveStreamRecordContentResult::getRecordContentInfoList()const +{ + return recordContentInfoList_; +} + diff --git a/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc b/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc new file mode 100644 index 000000000..3f8171462 --- /dev/null +++ b/live/src/model/DescribeLiveStreamRecordIndexFileRequest.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::DescribeLiveStreamRecordIndexFileRequest; + +DescribeLiveStreamRecordIndexFileRequest::DescribeLiveStreamRecordIndexFileRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordIndexFile") +{} + +DescribeLiveStreamRecordIndexFileRequest::~DescribeLiveStreamRecordIndexFileRequest() +{} + +std::string DescribeLiveStreamRecordIndexFileRequest::getRecordId()const +{ + return recordId_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); +} + +std::string DescribeLiveStreamRecordIndexFileRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveStreamRecordIndexFileRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamRecordIndexFileRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc new file mode 100644 index 000000000..b09975e3f --- /dev/null +++ b/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc @@ -0,0 +1,79 @@ +/* + * 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; + +DescribeLiveStreamRecordIndexFileResult::DescribeLiveStreamRecordIndexFileResult() : + ServiceResult() +{} + +DescribeLiveStreamRecordIndexFileResult::DescribeLiveStreamRecordIndexFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamRecordIndexFileResult::~DescribeLiveStreamRecordIndexFileResult() +{} + +void DescribeLiveStreamRecordIndexFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto recordIndexInfoNode = value["RecordIndexInfo"]; + if(!recordIndexInfoNode["RecordId"].isNull()) + recordIndexInfo_.recordId = recordIndexInfoNode["RecordId"].asString(); + if(!recordIndexInfoNode["RecordUrl"].isNull()) + recordIndexInfo_.recordUrl = recordIndexInfoNode["RecordUrl"].asString(); + if(!recordIndexInfoNode["DomainName"].isNull()) + recordIndexInfo_.domainName = recordIndexInfoNode["DomainName"].asString(); + if(!recordIndexInfoNode["AppName"].isNull()) + recordIndexInfo_.appName = recordIndexInfoNode["AppName"].asString(); + if(!recordIndexInfoNode["StreamName"].isNull()) + recordIndexInfo_.streamName = recordIndexInfoNode["StreamName"].asString(); + if(!recordIndexInfoNode["OssBucket"].isNull()) + recordIndexInfo_.ossBucket = recordIndexInfoNode["OssBucket"].asString(); + if(!recordIndexInfoNode["OssEndpoint"].isNull()) + recordIndexInfo_.ossEndpoint = recordIndexInfoNode["OssEndpoint"].asString(); + if(!recordIndexInfoNode["OssObject"].isNull()) + recordIndexInfo_.ossObject = recordIndexInfoNode["OssObject"].asString(); + if(!recordIndexInfoNode["StartTime"].isNull()) + recordIndexInfo_.startTime = recordIndexInfoNode["StartTime"].asString(); + if(!recordIndexInfoNode["EndTime"].isNull()) + recordIndexInfo_.endTime = recordIndexInfoNode["EndTime"].asString(); + if(!recordIndexInfoNode["Duration"].isNull()) + recordIndexInfo_.duration = std::stof(recordIndexInfoNode["Duration"].asString()); + if(!recordIndexInfoNode["Height"].isNull()) + recordIndexInfo_.height = std::stoi(recordIndexInfoNode["Height"].asString()); + if(!recordIndexInfoNode["Width"].isNull()) + recordIndexInfo_.width = std::stoi(recordIndexInfoNode["Width"].asString()); + if(!recordIndexInfoNode["CreateTime"].isNull()) + recordIndexInfo_.createTime = recordIndexInfoNode["CreateTime"].asString(); + +} + +DescribeLiveStreamRecordIndexFileResult::RecordIndexInfo DescribeLiveStreamRecordIndexFileResult::getRecordIndexInfo()const +{ + return recordIndexInfo_; +} + diff --git a/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc b/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc new file mode 100644 index 000000000..6027c88bd --- /dev/null +++ b/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc @@ -0,0 +1,148 @@ +/* + * 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::DescribeLiveStreamRecordIndexFilesRequest; + +DescribeLiveStreamRecordIndexFilesRequest::DescribeLiveStreamRecordIndexFilesRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordIndexFiles") +{} + +DescribeLiveStreamRecordIndexFilesRequest::~DescribeLiveStreamRecordIndexFilesRequest() +{} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int DescribeLiveStreamRecordIndexFilesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeLiveStreamRecordIndexFilesRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getOrder()const +{ + return order_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + diff --git a/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc new file mode 100644 index 000000000..01a02f153 --- /dev/null +++ b/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc @@ -0,0 +1,119 @@ +/* + * 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; + +DescribeLiveStreamRecordIndexFilesResult::DescribeLiveStreamRecordIndexFilesResult() : + ServiceResult() +{} + +DescribeLiveStreamRecordIndexFilesResult::DescribeLiveStreamRecordIndexFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamRecordIndexFilesResult::~DescribeLiveStreamRecordIndexFilesResult() +{} + +void DescribeLiveStreamRecordIndexFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRecordIndexInfoList = value["RecordIndexInfoList"]["RecordIndexInfo"]; + for (auto value : allRecordIndexInfoList) + { + RecordIndexInfo recordIndexInfoListObject; + if(!value["RecordId"].isNull()) + recordIndexInfoListObject.recordId = value["RecordId"].asString(); + if(!value["RecordUrl"].isNull()) + recordIndexInfoListObject.recordUrl = value["RecordUrl"].asString(); + if(!value["DomainName"].isNull()) + recordIndexInfoListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + recordIndexInfoListObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + recordIndexInfoListObject.streamName = value["StreamName"].asString(); + if(!value["OssBucket"].isNull()) + recordIndexInfoListObject.ossBucket = value["OssBucket"].asString(); + if(!value["OssEndpoint"].isNull()) + recordIndexInfoListObject.ossEndpoint = value["OssEndpoint"].asString(); + if(!value["OssObject"].isNull()) + recordIndexInfoListObject.ossObject = value["OssObject"].asString(); + if(!value["StartTime"].isNull()) + recordIndexInfoListObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + recordIndexInfoListObject.endTime = value["EndTime"].asString(); + if(!value["Duration"].isNull()) + recordIndexInfoListObject.duration = std::stof(value["Duration"].asString()); + if(!value["Height"].isNull()) + recordIndexInfoListObject.height = std::stoi(value["Height"].asString()); + if(!value["Width"].isNull()) + recordIndexInfoListObject.width = std::stoi(value["Width"].asString()); + if(!value["CreateTime"].isNull()) + recordIndexInfoListObject.createTime = value["CreateTime"].asString(); + recordIndexInfoList_.push_back(recordIndexInfoListObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["Order"].isNull()) + order_ = value["Order"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +std::string DescribeLiveStreamRecordIndexFilesResult::getOrder()const +{ + return order_; +} + +int DescribeLiveStreamRecordIndexFilesResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLiveStreamRecordIndexFilesResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveStreamRecordIndexFilesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLiveStreamRecordIndexFilesResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeLiveStreamRecordIndexFilesResult::getRecordIndexInfoList()const +{ + return recordIndexInfoList_; +} + diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc new file mode 100644 index 000000000..84b93032f --- /dev/null +++ b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc @@ -0,0 +1,137 @@ +/* + * 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::DescribeLiveStreamSnapshotInfoRequest; + +DescribeLiveStreamSnapshotInfoRequest::DescribeLiveStreamSnapshotInfoRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamSnapshotInfo") +{} + +DescribeLiveStreamSnapshotInfoRequest::~DescribeLiveStreamSnapshotInfoRequest() +{} + +std::string DescribeLiveStreamSnapshotInfoRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int DescribeLiveStreamSnapshotInfoRequest::getLimit()const +{ + return limit_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setLimit(int limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamSnapshotInfoRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamSnapshotInfoRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamSnapshotInfoRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLiveStreamSnapshotInfoRequest::getOrder()const +{ + return order_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc b/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc new file mode 100644 index 000000000..550ddc324 --- /dev/null +++ b/live/src/model/DescribeLiveStreamSnapshotInfoResult.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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamSnapshotInfoResult::DescribeLiveStreamSnapshotInfoResult() : + ServiceResult() +{} + +DescribeLiveStreamSnapshotInfoResult::DescribeLiveStreamSnapshotInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamSnapshotInfoResult::~DescribeLiveStreamSnapshotInfoResult() +{} + +void DescribeLiveStreamSnapshotInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveStreamSnapshotInfoList = value["LiveStreamSnapshotInfoList"]["LiveStreamSnapshotInfo"]; + for (auto value : allLiveStreamSnapshotInfoList) + { + LiveStreamSnapshotInfo liveStreamSnapshotInfoListObject; + if(!value["OssEndpoint"].isNull()) + liveStreamSnapshotInfoListObject.ossEndpoint = value["OssEndpoint"].asString(); + if(!value["OssBucket"].isNull()) + liveStreamSnapshotInfoListObject.ossBucket = value["OssBucket"].asString(); + if(!value["OssObject"].isNull()) + liveStreamSnapshotInfoListObject.ossObject = value["OssObject"].asString(); + if(!value["CreateTime"].isNull()) + liveStreamSnapshotInfoListObject.createTime = value["CreateTime"].asString(); + liveStreamSnapshotInfoList_.push_back(liveStreamSnapshotInfoListObject); + } + if(!value["NextStartTime"].isNull()) + nextStartTime_ = value["NextStartTime"].asString(); + +} + +std::vector DescribeLiveStreamSnapshotInfoResult::getLiveStreamSnapshotInfoList()const +{ + return liveStreamSnapshotInfoList_; +} + +std::string DescribeLiveStreamSnapshotInfoResult::getNextStartTime()const +{ + return nextStartTime_; +} + diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc new file mode 100644 index 000000000..7fd481887 --- /dev/null +++ b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.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::DescribeLiveStreamTranscodeInfoRequest; + +DescribeLiveStreamTranscodeInfoRequest::DescribeLiveStreamTranscodeInfoRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamTranscodeInfo") +{} + +DescribeLiveStreamTranscodeInfoRequest::~DescribeLiveStreamTranscodeInfoRequest() +{} + +std::string DescribeLiveStreamTranscodeInfoRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamTranscodeInfoRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +long DescribeLiveStreamTranscodeInfoRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()const +{ + return domainTranscodeName_; +} + +void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string& domainTranscodeName) +{ + domainTranscodeName_ = domainTranscodeName; + setParameter("DomainTranscodeName", domainTranscodeName); +} + +std::string DescribeLiveStreamTranscodeInfoRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamTranscodeInfoRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc new file mode 100644 index 000000000..3017fbfd4 --- /dev/null +++ b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult() : + ServiceResult() +{} + +DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamTranscodeInfoResult::~DescribeLiveStreamTranscodeInfoResult() +{} + +void DescribeLiveStreamTranscodeInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomainTranscodeList = value["DomainTranscodeList"]["DomainTranscodeInfo"]; + for (auto value : allDomainTranscodeList) + { + DomainTranscodeInfo domainTranscodeListObject; + if(!value["TranscodeApp"].isNull()) + domainTranscodeListObject.transcodeApp = value["TranscodeApp"].asString(); + if(!value["TranscodeName"].isNull()) + domainTranscodeListObject.transcodeName = value["TranscodeName"].asString(); + if(!value["TranscodeTemplate"].isNull()) + domainTranscodeListObject.transcodeTemplate = value["TranscodeTemplate"].asString(); + auto customTranscodeParametersNode = value["CustomTranscodeParameters"]; + if(!customTranscodeParametersNode["VideoBitrate"].isNull()) + domainTranscodeListObject.customTranscodeParameters.videoBitrate = std::stoi(customTranscodeParametersNode["VideoBitrate"].asString()); + if(!customTranscodeParametersNode["FPS"].isNull()) + domainTranscodeListObject.customTranscodeParameters.fPS = std::stoi(customTranscodeParametersNode["FPS"].asString()); + if(!customTranscodeParametersNode["Height"].isNull()) + domainTranscodeListObject.customTranscodeParameters.height = std::stoi(customTranscodeParametersNode["Height"].asString()); + if(!customTranscodeParametersNode["Width"].isNull()) + domainTranscodeListObject.customTranscodeParameters.width = std::stoi(customTranscodeParametersNode["Width"].asString()); + if(!customTranscodeParametersNode["TemplateType"].isNull()) + domainTranscodeListObject.customTranscodeParameters.templateType = customTranscodeParametersNode["TemplateType"].asString(); + domainTranscodeList_.push_back(domainTranscodeListObject); + } + +} + +std::vector DescribeLiveStreamTranscodeInfoResult::getDomainTranscodeList()const +{ + return domainTranscodeList_; +} + diff --git a/live/src/model/DescribeLiveStreamsBlockListRequest.cc b/live/src/model/DescribeLiveStreamsBlockListRequest.cc new file mode 100644 index 000000000..e23e6c632 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsBlockListRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::DescribeLiveStreamsBlockListRequest; + +DescribeLiveStreamsBlockListRequest::DescribeLiveStreamsBlockListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsBlockList") +{} + +DescribeLiveStreamsBlockListRequest::~DescribeLiveStreamsBlockListRequest() +{} + +std::string DescribeLiveStreamsBlockListRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamsBlockListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamsBlockListRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamsBlockListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int DescribeLiveStreamsBlockListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveStreamsBlockListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeLiveStreamsBlockListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamsBlockListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeLiveStreamsBlockListRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeLiveStreamsBlockListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeLiveStreamsBlockListRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamsBlockListRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamsBlockListResult.cc b/live/src/model/DescribeLiveStreamsBlockListResult.cc new file mode 100644 index 000000000..555473abc --- /dev/null +++ b/live/src/model/DescribeLiveStreamsBlockListResult.cc @@ -0,0 +1,88 @@ +/* + * 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; + +DescribeLiveStreamsBlockListResult::DescribeLiveStreamsBlockListResult() : + ServiceResult() +{} + +DescribeLiveStreamsBlockListResult::DescribeLiveStreamsBlockListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamsBlockListResult::~DescribeLiveStreamsBlockListResult() +{} + +void DescribeLiveStreamsBlockListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allStreamUrls = value["StreamUrls"]["StreamUrl"]; + for (const auto &item : allStreamUrls) + streamUrls_.push_back(item.asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeLiveStreamsBlockListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLiveStreamsBlockListResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveStreamsBlockListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLiveStreamsBlockListResult::getTotalPage()const +{ + return totalPage_; +} + +std::string DescribeLiveStreamsBlockListResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeLiveStreamsBlockListResult::getStreamUrls()const +{ + return streamUrls_; +} + diff --git a/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc b/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc new file mode 100644 index 000000000..891bd0772 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsControlHistoryRequest.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::DescribeLiveStreamsControlHistoryRequest; + +DescribeLiveStreamsControlHistoryRequest::DescribeLiveStreamsControlHistoryRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsControlHistory") +{} + +DescribeLiveStreamsControlHistoryRequest::~DescribeLiveStreamsControlHistoryRequest() +{} + +std::string DescribeLiveStreamsControlHistoryRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamsControlHistoryRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamsControlHistoryRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamsControlHistoryRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamsControlHistoryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamsControlHistoryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamsControlHistoryResult.cc b/live/src/model/DescribeLiveStreamsControlHistoryResult.cc new file mode 100644 index 000000000..c494e6504 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsControlHistoryResult.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; + +DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult() : + ServiceResult() +{} + +DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamsControlHistoryResult::~DescribeLiveStreamsControlHistoryResult() +{} + +void DescribeLiveStreamsControlHistoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allControlInfo = value["ControlInfo"]["LiveStreamControlInfo"]; + for (auto value : allControlInfo) + { + LiveStreamControlInfo controlInfoObject; + if(!value["StreamName"].isNull()) + controlInfoObject.streamName = value["StreamName"].asString(); + if(!value["ClientIP"].isNull()) + controlInfoObject.clientIP = value["ClientIP"].asString(); + if(!value["Action"].isNull()) + controlInfoObject.action = value["Action"].asString(); + if(!value["TimeStamp"].isNull()) + controlInfoObject.timeStamp = value["TimeStamp"].asString(); + controlInfo_.push_back(controlInfoObject); + } + +} + +std::vector DescribeLiveStreamsControlHistoryResult::getControlInfo()const +{ + return controlInfo_; +} + diff --git a/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc b/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc new file mode 100644 index 000000000..fdbbb497a --- /dev/null +++ b/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::DescribeLiveStreamsFrameRateAndBitRateDataRequest; + +DescribeLiveStreamsFrameRateAndBitRateDataRequest::DescribeLiveStreamsFrameRateAndBitRateDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsFrameRateAndBitRateData") +{} + +DescribeLiveStreamsFrameRateAndBitRateDataRequest::~DescribeLiveStreamsFrameRateAndBitRateDataRequest() +{} + +std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getAppName()const +{ + return appName_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamsFrameRateAndBitRateDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc b/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc new file mode 100644 index 000000000..395ada651 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.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; + +DescribeLiveStreamsFrameRateAndBitRateDataResult::DescribeLiveStreamsFrameRateAndBitRateDataResult() : + ServiceResult() +{} + +DescribeLiveStreamsFrameRateAndBitRateDataResult::DescribeLiveStreamsFrameRateAndBitRateDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamsFrameRateAndBitRateDataResult::~DescribeLiveStreamsFrameRateAndBitRateDataResult() +{} + +void DescribeLiveStreamsFrameRateAndBitRateDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allFrameRateAndBitRateInfos = value["FrameRateAndBitRateInfos"]["FrameRateAndBitRateInfo"]; + for (auto value : allFrameRateAndBitRateInfos) + { + FrameRateAndBitRateInfo frameRateAndBitRateInfosObject; + if(!value["StreamUrl"].isNull()) + frameRateAndBitRateInfosObject.streamUrl = value["StreamUrl"].asString(); + if(!value["VideoFrameRate"].isNull()) + frameRateAndBitRateInfosObject.videoFrameRate = std::stof(value["VideoFrameRate"].asString()); + if(!value["AudioFrameRate"].isNull()) + frameRateAndBitRateInfosObject.audioFrameRate = std::stof(value["AudioFrameRate"].asString()); + if(!value["BitRate"].isNull()) + frameRateAndBitRateInfosObject.bitRate = std::stof(value["BitRate"].asString()); + if(!value["Time"].isNull()) + frameRateAndBitRateInfosObject.time = value["Time"].asString(); + frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject); + } + +} + +std::vector DescribeLiveStreamsFrameRateAndBitRateDataResult::getFrameRateAndBitRateInfos()const +{ + return frameRateAndBitRateInfos_; +} + diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc new file mode 100644 index 000000000..c8f9fe049 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.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::DescribeLiveStreamsNotifyUrlConfigRequest; + +DescribeLiveStreamsNotifyUrlConfigRequest::DescribeLiveStreamsNotifyUrlConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsNotifyUrlConfig") +{} + +DescribeLiveStreamsNotifyUrlConfigRequest::~DescribeLiveStreamsNotifyUrlConfigRequest() +{} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc new file mode 100644 index 000000000..4e0441a32 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamsNotifyUrlConfigResult::DescribeLiveStreamsNotifyUrlConfigResult() : + ServiceResult() +{} + +DescribeLiveStreamsNotifyUrlConfigResult::DescribeLiveStreamsNotifyUrlConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamsNotifyUrlConfigResult::~DescribeLiveStreamsNotifyUrlConfigResult() +{} + +void DescribeLiveStreamsNotifyUrlConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto liveStreamsNotifyConfigNode = value["LiveStreamsNotifyConfig"]; + if(!liveStreamsNotifyConfigNode["DomainName"].isNull()) + liveStreamsNotifyConfig_.domainName = liveStreamsNotifyConfigNode["DomainName"].asString(); + if(!liveStreamsNotifyConfigNode["NotifyUrl"].isNull()) + liveStreamsNotifyConfig_.notifyUrl = liveStreamsNotifyConfigNode["NotifyUrl"].asString(); + +} + +DescribeLiveStreamsNotifyUrlConfigResult::LiveStreamsNotifyConfig DescribeLiveStreamsNotifyUrlConfigResult::getLiveStreamsNotifyConfig()const +{ + return liveStreamsNotifyConfig_; +} + diff --git a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc new file mode 100644 index 000000000..ddf0c5a12 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc @@ -0,0 +1,148 @@ +/* + * 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::DescribeLiveStreamsOnlineListRequest; + +DescribeLiveStreamsOnlineListRequest::DescribeLiveStreamsOnlineListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsOnlineList") +{} + +DescribeLiveStreamsOnlineListRequest::~DescribeLiveStreamsOnlineListRequest() +{} + +std::string DescribeLiveStreamsOnlineListRequest::getStreamType()const +{ + return streamType_; +} + +void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string& streamType) +{ + streamType_ = streamType; + 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_; +} + +void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + 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_; +} + +void DescribeLiveStreamsOnlineListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamsOnlineListRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamsOnlineListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamsOnlineListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamsOnlineListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeLiveStreamsOnlineListRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeLiveStreamsOnlineListRequest::getQueryType()const +{ + return queryType_; +} + +void DescribeLiveStreamsOnlineListRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + 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/DescribeLiveStreamsOnlineListResult.cc b/live/src/model/DescribeLiveStreamsOnlineListResult.cc new file mode 100644 index 000000000..0687afb3d --- /dev/null +++ b/live/src/model/DescribeLiveStreamsOnlineListResult.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; + +DescribeLiveStreamsOnlineListResult::DescribeLiveStreamsOnlineListResult() : + ServiceResult() +{} + +DescribeLiveStreamsOnlineListResult::DescribeLiveStreamsOnlineListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamsOnlineListResult::~DescribeLiveStreamsOnlineListResult() +{} + +void DescribeLiveStreamsOnlineListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allOnlineInfo = value["OnlineInfo"]["LiveStreamOnlineInfo"]; + for (auto value : allOnlineInfo) + { + LiveStreamOnlineInfo onlineInfoObject; + if(!value["DomainName"].isNull()) + onlineInfoObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + onlineInfoObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + onlineInfoObject.streamName = value["StreamName"].asString(); + if(!value["PublishTime"].isNull()) + onlineInfoObject.publishTime = value["PublishTime"].asString(); + if(!value["PublishUrl"].isNull()) + onlineInfoObject.publishUrl = value["PublishUrl"].asString(); + if(!value["PublishDomain"].isNull()) + onlineInfoObject.publishDomain = value["PublishDomain"].asString(); + if(!value["PublishType"].isNull()) + onlineInfoObject.publishType = value["PublishType"].asString(); + if(!value["Transcoded"].isNull()) + onlineInfoObject.transcoded = value["Transcoded"].asString(); + if(!value["TranscodeId"].isNull()) + onlineInfoObject.transcodeId = value["TranscodeId"].asString(); + onlineInfo_.push_back(onlineInfoObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeLiveStreamsOnlineListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLiveStreamsOnlineListResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveStreamsOnlineListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLiveStreamsOnlineListResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeLiveStreamsOnlineListResult::getOnlineInfo()const +{ + return onlineInfo_; +} + diff --git a/live/src/model/DescribeLiveStreamsPublishListRequest.cc b/live/src/model/DescribeLiveStreamsPublishListRequest.cc new file mode 100644 index 000000000..e66d6b316 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsPublishListRequest.cc @@ -0,0 +1,159 @@ +/* + * 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::DescribeLiveStreamsPublishListRequest; + +DescribeLiveStreamsPublishListRequest::DescribeLiveStreamsPublishListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsPublishList") +{} + +DescribeLiveStreamsPublishListRequest::~DescribeLiveStreamsPublishListRequest() +{} + +std::string DescribeLiveStreamsPublishListRequest::getStreamType()const +{ + return streamType_; +} + +void DescribeLiveStreamsPublishListRequest::setStreamType(const std::string& streamType) +{ + streamType_ = streamType; + setParameter("StreamType", streamType); +} + +std::string DescribeLiveStreamsPublishListRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamsPublishListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamsPublishListRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeLiveStreamsPublishListRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveStreamsPublishListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeLiveStreamsPublishListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamsPublishListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DescribeLiveStreamsPublishListRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeLiveStreamsPublishListRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = 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_; +} + +void DescribeLiveStreamsPublishListRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DescribeLiveStreamsPublishListRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamsPublishListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +int DescribeLiveStreamsPublishListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLiveStreamsPublishListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeLiveStreamsPublishListRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeLiveStreamsPublishListRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeLiveStreamsPublishListRequest::getQueryType()const +{ + return queryType_; +} + +void DescribeLiveStreamsPublishListRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + setParameter("QueryType", queryType); +} + diff --git a/live/src/model/DescribeLiveStreamsPublishListResult.cc b/live/src/model/DescribeLiveStreamsPublishListResult.cc new file mode 100644 index 000000000..4605a48f4 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsPublishListResult.cc @@ -0,0 +1,110 @@ +/* + * 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; + +DescribeLiveStreamsPublishListResult::DescribeLiveStreamsPublishListResult() : + ServiceResult() +{} + +DescribeLiveStreamsPublishListResult::DescribeLiveStreamsPublishListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamsPublishListResult::~DescribeLiveStreamsPublishListResult() +{} + +void DescribeLiveStreamsPublishListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allPublishInfo = value["PublishInfo"]["LiveStreamPublishInfo"]; + for (auto value : allPublishInfo) + { + LiveStreamPublishInfo publishInfoObject; + if(!value["DomainName"].isNull()) + publishInfoObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + publishInfoObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + publishInfoObject.streamName = value["StreamName"].asString(); + if(!value["StreamUrl"].isNull()) + publishInfoObject.streamUrl = value["StreamUrl"].asString(); + if(!value["PublishTime"].isNull()) + publishInfoObject.publishTime = value["PublishTime"].asString(); + if(!value["StopTime"].isNull()) + publishInfoObject.stopTime = value["StopTime"].asString(); + if(!value["PublishUrl"].isNull()) + publishInfoObject.publishUrl = value["PublishUrl"].asString(); + if(!value["ClientAddr"].isNull()) + publishInfoObject.clientAddr = value["ClientAddr"].asString(); + if(!value["EdgeNodeAddr"].isNull()) + publishInfoObject.edgeNodeAddr = value["EdgeNodeAddr"].asString(); + if(!value["PublishDomain"].isNull()) + publishInfoObject.publishDomain = value["PublishDomain"].asString(); + if(!value["PublishType"].isNull()) + publishInfoObject.publishType = value["PublishType"].asString(); + if(!value["Transcoded"].isNull()) + publishInfoObject.transcoded = value["Transcoded"].asString(); + if(!value["TranscodeId"].isNull()) + publishInfoObject.transcodeId = value["TranscodeId"].asString(); + publishInfo_.push_back(publishInfoObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeLiveStreamsPublishListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLiveStreamsPublishListResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLiveStreamsPublishListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLiveStreamsPublishListResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeLiveStreamsPublishListResult::getPublishInfo()const +{ + return publishInfo_; +} + diff --git a/live/src/model/EffectCasterUrgentRequest.cc b/live/src/model/EffectCasterUrgentRequest.cc new file mode 100644 index 000000000..c9846a28e --- /dev/null +++ b/live/src/model/EffectCasterUrgentRequest.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::EffectCasterUrgentRequest; + +EffectCasterUrgentRequest::EffectCasterUrgentRequest() : + RpcServiceRequest("live", "2016-11-01", "EffectCasterUrgent") +{} + +EffectCasterUrgentRequest::~EffectCasterUrgentRequest() +{} + +std::string EffectCasterUrgentRequest::getCasterId()const +{ + return casterId_; +} + +void EffectCasterUrgentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string EffectCasterUrgentRequest::getSceneId()const +{ + return sceneId_; +} + +void EffectCasterUrgentRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long EffectCasterUrgentRequest::getOwnerId()const +{ + return ownerId_; +} + +void EffectCasterUrgentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/EffectCasterUrgentResult.cc b/live/src/model/EffectCasterUrgentResult.cc new file mode 100644 index 000000000..6a23c8735 --- /dev/null +++ b/live/src/model/EffectCasterUrgentResult.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; + +EffectCasterUrgentResult::EffectCasterUrgentResult() : + ServiceResult() +{} + +EffectCasterUrgentResult::EffectCasterUrgentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EffectCasterUrgentResult::~EffectCasterUrgentResult() +{} + +void EffectCasterUrgentResult::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/EffectCasterVideoResourceRequest.cc b/live/src/model/EffectCasterVideoResourceRequest.cc new file mode 100644 index 000000000..d20f83cbd --- /dev/null +++ b/live/src/model/EffectCasterVideoResourceRequest.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::EffectCasterVideoResourceRequest; + +EffectCasterVideoResourceRequest::EffectCasterVideoResourceRequest() : + RpcServiceRequest("live", "2016-11-01", "EffectCasterVideoResource") +{} + +EffectCasterVideoResourceRequest::~EffectCasterVideoResourceRequest() +{} + +std::string EffectCasterVideoResourceRequest::getResourceId()const +{ + return resourceId_; +} + +void EffectCasterVideoResourceRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); +} + +std::string EffectCasterVideoResourceRequest::getCasterId()const +{ + return casterId_; +} + +void EffectCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string EffectCasterVideoResourceRequest::getSceneId()const +{ + return sceneId_; +} + +void EffectCasterVideoResourceRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long EffectCasterVideoResourceRequest::getOwnerId()const +{ + return ownerId_; +} + +void EffectCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/EffectCasterVideoResourceResult.cc b/live/src/model/EffectCasterVideoResourceResult.cc new file mode 100644 index 000000000..8798d74fb --- /dev/null +++ b/live/src/model/EffectCasterVideoResourceResult.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; + +EffectCasterVideoResourceResult::EffectCasterVideoResourceResult() : + ServiceResult() +{} + +EffectCasterVideoResourceResult::EffectCasterVideoResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EffectCasterVideoResourceResult::~EffectCasterVideoResourceResult() +{} + +void EffectCasterVideoResourceResult::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/ForbidLiveStreamRequest.cc b/live/src/model/ForbidLiveStreamRequest.cc new file mode 100644 index 000000000..faf49eb7d --- /dev/null +++ b/live/src/model/ForbidLiveStreamRequest.cc @@ -0,0 +1,115 @@ +/* + * 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::ForbidLiveStreamRequest; + +ForbidLiveStreamRequest::ForbidLiveStreamRequest() : + RpcServiceRequest("live", "2016-11-01", "ForbidLiveStream") +{} + +ForbidLiveStreamRequest::~ForbidLiveStreamRequest() +{} + +std::string ForbidLiveStreamRequest::getResumeTime()const +{ + return resumeTime_; +} + +void ForbidLiveStreamRequest::setResumeTime(const std::string& resumeTime) +{ + resumeTime_ = resumeTime; + setParameter("ResumeTime", resumeTime); +} + +std::string ForbidLiveStreamRequest::getAppName()const +{ + return appName_; +} + +void ForbidLiveStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string ForbidLiveStreamRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ForbidLiveStreamRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string ForbidLiveStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; +} + +void ForbidLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); +} + +std::string ForbidLiveStreamRequest::getDomainName()const +{ + return domainName_; +} + +void ForbidLiveStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long ForbidLiveStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void ForbidLiveStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ForbidLiveStreamRequest::getStreamName()const +{ + return streamName_; +} + +void ForbidLiveStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string ForbidLiveStreamRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ForbidLiveStreamRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/ForbidLiveStreamResult.cc b/live/src/model/ForbidLiveStreamResult.cc new file mode 100644 index 000000000..a3a76b8dc --- /dev/null +++ b/live/src/model/ForbidLiveStreamResult.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; + +ForbidLiveStreamResult::ForbidLiveStreamResult() : + ServiceResult() +{} + +ForbidLiveStreamResult::ForbidLiveStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ForbidLiveStreamResult::~ForbidLiveStreamResult() +{} + +void ForbidLiveStreamResult::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/ImagePornDetectionRequest.cc b/live/src/model/ImagePornDetectionRequest.cc new file mode 100644 index 000000000..cb83f5573 --- /dev/null +++ b/live/src/model/ImagePornDetectionRequest.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::ImagePornDetectionRequest; + +ImagePornDetectionRequest::ImagePornDetectionRequest() : + RpcServiceRequest("live", "2016-11-01", "ImagePornDetection") +{} + +ImagePornDetectionRequest::~ImagePornDetectionRequest() +{} + +std::string ImagePornDetectionRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ImagePornDetectionRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string ImagePornDetectionRequest::getImageUrl()const +{ + return imageUrl_; +} + +void ImagePornDetectionRequest::setImageUrl(const std::string& imageUrl) +{ + imageUrl_ = imageUrl; + setParameter("ImageUrl", imageUrl); +} + +long ImagePornDetectionRequest::getOwnerId()const +{ + return ownerId_; +} + +void ImagePornDetectionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ImagePornDetectionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ImagePornDetectionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/ImagePornDetectionResult.cc b/live/src/model/ImagePornDetectionResult.cc new file mode 100644 index 000000000..7ce4f44e2 --- /dev/null +++ b/live/src/model/ImagePornDetectionResult.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; + +ImagePornDetectionResult::ImagePornDetectionResult() : + ServiceResult() +{} + +ImagePornDetectionResult::ImagePornDetectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImagePornDetectionResult::~ImagePornDetectionResult() +{} + +void ImagePornDetectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Label"].isNull()) + label_ = value["Label"].asString(); + if(!value["Rate"].isNull()) + rate_ = std::stof(value["Rate"].asString()); + +} + +float ImagePornDetectionResult::getRate()const +{ + return rate_; +} + +std::string ImagePornDetectionResult::getLabel()const +{ + return label_; +} + diff --git a/live/src/model/ModifyCasterComponentRequest.cc b/live/src/model/ModifyCasterComponentRequest.cc new file mode 100644 index 000000000..0572d6d2c --- /dev/null +++ b/live/src/model/ModifyCasterComponentRequest.cc @@ -0,0 +1,137 @@ +/* + * 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::ModifyCasterComponentRequest; + +ModifyCasterComponentRequest::ModifyCasterComponentRequest() : + RpcServiceRequest("live", "2016-11-01", "ModifyCasterComponent") +{} + +ModifyCasterComponentRequest::~ModifyCasterComponentRequest() +{} + +std::string ModifyCasterComponentRequest::getComponentId()const +{ + return componentId_; +} + +void ModifyCasterComponentRequest::setComponentId(const std::string& componentId) +{ + componentId_ = componentId; + setParameter("ComponentId", componentId); +} + +std::string ModifyCasterComponentRequest::getComponentType()const +{ + return componentType_; +} + +void ModifyCasterComponentRequest::setComponentType(const std::string& componentType) +{ + componentType_ = componentType; + setParameter("ComponentType", componentType); +} + +std::string ModifyCasterComponentRequest::getImageLayerContent()const +{ + return imageLayerContent_; +} + +void ModifyCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) +{ + imageLayerContent_ = imageLayerContent; + setParameter("ImageLayerContent", imageLayerContent); +} + +std::string ModifyCasterComponentRequest::getCasterId()const +{ + return casterId_; +} + +void ModifyCasterComponentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string ModifyCasterComponentRequest::getEffect()const +{ + return effect_; +} + +void ModifyCasterComponentRequest::setEffect(const std::string& effect) +{ + effect_ = effect; + setParameter("Effect", effect); +} + +std::string ModifyCasterComponentRequest::getComponentLayer()const +{ + return componentLayer_; +} + +void ModifyCasterComponentRequest::setComponentLayer(const std::string& componentLayer) +{ + componentLayer_ = componentLayer; + setParameter("ComponentLayer", componentLayer); +} + +std::string ModifyCasterComponentRequest::getCaptionLayerContent()const +{ + return captionLayerContent_; +} + +void ModifyCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) +{ + captionLayerContent_ = captionLayerContent; + setParameter("CaptionLayerContent", captionLayerContent); +} + +std::string ModifyCasterComponentRequest::getComponentName()const +{ + return componentName_; +} + +void ModifyCasterComponentRequest::setComponentName(const std::string& componentName) +{ + componentName_ = componentName; + setParameter("ComponentName", componentName); +} + +long ModifyCasterComponentRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyCasterComponentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyCasterComponentRequest::getTextLayerContent()const +{ + return textLayerContent_; +} + +void ModifyCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) +{ + textLayerContent_ = textLayerContent; + setParameter("TextLayerContent", textLayerContent); +} + diff --git a/live/src/model/ModifyCasterComponentResult.cc b/live/src/model/ModifyCasterComponentResult.cc new file mode 100644 index 000000000..1a3e14745 --- /dev/null +++ b/live/src/model/ModifyCasterComponentResult.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; + +ModifyCasterComponentResult::ModifyCasterComponentResult() : + ServiceResult() +{} + +ModifyCasterComponentResult::ModifyCasterComponentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCasterComponentResult::~ModifyCasterComponentResult() +{} + +void ModifyCasterComponentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["ComponentId"].isNull()) + componentId_ = value["ComponentId"].asString(); + +} + +std::string ModifyCasterComponentResult::getComponentId()const +{ + return componentId_; +} + diff --git a/live/src/model/ModifyCasterEpisodeRequest.cc b/live/src/model/ModifyCasterEpisodeRequest.cc new file mode 100644 index 000000000..b6317f7a6 --- /dev/null +++ b/live/src/model/ModifyCasterEpisodeRequest.cc @@ -0,0 +1,127 @@ +/* + * 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::ModifyCasterEpisodeRequest; + +ModifyCasterEpisodeRequest::ModifyCasterEpisodeRequest() : + RpcServiceRequest("live", "2016-11-01", "ModifyCasterEpisode") +{} + +ModifyCasterEpisodeRequest::~ModifyCasterEpisodeRequest() +{} + +std::string ModifyCasterEpisodeRequest::getResourceId()const +{ + return resourceId_; +} + +void ModifyCasterEpisodeRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); +} + +std::vector ModifyCasterEpisodeRequest::getComponentId()const +{ + return componentId_; +} + +void ModifyCasterEpisodeRequest::setComponentId(const std::vector& componentId) +{ + componentId_ = componentId; + for(int i = 0; i!= componentId.size(); i++) + setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); +} + +std::string ModifyCasterEpisodeRequest::getSwitchType()const +{ + return switchType_; +} + +void ModifyCasterEpisodeRequest::setSwitchType(const std::string& switchType) +{ + switchType_ = switchType; + setParameter("SwitchType", switchType); +} + +std::string ModifyCasterEpisodeRequest::getCasterId()const +{ + return casterId_; +} + +void ModifyCasterEpisodeRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string ModifyCasterEpisodeRequest::getEpisodeName()const +{ + return episodeName_; +} + +void ModifyCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) +{ + episodeName_ = episodeName; + setParameter("EpisodeName", episodeName); +} + +std::string ModifyCasterEpisodeRequest::getEndTime()const +{ + return endTime_; +} + +void ModifyCasterEpisodeRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string ModifyCasterEpisodeRequest::getStartTime()const +{ + return startTime_; +} + +void ModifyCasterEpisodeRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long ModifyCasterEpisodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyCasterEpisodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyCasterEpisodeRequest::getEpisodeId()const +{ + return episodeId_; +} + +void ModifyCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) +{ + episodeId_ = episodeId; + setParameter("EpisodeId", episodeId); +} + diff --git a/live/src/model/ModifyCasterEpisodeResult.cc b/live/src/model/ModifyCasterEpisodeResult.cc new file mode 100644 index 000000000..d665be1ed --- /dev/null +++ b/live/src/model/ModifyCasterEpisodeResult.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; + +ModifyCasterEpisodeResult::ModifyCasterEpisodeResult() : + ServiceResult() +{} + +ModifyCasterEpisodeResult::ModifyCasterEpisodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCasterEpisodeResult::~ModifyCasterEpisodeResult() +{} + +void ModifyCasterEpisodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["EpisodeId"].isNull()) + episodeId_ = value["EpisodeId"].asString(); + +} + +std::string ModifyCasterEpisodeResult::getEpisodeId()const +{ + return episodeId_; +} + +std::string ModifyCasterEpisodeResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/ModifyCasterLayoutRequest.cc b/live/src/model/ModifyCasterLayoutRequest.cc new file mode 100644 index 000000000..5162d8f8e --- /dev/null +++ b/live/src/model/ModifyCasterLayoutRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::ModifyCasterLayoutRequest; + +ModifyCasterLayoutRequest::ModifyCasterLayoutRequest() : + RpcServiceRequest("live", "2016-11-01", "ModifyCasterLayout") +{} + +ModifyCasterLayoutRequest::~ModifyCasterLayoutRequest() +{} + +std::vector ModifyCasterLayoutRequest::getBlendList()const +{ + return blendList_; +} + +void ModifyCasterLayoutRequest::setBlendList(const std::vector& blendList) +{ + blendList_ = blendList; + for(int i = 0; i!= blendList.size(); i++) + setParameter("BlendList."+ std::to_string(i), blendList.at(i)); +} + +std::vector ModifyCasterLayoutRequest::getAudioLayer()const +{ + return audioLayer_; +} + +void ModifyCasterLayoutRequest::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 + ".VolumeRate", std::to_string(obj.volumeRate)); + setParameter(str + ".ValidChannel", obj.validChannel); + setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + } +} + +std::vector ModifyCasterLayoutRequest::getVideoLayer()const +{ + return videoLayer_; +} + +void ModifyCasterLayoutRequest::setVideoLayer(const std::vector& videoLayer) +{ + videoLayer_ = videoLayer; + int i = 0; + for(int i = 0; i!= videoLayer.size(); i++) { + auto obj = videoLayer.at(i); + std::string str ="VideoLayer."+ std::to_string(i); + setParameter(str + ".FillMode", obj.fillMode); + setParameter(str + ".HeightNormalized", std::to_string(obj.heightNormalized)); + setParameter(str + ".WidthNormalized", std::to_string(obj.widthNormalized)); + setParameter(str + ".PositionRefer", obj.positionRefer); + for(int i = 0; i!= obj.positionNormalized.size(); i++) setParameter(str + ".PositionNormalized."+ std::to_string(i), std::to_string(obj.positionNormalized.at(i))); + setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + } +} + +std::string ModifyCasterLayoutRequest::getCasterId()const +{ + return casterId_; +} + +void ModifyCasterLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::vector ModifyCasterLayoutRequest::getMixList()const +{ + return mixList_; +} + +void ModifyCasterLayoutRequest::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 ModifyCasterLayoutRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyCasterLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyCasterLayoutRequest::getLayoutId()const +{ + return layoutId_; +} + +void ModifyCasterLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); +} + diff --git a/live/src/model/ModifyCasterLayoutResult.cc b/live/src/model/ModifyCasterLayoutResult.cc new file mode 100644 index 000000000..937345d2e --- /dev/null +++ b/live/src/model/ModifyCasterLayoutResult.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; + +ModifyCasterLayoutResult::ModifyCasterLayoutResult() : + ServiceResult() +{} + +ModifyCasterLayoutResult::ModifyCasterLayoutResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCasterLayoutResult::~ModifyCasterLayoutResult() +{} + +void ModifyCasterLayoutResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["LayoutId"].isNull()) + layoutId_ = value["LayoutId"].asString(); + +} + +std::string ModifyCasterLayoutResult::getLayoutId()const +{ + return layoutId_; +} + diff --git a/live/src/model/ModifyCasterProgramRequest.cc b/live/src/model/ModifyCasterProgramRequest.cc new file mode 100644 index 000000000..d10749c62 --- /dev/null +++ b/live/src/model/ModifyCasterProgramRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::ModifyCasterProgramRequest; + +ModifyCasterProgramRequest::ModifyCasterProgramRequest() : + RpcServiceRequest("live", "2016-11-01", "ModifyCasterProgram") +{} + +ModifyCasterProgramRequest::~ModifyCasterProgramRequest() +{} + +std::string ModifyCasterProgramRequest::getCasterId()const +{ + return casterId_; +} + +void ModifyCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::vector ModifyCasterProgramRequest::getEpisode()const +{ + return episode_; +} + +void ModifyCasterProgramRequest::setEpisode(const std::vector& episode) +{ + episode_ = episode; + int i = 0; + for(int i = 0; i!= episode.size(); i++) { + auto obj = episode.at(i); + std::string str ="Episode."+ std::to_string(i); + setParameter(str + ".EpisodeId", obj.episodeId); + setParameter(str + ".EpisodeType", obj.episodeType); + setParameter(str + ".EpisodeName", obj.episodeName); + setParameter(str + ".ResourceId", obj.resourceId); + for(int i = 0; i!= obj.componentId.size(); i++) setParameter(str + ".ComponentId."+ std::to_string(i), obj.componentId.at(i)); + setParameter(str + ".StartTime", obj.startTime); + setParameter(str + ".EndTime", obj.endTime); + setParameter(str + ".SwitchType", obj.switchType); + } +} + +long ModifyCasterProgramRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/ModifyCasterProgramResult.cc b/live/src/model/ModifyCasterProgramResult.cc new file mode 100644 index 000000000..35d394121 --- /dev/null +++ b/live/src/model/ModifyCasterProgramResult.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; + +ModifyCasterProgramResult::ModifyCasterProgramResult() : + ServiceResult() +{} + +ModifyCasterProgramResult::ModifyCasterProgramResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCasterProgramResult::~ModifyCasterProgramResult() +{} + +void ModifyCasterProgramResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + +} + +std::string ModifyCasterProgramResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/ModifyCasterVideoResourceRequest.cc b/live/src/model/ModifyCasterVideoResourceRequest.cc new file mode 100644 index 000000000..75a183c4f --- /dev/null +++ b/live/src/model/ModifyCasterVideoResourceRequest.cc @@ -0,0 +1,137 @@ +/* + * 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::ModifyCasterVideoResourceRequest; + +ModifyCasterVideoResourceRequest::ModifyCasterVideoResourceRequest() : + RpcServiceRequest("live", "2016-11-01", "ModifyCasterVideoResource") +{} + +ModifyCasterVideoResourceRequest::~ModifyCasterVideoResourceRequest() +{} + +std::string ModifyCasterVideoResourceRequest::getResourceId()const +{ + return resourceId_; +} + +void ModifyCasterVideoResourceRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + 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_; +} + +void ModifyCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) +{ + vodUrl_ = 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_; +} + +void ModifyCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +int ModifyCasterVideoResourceRequest::getEndOffset()const +{ + return endOffset_; +} + +void ModifyCasterVideoResourceRequest::setEndOffset(int endOffset) +{ + endOffset_ = 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_; +} + +void ModifyCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyCasterVideoResourceRequest::getMaterialId()const +{ + return materialId_; +} + +void ModifyCasterVideoResourceRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setParameter("MaterialId", materialId); +} + diff --git a/live/src/model/ModifyCasterVideoResourceResult.cc b/live/src/model/ModifyCasterVideoResourceResult.cc new file mode 100644 index 000000000..96f2e581a --- /dev/null +++ b/live/src/model/ModifyCasterVideoResourceResult.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; + +ModifyCasterVideoResourceResult::ModifyCasterVideoResourceResult() : + ServiceResult() +{} + +ModifyCasterVideoResourceResult::ModifyCasterVideoResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCasterVideoResourceResult::~ModifyCasterVideoResourceResult() +{} + +void ModifyCasterVideoResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + if(!value["ResourceId"].isNull()) + resourceId_ = value["ResourceId"].asString(); + +} + +std::string ModifyCasterVideoResourceResult::getResourceId()const +{ + return resourceId_; +} + +std::string ModifyCasterVideoResourceResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/RealTimeRecordCommandRequest.cc b/live/src/model/RealTimeRecordCommandRequest.cc new file mode 100644 index 000000000..eaf752f7f --- /dev/null +++ b/live/src/model/RealTimeRecordCommandRequest.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::RealTimeRecordCommandRequest; + +RealTimeRecordCommandRequest::RealTimeRecordCommandRequest() : + RpcServiceRequest("live", "2016-11-01", "RealTimeRecordCommand") +{} + +RealTimeRecordCommandRequest::~RealTimeRecordCommandRequest() +{} + +std::string RealTimeRecordCommandRequest::getAppName()const +{ + return appName_; +} + +void RealTimeRecordCommandRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string RealTimeRecordCommandRequest::getDomainName()const +{ + return domainName_; +} + +void RealTimeRecordCommandRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long RealTimeRecordCommandRequest::getOwnerId()const +{ + return ownerId_; +} + +void RealTimeRecordCommandRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string RealTimeRecordCommandRequest::getCommand()const +{ + return command_; +} + +void RealTimeRecordCommandRequest::setCommand(const std::string& command) +{ + command_ = command; + setParameter("Command", command); +} + +std::string RealTimeRecordCommandRequest::getStreamName()const +{ + return streamName_; +} + +void RealTimeRecordCommandRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + diff --git a/live/src/model/RealTimeRecordCommandResult.cc b/live/src/model/RealTimeRecordCommandResult.cc new file mode 100644 index 000000000..a1db6bb1d --- /dev/null +++ b/live/src/model/RealTimeRecordCommandResult.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; + +RealTimeRecordCommandResult::RealTimeRecordCommandResult() : + ServiceResult() +{} + +RealTimeRecordCommandResult::RealTimeRecordCommandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RealTimeRecordCommandResult::~RealTimeRecordCommandResult() +{} + +void RealTimeRecordCommandResult::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/RemoveMultipleStreamMixServiceRequest.cc b/live/src/model/RemoveMultipleStreamMixServiceRequest.cc new file mode 100644 index 000000000..e28da180b --- /dev/null +++ b/live/src/model/RemoveMultipleStreamMixServiceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::RemoveMultipleStreamMixServiceRequest; + +RemoveMultipleStreamMixServiceRequest::RemoveMultipleStreamMixServiceRequest() : + RpcServiceRequest("live", "2016-11-01", "RemoveMultipleStreamMixService") +{} + +RemoveMultipleStreamMixServiceRequest::~RemoveMultipleStreamMixServiceRequest() +{} + +std::string RemoveMultipleStreamMixServiceRequest::getAppName()const +{ + return appName_; +} + +void RemoveMultipleStreamMixServiceRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string RemoveMultipleStreamMixServiceRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveMultipleStreamMixServiceRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string RemoveMultipleStreamMixServiceRequest::getDomainName()const +{ + return domainName_; +} + +void RemoveMultipleStreamMixServiceRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string RemoveMultipleStreamMixServiceRequest::getMixStreamName()const +{ + return mixStreamName_; +} + +void RemoveMultipleStreamMixServiceRequest::setMixStreamName(const std::string& mixStreamName) +{ + mixStreamName_ = mixStreamName; + setParameter("MixStreamName", mixStreamName); +} + +std::string RemoveMultipleStreamMixServiceRequest::getMixDomainName()const +{ + return mixDomainName_; +} + +void RemoveMultipleStreamMixServiceRequest::setMixDomainName(const std::string& mixDomainName) +{ + mixDomainName_ = mixDomainName; + setParameter("MixDomainName", mixDomainName); +} + +long RemoveMultipleStreamMixServiceRequest::getOwnerId()const +{ + return ownerId_; +} + +void RemoveMultipleStreamMixServiceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string RemoveMultipleStreamMixServiceRequest::getMixAppName()const +{ + return mixAppName_; +} + +void RemoveMultipleStreamMixServiceRequest::setMixAppName(const std::string& mixAppName) +{ + mixAppName_ = mixAppName; + setParameter("MixAppName", mixAppName); +} + +std::string RemoveMultipleStreamMixServiceRequest::getStreamName()const +{ + return streamName_; +} + +void RemoveMultipleStreamMixServiceRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string RemoveMultipleStreamMixServiceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveMultipleStreamMixServiceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/RemoveMultipleStreamMixServiceResult.cc b/live/src/model/RemoveMultipleStreamMixServiceResult.cc new file mode 100644 index 000000000..22e48e3b4 --- /dev/null +++ b/live/src/model/RemoveMultipleStreamMixServiceResult.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; + +RemoveMultipleStreamMixServiceResult::RemoveMultipleStreamMixServiceResult() : + ServiceResult() +{} + +RemoveMultipleStreamMixServiceResult::RemoveMultipleStreamMixServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveMultipleStreamMixServiceResult::~RemoveMultipleStreamMixServiceResult() +{} + +void RemoveMultipleStreamMixServiceResult::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/ResumeLiveStreamRequest.cc b/live/src/model/ResumeLiveStreamRequest.cc new file mode 100644 index 000000000..5d5fb61d3 --- /dev/null +++ b/live/src/model/ResumeLiveStreamRequest.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::ResumeLiveStreamRequest; + +ResumeLiveStreamRequest::ResumeLiveStreamRequest() : + RpcServiceRequest("live", "2016-11-01", "ResumeLiveStream") +{} + +ResumeLiveStreamRequest::~ResumeLiveStreamRequest() +{} + +std::string ResumeLiveStreamRequest::getAppName()const +{ + return appName_; +} + +void ResumeLiveStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string ResumeLiveStreamRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ResumeLiveStreamRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string ResumeLiveStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; +} + +void ResumeLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); +} + +std::string ResumeLiveStreamRequest::getDomainName()const +{ + return domainName_; +} + +void ResumeLiveStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long ResumeLiveStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void ResumeLiveStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ResumeLiveStreamRequest::getStreamName()const +{ + return streamName_; +} + +void ResumeLiveStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string ResumeLiveStreamRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ResumeLiveStreamRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/ResumeLiveStreamResult.cc b/live/src/model/ResumeLiveStreamResult.cc new file mode 100644 index 000000000..409f123e1 --- /dev/null +++ b/live/src/model/ResumeLiveStreamResult.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; + +ResumeLiveStreamResult::ResumeLiveStreamResult() : + ServiceResult() +{} + +ResumeLiveStreamResult::ResumeLiveStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResumeLiveStreamResult::~ResumeLiveStreamResult() +{} + +void ResumeLiveStreamResult::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 new file mode 100644 index 000000000..4b48794c4 --- /dev/null +++ b/live/src/model/SetCasterConfigRequest.cc @@ -0,0 +1,159 @@ +/* + * 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::SetCasterConfigRequest; + +SetCasterConfigRequest::SetCasterConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetCasterConfig") +{} + +SetCasterConfigRequest::~SetCasterConfigRequest() +{} + +std::string SetCasterConfigRequest::getSideOutputUrl()const +{ + return sideOutputUrl_; +} + +void SetCasterConfigRequest::setSideOutputUrl(const std::string& sideOutputUrl) +{ + sideOutputUrl_ = sideOutputUrl; + setParameter("SideOutputUrl", sideOutputUrl); +} + +std::string SetCasterConfigRequest::getCasterId()const +{ + return casterId_; +} + +void SetCasterConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string SetCasterConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetCasterConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int SetCasterConfigRequest::getProgramEffect()const +{ + return programEffect_; +} + +void SetCasterConfigRequest::setProgramEffect(int programEffect) +{ + programEffect_ = programEffect; + setParameter("ProgramEffect", std::to_string(programEffect)); +} + +std::string SetCasterConfigRequest::getProgramName()const +{ + return programName_; +} + +void SetCasterConfigRequest::setProgramName(const std::string& programName) +{ + programName_ = programName; + setParameter("ProgramName", programName); +} + +long SetCasterConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetCasterConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetCasterConfigRequest::getRecordConfig()const +{ + return recordConfig_; +} + +void SetCasterConfigRequest::setRecordConfig(const std::string& recordConfig) +{ + recordConfig_ = recordConfig; + setParameter("RecordConfig", recordConfig); +} + +std::string SetCasterConfigRequest::getUrgentMaterialId()const +{ + return urgentMaterialId_; +} + +void SetCasterConfigRequest::setUrgentMaterialId(const std::string& urgentMaterialId) +{ + urgentMaterialId_ = urgentMaterialId; + setParameter("UrgentMaterialId", urgentMaterialId); +} + +std::string SetCasterConfigRequest::getTranscodeConfig()const +{ + return transcodeConfig_; +} + +void SetCasterConfigRequest::setTranscodeConfig(const std::string& transcodeConfig) +{ + transcodeConfig_ = transcodeConfig; + setParameter("TranscodeConfig", transcodeConfig); +} + +float SetCasterConfigRequest::getDelay()const +{ + return delay_; +} + +void SetCasterConfigRequest::setDelay(float delay) +{ + delay_ = delay; + setParameter("Delay", std::to_string(delay)); +} + +std::string SetCasterConfigRequest::getCasterName()const +{ + return casterName_; +} + +void SetCasterConfigRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); +} + +std::string SetCasterConfigRequest::getCallbackUrl()const +{ + return callbackUrl_; +} + +void SetCasterConfigRequest::setCallbackUrl(const std::string& callbackUrl) +{ + callbackUrl_ = callbackUrl; + setParameter("CallbackUrl", callbackUrl); +} + diff --git a/live/src/model/SetCasterConfigResult.cc b/live/src/model/SetCasterConfigResult.cc new file mode 100644 index 000000000..b9b53da5a --- /dev/null +++ b/live/src/model/SetCasterConfigResult.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; + +SetCasterConfigResult::SetCasterConfigResult() : + ServiceResult() +{} + +SetCasterConfigResult::SetCasterConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetCasterConfigResult::~SetCasterConfigResult() +{} + +void SetCasterConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); + +} + +std::string SetCasterConfigResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/SetCasterSceneConfigRequest.cc b/live/src/model/SetCasterSceneConfigRequest.cc new file mode 100644 index 000000000..fb88d4043 --- /dev/null +++ b/live/src/model/SetCasterSceneConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::SetCasterSceneConfigRequest; + +SetCasterSceneConfigRequest::SetCasterSceneConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetCasterSceneConfig") +{} + +SetCasterSceneConfigRequest::~SetCasterSceneConfigRequest() +{} + +std::vector SetCasterSceneConfigRequest::getComponentId()const +{ + return componentId_; +} + +void SetCasterSceneConfigRequest::setComponentId(const std::vector& componentId) +{ + componentId_ = componentId; + for(int i = 0; i!= componentId.size(); i++) + setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); +} + +std::string SetCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; +} + +void SetCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string SetCasterSceneConfigRequest::getSceneId()const +{ + return sceneId_; +} + +void SetCasterSceneConfigRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long SetCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetCasterSceneConfigRequest::getLayoutId()const +{ + return layoutId_; +} + +void SetCasterSceneConfigRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); +} + diff --git a/live/src/model/SetCasterSceneConfigResult.cc b/live/src/model/SetCasterSceneConfigResult.cc new file mode 100644 index 000000000..4d203b6e4 --- /dev/null +++ b/live/src/model/SetCasterSceneConfigResult.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; + +SetCasterSceneConfigResult::SetCasterSceneConfigResult() : + ServiceResult() +{} + +SetCasterSceneConfigResult::SetCasterSceneConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetCasterSceneConfigResult::~SetCasterSceneConfigResult() +{} + +void SetCasterSceneConfigResult::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/SetLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc new file mode 100644 index 000000000..cbdf6c025 --- /dev/null +++ b/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.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::SetLiveStreamsNotifyUrlConfigRequest; + +SetLiveStreamsNotifyUrlConfigRequest::SetLiveStreamsNotifyUrlConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetLiveStreamsNotifyUrlConfig") +{} + +SetLiveStreamsNotifyUrlConfigRequest::~SetLiveStreamsNotifyUrlConfigRequest() +{} + +std::string SetLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetLiveStreamsNotifyUrlConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetLiveStreamsNotifyUrlConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/SetLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/SetLiveStreamsNotifyUrlConfigResult.cc new file mode 100644 index 000000000..d299cd116 --- /dev/null +++ b/live/src/model/SetLiveStreamsNotifyUrlConfigResult.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; + +SetLiveStreamsNotifyUrlConfigResult::SetLiveStreamsNotifyUrlConfigResult() : + ServiceResult() +{} + +SetLiveStreamsNotifyUrlConfigResult::SetLiveStreamsNotifyUrlConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveStreamsNotifyUrlConfigResult::~SetLiveStreamsNotifyUrlConfigResult() +{} + +void SetLiveStreamsNotifyUrlConfigResult::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/StartCasterRequest.cc b/live/src/model/StartCasterRequest.cc new file mode 100644 index 000000000..c349051e3 --- /dev/null +++ b/live/src/model/StartCasterRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::StartCasterRequest; + +StartCasterRequest::StartCasterRequest() : + RpcServiceRequest("live", "2016-11-01", "StartCaster") +{} + +StartCasterRequest::~StartCasterRequest() +{} + +std::string StartCasterRequest::getCasterId()const +{ + return casterId_; +} + +void StartCasterRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long StartCasterRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/StartCasterResult.cc b/live/src/model/StartCasterResult.cc new file mode 100644 index 000000000..9d4448770 --- /dev/null +++ b/live/src/model/StartCasterResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +StartCasterResult::StartCasterResult() : + ServiceResult() +{} + +StartCasterResult::StartCasterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartCasterResult::~StartCasterResult() +{} + +void StartCasterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allPvwSceneInfos = value["PvwSceneInfos"]["SceneInfo"]; + for (auto value : allPvwSceneInfos) + { + SceneInfo pvwSceneInfosObject; + if(!value["SceneId"].isNull()) + pvwSceneInfosObject.sceneId = value["SceneId"].asString(); + if(!value["StreamUrl"].isNull()) + pvwSceneInfosObject.streamUrl = value["StreamUrl"].asString(); + pvwSceneInfos_.push_back(pvwSceneInfosObject); + } + auto allPgmSceneInfos = value["PgmSceneInfos"]["SceneInfo"]; + for (auto value : allPgmSceneInfos) + { + SceneInfo1 pgmSceneInfosObject; + if(!value["SceneId"].isNull()) + pgmSceneInfosObject.sceneId = value["SceneId"].asString(); + if(!value["StreamUrl"].isNull()) + pgmSceneInfosObject.streamUrl = value["StreamUrl"].asString(); + auto allStreamInfos = value["StreamInfos"]["StreamInfo"]; + for (auto value : allStreamInfos) + { + SceneInfo1::StreamInfo streamInfosObject; + if(!value["TranscodeConfig"].isNull()) + streamInfosObject.transcodeConfig = value["TranscodeConfig"].asString(); + if(!value["VideoFormat"].isNull()) + streamInfosObject.videoFormat = value["VideoFormat"].asString(); + if(!value["OutputStreamUrl"].isNull()) + streamInfosObject.outputStreamUrl = value["OutputStreamUrl"].asString(); + pgmSceneInfosObject.streamInfos.push_back(streamInfosObject); + } + pgmSceneInfos_.push_back(pgmSceneInfosObject); + } + +} + +std::vector StartCasterResult::getPvwSceneInfos()const +{ + return pvwSceneInfos_; +} + +std::vector StartCasterResult::getPgmSceneInfos()const +{ + return pgmSceneInfos_; +} + diff --git a/live/src/model/StartCasterSceneRequest.cc b/live/src/model/StartCasterSceneRequest.cc new file mode 100644 index 000000000..8c9aef163 --- /dev/null +++ b/live/src/model/StartCasterSceneRequest.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::StartCasterSceneRequest; + +StartCasterSceneRequest::StartCasterSceneRequest() : + RpcServiceRequest("live", "2016-11-01", "StartCasterScene") +{} + +StartCasterSceneRequest::~StartCasterSceneRequest() +{} + +std::string StartCasterSceneRequest::getCasterId()const +{ + return casterId_; +} + +void StartCasterSceneRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string StartCasterSceneRequest::getSceneId()const +{ + return sceneId_; +} + +void StartCasterSceneRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long StartCasterSceneRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartCasterSceneRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/StartCasterSceneResult.cc b/live/src/model/StartCasterSceneResult.cc new file mode 100644 index 000000000..9bc09352c --- /dev/null +++ b/live/src/model/StartCasterSceneResult.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; + +StartCasterSceneResult::StartCasterSceneResult() : + ServiceResult() +{} + +StartCasterSceneResult::StartCasterSceneResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartCasterSceneResult::~StartCasterSceneResult() +{} + +void StartCasterSceneResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["StreamUrl"].isNull()) + streamUrl_ = value["StreamUrl"].asString(); + +} + +std::string StartCasterSceneResult::getStreamUrl()const +{ + return streamUrl_; +} + diff --git a/live/src/model/StartMixStreamsServiceRequest.cc b/live/src/model/StartMixStreamsServiceRequest.cc new file mode 100644 index 000000000..5b125b590 --- /dev/null +++ b/live/src/model/StartMixStreamsServiceRequest.cc @@ -0,0 +1,148 @@ +/* + * 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::StartMixStreamsServiceRequest; + +StartMixStreamsServiceRequest::StartMixStreamsServiceRequest() : + RpcServiceRequest("live", "2016-11-01", "StartMixStreamsService") +{} + +StartMixStreamsServiceRequest::~StartMixStreamsServiceRequest() +{} + +std::string StartMixStreamsServiceRequest::getMixType()const +{ + return mixType_; +} + +void StartMixStreamsServiceRequest::setMixType(const std::string& mixType) +{ + mixType_ = mixType; + setParameter("MixType", mixType); +} + +std::string StartMixStreamsServiceRequest::getSecurityToken()const +{ + return securityToken_; +} + +void StartMixStreamsServiceRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string StartMixStreamsServiceRequest::getMainDomainName()const +{ + return mainDomainName_; +} + +void StartMixStreamsServiceRequest::setMainDomainName(const std::string& mainDomainName) +{ + mainDomainName_ = mainDomainName; + setParameter("MainDomainName", mainDomainName); +} + +std::string StartMixStreamsServiceRequest::getMixStreamName()const +{ + return mixStreamName_; +} + +void StartMixStreamsServiceRequest::setMixStreamName(const std::string& mixStreamName) +{ + mixStreamName_ = mixStreamName; + setParameter("MixStreamName", mixStreamName); +} + +std::string StartMixStreamsServiceRequest::getMixTemplate()const +{ + return mixTemplate_; +} + +void StartMixStreamsServiceRequest::setMixTemplate(const std::string& mixTemplate) +{ + mixTemplate_ = mixTemplate; + setParameter("MixTemplate", mixTemplate); +} + +std::string StartMixStreamsServiceRequest::getMixDomainName()const +{ + return mixDomainName_; +} + +void StartMixStreamsServiceRequest::setMixDomainName(const std::string& mixDomainName) +{ + mixDomainName_ = mixDomainName; + setParameter("MixDomainName", mixDomainName); +} + +long StartMixStreamsServiceRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartMixStreamsServiceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StartMixStreamsServiceRequest::getMainAppName()const +{ + return mainAppName_; +} + +void StartMixStreamsServiceRequest::setMainAppName(const std::string& mainAppName) +{ + mainAppName_ = mainAppName; + setParameter("MainAppName", mainAppName); +} + +std::string StartMixStreamsServiceRequest::getMixAppName()const +{ + return mixAppName_; +} + +void StartMixStreamsServiceRequest::setMixAppName(const std::string& mixAppName) +{ + mixAppName_ = mixAppName; + setParameter("MixAppName", mixAppName); +} + +std::string StartMixStreamsServiceRequest::getMainStreamName()const +{ + return mainStreamName_; +} + +void StartMixStreamsServiceRequest::setMainStreamName(const std::string& mainStreamName) +{ + mainStreamName_ = mainStreamName; + setParameter("MainStreamName", mainStreamName); +} + +std::string StartMixStreamsServiceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void StartMixStreamsServiceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/StartMixStreamsServiceResult.cc b/live/src/model/StartMixStreamsServiceResult.cc new file mode 100644 index 000000000..af48b1997 --- /dev/null +++ b/live/src/model/StartMixStreamsServiceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +StartMixStreamsServiceResult::StartMixStreamsServiceResult() : + ServiceResult() +{} + +StartMixStreamsServiceResult::StartMixStreamsServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartMixStreamsServiceResult::~StartMixStreamsServiceResult() +{} + +void StartMixStreamsServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allMixStreamsInfoList = value["MixStreamsInfoList"]["MixStreamsInfo"]; + for (auto value : allMixStreamsInfoList) + { + MixStreamsInfo mixStreamsInfoListObject; + if(!value["DomainName"].isNull()) + mixStreamsInfoListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + mixStreamsInfoListObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + mixStreamsInfoListObject.streamName = value["StreamName"].asString(); + mixStreamsInfoList_.push_back(mixStreamsInfoListObject); + } + +} + +std::vector StartMixStreamsServiceResult::getMixStreamsInfoList()const +{ + return mixStreamsInfoList_; +} + diff --git a/live/src/model/StartMultipleStreamMixServiceRequest.cc b/live/src/model/StartMultipleStreamMixServiceRequest.cc new file mode 100644 index 000000000..ab2b90cd7 --- /dev/null +++ b/live/src/model/StartMultipleStreamMixServiceRequest.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::StartMultipleStreamMixServiceRequest; + +StartMultipleStreamMixServiceRequest::StartMultipleStreamMixServiceRequest() : + RpcServiceRequest("live", "2016-11-01", "StartMultipleStreamMixService") +{} + +StartMultipleStreamMixServiceRequest::~StartMultipleStreamMixServiceRequest() +{} + +std::string StartMultipleStreamMixServiceRequest::getAppName()const +{ + return appName_; +} + +void StartMultipleStreamMixServiceRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string StartMultipleStreamMixServiceRequest::getSecurityToken()const +{ + return securityToken_; +} + +void StartMultipleStreamMixServiceRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string StartMultipleStreamMixServiceRequest::getDomainName()const +{ + return domainName_; +} + +void StartMultipleStreamMixServiceRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string StartMultipleStreamMixServiceRequest::getMixTemplate()const +{ + return mixTemplate_; +} + +void StartMultipleStreamMixServiceRequest::setMixTemplate(const std::string& mixTemplate) +{ + mixTemplate_ = mixTemplate; + setParameter("MixTemplate", mixTemplate); +} + +long StartMultipleStreamMixServiceRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartMultipleStreamMixServiceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StartMultipleStreamMixServiceRequest::getStreamName()const +{ + return streamName_; +} + +void StartMultipleStreamMixServiceRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string StartMultipleStreamMixServiceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void StartMultipleStreamMixServiceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/StartMultipleStreamMixServiceResult.cc b/live/src/model/StartMultipleStreamMixServiceResult.cc new file mode 100644 index 000000000..5e977069a --- /dev/null +++ b/live/src/model/StartMultipleStreamMixServiceResult.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; + +StartMultipleStreamMixServiceResult::StartMultipleStreamMixServiceResult() : + ServiceResult() +{} + +StartMultipleStreamMixServiceResult::StartMultipleStreamMixServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartMultipleStreamMixServiceResult::~StartMultipleStreamMixServiceResult() +{} + +void StartMultipleStreamMixServiceResult::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/StopCasterRequest.cc b/live/src/model/StopCasterRequest.cc new file mode 100644 index 000000000..bbf9ad277 --- /dev/null +++ b/live/src/model/StopCasterRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::StopCasterRequest; + +StopCasterRequest::StopCasterRequest() : + RpcServiceRequest("live", "2016-11-01", "StopCaster") +{} + +StopCasterRequest::~StopCasterRequest() +{} + +std::string StopCasterRequest::getCasterId()const +{ + return casterId_; +} + +void StopCasterRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +long StopCasterRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/StopCasterResult.cc b/live/src/model/StopCasterResult.cc new file mode 100644 index 000000000..27f251f20 --- /dev/null +++ b/live/src/model/StopCasterResult.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; + +StopCasterResult::StopCasterResult() : + ServiceResult() +{} + +StopCasterResult::StopCasterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopCasterResult::~StopCasterResult() +{} + +void StopCasterResult::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/StopCasterSceneRequest.cc b/live/src/model/StopCasterSceneRequest.cc new file mode 100644 index 000000000..6b79e65ef --- /dev/null +++ b/live/src/model/StopCasterSceneRequest.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::StopCasterSceneRequest; + +StopCasterSceneRequest::StopCasterSceneRequest() : + RpcServiceRequest("live", "2016-11-01", "StopCasterScene") +{} + +StopCasterSceneRequest::~StopCasterSceneRequest() +{} + +std::string StopCasterSceneRequest::getCasterId()const +{ + return casterId_; +} + +void StopCasterSceneRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string StopCasterSceneRequest::getSceneId()const +{ + return sceneId_; +} + +void StopCasterSceneRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long StopCasterSceneRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopCasterSceneRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/StopCasterSceneResult.cc b/live/src/model/StopCasterSceneResult.cc new file mode 100644 index 000000000..7a807bbfd --- /dev/null +++ b/live/src/model/StopCasterSceneResult.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; + +StopCasterSceneResult::StopCasterSceneResult() : + ServiceResult() +{} + +StopCasterSceneResult::StopCasterSceneResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopCasterSceneResult::~StopCasterSceneResult() +{} + +void StopCasterSceneResult::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/StopMixStreamsServiceRequest.cc b/live/src/model/StopMixStreamsServiceRequest.cc new file mode 100644 index 000000000..e72cb9d62 --- /dev/null +++ b/live/src/model/StopMixStreamsServiceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::StopMixStreamsServiceRequest; + +StopMixStreamsServiceRequest::StopMixStreamsServiceRequest() : + RpcServiceRequest("live", "2016-11-01", "StopMixStreamsService") +{} + +StopMixStreamsServiceRequest::~StopMixStreamsServiceRequest() +{} + +std::string StopMixStreamsServiceRequest::getSecurityToken()const +{ + return securityToken_; +} + +void StopMixStreamsServiceRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string StopMixStreamsServiceRequest::getMainDomainName()const +{ + return mainDomainName_; +} + +void StopMixStreamsServiceRequest::setMainDomainName(const std::string& mainDomainName) +{ + mainDomainName_ = mainDomainName; + setParameter("MainDomainName", mainDomainName); +} + +std::string StopMixStreamsServiceRequest::getMixStreamName()const +{ + return mixStreamName_; +} + +void StopMixStreamsServiceRequest::setMixStreamName(const std::string& mixStreamName) +{ + mixStreamName_ = mixStreamName; + setParameter("MixStreamName", mixStreamName); +} + +std::string StopMixStreamsServiceRequest::getMixDomainName()const +{ + return mixDomainName_; +} + +void StopMixStreamsServiceRequest::setMixDomainName(const std::string& mixDomainName) +{ + mixDomainName_ = mixDomainName; + setParameter("MixDomainName", mixDomainName); +} + +long StopMixStreamsServiceRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopMixStreamsServiceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StopMixStreamsServiceRequest::getMainAppName()const +{ + return mainAppName_; +} + +void StopMixStreamsServiceRequest::setMainAppName(const std::string& mainAppName) +{ + mainAppName_ = mainAppName; + setParameter("MainAppName", mainAppName); +} + +std::string StopMixStreamsServiceRequest::getMixAppName()const +{ + return mixAppName_; +} + +void StopMixStreamsServiceRequest::setMixAppName(const std::string& mixAppName) +{ + mixAppName_ = mixAppName; + setParameter("MixAppName", mixAppName); +} + +std::string StopMixStreamsServiceRequest::getMainStreamName()const +{ + return mainStreamName_; +} + +void StopMixStreamsServiceRequest::setMainStreamName(const std::string& mainStreamName) +{ + mainStreamName_ = mainStreamName; + setParameter("MainStreamName", mainStreamName); +} + +std::string StopMixStreamsServiceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void StopMixStreamsServiceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/StopMixStreamsServiceResult.cc b/live/src/model/StopMixStreamsServiceResult.cc new file mode 100644 index 000000000..8262831d3 --- /dev/null +++ b/live/src/model/StopMixStreamsServiceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +StopMixStreamsServiceResult::StopMixStreamsServiceResult() : + ServiceResult() +{} + +StopMixStreamsServiceResult::StopMixStreamsServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopMixStreamsServiceResult::~StopMixStreamsServiceResult() +{} + +void StopMixStreamsServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allMixStreamsInfoList = value["MixStreamsInfoList"]["MixStreamsInfo"]; + for (auto value : allMixStreamsInfoList) + { + MixStreamsInfo mixStreamsInfoListObject; + if(!value["DomainName"].isNull()) + mixStreamsInfoListObject.domainName = value["DomainName"].asString(); + if(!value["AppName"].isNull()) + mixStreamsInfoListObject.appName = value["AppName"].asString(); + if(!value["StreamName"].isNull()) + mixStreamsInfoListObject.streamName = value["StreamName"].asString(); + mixStreamsInfoList_.push_back(mixStreamsInfoListObject); + } + +} + +std::vector StopMixStreamsServiceResult::getMixStreamsInfoList()const +{ + return mixStreamsInfoList_; +} + diff --git a/live/src/model/StopMultipleStreamMixServiceRequest.cc b/live/src/model/StopMultipleStreamMixServiceRequest.cc new file mode 100644 index 000000000..4103a683c --- /dev/null +++ b/live/src/model/StopMultipleStreamMixServiceRequest.cc @@ -0,0 +1,93 @@ +/* + * 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::StopMultipleStreamMixServiceRequest; + +StopMultipleStreamMixServiceRequest::StopMultipleStreamMixServiceRequest() : + RpcServiceRequest("live", "2016-11-01", "StopMultipleStreamMixService") +{} + +StopMultipleStreamMixServiceRequest::~StopMultipleStreamMixServiceRequest() +{} + +std::string StopMultipleStreamMixServiceRequest::getAppName()const +{ + return appName_; +} + +void StopMultipleStreamMixServiceRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string StopMultipleStreamMixServiceRequest::getSecurityToken()const +{ + return securityToken_; +} + +void StopMultipleStreamMixServiceRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string StopMultipleStreamMixServiceRequest::getDomainName()const +{ + return domainName_; +} + +void StopMultipleStreamMixServiceRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long StopMultipleStreamMixServiceRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopMultipleStreamMixServiceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StopMultipleStreamMixServiceRequest::getStreamName()const +{ + return streamName_; +} + +void StopMultipleStreamMixServiceRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string StopMultipleStreamMixServiceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void StopMultipleStreamMixServiceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/StopMultipleStreamMixServiceResult.cc b/live/src/model/StopMultipleStreamMixServiceResult.cc new file mode 100644 index 000000000..2821bcbca --- /dev/null +++ b/live/src/model/StopMultipleStreamMixServiceResult.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; + +StopMultipleStreamMixServiceResult::StopMultipleStreamMixServiceResult() : + ServiceResult() +{} + +StopMultipleStreamMixServiceResult::StopMultipleStreamMixServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopMultipleStreamMixServiceResult::~StopMultipleStreamMixServiceResult() +{} + +void StopMultipleStreamMixServiceResult::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 new file mode 100644 index 000000000..21376416c --- /dev/null +++ b/live/src/model/UpdateCasterSceneConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateCasterSceneConfigRequest; + +UpdateCasterSceneConfigRequest::UpdateCasterSceneConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneConfig") +{} + +UpdateCasterSceneConfigRequest::~UpdateCasterSceneConfigRequest() +{} + +std::vector UpdateCasterSceneConfigRequest::getComponentId()const +{ + return componentId_; +} + +void UpdateCasterSceneConfigRequest::setComponentId(const std::vector& componentId) +{ + componentId_ = componentId; + for(int i = 0; i!= componentId.size(); i++) + setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); +} + +std::string UpdateCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; +} + +void UpdateCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); +} + +std::string UpdateCasterSceneConfigRequest::getSceneId()const +{ + return sceneId_; +} + +void UpdateCasterSceneConfigRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); +} + +long UpdateCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateCasterSceneConfigRequest::getLayoutId()const +{ + return layoutId_; +} + +void UpdateCasterSceneConfigRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); +} + diff --git a/live/src/model/UpdateCasterSceneConfigResult.cc b/live/src/model/UpdateCasterSceneConfigResult.cc new file mode 100644 index 000000000..4d4cf60c9 --- /dev/null +++ b/live/src/model/UpdateCasterSceneConfigResult.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; + +UpdateCasterSceneConfigResult::UpdateCasterSceneConfigResult() : + ServiceResult() +{} + +UpdateCasterSceneConfigResult::UpdateCasterSceneConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCasterSceneConfigResult::~UpdateCasterSceneConfigResult() +{} + +void UpdateCasterSceneConfigResult::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/UpdateLiveAppSnapshotConfigRequest.cc b/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc new file mode 100644 index 000000000..9c162403d --- /dev/null +++ b/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc @@ -0,0 +1,137 @@ +/* + * 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::UpdateLiveAppSnapshotConfigRequest; + +UpdateLiveAppSnapshotConfigRequest::UpdateLiveAppSnapshotConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateLiveAppSnapshotConfig") +{} + +UpdateLiveAppSnapshotConfigRequest::~UpdateLiveAppSnapshotConfigRequest() +{} + +int UpdateLiveAppSnapshotConfigRequest::getTimeInterval()const +{ + return timeInterval_; +} + +void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) +{ + timeInterval_ = timeInterval; + setParameter("TimeInterval", std::to_string(timeInterval)); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket()const +{ + return ossBucket_; +} + +void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getAppName()const +{ + return appName_; +} + +void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject()const +{ + return sequenceOssObject_; +} + +void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) +{ + sequenceOssObject_ = sequenceOssObject; + setParameter("SequenceOssObject", sequenceOssObject); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject()const +{ + return overwriteOssObject_; +} + +void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) +{ + overwriteOssObject_ = overwriteOssObject; + setParameter("OverwriteOssObject", overwriteOssObject); +} + +long UpdateLiveAppSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateLiveAppSnapshotConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateLiveAppSnapshotConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/UpdateLiveAppSnapshotConfigResult.cc b/live/src/model/UpdateLiveAppSnapshotConfigResult.cc new file mode 100644 index 000000000..f5a85f420 --- /dev/null +++ b/live/src/model/UpdateLiveAppSnapshotConfigResult.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; + +UpdateLiveAppSnapshotConfigResult::UpdateLiveAppSnapshotConfigResult() : + ServiceResult() +{} + +UpdateLiveAppSnapshotConfigResult::UpdateLiveAppSnapshotConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLiveAppSnapshotConfigResult::~UpdateLiveAppSnapshotConfigResult() +{} + +void UpdateLiveAppSnapshotConfigResult::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/UpdateLiveDetectNotifyConfigRequest.cc b/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc new file mode 100644 index 000000000..0fcccbead --- /dev/null +++ b/live/src/model/UpdateLiveDetectNotifyConfigRequest.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::UpdateLiveDetectNotifyConfigRequest; + +UpdateLiveDetectNotifyConfigRequest::UpdateLiveDetectNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateLiveDetectNotifyConfig") +{} + +UpdateLiveDetectNotifyConfigRequest::~UpdateLiveDetectNotifyConfigRequest() +{} + +std::string UpdateLiveDetectNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UpdateLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string UpdateLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string UpdateLiveDetectNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void UpdateLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +long UpdateLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateLiveDetectNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateLiveDetectNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/UpdateLiveDetectNotifyConfigResult.cc b/live/src/model/UpdateLiveDetectNotifyConfigResult.cc new file mode 100644 index 000000000..d37eb5ec2 --- /dev/null +++ b/live/src/model/UpdateLiveDetectNotifyConfigResult.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; + +UpdateLiveDetectNotifyConfigResult::UpdateLiveDetectNotifyConfigResult() : + ServiceResult() +{} + +UpdateLiveDetectNotifyConfigResult::UpdateLiveDetectNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLiveDetectNotifyConfigResult::~UpdateLiveDetectNotifyConfigResult() +{} + +void UpdateLiveDetectNotifyConfigResult::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/UpdateLiveMixNotifyConfigRequest.cc b/live/src/model/UpdateLiveMixNotifyConfigRequest.cc new file mode 100644 index 000000000..b6b662b6f --- /dev/null +++ b/live/src/model/UpdateLiveMixNotifyConfigRequest.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::UpdateLiveMixNotifyConfigRequest; + +UpdateLiveMixNotifyConfigRequest::UpdateLiveMixNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateLiveMixNotifyConfig") +{} + +UpdateLiveMixNotifyConfigRequest::~UpdateLiveMixNotifyConfigRequest() +{} + +std::string UpdateLiveMixNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UpdateLiveMixNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string UpdateLiveMixNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateLiveMixNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string UpdateLiveMixNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void UpdateLiveMixNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +long UpdateLiveMixNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateLiveMixNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateLiveMixNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateLiveMixNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/UpdateLiveMixNotifyConfigResult.cc b/live/src/model/UpdateLiveMixNotifyConfigResult.cc new file mode 100644 index 000000000..7d81f3b2e --- /dev/null +++ b/live/src/model/UpdateLiveMixNotifyConfigResult.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; + +UpdateLiveMixNotifyConfigResult::UpdateLiveMixNotifyConfigResult() : + ServiceResult() +{} + +UpdateLiveMixNotifyConfigResult::UpdateLiveMixNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLiveMixNotifyConfigResult::~UpdateLiveMixNotifyConfigResult() +{} + +void UpdateLiveMixNotifyConfigResult::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/UpdateLiveRecordNotifyConfigRequest.cc b/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc new file mode 100644 index 000000000..5791cca3b --- /dev/null +++ b/live/src/model/UpdateLiveRecordNotifyConfigRequest.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::UpdateLiveRecordNotifyConfigRequest; + +UpdateLiveRecordNotifyConfigRequest::UpdateLiveRecordNotifyConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateLiveRecordNotifyConfig") +{} + +UpdateLiveRecordNotifyConfigRequest::~UpdateLiveRecordNotifyConfigRequest() +{} + +std::string UpdateLiveRecordNotifyConfigRequest::getOnDemandUrl()const +{ + return onDemandUrl_; +} + +void UpdateLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) +{ + onDemandUrl_ = onDemandUrl; + setParameter("OnDemandUrl", onDemandUrl); +} + +std::string UpdateLiveRecordNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UpdateLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string UpdateLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string UpdateLiveRecordNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void UpdateLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +long UpdateLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +bool UpdateLiveRecordNotifyConfigRequest::getNeedStatusNotify()const +{ + return needStatusNotify_; +} + +void UpdateLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) +{ + needStatusNotify_ = needStatusNotify; + setParameter("NeedStatusNotify", std::to_string(needStatusNotify)); +} + +std::string UpdateLiveRecordNotifyConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateLiveRecordNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/live/src/model/UpdateLiveRecordNotifyConfigResult.cc b/live/src/model/UpdateLiveRecordNotifyConfigResult.cc new file mode 100644 index 000000000..3f905006b --- /dev/null +++ b/live/src/model/UpdateLiveRecordNotifyConfigResult.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; + +UpdateLiveRecordNotifyConfigResult::UpdateLiveRecordNotifyConfigResult() : + ServiceResult() +{} + +UpdateLiveRecordNotifyConfigResult::UpdateLiveRecordNotifyConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLiveRecordNotifyConfigResult::~UpdateLiveRecordNotifyConfigResult() +{} + +void UpdateLiveRecordNotifyConfigResult::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/UpdateLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc new file mode 100644 index 000000000..9ef4c07eb --- /dev/null +++ b/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc @@ -0,0 +1,138 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveSnapshotDetectPornConfigRequest; + +UpdateLiveSnapshotDetectPornConfigRequest::UpdateLiveSnapshotDetectPornConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateLiveSnapshotDetectPornConfig") +{} + +UpdateLiveSnapshotDetectPornConfigRequest::~UpdateLiveSnapshotDetectPornConfigRequest() +{} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssBucket()const +{ + return ossBucket_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getAppName()const +{ + return appName_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +int UpdateLiveSnapshotDetectPornConfigRequest::getInterval()const +{ + return interval_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setInterval(int interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); +} + +long UpdateLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssObject()const +{ + return ossObject_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); +} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::vector UpdateLiveSnapshotDetectPornConfigRequest::getScene()const +{ + return scene_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setScene(const std::vector& scene) +{ + scene_ = scene; + for(int i = 0; i!= scene.size(); i++) + setParameter("Scene."+ std::to_string(i), scene.at(i)); +} + diff --git a/live/src/model/UpdateLiveSnapshotDetectPornConfigResult.cc b/live/src/model/UpdateLiveSnapshotDetectPornConfigResult.cc new file mode 100644 index 000000000..b4a2a8f97 --- /dev/null +++ b/live/src/model/UpdateLiveSnapshotDetectPornConfigResult.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; + +UpdateLiveSnapshotDetectPornConfigResult::UpdateLiveSnapshotDetectPornConfigResult() : + ServiceResult() +{} + +UpdateLiveSnapshotDetectPornConfigResult::UpdateLiveSnapshotDetectPornConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLiveSnapshotDetectPornConfigResult::~UpdateLiveSnapshotDetectPornConfigResult() +{} + +void UpdateLiveSnapshotDetectPornConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} +