diff --git a/CHANGELOG b/CHANGELOG index 3d2634615..a3191adf3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-06-04 Version: 1.36.42 +1, Add new API: UpdateLivePullStreamInfoConfig + 2019-06-03 Version: 1.36.41 1, Add openapi of ACL. diff --git a/VERSION b/VERSION index a51f54a47..b4b664547 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.41 \ No newline at end of file +1.36.42 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index fe638ce88..ea37ef87c 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -1,714 +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. -# - -set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) - +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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/DescribeRoomListRequest.h - include/alibabacloud/live/model/DescribeRoomListResult.h - include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h - include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h - include/alibabacloud/live/model/ModifyCasterComponentRequest.h - 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/CompleteBoardRequest.h - include/alibabacloud/live/model/CompleteBoardResult.h - include/alibabacloud/live/model/DescribeCasterComponentsRequest.h - include/alibabacloud/live/model/DescribeCasterComponentsResult.h - include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h - include/alibabacloud/live/model/DescribeLiveMixConfigResult.h - include/alibabacloud/live/model/DescribeRoomStatusRequest.h - include/alibabacloud/live/model/DescribeRoomStatusResult.h - include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h - include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h - include/alibabacloud/live/model/DeleteLiveSpecificConfigRequest.h - include/alibabacloud/live/model/DeleteLiveSpecificConfigResult.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/DescribeUpBpsPeakOfLineRequest.h - include/alibabacloud/live/model/DescribeUpBpsPeakOfLineResult.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/DeleteBoardRequest.h - include/alibabacloud/live/model/DeleteBoardResult.h - include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h - include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h - include/alibabacloud/live/model/DeleteCasterLayoutRequest.h - 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/DescribeLiveTopDomainsByFlowRequest.h - include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.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/SetLiveLazyPullStreamInfoConfigRequest.h - include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h - include/alibabacloud/live/model/AddCasterEpisodeRequest.h - include/alibabacloud/live/model/AddCasterEpisodeResult.h - include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h - include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataResult.h - include/alibabacloud/live/model/AllowPushStreamRequest.h - include/alibabacloud/live/model/AllowPushStreamResult.h - include/alibabacloud/live/model/ForbidPushStreamRequest.h - include/alibabacloud/live/model/ForbidPushStreamResult.h - include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h - include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h - include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h - include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.h - include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h - include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h - include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h - include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h - include/alibabacloud/live/model/CreateBoardRequest.h - include/alibabacloud/live/model/CreateBoardResult.h - include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h - include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h - include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h - 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/DescribeLiveCertificateListRequest.h - include/alibabacloud/live/model/DescribeLiveCertificateListResult.h - include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h - include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.h - include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h - include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h - include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h - include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h - include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h - include/alibabacloud/live/model/DescribeUpBpsPeakDataResult.h - include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h - include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h - include/alibabacloud/live/model/ModifyCasterProgramRequest.h - include/alibabacloud/live/model/ModifyCasterProgramResult.h - include/alibabacloud/live/model/DescribeBoardEventsRequest.h - include/alibabacloud/live/model/DescribeBoardEventsResult.h - include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h - include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h - include/alibabacloud/live/model/StartMixStreamsServiceRequest.h - 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/StartLiveDomainRequest.h - include/alibabacloud/live/model/StartLiveDomainResult.h - include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h - include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h - include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h - include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h - include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h - include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h - include/alibabacloud/live/model/AddCasterVideoResourceRequest.h - include/alibabacloud/live/model/AddCasterVideoResourceResult.h - include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h - include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h - include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h - include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h - include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h - include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h - include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h - include/alibabacloud/live/model/ModifyCasterVideoResourceResult.h - include/alibabacloud/live/model/CreateRoomRequest.h - include/alibabacloud/live/model/CreateRoomResult.h - include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h - include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h - include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h - include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.h - include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h - include/alibabacloud/live/model/DescribeLiveStreamCountResult.h - include/alibabacloud/live/model/StopCasterSceneRequest.h - include/alibabacloud/live/model/StopCasterSceneResult.h - include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h - include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataResult.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/DescribeLiveDomainRealTimeHttpCodeDataRequest.h - include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataResult.h - include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h - include/alibabacloud/live/model/ModifyCasterEpisodeResult.h - include/alibabacloud/live/model/DescribeBoardsRequest.h - include/alibabacloud/live/model/DescribeBoardsResult.h - include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h - include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h - include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h - 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/DescribeForbidPushStreamRoomListRequest.h - include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h - include/alibabacloud/live/model/CreateCasterRequest.h - include/alibabacloud/live/model/CreateCasterResult.h - include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h - 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/SetCasterChannelRequest.h - include/alibabacloud/live/model/SetCasterChannelResult.h - include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h - include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h - include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h - include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h - include/alibabacloud/live/model/DescribeCasterProgramRequest.h - include/alibabacloud/live/model/DescribeCasterProgramResult.h - include/alibabacloud/live/model/StopLiveDomainRequest.h - include/alibabacloud/live/model/StopLiveDomainResult.h - include/alibabacloud/live/model/ApplyBoardTokenRequest.h - include/alibabacloud/live/model/ApplyBoardTokenResult.h - include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h - include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h - include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h - include/alibabacloud/live/model/AddLiveAppRecordConfigResult.h - include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h - include/alibabacloud/live/model/AddLiveRecordVodConfigResult.h - include/alibabacloud/live/model/SendRoomUserNotificationRequest.h - include/alibabacloud/live/model/SendRoomUserNotificationResult.h - include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h - include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h - include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h - include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h - include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h - include/alibabacloud/live/model/DescribeLiveDomainDetailResult.h - include/alibabacloud/live/model/DescribeCasterChannelsRequest.h - include/alibabacloud/live/model/DescribeCasterChannelsResult.h - include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h - include/alibabacloud/live/model/DescribeLiveDomainConfigsResult.h - include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h - include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h - include/alibabacloud/live/model/DeleteRoomRequest.h - include/alibabacloud/live/model/DeleteRoomResult.h - include/alibabacloud/live/model/AddCasterProgramRequest.h - include/alibabacloud/live/model/AddCasterProgramResult.h - include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h - include/alibabacloud/live/model/DescribeBoardSnapshotResult.h - include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h - include/alibabacloud/live/model/DeleteLiveMixConfigResult.h - include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h - include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h - include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h - include/alibabacloud/live/model/SetLiveDomainCertificateResult.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/DescribeUpPeakPublishStreamDataRequest.h - include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataResult.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/DeleteLiveDomainRequest.h - include/alibabacloud/live/model/DeleteLiveDomainResult.h - include/alibabacloud/live/model/SetCasterConfigRequest.h - include/alibabacloud/live/model/SetCasterConfigResult.h - include/alibabacloud/live/model/AddLiveDomainMappingRequest.h - include/alibabacloud/live/model/AddLiveDomainMappingResult.h - include/alibabacloud/live/model/RealTimeRecordCommandRequest.h - include/alibabacloud/live/model/RealTimeRecordCommandResult.h - include/alibabacloud/live/model/StartCasterRequest.h - 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/UpdateBoardRequest.h - include/alibabacloud/live/model/UpdateBoardResult.h - include/alibabacloud/live/model/JoinBoardRequest.h - include/alibabacloud/live/model/JoinBoardResult.h - include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h - include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h - include/alibabacloud/live/model/ModifyCasterLayoutRequest.h - 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/AddLiveDomainRequest.h - include/alibabacloud/live/model/AddLiveDomainResult.h - include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h - include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h - include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h - include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.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/DescribeLiveLazyPullStreamConfigRequest.h - include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h - include/alibabacloud/live/model/DescribeCasterScenesRequest.h - include/alibabacloud/live/model/DescribeCasterScenesResult.h - include/alibabacloud/live/model/SendRoomNotificationRequest.h - include/alibabacloud/live/model/SendRoomNotificationResult.h - include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h - include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h ) - + include/alibabacloud/live/LiveExport.h ) + +set(live_public_header_model ) + set(live_src - src/LiveClient.cc - src/model/DescribeLiveRecordNotifyConfigRequest.cc - src/model/DescribeLiveRecordNotifyConfigResult.cc - src/model/DescribeRoomListRequest.cc - src/model/DescribeRoomListResult.cc - src/model/DescribeLiveDetectNotifyConfigRequest.cc - src/model/DescribeLiveDetectNotifyConfigResult.cc - src/model/ModifyCasterComponentRequest.cc - src/model/ModifyCasterComponentResult.cc - src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc - src/model/UpdateLiveSnapshotDetectPornConfigResult.cc - src/model/EffectCasterUrgentRequest.cc - src/model/EffectCasterUrgentResult.cc - src/model/CompleteBoardRequest.cc - src/model/CompleteBoardResult.cc - src/model/DescribeCasterComponentsRequest.cc - src/model/DescribeCasterComponentsResult.cc - src/model/DescribeLiveMixConfigRequest.cc - src/model/DescribeLiveMixConfigResult.cc - src/model/DescribeRoomStatusRequest.cc - src/model/DescribeRoomStatusResult.cc - src/model/CreateLiveStreamRecordIndexFilesRequest.cc - src/model/CreateLiveStreamRecordIndexFilesResult.cc - src/model/DeleteLiveSpecificConfigRequest.cc - src/model/DeleteLiveSpecificConfigResult.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/DescribeUpBpsPeakOfLineRequest.cc - src/model/DescribeUpBpsPeakOfLineResult.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/DeleteBoardRequest.cc - src/model/DeleteBoardResult.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/DescribeLiveTopDomainsByFlowRequest.cc - src/model/DescribeLiveTopDomainsByFlowResult.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/SetLiveLazyPullStreamInfoConfigRequest.cc - src/model/SetLiveLazyPullStreamInfoConfigResult.cc - src/model/AddCasterEpisodeRequest.cc - src/model/AddCasterEpisodeResult.cc - src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc - src/model/DescribeLiveDomainRealTimeBpsDataResult.cc - src/model/AllowPushStreamRequest.cc - src/model/AllowPushStreamResult.cc - src/model/ForbidPushStreamRequest.cc - src/model/ForbidPushStreamResult.cc - src/model/DescribeLiveRecordConfigRequest.cc - src/model/DescribeLiveRecordConfigResult.cc - src/model/DeleteLiveRecordNotifyConfigRequest.cc - src/model/DeleteLiveRecordNotifyConfigResult.cc - src/model/AddLiveRecordNotifyConfigRequest.cc - src/model/AddLiveRecordNotifyConfigResult.cc - src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc - src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc - src/model/CreateBoardRequest.cc - src/model/CreateBoardResult.cc - src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc - src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc - src/model/DescribeLiveStreamOnlineUserNumRequest.cc - 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/DescribeLiveCertificateListRequest.cc - src/model/DescribeLiveCertificateListResult.cc - src/model/DeleteLiveAppSnapshotConfigRequest.cc - src/model/DeleteLiveAppSnapshotConfigResult.cc - src/model/UpdateCasterSceneAudioRequest.cc - src/model/UpdateCasterSceneAudioResult.cc - src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc - src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc - src/model/DescribeUpBpsPeakDataRequest.cc - src/model/DescribeUpBpsPeakDataResult.cc - src/model/DeleteLivePullStreamInfoConfigRequest.cc - src/model/DeleteLivePullStreamInfoConfigResult.cc - src/model/ModifyCasterProgramRequest.cc - src/model/ModifyCasterProgramResult.cc - src/model/DescribeBoardEventsRequest.cc - src/model/DescribeBoardEventsResult.cc - src/model/DescribeLiveCertificateDetailRequest.cc - src/model/DescribeLiveCertificateDetailResult.cc - src/model/StartMixStreamsServiceRequest.cc - 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/StartLiveDomainRequest.cc - src/model/StartLiveDomainResult.cc - src/model/DescribeCasterSceneAudioRequest.cc - src/model/DescribeCasterSceneAudioResult.cc - src/model/DescribeLiveStreamsBlockListRequest.cc - src/model/DescribeLiveStreamsBlockListResult.cc - src/model/AddLiveStreamTranscodeRequest.cc - src/model/AddLiveStreamTranscodeResult.cc - src/model/AddCasterVideoResourceRequest.cc - src/model/AddCasterVideoResourceResult.cc - src/model/DescribeRoomKickoutUserListRequest.cc - src/model/DescribeRoomKickoutUserListResult.cc - src/model/AddCasterEpisodeGroupContentRequest.cc - src/model/AddCasterEpisodeGroupContentResult.cc - src/model/UpdateLiveDetectNotifyConfigRequest.cc - src/model/UpdateLiveDetectNotifyConfigResult.cc - src/model/ModifyCasterVideoResourceRequest.cc - src/model/ModifyCasterVideoResourceResult.cc - src/model/CreateRoomRequest.cc - src/model/CreateRoomResult.cc - src/model/DescribeCasterStreamUrlRequest.cc - src/model/DescribeCasterStreamUrlResult.cc - src/model/DescribeLiveStreamsControlHistoryRequest.cc - src/model/DescribeLiveStreamsControlHistoryResult.cc - src/model/DescribeLiveStreamCountRequest.cc - src/model/DescribeLiveStreamCountResult.cc - src/model/StopCasterSceneRequest.cc - src/model/StopCasterSceneResult.cc - src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc - src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc - src/model/DescribeLiveDomainSnapshotDataRequest.cc - src/model/DescribeLiveDomainSnapshotDataResult.cc - src/model/DeleteLiveRecordVodConfigRequest.cc - src/model/DeleteLiveRecordVodConfigResult.cc - src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc - src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc - src/model/ModifyCasterEpisodeRequest.cc - src/model/ModifyCasterEpisodeResult.cc - src/model/DescribeBoardsRequest.cc - src/model/DescribeBoardsResult.cc - src/model/DescribeLiveStreamSnapshotInfoRequest.cc - src/model/DescribeLiveStreamSnapshotInfoResult.cc - src/model/StartMultipleStreamMixServiceRequest.cc - 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/DescribeForbidPushStreamRoomListRequest.cc - src/model/DescribeForbidPushStreamRoomListResult.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/SetCasterChannelRequest.cc - src/model/SetCasterChannelResult.cc - src/model/DescribeLiveSnapshotConfigRequest.cc - src/model/DescribeLiveSnapshotConfigResult.cc - src/model/DescribeLiveDomainTrafficDataRequest.cc - src/model/DescribeLiveDomainTrafficDataResult.cc - src/model/DescribeCasterProgramRequest.cc - src/model/DescribeCasterProgramResult.cc - src/model/StopLiveDomainRequest.cc - src/model/StopLiveDomainResult.cc - src/model/ApplyBoardTokenRequest.cc - src/model/ApplyBoardTokenResult.cc - src/model/DescribeLiveStreamHistoryUserNumRequest.cc - src/model/DescribeLiveStreamHistoryUserNumResult.cc - src/model/AddLiveAppRecordConfigRequest.cc - src/model/AddLiveAppRecordConfigResult.cc - src/model/AddLiveRecordVodConfigRequest.cc - src/model/AddLiveRecordVodConfigResult.cc - src/model/SendRoomUserNotificationRequest.cc - src/model/SendRoomUserNotificationResult.cc - src/model/DeleteLiveDomainMappingRequest.cc - src/model/DeleteLiveDomainMappingResult.cc - src/model/BatchSetLiveDomainConfigsRequest.cc - src/model/BatchSetLiveDomainConfigsResult.cc - src/model/DescribeLiveDomainDetailRequest.cc - src/model/DescribeLiveDomainDetailResult.cc - src/model/DescribeCasterChannelsRequest.cc - src/model/DescribeCasterChannelsResult.cc - src/model/DescribeLiveDomainConfigsRequest.cc - src/model/DescribeLiveDomainConfigsResult.cc - src/model/DescribeLiveStreamRecordIndexFilesRequest.cc - src/model/DescribeLiveStreamRecordIndexFilesResult.cc - src/model/DeleteRoomRequest.cc - src/model/DeleteRoomResult.cc - src/model/AddCasterProgramRequest.cc - src/model/AddCasterProgramResult.cc - src/model/DescribeBoardSnapshotRequest.cc - src/model/DescribeBoardSnapshotResult.cc - src/model/DeleteLiveMixConfigRequest.cc - src/model/DeleteLiveMixConfigResult.cc - src/model/BatchDeleteLiveDomainConfigsRequest.cc - src/model/BatchDeleteLiveDomainConfigsResult.cc - src/model/SetLiveDomainCertificateRequest.cc - src/model/SetLiveDomainCertificateResult.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/DescribeUpPeakPublishStreamDataRequest.cc - src/model/DescribeUpPeakPublishStreamDataResult.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/DeleteLiveDomainRequest.cc - src/model/DeleteLiveDomainResult.cc - src/model/SetCasterConfigRequest.cc - src/model/SetCasterConfigResult.cc - src/model/AddLiveDomainMappingRequest.cc - src/model/AddLiveDomainMappingResult.cc - src/model/RealTimeRecordCommandRequest.cc - src/model/RealTimeRecordCommandResult.cc - src/model/StartCasterRequest.cc - src/model/StartCasterResult.cc - src/model/ResumeLiveStreamRequest.cc - src/model/ResumeLiveStreamResult.cc - src/model/AddCasterLayoutRequest.cc - src/model/AddCasterLayoutResult.cc - src/model/UpdateBoardRequest.cc - src/model/UpdateBoardResult.cc - src/model/JoinBoardRequest.cc - src/model/JoinBoardResult.cc - src/model/DescribeLiveUserDomainsRequest.cc - src/model/DescribeLiveUserDomainsResult.cc - src/model/ModifyCasterLayoutRequest.cc - 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/AddLiveDomainRequest.cc - src/model/AddLiveDomainResult.cc - src/model/DeleteLiveAppRecordConfigRequest.cc - src/model/DeleteLiveAppRecordConfigResult.cc - src/model/DescribeLiveDomainBpsDataRequest.cc - src/model/DescribeLiveDomainBpsDataResult.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/DescribeLiveLazyPullStreamConfigRequest.cc - src/model/DescribeLiveLazyPullStreamConfigResult.cc - src/model/DescribeCasterScenesRequest.cc - src/model/DescribeCasterScenesResult.cc - src/model/SendRoomNotificationRequest.cc - src/model/SendRoomNotificationResult.cc - src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc - src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc ) - -add_library(live ${LIB_TYPE} - ${live_public_header} - ${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} + src/LiveClient.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 index b6c894fc4..11064267d 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -1,57 +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_LIVECLIENT_H_ -#define ALIBABACLOUD_LIVE_LIVECLIENT_H_ - -#include -#include -#include -#include -#include "LiveExport.h" -#include "model/DescribeLiveRecordNotifyConfigRequest.h" -#include "model/DescribeLiveRecordNotifyConfigResult.h" +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS 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/StartBoardRecordRequest.h" +#include "model/StartBoardRecordResult.h" #include "model/DescribeRoomListRequest.h" #include "model/DescribeRoomListResult.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/CompleteBoardRequest.h" #include "model/CompleteBoardResult.h" #include "model/DescribeCasterComponentsRequest.h" #include "model/DescribeCasterComponentsResult.h" -#include "model/DescribeLiveMixConfigRequest.h" -#include "model/DescribeLiveMixConfigResult.h" +#include "model/EffectCasterUrgentRequest.h" +#include "model/EffectCasterUrgentResult.h" #include "model/DescribeRoomStatusRequest.h" #include "model/DescribeRoomStatusResult.h" #include "model/CreateLiveStreamRecordIndexFilesRequest.h" #include "model/CreateLiveStreamRecordIndexFilesResult.h" -#include "model/DeleteLiveSpecificConfigRequest.h" -#include "model/DeleteLiveSpecificConfigResult.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/DescribeLiveStreamTranscodeInfoRequest.h" +#include "model/DescribeLiveStreamTranscodeInfoResult.h" #include "model/DeleteLiveSnapshotDetectPornConfigRequest.h" #include "model/DeleteLiveSnapshotDetectPornConfigResult.h" #include "model/DescribeUpBpsPeakOfLineRequest.h" @@ -60,18 +58,16 @@ #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/SetCasterSceneConfigRequest.h" +#include "model/SetCasterSceneConfigResult.h" #include "model/DeleteBoardRequest.h" #include "model/DeleteBoardResult.h" #include "model/DescribeLiveStreamBitRateDataRequest.h" @@ -82,48 +78,48 @@ #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/StartLiveIndexRequest.h" +#include "model/StartLiveIndexResult.h" #include "model/DescribeLiveTopDomainsByFlowRequest.h" #include "model/DescribeLiveTopDomainsByFlowResult.h" -#include "model/AddLiveMixConfigRequest.h" -#include "model/AddLiveMixConfigResult.h" +#include "model/AddCasterEpisodeGroupRequest.h" +#include "model/AddCasterEpisodeGroupResult.h" +#include "model/DescribeLiveStreamRecordIndexFileRequest.h" +#include "model/DescribeLiveStreamRecordIndexFileResult.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/SetLiveLazyPullStreamInfoConfigRequest.h" #include "model/SetLiveLazyPullStreamInfoConfigResult.h" +#include "model/AddCustomLiveStreamTranscodeRequest.h" +#include "model/AddCustomLiveStreamTranscodeResult.h" #include "model/AddCasterEpisodeRequest.h" #include "model/AddCasterEpisodeResult.h" #include "model/DescribeLiveDomainRealTimeBpsDataRequest.h" #include "model/DescribeLiveDomainRealTimeBpsDataResult.h" #include "model/AllowPushStreamRequest.h" #include "model/AllowPushStreamResult.h" -#include "model/ForbidPushStreamRequest.h" -#include "model/ForbidPushStreamResult.h" #include "model/DescribeLiveRecordConfigRequest.h" #include "model/DescribeLiveRecordConfigResult.h" -#include "model/DeleteLiveRecordNotifyConfigRequest.h" -#include "model/DeleteLiveRecordNotifyConfigResult.h" -#include "model/AddLiveRecordNotifyConfigRequest.h" -#include "model/AddLiveRecordNotifyConfigResult.h" +#include "model/ForbidPushStreamRequest.h" +#include "model/ForbidPushStreamResult.h" #include "model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h" #include "model/DescribeHlsLiveStreamRealTimeBpsDataResult.h" +#include "model/AddLiveRecordNotifyConfigRequest.h" +#include "model/AddLiveRecordNotifyConfigResult.h" +#include "model/DeleteLiveRecordNotifyConfigRequest.h" +#include "model/DeleteLiveRecordNotifyConfigResult.h" #include "model/CreateBoardRequest.h" #include "model/CreateBoardResult.h" #include "model/DeleteLiveStreamsNotifyUrlConfigRequest.h" #include "model/DeleteLiveStreamsNotifyUrlConfigResult.h" #include "model/DescribeLiveStreamOnlineUserNumRequest.h" #include "model/DescribeLiveStreamOnlineUserNumResult.h" +#include "model/DescribeRecordRequest.h" +#include "model/DescribeRecordResult.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" @@ -132,40 +128,40 @@ #include "model/DescribeLiveCertificateListResult.h" #include "model/DeleteLiveAppSnapshotConfigRequest.h" #include "model/DeleteLiveAppSnapshotConfigResult.h" -#include "model/UpdateCasterSceneAudioRequest.h" -#include "model/UpdateCasterSceneAudioResult.h" #include "model/DescribeLiveStreamsNotifyUrlConfigRequest.h" #include "model/DescribeLiveStreamsNotifyUrlConfigResult.h" +#include "model/UpdateCasterSceneAudioRequest.h" +#include "model/UpdateCasterSceneAudioResult.h" +#include "model/ApplyRecordTokenRequest.h" +#include "model/ApplyRecordTokenResult.h" #include "model/DescribeUpBpsPeakDataRequest.h" #include "model/DescribeUpBpsPeakDataResult.h" #include "model/DeleteLivePullStreamInfoConfigRequest.h" #include "model/DeleteLivePullStreamInfoConfigResult.h" +#include "model/ModifyLiveDomainSchdmByPropertyRequest.h" +#include "model/ModifyLiveDomainSchdmByPropertyResult.h" #include "model/ModifyCasterProgramRequest.h" #include "model/ModifyCasterProgramResult.h" #include "model/DescribeBoardEventsRequest.h" #include "model/DescribeBoardEventsResult.h" #include "model/DescribeLiveCertificateDetailRequest.h" #include "model/DescribeLiveCertificateDetailResult.h" -#include "model/StartMixStreamsServiceRequest.h" -#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/StartLiveDomainRequest.h" #include "model/StartLiveDomainResult.h" -#include "model/DescribeCasterSceneAudioRequest.h" -#include "model/DescribeCasterSceneAudioResult.h" #include "model/DescribeLiveStreamsBlockListRequest.h" #include "model/DescribeLiveStreamsBlockListResult.h" -#include "model/AddLiveStreamTranscodeRequest.h" -#include "model/AddLiveStreamTranscodeResult.h" -#include "model/AddCasterVideoResourceRequest.h" -#include "model/AddCasterVideoResourceResult.h" +#include "model/DescribeCasterSceneAudioRequest.h" +#include "model/DescribeCasterSceneAudioResult.h" #include "model/DescribeRoomKickoutUserListRequest.h" #include "model/DescribeRoomKickoutUserListResult.h" +#include "model/AddCasterVideoResourceRequest.h" +#include "model/AddCasterVideoResourceResult.h" +#include "model/AddLiveStreamTranscodeRequest.h" +#include "model/AddLiveStreamTranscodeResult.h" #include "model/AddCasterEpisodeGroupContentRequest.h" #include "model/AddCasterEpisodeGroupContentResult.h" #include "model/UpdateLiveDetectNotifyConfigRequest.h" @@ -196,36 +192,32 @@ #include "model/DescribeBoardsResult.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/UpdateBoardCallbackRequest.h" +#include "model/UpdateBoardCallbackResult.h" #include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h" #include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h" #include "model/DescribeForbidPushStreamRoomListRequest.h" #include "model/DescribeForbidPushStreamRoomListResult.h" -#include "model/CreateCasterRequest.h" -#include "model/CreateCasterResult.h" #include "model/DescribeLiveStreamRecordContentRequest.h" #include "model/DescribeLiveStreamRecordContentResult.h" -#include "model/AddMultipleStreamMixServiceRequest.h" -#include "model/AddMultipleStreamMixServiceResult.h" +#include "model/CreateCasterRequest.h" +#include "model/CreateCasterResult.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/SetCasterChannelRequest.h" #include "model/SetCasterChannelResult.h" +#include "model/UpdateLiveRecordNotifyConfigRequest.h" +#include "model/UpdateLiveRecordNotifyConfigResult.h" #include "model/DescribeLiveSnapshotConfigRequest.h" #include "model/DescribeLiveSnapshotConfigResult.h" -#include "model/DescribeLiveDomainTrafficDataRequest.h" -#include "model/DescribeLiveDomainTrafficDataResult.h" +#include "model/CompleteBoardRecordRequest.h" +#include "model/CompleteBoardRecordResult.h" #include "model/DescribeCasterProgramRequest.h" #include "model/DescribeCasterProgramResult.h" +#include "model/DescribeLiveDomainTrafficDataRequest.h" +#include "model/DescribeLiveDomainTrafficDataResult.h" #include "model/StopLiveDomainRequest.h" #include "model/StopLiveDomainResult.h" #include "model/ApplyBoardTokenRequest.h" @@ -242,8 +234,12 @@ #include "model/DeleteLiveDomainMappingResult.h" #include "model/BatchSetLiveDomainConfigsRequest.h" #include "model/BatchSetLiveDomainConfigsResult.h" +#include "model/DescribeLiveDomainMappingRequest.h" +#include "model/DescribeLiveDomainMappingResult.h" #include "model/DescribeLiveDomainDetailRequest.h" #include "model/DescribeLiveDomainDetailResult.h" +#include "model/SetLiveStreamOptimizedFeatureConfigRequest.h" +#include "model/SetLiveStreamOptimizedFeatureConfigResult.h" #include "model/DescribeCasterChannelsRequest.h" #include "model/DescribeCasterChannelsResult.h" #include "model/DescribeLiveDomainConfigsRequest.h" @@ -252,20 +248,26 @@ #include "model/DescribeLiveStreamRecordIndexFilesResult.h" #include "model/DeleteRoomRequest.h" #include "model/DeleteRoomResult.h" +#include "model/DescribeLiveStreamDelayConfigRequest.h" +#include "model/DescribeLiveStreamDelayConfigResult.h" #include "model/AddCasterProgramRequest.h" #include "model/AddCasterProgramResult.h" -#include "model/DescribeBoardSnapshotRequest.h" -#include "model/DescribeBoardSnapshotResult.h" -#include "model/DeleteLiveMixConfigRequest.h" -#include "model/DeleteLiveMixConfigResult.h" #include "model/BatchDeleteLiveDomainConfigsRequest.h" #include "model/BatchDeleteLiveDomainConfigsResult.h" -#include "model/SetLiveDomainCertificateRequest.h" -#include "model/SetLiveDomainCertificateResult.h" +#include "model/DescribeBoardSnapshotRequest.h" +#include "model/DescribeBoardSnapshotResult.h" #include "model/ForbidLiveStreamRequest.h" #include "model/ForbidLiveStreamResult.h" +#include "model/SetLiveDomainCertificateRequest.h" +#include "model/SetLiveDomainCertificateResult.h" +#include "model/DescribeRecordsRequest.h" +#include "model/DescribeRecordsResult.h" +#include "model/SetLiveStreamDelayConfigRequest.h" +#include "model/SetLiveStreamDelayConfigResult.h" #include "model/DeleteCasterEpisodeGroupRequest.h" #include "model/DeleteCasterEpisodeGroupResult.h" +#include "model/DescribeLiveStreamOptimizedFeatureConfigRequest.h" +#include "model/DescribeLiveStreamOptimizedFeatureConfigResult.h" #include "model/DescribeCasterVideoResourcesRequest.h" #include "model/DescribeCasterVideoResourcesResult.h" #include "model/UpdateLiveAppSnapshotConfigRequest.h" @@ -274,40 +276,38 @@ #include "model/DeleteLiveDetectNotifyConfigResult.h" #include "model/EffectCasterVideoResourceRequest.h" #include "model/EffectCasterVideoResourceResult.h" -#include "model/DeleteLiveMixNotifyConfigRequest.h" -#include "model/DeleteLiveMixNotifyConfigResult.h" +#include "model/RealTimeSnapshotCommandRequest.h" +#include "model/RealTimeSnapshotCommandResult.h" #include "model/DescribeUpPeakPublishStreamDataRequest.h" #include "model/DescribeUpPeakPublishStreamDataResult.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/DeleteLiveDomainRequest.h" #include "model/DeleteLiveDomainResult.h" -#include "model/SetCasterConfigRequest.h" -#include "model/SetCasterConfigResult.h" -#include "model/AddLiveDomainMappingRequest.h" -#include "model/AddLiveDomainMappingResult.h" #include "model/RealTimeRecordCommandRequest.h" #include "model/RealTimeRecordCommandResult.h" +#include "model/AddLiveDomainMappingRequest.h" +#include "model/AddLiveDomainMappingResult.h" +#include "model/SetCasterConfigRequest.h" +#include "model/SetCasterConfigResult.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/UpdateBoardRequest.h" #include "model/UpdateBoardResult.h" +#include "model/AddCasterLayoutRequest.h" +#include "model/AddCasterLayoutResult.h" #include "model/JoinBoardRequest.h" #include "model/JoinBoardResult.h" #include "model/DescribeLiveUserDomainsRequest.h" #include "model/DescribeLiveUserDomainsResult.h" -#include "model/ModifyCasterLayoutRequest.h" -#include "model/ModifyCasterLayoutResult.h" #include "model/StopCasterRequest.h" #include "model/StopCasterResult.h" +#include "model/ModifyCasterLayoutRequest.h" +#include "model/ModifyCasterLayoutResult.h" #include "model/DescribeLiveStreamsPublishListRequest.h" #include "model/DescribeLiveStreamsPublishListResult.h" #include "model/DescribeLiveSnapshotDetectPornConfigRequest.h" @@ -316,995 +316,1003 @@ #include "model/DeleteCasterSceneConfigResult.h" #include "model/AddLiveDomainRequest.h" #include "model/AddLiveDomainResult.h" +#include "model/StopLiveIndexRequest.h" +#include "model/StopLiveIndexResult.h" #include "model/DeleteLiveAppRecordConfigRequest.h" #include "model/DeleteLiveAppRecordConfigResult.h" -#include "model/DescribeLiveDomainBpsDataRequest.h" -#include "model/DescribeLiveDomainBpsDataResult.h" #include "model/DeleteCasterRequest.h" #include "model/DeleteCasterResult.h" +#include "model/DescribeLiveDomainBpsDataRequest.h" +#include "model/DescribeLiveDomainBpsDataResult.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/DescribeLiveLazyPullStreamConfigRequest.h" #include "model/DescribeLiveLazyPullStreamConfigResult.h" #include "model/DescribeCasterScenesRequest.h" #include "model/DescribeCasterScenesResult.h" +#include "model/SetBoardCallbackRequest.h" +#include "model/SetBoardCallbackResult.h" #include "model/SendRoomNotificationRequest.h" #include "model/SendRoomNotificationResult.h" #include "model/DeleteLiveLazyPullStreamInfoConfigRequest.h" #include "model/DeleteLiveLazyPullStreamInfoConfigResult.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 DescribeRoomListOutcome; - typedef std::future DescribeRoomListOutcomeCallable; + + +namespace AlibabaCloud +{ + namespace Live + { + class ALIBABACLOUD_LIVE_EXPORT LiveClient : public RpcServiceClient + { + public: + typedef Outcome StartBoardRecordOutcome; + typedef std::future StartBoardRecordOutcomeCallable; + typedef std::function&)> StartBoardRecordAsyncHandler; + typedef Outcome DescribeRoomListOutcome; + typedef std::future DescribeRoomListOutcomeCallable; typedef std::function&)> DescribeRoomListAsyncHandler; - typedef Outcome DescribeLiveDetectNotifyConfigOutcome; - typedef std::future DescribeLiveDetectNotifyConfigOutcomeCallable; + 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 Outcome ModifyCasterComponentOutcome; + typedef std::future ModifyCasterComponentOutcomeCallable; typedef std::function&)> ModifyCasterComponentAsyncHandler; - typedef Outcome UpdateLiveSnapshotDetectPornConfigOutcome; - typedef std::future UpdateLiveSnapshotDetectPornConfigOutcomeCallable; + typedef Outcome UpdateLiveSnapshotDetectPornConfigOutcome; + typedef std::future UpdateLiveSnapshotDetectPornConfigOutcomeCallable; typedef std::function&)> UpdateLiveSnapshotDetectPornConfigAsyncHandler; - typedef Outcome EffectCasterUrgentOutcome; - typedef std::future EffectCasterUrgentOutcomeCallable; - typedef std::function&)> EffectCasterUrgentAsyncHandler; - typedef Outcome CompleteBoardOutcome; - typedef std::future CompleteBoardOutcomeCallable; + typedef Outcome CompleteBoardOutcome; + typedef std::future CompleteBoardOutcomeCallable; typedef std::function&)> CompleteBoardAsyncHandler; - typedef Outcome DescribeCasterComponentsOutcome; - typedef std::future DescribeCasterComponentsOutcomeCallable; + typedef Outcome DescribeCasterComponentsOutcome; + typedef std::future DescribeCasterComponentsOutcomeCallable; typedef std::function&)> DescribeCasterComponentsAsyncHandler; - typedef Outcome DescribeLiveMixConfigOutcome; - typedef std::future DescribeLiveMixConfigOutcomeCallable; - typedef std::function&)> DescribeLiveMixConfigAsyncHandler; - typedef Outcome DescribeRoomStatusOutcome; - typedef std::future DescribeRoomStatusOutcomeCallable; + typedef Outcome EffectCasterUrgentOutcome; + typedef std::future EffectCasterUrgentOutcomeCallable; + typedef std::function&)> EffectCasterUrgentAsyncHandler; + typedef Outcome DescribeRoomStatusOutcome; + typedef std::future DescribeRoomStatusOutcomeCallable; typedef std::function&)> DescribeRoomStatusAsyncHandler; - typedef Outcome CreateLiveStreamRecordIndexFilesOutcome; - typedef std::future CreateLiveStreamRecordIndexFilesOutcomeCallable; + typedef Outcome CreateLiveStreamRecordIndexFilesOutcome; + typedef std::future CreateLiveStreamRecordIndexFilesOutcomeCallable; typedef std::function&)> CreateLiveStreamRecordIndexFilesAsyncHandler; - typedef Outcome DeleteLiveSpecificConfigOutcome; - typedef std::future DeleteLiveSpecificConfigOutcomeCallable; - typedef std::function&)> DeleteLiveSpecificConfigAsyncHandler; - typedef Outcome UpdateCasterSceneConfigOutcome; - typedef std::future UpdateCasterSceneConfigOutcomeCallable; + 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 Outcome DescribeLiveStreamsOnlineListOutcome; + typedef std::future DescribeLiveStreamsOnlineListOutcomeCallable; typedef std::function&)> DescribeLiveStreamsOnlineListAsyncHandler; - typedef Outcome DeleteLiveSnapshotDetectPornConfigOutcome; - typedef std::future DeleteLiveSnapshotDetectPornConfigOutcomeCallable; + typedef Outcome DescribeLiveStreamTranscodeInfoOutcome; + typedef std::future DescribeLiveStreamTranscodeInfoOutcomeCallable; + typedef std::function&)> DescribeLiveStreamTranscodeInfoAsyncHandler; + typedef Outcome DeleteLiveSnapshotDetectPornConfigOutcome; + typedef std::future DeleteLiveSnapshotDetectPornConfigOutcomeCallable; typedef std::function&)> DeleteLiveSnapshotDetectPornConfigAsyncHandler; - typedef Outcome DescribeUpBpsPeakOfLineOutcome; - typedef std::future DescribeUpBpsPeakOfLineOutcomeCallable; + typedef Outcome DescribeUpBpsPeakOfLineOutcome; + typedef std::future DescribeUpBpsPeakOfLineOutcomeCallable; typedef std::function&)> DescribeUpBpsPeakOfLineAsyncHandler; - typedef Outcome CopyCasterSceneConfigOutcome; - typedef std::future CopyCasterSceneConfigOutcomeCallable; + typedef Outcome CopyCasterSceneConfigOutcome; + typedef std::future CopyCasterSceneConfigOutcomeCallable; typedef std::function&)> CopyCasterSceneConfigAsyncHandler; - typedef Outcome DescribeLiveDomainTranscodeDataOutcome; - typedef std::future DescribeLiveDomainTranscodeDataOutcomeCallable; + 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 Outcome DeleteLiveStreamTranscodeOutcome; + typedef std::future DeleteLiveStreamTranscodeOutcomeCallable; typedef std::function&)> DeleteLiveStreamTranscodeAsyncHandler; - typedef Outcome DeleteCasterEpisodeOutcome; - typedef std::future DeleteCasterEpisodeOutcomeCallable; + typedef Outcome DeleteCasterEpisodeOutcome; + typedef std::future DeleteCasterEpisodeOutcomeCallable; typedef std::function&)> DeleteCasterEpisodeAsyncHandler; - typedef Outcome DescribeCasterRtcInfoOutcome; - typedef std::future DescribeCasterRtcInfoOutcomeCallable; + 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 Outcome AddTrancodeSEIOutcome; + typedef std::future AddTrancodeSEIOutcomeCallable; typedef std::function&)> AddTrancodeSEIAsyncHandler; - typedef Outcome DeleteBoardOutcome; - typedef std::future DeleteBoardOutcomeCallable; + typedef Outcome SetCasterSceneConfigOutcome; + typedef std::future SetCasterSceneConfigOutcomeCallable; + typedef std::function&)> SetCasterSceneConfigAsyncHandler; + typedef Outcome DeleteBoardOutcome; + typedef std::future DeleteBoardOutcomeCallable; typedef std::function&)> DeleteBoardAsyncHandler; - typedef Outcome DescribeLiveStreamBitRateDataOutcome; - typedef std::future DescribeLiveStreamBitRateDataOutcomeCallable; + typedef Outcome DescribeLiveStreamBitRateDataOutcome; + typedef std::future DescribeLiveStreamBitRateDataOutcomeCallable; typedef std::function&)> DescribeLiveStreamBitRateDataAsyncHandler; - typedef Outcome DeleteCasterLayoutOutcome; - typedef std::future DeleteCasterLayoutOutcomeCallable; + typedef Outcome DeleteCasterLayoutOutcome; + typedef std::future DeleteCasterLayoutOutcomeCallable; typedef std::function&)> DeleteCasterLayoutAsyncHandler; - typedef Outcome DeleteCasterProgramOutcome; - typedef std::future DeleteCasterProgramOutcomeCallable; + typedef Outcome DeleteCasterProgramOutcome; + typedef std::future DeleteCasterProgramOutcomeCallable; typedef std::function&)> DeleteCasterProgramAsyncHandler; - typedef Outcome StartCasterSceneOutcome; - typedef std::future StartCasterSceneOutcomeCallable; + 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 DescribeLiveTopDomainsByFlowOutcome; - typedef std::future DescribeLiveTopDomainsByFlowOutcomeCallable; + typedef Outcome StartLiveIndexOutcome; + typedef std::future StartLiveIndexOutcomeCallable; + typedef std::function&)> StartLiveIndexAsyncHandler; + typedef Outcome DescribeLiveTopDomainsByFlowOutcome; + typedef std::future DescribeLiveTopDomainsByFlowOutcomeCallable; typedef std::function&)> DescribeLiveTopDomainsByFlowAsyncHandler; - typedef Outcome AddLiveMixConfigOutcome; - typedef std::future AddLiveMixConfigOutcomeCallable; - typedef std::function&)> AddLiveMixConfigAsyncHandler; - typedef Outcome DescribeCasterConfigOutcome; - typedef std::future DescribeCasterConfigOutcomeCallable; + typedef Outcome AddCasterEpisodeGroupOutcome; + typedef std::future AddCasterEpisodeGroupOutcomeCallable; + typedef std::function&)> AddCasterEpisodeGroupAsyncHandler; + typedef Outcome DescribeLiveStreamRecordIndexFileOutcome; + typedef std::future DescribeLiveStreamRecordIndexFileOutcomeCallable; + typedef std::function&)> DescribeLiveStreamRecordIndexFileAsyncHandler; + typedef Outcome DescribeCasterConfigOutcome; + typedef std::future DescribeCasterConfigOutcomeCallable; typedef std::function&)> DescribeCasterConfigAsyncHandler; - typedef Outcome CopyCasterOutcome; - typedef std::future CopyCasterOutcomeCallable; + typedef Outcome CopyCasterOutcome; + typedef std::future CopyCasterOutcomeCallable; typedef std::function&)> CopyCasterAsyncHandler; - typedef Outcome AddCustomLiveStreamTranscodeOutcome; - typedef std::future AddCustomLiveStreamTranscodeOutcomeCallable; - typedef std::function&)> AddCustomLiveStreamTranscodeAsyncHandler; - typedef Outcome SetLiveLazyPullStreamInfoConfigOutcome; - typedef std::future SetLiveLazyPullStreamInfoConfigOutcomeCallable; + typedef Outcome SetLiveLazyPullStreamInfoConfigOutcome; + typedef std::future SetLiveLazyPullStreamInfoConfigOutcomeCallable; typedef std::function&)> SetLiveLazyPullStreamInfoConfigAsyncHandler; - typedef Outcome AddCasterEpisodeOutcome; - typedef std::future AddCasterEpisodeOutcomeCallable; + typedef Outcome AddCustomLiveStreamTranscodeOutcome; + typedef std::future AddCustomLiveStreamTranscodeOutcomeCallable; + typedef std::function&)> AddCustomLiveStreamTranscodeAsyncHandler; + typedef Outcome AddCasterEpisodeOutcome; + typedef std::future AddCasterEpisodeOutcomeCallable; typedef std::function&)> AddCasterEpisodeAsyncHandler; - typedef Outcome DescribeLiveDomainRealTimeBpsDataOutcome; - typedef std::future DescribeLiveDomainRealTimeBpsDataOutcomeCallable; + typedef Outcome DescribeLiveDomainRealTimeBpsDataOutcome; + typedef std::future DescribeLiveDomainRealTimeBpsDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainRealTimeBpsDataAsyncHandler; - typedef Outcome AllowPushStreamOutcome; - typedef std::future AllowPushStreamOutcomeCallable; + typedef Outcome AllowPushStreamOutcome; + typedef std::future AllowPushStreamOutcomeCallable; typedef std::function&)> AllowPushStreamAsyncHandler; - typedef Outcome ForbidPushStreamOutcome; - typedef std::future ForbidPushStreamOutcomeCallable; - typedef std::function&)> ForbidPushStreamAsyncHandler; - typedef Outcome DescribeLiveRecordConfigOutcome; - typedef std::future DescribeLiveRecordConfigOutcomeCallable; + typedef 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 DescribeHlsLiveStreamRealTimeBpsDataOutcome; - typedef std::future DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable; + typedef Outcome ForbidPushStreamOutcome; + typedef std::future ForbidPushStreamOutcomeCallable; + typedef std::function&)> ForbidPushStreamAsyncHandler; + typedef Outcome DescribeHlsLiveStreamRealTimeBpsDataOutcome; + typedef std::future DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable; typedef std::function&)> DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler; - typedef Outcome CreateBoardOutcome; - typedef std::future CreateBoardOutcomeCallable; + typedef Outcome AddLiveRecordNotifyConfigOutcome; + typedef std::future AddLiveRecordNotifyConfigOutcomeCallable; + typedef std::function&)> AddLiveRecordNotifyConfigAsyncHandler; + typedef Outcome DeleteLiveRecordNotifyConfigOutcome; + typedef std::future DeleteLiveRecordNotifyConfigOutcomeCallable; + typedef std::function&)> DeleteLiveRecordNotifyConfigAsyncHandler; + typedef Outcome CreateBoardOutcome; + typedef std::future CreateBoardOutcomeCallable; typedef std::function&)> CreateBoardAsyncHandler; - typedef Outcome DeleteLiveStreamsNotifyUrlConfigOutcome; - typedef std::future DeleteLiveStreamsNotifyUrlConfigOutcomeCallable; + typedef Outcome DeleteLiveStreamsNotifyUrlConfigOutcome; + typedef std::future DeleteLiveStreamsNotifyUrlConfigOutcomeCallable; typedef std::function&)> DeleteLiveStreamsNotifyUrlConfigAsyncHandler; - typedef Outcome DescribeLiveStreamOnlineUserNumOutcome; - typedef std::future DescribeLiveStreamOnlineUserNumOutcomeCallable; + typedef Outcome DescribeLiveStreamOnlineUserNumOutcome; + typedef std::future DescribeLiveStreamOnlineUserNumOutcomeCallable; typedef std::function&)> DescribeLiveStreamOnlineUserNumAsyncHandler; - typedef Outcome AddCasterComponentOutcome; - typedef std::future AddCasterComponentOutcomeCallable; + typedef Outcome DescribeRecordOutcome; + typedef std::future DescribeRecordOutcomeCallable; + typedef std::function&)> DescribeRecordAsyncHandler; + 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 Outcome DescribeLiveDomainRecordDataOutcome; + typedef std::future DescribeLiveDomainRecordDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainRecordDataAsyncHandler; - typedef Outcome DeleteCasterVideoResourceOutcome; - typedef std::future DeleteCasterVideoResourceOutcomeCallable; + typedef Outcome DeleteCasterVideoResourceOutcome; + typedef std::future DeleteCasterVideoResourceOutcomeCallable; typedef std::function&)> DeleteCasterVideoResourceAsyncHandler; - typedef Outcome DescribeLiveCertificateListOutcome; - typedef std::future DescribeLiveCertificateListOutcomeCallable; + typedef Outcome DescribeLiveCertificateListOutcome; + typedef std::future DescribeLiveCertificateListOutcomeCallable; typedef std::function&)> DescribeLiveCertificateListAsyncHandler; - typedef Outcome DeleteLiveAppSnapshotConfigOutcome; - typedef std::future DeleteLiveAppSnapshotConfigOutcomeCallable; + typedef Outcome DeleteLiveAppSnapshotConfigOutcome; + typedef std::future DeleteLiveAppSnapshotConfigOutcomeCallable; typedef std::function&)> DeleteLiveAppSnapshotConfigAsyncHandler; - typedef Outcome UpdateCasterSceneAudioOutcome; - typedef std::future UpdateCasterSceneAudioOutcomeCallable; - typedef std::function&)> UpdateCasterSceneAudioAsyncHandler; - typedef Outcome DescribeLiveStreamsNotifyUrlConfigOutcome; - typedef std::future DescribeLiveStreamsNotifyUrlConfigOutcomeCallable; + typedef Outcome DescribeLiveStreamsNotifyUrlConfigOutcome; + typedef std::future DescribeLiveStreamsNotifyUrlConfigOutcomeCallable; typedef std::function&)> DescribeLiveStreamsNotifyUrlConfigAsyncHandler; - typedef Outcome DescribeUpBpsPeakDataOutcome; - typedef std::future DescribeUpBpsPeakDataOutcomeCallable; + typedef Outcome UpdateCasterSceneAudioOutcome; + typedef std::future UpdateCasterSceneAudioOutcomeCallable; + typedef std::function&)> UpdateCasterSceneAudioAsyncHandler; + typedef Outcome ApplyRecordTokenOutcome; + typedef std::future ApplyRecordTokenOutcomeCallable; + typedef std::function&)> ApplyRecordTokenAsyncHandler; + typedef Outcome DescribeUpBpsPeakDataOutcome; + typedef std::future DescribeUpBpsPeakDataOutcomeCallable; typedef std::function&)> DescribeUpBpsPeakDataAsyncHandler; - typedef Outcome DeleteLivePullStreamInfoConfigOutcome; - typedef std::future DeleteLivePullStreamInfoConfigOutcomeCallable; + typedef Outcome DeleteLivePullStreamInfoConfigOutcome; + typedef std::future DeleteLivePullStreamInfoConfigOutcomeCallable; typedef std::function&)> DeleteLivePullStreamInfoConfigAsyncHandler; - typedef Outcome ModifyCasterProgramOutcome; - typedef std::future ModifyCasterProgramOutcomeCallable; + typedef Outcome ModifyLiveDomainSchdmByPropertyOutcome; + typedef std::future ModifyLiveDomainSchdmByPropertyOutcomeCallable; + typedef std::function&)> ModifyLiveDomainSchdmByPropertyAsyncHandler; + typedef Outcome ModifyCasterProgramOutcome; + typedef std::future ModifyCasterProgramOutcomeCallable; typedef std::function&)> ModifyCasterProgramAsyncHandler; - typedef Outcome DescribeBoardEventsOutcome; - typedef std::future DescribeBoardEventsOutcomeCallable; + typedef Outcome DescribeBoardEventsOutcome; + typedef std::future DescribeBoardEventsOutcomeCallable; typedef std::function&)> DescribeBoardEventsAsyncHandler; - typedef Outcome DescribeLiveCertificateDetailOutcome; - typedef std::future DescribeLiveCertificateDetailOutcomeCallable; + typedef Outcome DescribeLiveCertificateDetailOutcome; + typedef std::future DescribeLiveCertificateDetailOutcomeCallable; typedef std::function&)> DescribeLiveCertificateDetailAsyncHandler; - typedef Outcome StartMixStreamsServiceOutcome; - typedef std::future StartMixStreamsServiceOutcomeCallable; - typedef std::function&)> StartMixStreamsServiceAsyncHandler; - typedef Outcome DescribeLivePullStreamConfigOutcome; - typedef std::future DescribeLivePullStreamConfigOutcomeCallable; + typedef Outcome DescribeLivePullStreamConfigOutcome; + typedef std::future DescribeLivePullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLivePullStreamConfigAsyncHandler; - typedef Outcome SetLiveStreamsNotifyUrlConfigOutcome; - typedef std::future SetLiveStreamsNotifyUrlConfigOutcomeCallable; + typedef Outcome SetLiveStreamsNotifyUrlConfigOutcome; + typedef std::future SetLiveStreamsNotifyUrlConfigOutcomeCallable; typedef std::function&)> SetLiveStreamsNotifyUrlConfigAsyncHandler; - typedef Outcome AddLivePullStreamInfoConfigOutcome; - typedef std::future AddLivePullStreamInfoConfigOutcomeCallable; - typedef std::function&)> AddLivePullStreamInfoConfigAsyncHandler; - typedef Outcome StartLiveDomainOutcome; - typedef std::future StartLiveDomainOutcomeCallable; + typedef Outcome StartLiveDomainOutcome; + typedef std::future StartLiveDomainOutcomeCallable; typedef std::function&)> StartLiveDomainAsyncHandler; - typedef Outcome DescribeCasterSceneAudioOutcome; - typedef std::future DescribeCasterSceneAudioOutcomeCallable; - typedef std::function&)> DescribeCasterSceneAudioAsyncHandler; - typedef Outcome DescribeLiveStreamsBlockListOutcome; - typedef std::future DescribeLiveStreamsBlockListOutcomeCallable; + typedef 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 DescribeRoomKickoutUserListOutcome; - typedef std::future DescribeRoomKickoutUserListOutcomeCallable; + typedef Outcome DescribeCasterSceneAudioOutcome; + typedef std::future DescribeCasterSceneAudioOutcomeCallable; + typedef std::function&)> DescribeCasterSceneAudioAsyncHandler; + typedef Outcome DescribeRoomKickoutUserListOutcome; + typedef std::future DescribeRoomKickoutUserListOutcomeCallable; typedef std::function&)> DescribeRoomKickoutUserListAsyncHandler; - typedef Outcome AddCasterEpisodeGroupContentOutcome; - typedef std::future AddCasterEpisodeGroupContentOutcomeCallable; + typedef Outcome AddCasterVideoResourceOutcome; + typedef std::future AddCasterVideoResourceOutcomeCallable; + typedef std::function&)> AddCasterVideoResourceAsyncHandler; + typedef Outcome AddLiveStreamTranscodeOutcome; + typedef std::future AddLiveStreamTranscodeOutcomeCallable; + typedef std::function&)> AddLiveStreamTranscodeAsyncHandler; + typedef Outcome AddCasterEpisodeGroupContentOutcome; + typedef std::future AddCasterEpisodeGroupContentOutcomeCallable; typedef std::function&)> AddCasterEpisodeGroupContentAsyncHandler; - typedef Outcome UpdateLiveDetectNotifyConfigOutcome; - typedef std::future UpdateLiveDetectNotifyConfigOutcomeCallable; + typedef Outcome UpdateLiveDetectNotifyConfigOutcome; + typedef std::future UpdateLiveDetectNotifyConfigOutcomeCallable; typedef std::function&)> UpdateLiveDetectNotifyConfigAsyncHandler; - typedef Outcome ModifyCasterVideoResourceOutcome; - typedef std::future ModifyCasterVideoResourceOutcomeCallable; + typedef Outcome ModifyCasterVideoResourceOutcome; + typedef std::future ModifyCasterVideoResourceOutcomeCallable; typedef std::function&)> ModifyCasterVideoResourceAsyncHandler; - typedef Outcome CreateRoomOutcome; - typedef std::future CreateRoomOutcomeCallable; + typedef Outcome CreateRoomOutcome; + typedef std::future CreateRoomOutcomeCallable; typedef std::function&)> CreateRoomAsyncHandler; - typedef Outcome DescribeCasterStreamUrlOutcome; - typedef std::future DescribeCasterStreamUrlOutcomeCallable; + typedef Outcome DescribeCasterStreamUrlOutcome; + typedef std::future DescribeCasterStreamUrlOutcomeCallable; typedef std::function&)> DescribeCasterStreamUrlAsyncHandler; - typedef Outcome DescribeLiveStreamsControlHistoryOutcome; - typedef std::future DescribeLiveStreamsControlHistoryOutcomeCallable; + typedef Outcome DescribeLiveStreamsControlHistoryOutcome; + typedef std::future DescribeLiveStreamsControlHistoryOutcomeCallable; typedef std::function&)> DescribeLiveStreamsControlHistoryAsyncHandler; - typedef Outcome DescribeLiveStreamCountOutcome; - typedef std::future DescribeLiveStreamCountOutcomeCallable; + typedef Outcome DescribeLiveStreamCountOutcome; + typedef std::future DescribeLiveStreamCountOutcomeCallable; typedef std::function&)> DescribeLiveStreamCountAsyncHandler; - typedef Outcome StopCasterSceneOutcome; - typedef std::future StopCasterSceneOutcomeCallable; + typedef Outcome StopCasterSceneOutcome; + typedef std::future StopCasterSceneOutcomeCallable; typedef std::function&)> StopCasterSceneAsyncHandler; - typedef Outcome DescribeLiveDomainRealTimeTrafficDataOutcome; - typedef std::future DescribeLiveDomainRealTimeTrafficDataOutcomeCallable; + typedef Outcome DescribeLiveDomainRealTimeTrafficDataOutcome; + typedef std::future DescribeLiveDomainRealTimeTrafficDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainRealTimeTrafficDataAsyncHandler; - typedef Outcome DescribeLiveDomainSnapshotDataOutcome; - typedef std::future DescribeLiveDomainSnapshotDataOutcomeCallable; + typedef Outcome DescribeLiveDomainSnapshotDataOutcome; + typedef std::future DescribeLiveDomainSnapshotDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainSnapshotDataAsyncHandler; - typedef Outcome DeleteLiveRecordVodConfigOutcome; - typedef std::future DeleteLiveRecordVodConfigOutcomeCallable; + typedef Outcome DeleteLiveRecordVodConfigOutcome; + typedef std::future DeleteLiveRecordVodConfigOutcomeCallable; typedef std::function&)> DeleteLiveRecordVodConfigAsyncHandler; - typedef Outcome DescribeLiveDomainRealTimeHttpCodeDataOutcome; - typedef std::future DescribeLiveDomainRealTimeHttpCodeDataOutcomeCallable; + typedef Outcome DescribeLiveDomainRealTimeHttpCodeDataOutcome; + typedef std::future DescribeLiveDomainRealTimeHttpCodeDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainRealTimeHttpCodeDataAsyncHandler; - typedef Outcome ModifyCasterEpisodeOutcome; - typedef std::future ModifyCasterEpisodeOutcomeCallable; + typedef Outcome ModifyCasterEpisodeOutcome; + typedef std::future ModifyCasterEpisodeOutcomeCallable; typedef std::function&)> ModifyCasterEpisodeAsyncHandler; - typedef Outcome DescribeBoardsOutcome; - typedef std::future DescribeBoardsOutcomeCallable; + typedef Outcome DescribeBoardsOutcome; + typedef std::future DescribeBoardsOutcomeCallable; typedef std::function&)> DescribeBoardsAsyncHandler; - typedef Outcome DescribeLiveStreamSnapshotInfoOutcome; - typedef std::future DescribeLiveStreamSnapshotInfoOutcomeCallable; + 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 Outcome UpdateBoardCallbackOutcome; + typedef std::future UpdateBoardCallbackOutcomeCallable; + typedef std::function&)> UpdateBoardCallbackAsyncHandler; + typedef Outcome DescribeLiveStreamsFrameRateAndBitRateDataOutcome; + typedef std::future DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable; typedef std::function&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler; - typedef Outcome DescribeForbidPushStreamRoomListOutcome; - typedef std::future DescribeForbidPushStreamRoomListOutcomeCallable; + typedef Outcome DescribeForbidPushStreamRoomListOutcome; + typedef std::future DescribeForbidPushStreamRoomListOutcomeCallable; typedef std::function&)> DescribeForbidPushStreamRoomListAsyncHandler; - typedef Outcome CreateCasterOutcome; - typedef std::future CreateCasterOutcomeCallable; - typedef std::function&)> CreateCasterAsyncHandler; - typedef Outcome DescribeLiveStreamRecordContentOutcome; - typedef std::future DescribeLiveStreamRecordContentOutcomeCallable; + 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 Outcome CreateCasterOutcome; + typedef std::future CreateCasterOutcomeCallable; + typedef std::function&)> CreateCasterAsyncHandler; + typedef Outcome AddLiveSnapshotDetectPornConfigOutcome; + typedef std::future AddLiveSnapshotDetectPornConfigOutcomeCallable; typedef std::function&)> AddLiveSnapshotDetectPornConfigAsyncHandler; - typedef Outcome DescribeCasterLayoutsOutcome; - typedef std::future DescribeCasterLayoutsOutcomeCallable; + typedef Outcome DescribeCasterLayoutsOutcome; + typedef std::future DescribeCasterLayoutsOutcomeCallable; typedef std::function&)> DescribeCasterLayoutsAsyncHandler; - typedef Outcome UpdateLiveRecordNotifyConfigOutcome; - typedef std::future UpdateLiveRecordNotifyConfigOutcomeCallable; - typedef std::function&)> UpdateLiveRecordNotifyConfigAsyncHandler; - typedef Outcome SetCasterChannelOutcome; - typedef std::future SetCasterChannelOutcomeCallable; + typedef Outcome SetCasterChannelOutcome; + typedef std::future SetCasterChannelOutcomeCallable; typedef std::function&)> SetCasterChannelAsyncHandler; - typedef Outcome DescribeLiveSnapshotConfigOutcome; - typedef std::future DescribeLiveSnapshotConfigOutcomeCallable; + typedef Outcome UpdateLiveRecordNotifyConfigOutcome; + typedef std::future UpdateLiveRecordNotifyConfigOutcomeCallable; + typedef std::function&)> UpdateLiveRecordNotifyConfigAsyncHandler; + typedef Outcome DescribeLiveSnapshotConfigOutcome; + typedef std::future DescribeLiveSnapshotConfigOutcomeCallable; typedef std::function&)> DescribeLiveSnapshotConfigAsyncHandler; - typedef Outcome DescribeLiveDomainTrafficDataOutcome; - typedef std::future DescribeLiveDomainTrafficDataOutcomeCallable; - typedef std::function&)> DescribeLiveDomainTrafficDataAsyncHandler; - typedef Outcome DescribeCasterProgramOutcome; - typedef std::future DescribeCasterProgramOutcomeCallable; + typedef Outcome CompleteBoardRecordOutcome; + typedef std::future CompleteBoardRecordOutcomeCallable; + typedef std::function&)> CompleteBoardRecordAsyncHandler; + typedef Outcome DescribeCasterProgramOutcome; + typedef std::future DescribeCasterProgramOutcomeCallable; typedef std::function&)> DescribeCasterProgramAsyncHandler; - typedef Outcome StopLiveDomainOutcome; - typedef std::future StopLiveDomainOutcomeCallable; + typedef Outcome DescribeLiveDomainTrafficDataOutcome; + typedef std::future DescribeLiveDomainTrafficDataOutcomeCallable; + typedef std::function&)> DescribeLiveDomainTrafficDataAsyncHandler; + typedef Outcome StopLiveDomainOutcome; + typedef std::future StopLiveDomainOutcomeCallable; typedef std::function&)> StopLiveDomainAsyncHandler; - typedef Outcome ApplyBoardTokenOutcome; - typedef std::future ApplyBoardTokenOutcomeCallable; + typedef Outcome ApplyBoardTokenOutcome; + typedef std::future ApplyBoardTokenOutcomeCallable; typedef std::function&)> ApplyBoardTokenAsyncHandler; - typedef Outcome DescribeLiveStreamHistoryUserNumOutcome; - typedef std::future DescribeLiveStreamHistoryUserNumOutcomeCallable; + typedef Outcome DescribeLiveStreamHistoryUserNumOutcome; + typedef std::future DescribeLiveStreamHistoryUserNumOutcomeCallable; typedef std::function&)> DescribeLiveStreamHistoryUserNumAsyncHandler; - typedef Outcome AddLiveAppRecordConfigOutcome; - typedef std::future AddLiveAppRecordConfigOutcomeCallable; + typedef Outcome AddLiveAppRecordConfigOutcome; + typedef std::future AddLiveAppRecordConfigOutcomeCallable; typedef std::function&)> AddLiveAppRecordConfigAsyncHandler; - typedef Outcome AddLiveRecordVodConfigOutcome; - typedef std::future AddLiveRecordVodConfigOutcomeCallable; + typedef Outcome AddLiveRecordVodConfigOutcome; + typedef std::future AddLiveRecordVodConfigOutcomeCallable; typedef std::function&)> AddLiveRecordVodConfigAsyncHandler; - typedef Outcome SendRoomUserNotificationOutcome; - typedef std::future SendRoomUserNotificationOutcomeCallable; + typedef Outcome SendRoomUserNotificationOutcome; + typedef std::future SendRoomUserNotificationOutcomeCallable; typedef std::function&)> SendRoomUserNotificationAsyncHandler; - typedef Outcome DeleteLiveDomainMappingOutcome; - typedef std::future DeleteLiveDomainMappingOutcomeCallable; + typedef Outcome DeleteLiveDomainMappingOutcome; + typedef std::future DeleteLiveDomainMappingOutcomeCallable; typedef std::function&)> DeleteLiveDomainMappingAsyncHandler; - typedef Outcome BatchSetLiveDomainConfigsOutcome; - typedef std::future BatchSetLiveDomainConfigsOutcomeCallable; + typedef Outcome BatchSetLiveDomainConfigsOutcome; + typedef std::future BatchSetLiveDomainConfigsOutcomeCallable; typedef std::function&)> BatchSetLiveDomainConfigsAsyncHandler; - typedef Outcome DescribeLiveDomainDetailOutcome; - typedef std::future DescribeLiveDomainDetailOutcomeCallable; + typedef Outcome DescribeLiveDomainMappingOutcome; + typedef std::future DescribeLiveDomainMappingOutcomeCallable; + typedef std::function&)> DescribeLiveDomainMappingAsyncHandler; + typedef Outcome DescribeLiveDomainDetailOutcome; + typedef std::future DescribeLiveDomainDetailOutcomeCallable; typedef std::function&)> DescribeLiveDomainDetailAsyncHandler; - typedef Outcome DescribeCasterChannelsOutcome; - typedef std::future DescribeCasterChannelsOutcomeCallable; + typedef Outcome SetLiveStreamOptimizedFeatureConfigOutcome; + typedef std::future SetLiveStreamOptimizedFeatureConfigOutcomeCallable; + typedef std::function&)> SetLiveStreamOptimizedFeatureConfigAsyncHandler; + typedef Outcome DescribeCasterChannelsOutcome; + typedef std::future DescribeCasterChannelsOutcomeCallable; typedef std::function&)> DescribeCasterChannelsAsyncHandler; - typedef Outcome DescribeLiveDomainConfigsOutcome; - typedef std::future DescribeLiveDomainConfigsOutcomeCallable; + typedef Outcome DescribeLiveDomainConfigsOutcome; + typedef std::future DescribeLiveDomainConfigsOutcomeCallable; typedef std::function&)> DescribeLiveDomainConfigsAsyncHandler; - typedef Outcome DescribeLiveStreamRecordIndexFilesOutcome; - typedef std::future DescribeLiveStreamRecordIndexFilesOutcomeCallable; + typedef Outcome DescribeLiveStreamRecordIndexFilesOutcome; + typedef std::future DescribeLiveStreamRecordIndexFilesOutcomeCallable; typedef std::function&)> DescribeLiveStreamRecordIndexFilesAsyncHandler; - typedef Outcome DeleteRoomOutcome; - typedef std::future DeleteRoomOutcomeCallable; + typedef Outcome DeleteRoomOutcome; + typedef std::future DeleteRoomOutcomeCallable; typedef std::function&)> DeleteRoomAsyncHandler; - typedef Outcome AddCasterProgramOutcome; - typedef std::future AddCasterProgramOutcomeCallable; + typedef Outcome DescribeLiveStreamDelayConfigOutcome; + typedef std::future DescribeLiveStreamDelayConfigOutcomeCallable; + typedef std::function&)> DescribeLiveStreamDelayConfigAsyncHandler; + typedef Outcome AddCasterProgramOutcome; + typedef std::future AddCasterProgramOutcomeCallable; typedef std::function&)> AddCasterProgramAsyncHandler; - typedef Outcome DescribeBoardSnapshotOutcome; - typedef std::future DescribeBoardSnapshotOutcomeCallable; - typedef std::function&)> DescribeBoardSnapshotAsyncHandler; - typedef Outcome DeleteLiveMixConfigOutcome; - typedef std::future DeleteLiveMixConfigOutcomeCallable; - typedef std::function&)> DeleteLiveMixConfigAsyncHandler; - typedef Outcome BatchDeleteLiveDomainConfigsOutcome; - typedef std::future BatchDeleteLiveDomainConfigsOutcomeCallable; + typedef Outcome BatchDeleteLiveDomainConfigsOutcome; + typedef std::future BatchDeleteLiveDomainConfigsOutcomeCallable; typedef std::function&)> BatchDeleteLiveDomainConfigsAsyncHandler; - typedef Outcome SetLiveDomainCertificateOutcome; - typedef std::future SetLiveDomainCertificateOutcomeCallable; - typedef std::function&)> SetLiveDomainCertificateAsyncHandler; - typedef Outcome ForbidLiveStreamOutcome; - typedef std::future ForbidLiveStreamOutcomeCallable; + typedef Outcome DescribeBoardSnapshotOutcome; + typedef std::future DescribeBoardSnapshotOutcomeCallable; + typedef std::function&)> DescribeBoardSnapshotAsyncHandler; + typedef Outcome ForbidLiveStreamOutcome; + typedef std::future ForbidLiveStreamOutcomeCallable; typedef std::function&)> ForbidLiveStreamAsyncHandler; - typedef Outcome DeleteCasterEpisodeGroupOutcome; - typedef std::future DeleteCasterEpisodeGroupOutcomeCallable; + typedef Outcome SetLiveDomainCertificateOutcome; + typedef std::future SetLiveDomainCertificateOutcomeCallable; + typedef std::function&)> SetLiveDomainCertificateAsyncHandler; + typedef Outcome DescribeRecordsOutcome; + typedef std::future DescribeRecordsOutcomeCallable; + typedef std::function&)> DescribeRecordsAsyncHandler; + typedef Outcome SetLiveStreamDelayConfigOutcome; + typedef std::future SetLiveStreamDelayConfigOutcomeCallable; + typedef std::function&)> SetLiveStreamDelayConfigAsyncHandler; + typedef Outcome DeleteCasterEpisodeGroupOutcome; + typedef std::future DeleteCasterEpisodeGroupOutcomeCallable; typedef std::function&)> DeleteCasterEpisodeGroupAsyncHandler; - typedef Outcome DescribeCasterVideoResourcesOutcome; - typedef std::future DescribeCasterVideoResourcesOutcomeCallable; + typedef Outcome DescribeLiveStreamOptimizedFeatureConfigOutcome; + typedef std::future DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable; + typedef std::function&)> DescribeLiveStreamOptimizedFeatureConfigAsyncHandler; + typedef Outcome DescribeCasterVideoResourcesOutcome; + typedef std::future DescribeCasterVideoResourcesOutcomeCallable; typedef std::function&)> DescribeCasterVideoResourcesAsyncHandler; - typedef Outcome UpdateLiveAppSnapshotConfigOutcome; - typedef std::future UpdateLiveAppSnapshotConfigOutcomeCallable; + typedef Outcome UpdateLiveAppSnapshotConfigOutcome; + typedef std::future UpdateLiveAppSnapshotConfigOutcomeCallable; typedef std::function&)> UpdateLiveAppSnapshotConfigAsyncHandler; - typedef Outcome DeleteLiveDetectNotifyConfigOutcome; - typedef std::future DeleteLiveDetectNotifyConfigOutcomeCallable; + typedef Outcome DeleteLiveDetectNotifyConfigOutcome; + typedef std::future DeleteLiveDetectNotifyConfigOutcomeCallable; typedef std::function&)> DeleteLiveDetectNotifyConfigAsyncHandler; - typedef Outcome EffectCasterVideoResourceOutcome; - typedef std::future EffectCasterVideoResourceOutcomeCallable; + typedef Outcome EffectCasterVideoResourceOutcome; + typedef std::future EffectCasterVideoResourceOutcomeCallable; typedef std::function&)> EffectCasterVideoResourceAsyncHandler; - typedef Outcome DeleteLiveMixNotifyConfigOutcome; - typedef std::future DeleteLiveMixNotifyConfigOutcomeCallable; - typedef std::function&)> DeleteLiveMixNotifyConfigAsyncHandler; - typedef Outcome DescribeUpPeakPublishStreamDataOutcome; - typedef std::future DescribeUpPeakPublishStreamDataOutcomeCallable; + typedef Outcome RealTimeSnapshotCommandOutcome; + typedef std::future RealTimeSnapshotCommandOutcomeCallable; + typedef std::function&)> RealTimeSnapshotCommandAsyncHandler; + typedef Outcome DescribeUpPeakPublishStreamDataOutcome; + typedef std::future DescribeUpPeakPublishStreamDataOutcomeCallable; typedef std::function&)> DescribeUpPeakPublishStreamDataAsyncHandler; - typedef Outcome AddLiveAppSnapshotConfigOutcome; - typedef std::future AddLiveAppSnapshotConfigOutcomeCallable; + 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 Outcome DeleteCasterComponentOutcome; + typedef std::future DeleteCasterComponentOutcomeCallable; typedef std::function&)> DeleteCasterComponentAsyncHandler; - typedef Outcome DeleteLiveDomainOutcome; - typedef std::future DeleteLiveDomainOutcomeCallable; + typedef Outcome DeleteLiveDomainOutcome; + typedef std::future DeleteLiveDomainOutcomeCallable; typedef std::function&)> DeleteLiveDomainAsyncHandler; - typedef Outcome SetCasterConfigOutcome; - typedef std::future SetCasterConfigOutcomeCallable; - typedef std::function&)> SetCasterConfigAsyncHandler; - typedef Outcome AddLiveDomainMappingOutcome; - typedef std::future AddLiveDomainMappingOutcomeCallable; - typedef std::function&)> AddLiveDomainMappingAsyncHandler; - typedef Outcome RealTimeRecordCommandOutcome; - typedef std::future RealTimeRecordCommandOutcomeCallable; + typedef Outcome RealTimeRecordCommandOutcome; + typedef std::future RealTimeRecordCommandOutcomeCallable; typedef std::function&)> RealTimeRecordCommandAsyncHandler; - typedef Outcome StartCasterOutcome; - typedef std::future StartCasterOutcomeCallable; + typedef Outcome AddLiveDomainMappingOutcome; + typedef std::future AddLiveDomainMappingOutcomeCallable; + typedef std::function&)> AddLiveDomainMappingAsyncHandler; + typedef Outcome SetCasterConfigOutcome; + typedef std::future SetCasterConfigOutcomeCallable; + typedef std::function&)> SetCasterConfigAsyncHandler; + typedef Outcome StartCasterOutcome; + typedef std::future StartCasterOutcomeCallable; typedef std::function&)> StartCasterAsyncHandler; - typedef Outcome ResumeLiveStreamOutcome; - typedef std::future ResumeLiveStreamOutcomeCallable; + typedef Outcome ResumeLiveStreamOutcome; + typedef std::future ResumeLiveStreamOutcomeCallable; typedef std::function&)> ResumeLiveStreamAsyncHandler; - typedef Outcome AddCasterLayoutOutcome; - typedef std::future AddCasterLayoutOutcomeCallable; - typedef std::function&)> AddCasterLayoutAsyncHandler; - typedef Outcome UpdateBoardOutcome; - typedef std::future UpdateBoardOutcomeCallable; + typedef Outcome UpdateBoardOutcome; + typedef std::future UpdateBoardOutcomeCallable; typedef std::function&)> UpdateBoardAsyncHandler; - typedef Outcome JoinBoardOutcome; - typedef std::future JoinBoardOutcomeCallable; + typedef Outcome AddCasterLayoutOutcome; + typedef std::future AddCasterLayoutOutcomeCallable; + typedef std::function&)> AddCasterLayoutAsyncHandler; + typedef Outcome JoinBoardOutcome; + typedef std::future JoinBoardOutcomeCallable; typedef std::function&)> JoinBoardAsyncHandler; - typedef Outcome DescribeLiveUserDomainsOutcome; - typedef std::future DescribeLiveUserDomainsOutcomeCallable; + typedef Outcome DescribeLiveUserDomainsOutcome; + typedef std::future DescribeLiveUserDomainsOutcomeCallable; typedef std::function&)> DescribeLiveUserDomainsAsyncHandler; - typedef Outcome ModifyCasterLayoutOutcome; - typedef std::future ModifyCasterLayoutOutcomeCallable; - typedef std::function&)> ModifyCasterLayoutAsyncHandler; - typedef Outcome StopCasterOutcome; - typedef std::future StopCasterOutcomeCallable; + typedef Outcome StopCasterOutcome; + typedef std::future StopCasterOutcomeCallable; typedef std::function&)> StopCasterAsyncHandler; - typedef Outcome DescribeLiveStreamsPublishListOutcome; - typedef std::future DescribeLiveStreamsPublishListOutcomeCallable; + typedef Outcome ModifyCasterLayoutOutcome; + typedef std::future ModifyCasterLayoutOutcomeCallable; + typedef std::function&)> ModifyCasterLayoutAsyncHandler; + typedef Outcome DescribeLiveStreamsPublishListOutcome; + typedef std::future DescribeLiveStreamsPublishListOutcomeCallable; typedef std::function&)> DescribeLiveStreamsPublishListAsyncHandler; - typedef Outcome DescribeLiveSnapshotDetectPornConfigOutcome; - typedef std::future DescribeLiveSnapshotDetectPornConfigOutcomeCallable; + typedef Outcome DescribeLiveSnapshotDetectPornConfigOutcome; + typedef std::future DescribeLiveSnapshotDetectPornConfigOutcomeCallable; typedef std::function&)> DescribeLiveSnapshotDetectPornConfigAsyncHandler; - typedef Outcome DeleteCasterSceneConfigOutcome; - typedef std::future DeleteCasterSceneConfigOutcomeCallable; + typedef Outcome DeleteCasterSceneConfigOutcome; + typedef std::future DeleteCasterSceneConfigOutcomeCallable; typedef std::function&)> DeleteCasterSceneConfigAsyncHandler; - typedef Outcome AddLiveDomainOutcome; - typedef std::future AddLiveDomainOutcomeCallable; + typedef Outcome AddLiveDomainOutcome; + typedef std::future AddLiveDomainOutcomeCallable; typedef std::function&)> AddLiveDomainAsyncHandler; - typedef Outcome DeleteLiveAppRecordConfigOutcome; - typedef std::future DeleteLiveAppRecordConfigOutcomeCallable; + typedef Outcome StopLiveIndexOutcome; + typedef std::future StopLiveIndexOutcomeCallable; + typedef std::function&)> StopLiveIndexAsyncHandler; + typedef Outcome DeleteLiveAppRecordConfigOutcome; + typedef std::future DeleteLiveAppRecordConfigOutcomeCallable; typedef std::function&)> DeleteLiveAppRecordConfigAsyncHandler; - typedef Outcome DescribeLiveDomainBpsDataOutcome; - typedef std::future DescribeLiveDomainBpsDataOutcomeCallable; - typedef std::function&)> DescribeLiveDomainBpsDataAsyncHandler; - typedef Outcome DeleteCasterOutcome; - typedef std::future DeleteCasterOutcomeCallable; + typedef Outcome DeleteCasterOutcome; + typedef std::future DeleteCasterOutcomeCallable; typedef std::function&)> DeleteCasterAsyncHandler; - typedef Outcome DescribeLiveRecordVodConfigsOutcome; - typedef std::future DescribeLiveRecordVodConfigsOutcomeCallable; + typedef Outcome DescribeLiveDomainBpsDataOutcome; + typedef std::future DescribeLiveDomainBpsDataOutcomeCallable; + typedef std::function&)> DescribeLiveDomainBpsDataAsyncHandler; + typedef Outcome DescribeLiveRecordVodConfigsOutcome; + typedef std::future DescribeLiveRecordVodConfigsOutcomeCallable; typedef std::function&)> DescribeLiveRecordVodConfigsAsyncHandler; - typedef Outcome DescribeCastersOutcome; - typedef std::future DescribeCastersOutcomeCallable; + 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 Outcome AddLiveDetectNotifyConfigOutcome; + typedef std::future AddLiveDetectNotifyConfigOutcomeCallable; typedef std::function&)> AddLiveDetectNotifyConfigAsyncHandler; - typedef Outcome DescribeLiveLazyPullStreamConfigOutcome; - typedef std::future DescribeLiveLazyPullStreamConfigOutcomeCallable; + typedef Outcome DescribeLiveLazyPullStreamConfigOutcome; + typedef std::future DescribeLiveLazyPullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLiveLazyPullStreamConfigAsyncHandler; - typedef Outcome DescribeCasterScenesOutcome; - typedef std::future DescribeCasterScenesOutcomeCallable; + typedef Outcome DescribeCasterScenesOutcome; + typedef std::future DescribeCasterScenesOutcomeCallable; typedef std::function&)> DescribeCasterScenesAsyncHandler; - typedef Outcome SendRoomNotificationOutcome; - typedef std::future SendRoomNotificationOutcomeCallable; + typedef Outcome SetBoardCallbackOutcome; + typedef std::future SetBoardCallbackOutcomeCallable; + typedef std::function&)> SetBoardCallbackAsyncHandler; + typedef Outcome SendRoomNotificationOutcome; + typedef std::future SendRoomNotificationOutcomeCallable; typedef std::function&)> SendRoomNotificationAsyncHandler; - typedef Outcome DeleteLiveLazyPullStreamInfoConfigOutcome; - typedef std::future DeleteLiveLazyPullStreamInfoConfigOutcomeCallable; + typedef Outcome DeleteLiveLazyPullStreamInfoConfigOutcome; + typedef std::future DeleteLiveLazyPullStreamInfoConfigOutcomeCallable; typedef std::function&)> DeleteLiveLazyPullStreamInfoConfigAsyncHandler; - - LiveClient(const Credentials &credentials, const ClientConfiguration &configuration); - LiveClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); - 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; - DescribeRoomListOutcome describeRoomList(const Model::DescribeRoomListRequest &request)const; - void describeRoomListAsync(const Model::DescribeRoomListRequest& request, const DescribeRoomListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + + 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(); + StartBoardRecordOutcome startBoardRecord(const Model::StartBoardRecordRequest &request)const; + void startBoardRecordAsync(const Model::StartBoardRecordRequest& request, const StartBoardRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartBoardRecordOutcomeCallable startBoardRecordCallable(const Model::StartBoardRecordRequest& request) const; + DescribeRoomListOutcome describeRoomList(const Model::DescribeRoomListRequest &request)const; + void describeRoomListAsync(const Model::DescribeRoomListRequest& request, const DescribeRoomListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRoomListOutcomeCallable describeRoomListCallable(const Model::DescribeRoomListRequest& request) const; - DescribeLiveDetectNotifyConfigOutcome describeLiveDetectNotifyConfig(const Model::DescribeLiveDetectNotifyConfigRequest &request)const; - void describeLiveDetectNotifyConfigAsync(const Model::DescribeLiveDetectNotifyConfigRequest& request, const DescribeLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + 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; + 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; - CompleteBoardOutcome completeBoard(const Model::CompleteBoardRequest &request)const; - void completeBoardAsync(const Model::CompleteBoardRequest& request, const CompleteBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CompleteBoardOutcome completeBoard(const Model::CompleteBoardRequest &request)const; + void completeBoardAsync(const Model::CompleteBoardRequest& request, const CompleteBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CompleteBoardOutcomeCallable completeBoardCallable(const Model::CompleteBoardRequest& request) const; - DescribeCasterComponentsOutcome describeCasterComponents(const Model::DescribeCasterComponentsRequest &request)const; - void describeCasterComponentsAsync(const Model::DescribeCasterComponentsRequest& request, const DescribeCasterComponentsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterComponentsOutcome describeCasterComponents(const Model::DescribeCasterComponentsRequest &request)const; + void describeCasterComponentsAsync(const Model::DescribeCasterComponentsRequest& request, const DescribeCasterComponentsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCasterComponentsOutcomeCallable describeCasterComponentsCallable(const Model::DescribeCasterComponentsRequest& request) const; - DescribeLiveMixConfigOutcome describeLiveMixConfig(const Model::DescribeLiveMixConfigRequest &request)const; - void describeLiveMixConfigAsync(const Model::DescribeLiveMixConfigRequest& request, const DescribeLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveMixConfigOutcomeCallable describeLiveMixConfigCallable(const Model::DescribeLiveMixConfigRequest& request) const; - DescribeRoomStatusOutcome describeRoomStatus(const Model::DescribeRoomStatusRequest &request)const; - void describeRoomStatusAsync(const Model::DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + DescribeRoomStatusOutcome describeRoomStatus(const Model::DescribeRoomStatusRequest &request)const; + void describeRoomStatusAsync(const Model::DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRoomStatusOutcomeCallable describeRoomStatusCallable(const Model::DescribeRoomStatusRequest& request) const; - CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const; - void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; - DeleteLiveSpecificConfigOutcome deleteLiveSpecificConfig(const Model::DeleteLiveSpecificConfigRequest &request)const; - void deleteLiveSpecificConfigAsync(const Model::DeleteLiveSpecificConfigRequest& request, const DeleteLiveSpecificConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteLiveSpecificConfigOutcomeCallable deleteLiveSpecificConfigCallable(const Model::DeleteLiveSpecificConfigRequest& 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; + 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; + 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; + 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; + 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; - DescribeUpBpsPeakOfLineOutcome describeUpBpsPeakOfLine(const Model::DescribeUpBpsPeakOfLineRequest &request)const; - void describeUpBpsPeakOfLineAsync(const Model::DescribeUpBpsPeakOfLineRequest& request, const DescribeUpBpsPeakOfLineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUpBpsPeakOfLineOutcome describeUpBpsPeakOfLine(const Model::DescribeUpBpsPeakOfLineRequest &request)const; + void describeUpBpsPeakOfLineAsync(const Model::DescribeUpBpsPeakOfLineRequest& request, const DescribeUpBpsPeakOfLineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUpBpsPeakOfLineOutcomeCallable describeUpBpsPeakOfLineCallable(const Model::DescribeUpBpsPeakOfLineRequest& 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; + 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; + 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; + 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; + 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; + 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; + AddTrancodeSEIOutcome addTrancodeSEI(const Model::AddTrancodeSEIRequest &request)const; + void addTrancodeSEIAsync(const Model::AddTrancodeSEIRequest& request, const AddTrancodeSEIAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddTrancodeSEIOutcomeCallable addTrancodeSEICallable(const Model::AddTrancodeSEIRequest& request) const; - DeleteBoardOutcome deleteBoard(const Model::DeleteBoardRequest &request)const; - void deleteBoardAsync(const Model::DeleteBoardRequest& request, const DeleteBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + DeleteBoardOutcome deleteBoard(const Model::DeleteBoardRequest &request)const; + void deleteBoardAsync(const Model::DeleteBoardRequest& request, const DeleteBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteBoardOutcomeCallable deleteBoardCallable(const Model::DeleteBoardRequest& request) const; - DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const; - void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + 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; + 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; + 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; - DescribeLiveTopDomainsByFlowOutcome describeLiveTopDomainsByFlow(const Model::DescribeLiveTopDomainsByFlowRequest &request)const; - void describeLiveTopDomainsByFlowAsync(const Model::DescribeLiveTopDomainsByFlowRequest& request, const DescribeLiveTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartLiveIndexOutcome startLiveIndex(const Model::StartLiveIndexRequest &request)const; + void startLiveIndexAsync(const Model::StartLiveIndexRequest& request, const StartLiveIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartLiveIndexOutcomeCallable startLiveIndexCallable(const Model::StartLiveIndexRequest& request) const; + DescribeLiveTopDomainsByFlowOutcome describeLiveTopDomainsByFlow(const Model::DescribeLiveTopDomainsByFlowRequest &request)const; + void describeLiveTopDomainsByFlowAsync(const Model::DescribeLiveTopDomainsByFlowRequest& request, const DescribeLiveTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveTopDomainsByFlowOutcomeCallable describeLiveTopDomainsByFlowCallable(const Model::DescribeLiveTopDomainsByFlowRequest& 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; + 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; + 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; + 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; + 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; - SetLiveLazyPullStreamInfoConfigOutcome setLiveLazyPullStreamInfoConfig(const Model::SetLiveLazyPullStreamInfoConfigRequest &request)const; - void setLiveLazyPullStreamInfoConfigAsync(const Model::SetLiveLazyPullStreamInfoConfigRequest& request, const SetLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetLiveLazyPullStreamInfoConfigOutcome setLiveLazyPullStreamInfoConfig(const Model::SetLiveLazyPullStreamInfoConfigRequest &request)const; + void setLiveLazyPullStreamInfoConfigAsync(const Model::SetLiveLazyPullStreamInfoConfigRequest& request, const SetLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetLiveLazyPullStreamInfoConfigOutcomeCallable setLiveLazyPullStreamInfoConfigCallable(const Model::SetLiveLazyPullStreamInfoConfigRequest& request) const; - AddCasterEpisodeOutcome addCasterEpisode(const Model::AddCasterEpisodeRequest &request)const; - void addCasterEpisodeAsync(const Model::AddCasterEpisodeRequest& request, const AddCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; - DescribeLiveDomainRealTimeBpsDataOutcome describeLiveDomainRealTimeBpsData(const Model::DescribeLiveDomainRealTimeBpsDataRequest &request)const; - void describeLiveDomainRealTimeBpsDataAsync(const Model::DescribeLiveDomainRealTimeBpsDataRequest& request, const DescribeLiveDomainRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainRealTimeBpsDataOutcome describeLiveDomainRealTimeBpsData(const Model::DescribeLiveDomainRealTimeBpsDataRequest &request)const; + void describeLiveDomainRealTimeBpsDataAsync(const Model::DescribeLiveDomainRealTimeBpsDataRequest& request, const DescribeLiveDomainRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainRealTimeBpsDataOutcomeCallable describeLiveDomainRealTimeBpsDataCallable(const Model::DescribeLiveDomainRealTimeBpsDataRequest& request) const; - AllowPushStreamOutcome allowPushStream(const Model::AllowPushStreamRequest &request)const; - void allowPushStreamAsync(const Model::AllowPushStreamRequest& request, const AllowPushStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AllowPushStreamOutcome allowPushStream(const Model::AllowPushStreamRequest &request)const; + void allowPushStreamAsync(const Model::AllowPushStreamRequest& request, const AllowPushStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AllowPushStreamOutcomeCallable allowPushStreamCallable(const Model::AllowPushStreamRequest& request) const; - ForbidPushStreamOutcome forbidPushStream(const Model::ForbidPushStreamRequest &request)const; - void forbidPushStreamAsync(const Model::ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ForbidPushStreamOutcomeCallable forbidPushStreamCallable(const Model::ForbidPushStreamRequest& request) const; - DescribeLiveRecordConfigOutcome describeLiveRecordConfig(const Model::DescribeLiveRecordConfigRequest &request)const; - void describeLiveRecordConfigAsync(const Model::DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; - DescribeHlsLiveStreamRealTimeBpsDataOutcome describeHlsLiveStreamRealTimeBpsData(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest &request)const; - void describeHlsLiveStreamRealTimeBpsDataAsync(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest& request, const DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ForbidPushStreamOutcome forbidPushStream(const Model::ForbidPushStreamRequest &request)const; + void forbidPushStreamAsync(const Model::ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ForbidPushStreamOutcomeCallable forbidPushStreamCallable(const Model::ForbidPushStreamRequest& request) const; + DescribeHlsLiveStreamRealTimeBpsDataOutcome describeHlsLiveStreamRealTimeBpsData(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest &request)const; + void describeHlsLiveStreamRealTimeBpsDataAsync(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest& request, const DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable describeHlsLiveStreamRealTimeBpsDataCallable(const Model::DescribeHlsLiveStreamRealTimeBpsDataRequest& request) const; - CreateBoardOutcome createBoard(const Model::CreateBoardRequest &request)const; - void createBoardAsync(const Model::CreateBoardRequest& request, const CreateBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + 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; + CreateBoardOutcome createBoard(const Model::CreateBoardRequest &request)const; + void createBoardAsync(const Model::CreateBoardRequest& request, const CreateBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateBoardOutcomeCallable createBoardCallable(const Model::CreateBoardRequest& request) const; - DeleteLiveStreamsNotifyUrlConfigOutcome deleteLiveStreamsNotifyUrlConfig(const Model::DeleteLiveStreamsNotifyUrlConfigRequest &request)const; - void deleteLiveStreamsNotifyUrlConfigAsync(const Model::DeleteLiveStreamsNotifyUrlConfigRequest& request, const DeleteLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + 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; + DescribeRecordOutcome describeRecord(const Model::DescribeRecordRequest &request)const; + void describeRecordAsync(const Model::DescribeRecordRequest& request, const DescribeRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRecordOutcomeCallable describeRecordCallable(const Model::DescribeRecordRequest& 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; + 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; + 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; - DescribeLiveCertificateListOutcome describeLiveCertificateList(const Model::DescribeLiveCertificateListRequest &request)const; - void describeLiveCertificateListAsync(const Model::DescribeLiveCertificateListRequest& request, const DescribeLiveCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveCertificateListOutcome describeLiveCertificateList(const Model::DescribeLiveCertificateListRequest &request)const; + void describeLiveCertificateListAsync(const Model::DescribeLiveCertificateListRequest& request, const DescribeLiveCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveCertificateListOutcomeCallable describeLiveCertificateListCallable(const Model::DescribeLiveCertificateListRequest& 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; + DeleteLiveAppSnapshotConfigOutcome deleteLiveAppSnapshotConfig(const Model::DeleteLiveAppSnapshotConfigRequest &request)const; + void deleteLiveAppSnapshotConfigAsync(const Model::DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveAppSnapshotConfigOutcomeCallable deleteLiveAppSnapshotConfigCallable(const Model::DeleteLiveAppSnapshotConfigRequest& request) const; - UpdateCasterSceneAudioOutcome updateCasterSceneAudio(const Model::UpdateCasterSceneAudioRequest &request)const; - void updateCasterSceneAudioAsync(const Model::UpdateCasterSceneAudioRequest& request, const UpdateCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateCasterSceneAudioOutcomeCallable updateCasterSceneAudioCallable(const Model::UpdateCasterSceneAudioRequest& request) const; - DescribeLiveStreamsNotifyUrlConfigOutcome describeLiveStreamsNotifyUrlConfig(const Model::DescribeLiveStreamsNotifyUrlConfigRequest &request)const; - void describeLiveStreamsNotifyUrlConfigAsync(const Model::DescribeLiveStreamsNotifyUrlConfigRequest& request, const DescribeLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; - DescribeUpBpsPeakDataOutcome describeUpBpsPeakData(const Model::DescribeUpBpsPeakDataRequest &request)const; - void describeUpBpsPeakDataAsync(const Model::DescribeUpBpsPeakDataRequest& request, const DescribeUpBpsPeakDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCasterSceneAudioOutcome updateCasterSceneAudio(const Model::UpdateCasterSceneAudioRequest &request)const; + void updateCasterSceneAudioAsync(const Model::UpdateCasterSceneAudioRequest& request, const UpdateCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCasterSceneAudioOutcomeCallable updateCasterSceneAudioCallable(const Model::UpdateCasterSceneAudioRequest& request) const; + ApplyRecordTokenOutcome applyRecordToken(const Model::ApplyRecordTokenRequest &request)const; + void applyRecordTokenAsync(const Model::ApplyRecordTokenRequest& request, const ApplyRecordTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyRecordTokenOutcomeCallable applyRecordTokenCallable(const Model::ApplyRecordTokenRequest& request) const; + DescribeUpBpsPeakDataOutcome describeUpBpsPeakData(const Model::DescribeUpBpsPeakDataRequest &request)const; + void describeUpBpsPeakDataAsync(const Model::DescribeUpBpsPeakDataRequest& request, const DescribeUpBpsPeakDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUpBpsPeakDataOutcomeCallable describeUpBpsPeakDataCallable(const Model::DescribeUpBpsPeakDataRequest& 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; + 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; + ModifyLiveDomainSchdmByPropertyOutcome modifyLiveDomainSchdmByProperty(const Model::ModifyLiveDomainSchdmByPropertyRequest &request)const; + void modifyLiveDomainSchdmByPropertyAsync(const Model::ModifyLiveDomainSchdmByPropertyRequest& request, const ModifyLiveDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyLiveDomainSchdmByPropertyOutcomeCallable modifyLiveDomainSchdmByPropertyCallable(const Model::ModifyLiveDomainSchdmByPropertyRequest& 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; - DescribeBoardEventsOutcome describeBoardEvents(const Model::DescribeBoardEventsRequest &request)const; - void describeBoardEventsAsync(const Model::DescribeBoardEventsRequest& request, const DescribeBoardEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBoardEventsOutcome describeBoardEvents(const Model::DescribeBoardEventsRequest &request)const; + void describeBoardEventsAsync(const Model::DescribeBoardEventsRequest& request, const DescribeBoardEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBoardEventsOutcomeCallable describeBoardEventsCallable(const Model::DescribeBoardEventsRequest& request) const; - DescribeLiveCertificateDetailOutcome describeLiveCertificateDetail(const Model::DescribeLiveCertificateDetailRequest &request)const; - void describeLiveCertificateDetailAsync(const Model::DescribeLiveCertificateDetailRequest& request, const DescribeLiveCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveCertificateDetailOutcome describeLiveCertificateDetail(const Model::DescribeLiveCertificateDetailRequest &request)const; + void describeLiveCertificateDetailAsync(const Model::DescribeLiveCertificateDetailRequest& request, const DescribeLiveCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveCertificateDetailOutcomeCallable describeLiveCertificateDetailCallable(const Model::DescribeLiveCertificateDetailRequest& request) const; - 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; + 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; + 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; - StartLiveDomainOutcome startLiveDomain(const Model::StartLiveDomainRequest &request)const; - void startLiveDomainAsync(const Model::StartLiveDomainRequest& request, const StartLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartLiveDomainOutcome startLiveDomain(const Model::StartLiveDomainRequest &request)const; + void startLiveDomainAsync(const Model::StartLiveDomainRequest& request, const StartLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartLiveDomainOutcomeCallable startLiveDomainCallable(const Model::StartLiveDomainRequest& request) const; - DescribeCasterSceneAudioOutcome describeCasterSceneAudio(const Model::DescribeCasterSceneAudioRequest &request)const; - void describeCasterSceneAudioAsync(const Model::DescribeCasterSceneAudioRequest& request, const DescribeCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeCasterSceneAudioOutcomeCallable describeCasterSceneAudioCallable(const Model::DescribeCasterSceneAudioRequest& request) const; - DescribeLiveStreamsBlockListOutcome describeLiveStreamsBlockList(const Model::DescribeLiveStreamsBlockListRequest &request)const; - void describeLiveStreamsBlockListAsync(const Model::DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; - DescribeRoomKickoutUserListOutcome describeRoomKickoutUserList(const Model::DescribeRoomKickoutUserListRequest &request)const; - void describeRoomKickoutUserListAsync(const Model::DescribeRoomKickoutUserListRequest& request, const DescribeRoomKickoutUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterSceneAudioOutcome describeCasterSceneAudio(const Model::DescribeCasterSceneAudioRequest &request)const; + void describeCasterSceneAudioAsync(const Model::DescribeCasterSceneAudioRequest& request, const DescribeCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterSceneAudioOutcomeCallable describeCasterSceneAudioCallable(const Model::DescribeCasterSceneAudioRequest& request) const; + DescribeRoomKickoutUserListOutcome describeRoomKickoutUserList(const Model::DescribeRoomKickoutUserListRequest &request)const; + void describeRoomKickoutUserListAsync(const Model::DescribeRoomKickoutUserListRequest& request, const DescribeRoomKickoutUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRoomKickoutUserListOutcomeCallable describeRoomKickoutUserListCallable(const Model::DescribeRoomKickoutUserListRequest& request) const; - AddCasterEpisodeGroupContentOutcome addCasterEpisodeGroupContent(const Model::AddCasterEpisodeGroupContentRequest &request)const; - void addCasterEpisodeGroupContentAsync(const Model::AddCasterEpisodeGroupContentRequest& request, const AddCasterEpisodeGroupContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + 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; + 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; + 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; + ModifyCasterVideoResourceOutcome modifyCasterVideoResource(const Model::ModifyCasterVideoResourceRequest &request)const; + void modifyCasterVideoResourceAsync(const Model::ModifyCasterVideoResourceRequest& request, const ModifyCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCasterVideoResourceOutcomeCallable modifyCasterVideoResourceCallable(const Model::ModifyCasterVideoResourceRequest& request) const; - CreateRoomOutcome createRoom(const Model::CreateRoomRequest &request)const; - void createRoomAsync(const Model::CreateRoomRequest& request, const CreateRoomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateRoomOutcome createRoom(const Model::CreateRoomRequest &request)const; + void createRoomAsync(const Model::CreateRoomRequest& request, const CreateRoomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateRoomOutcomeCallable createRoomCallable(const Model::CreateRoomRequest& request) const; - DescribeCasterStreamUrlOutcome describeCasterStreamUrl(const Model::DescribeCasterStreamUrlRequest &request)const; - void describeCasterStreamUrlAsync(const Model::DescribeCasterStreamUrlRequest& request, const DescribeCasterStreamUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + 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; - DescribeLiveStreamCountOutcome describeLiveStreamCount(const Model::DescribeLiveStreamCountRequest &request)const; - void describeLiveStreamCountAsync(const Model::DescribeLiveStreamCountRequest& request, const DescribeLiveStreamCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamCountOutcome describeLiveStreamCount(const Model::DescribeLiveStreamCountRequest &request)const; + void describeLiveStreamCountAsync(const Model::DescribeLiveStreamCountRequest& request, const DescribeLiveStreamCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamCountOutcomeCallable describeLiveStreamCountCallable(const Model::DescribeLiveStreamCountRequest& 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; + 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; - DescribeLiveDomainRealTimeTrafficDataOutcome describeLiveDomainRealTimeTrafficData(const Model::DescribeLiveDomainRealTimeTrafficDataRequest &request)const; - void describeLiveDomainRealTimeTrafficDataAsync(const Model::DescribeLiveDomainRealTimeTrafficDataRequest& request, const DescribeLiveDomainRealTimeTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainRealTimeTrafficDataOutcome describeLiveDomainRealTimeTrafficData(const Model::DescribeLiveDomainRealTimeTrafficDataRequest &request)const; + void describeLiveDomainRealTimeTrafficDataAsync(const Model::DescribeLiveDomainRealTimeTrafficDataRequest& request, const DescribeLiveDomainRealTimeTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainRealTimeTrafficDataOutcomeCallable describeLiveDomainRealTimeTrafficDataCallable(const Model::DescribeLiveDomainRealTimeTrafficDataRequest& 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; + 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; + 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; - DescribeLiveDomainRealTimeHttpCodeDataOutcome describeLiveDomainRealTimeHttpCodeData(const Model::DescribeLiveDomainRealTimeHttpCodeDataRequest &request)const; - void describeLiveDomainRealTimeHttpCodeDataAsync(const Model::DescribeLiveDomainRealTimeHttpCodeDataRequest& request, const DescribeLiveDomainRealTimeHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainRealTimeHttpCodeDataOutcome describeLiveDomainRealTimeHttpCodeData(const Model::DescribeLiveDomainRealTimeHttpCodeDataRequest &request)const; + void describeLiveDomainRealTimeHttpCodeDataAsync(const Model::DescribeLiveDomainRealTimeHttpCodeDataRequest& request, const DescribeLiveDomainRealTimeHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainRealTimeHttpCodeDataOutcomeCallable describeLiveDomainRealTimeHttpCodeDataCallable(const Model::DescribeLiveDomainRealTimeHttpCodeDataRequest& 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; + ModifyCasterEpisodeOutcome modifyCasterEpisode(const Model::ModifyCasterEpisodeRequest &request)const; + void modifyCasterEpisodeAsync(const Model::ModifyCasterEpisodeRequest& request, const ModifyCasterEpisodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCasterEpisodeOutcomeCallable modifyCasterEpisodeCallable(const Model::ModifyCasterEpisodeRequest& request) const; - DescribeBoardsOutcome describeBoards(const Model::DescribeBoardsRequest &request)const; - void describeBoardsAsync(const Model::DescribeBoardsRequest& request, const DescribeBoardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBoardsOutcome describeBoards(const Model::DescribeBoardsRequest &request)const; + void describeBoardsAsync(const Model::DescribeBoardsRequest& request, const DescribeBoardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBoardsOutcomeCallable describeBoardsCallable(const Model::DescribeBoardsRequest& request) const; - DescribeLiveStreamSnapshotInfoOutcome describeLiveStreamSnapshotInfo(const Model::DescribeLiveStreamSnapshotInfoRequest &request)const; - void describeLiveStreamSnapshotInfoAsync(const Model::DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + UpdateBoardCallbackOutcome updateBoardCallback(const Model::UpdateBoardCallbackRequest &request)const; + void updateBoardCallbackAsync(const Model::UpdateBoardCallbackRequest& request, const UpdateBoardCallbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateBoardCallbackOutcomeCallable updateBoardCallbackCallable(const Model::UpdateBoardCallbackRequest& 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; - DescribeForbidPushStreamRoomListOutcome describeForbidPushStreamRoomList(const Model::DescribeForbidPushStreamRoomListRequest &request)const; - void describeForbidPushStreamRoomListAsync(const Model::DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeForbidPushStreamRoomListOutcome describeForbidPushStreamRoomList(const Model::DescribeForbidPushStreamRoomListRequest &request)const; + void describeForbidPushStreamRoomListAsync(const Model::DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeForbidPushStreamRoomListOutcomeCallable describeForbidPushStreamRoomListCallable(const Model::DescribeForbidPushStreamRoomListRequest& request) const; - CreateCasterOutcome createCaster(const Model::CreateCasterRequest &request)const; - void createCasterAsync(const Model::CreateCasterRequest& request, const CreateCasterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateCasterOutcomeCallable createCasterCallable(const Model::CreateCasterRequest& request) const; - DescribeLiveStreamRecordContentOutcome describeLiveStreamRecordContent(const Model::DescribeLiveStreamRecordContentRequest &request)const; - void describeLiveStreamRecordContentAsync(const Model::DescribeLiveStreamRecordContentRequest& request, const DescribeLiveStreamRecordContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) 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; + 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; + 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; + 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; - SetCasterChannelOutcome setCasterChannel(const Model::SetCasterChannelRequest &request)const; - void setCasterChannelAsync(const Model::SetCasterChannelRequest& request, const SetCasterChannelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetCasterChannelOutcome setCasterChannel(const Model::SetCasterChannelRequest &request)const; + void setCasterChannelAsync(const Model::SetCasterChannelRequest& request, const SetCasterChannelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetCasterChannelOutcomeCallable setCasterChannelCallable(const Model::SetCasterChannelRequest& request) const; - DescribeLiveSnapshotConfigOutcome describeLiveSnapshotConfig(const Model::DescribeLiveSnapshotConfigRequest &request)const; - void describeLiveSnapshotConfigAsync(const Model::DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; - DescribeLiveDomainTrafficDataOutcome describeLiveDomainTrafficData(const Model::DescribeLiveDomainTrafficDataRequest &request)const; - void describeLiveDomainTrafficDataAsync(const Model::DescribeLiveDomainTrafficDataRequest& request, const DescribeLiveDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveDomainTrafficDataOutcomeCallable describeLiveDomainTrafficDataCallable(const Model::DescribeLiveDomainTrafficDataRequest& 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; + CompleteBoardRecordOutcome completeBoardRecord(const Model::CompleteBoardRecordRequest &request)const; + void completeBoardRecordAsync(const Model::CompleteBoardRecordRequest& request, const CompleteBoardRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CompleteBoardRecordOutcomeCallable completeBoardRecordCallable(const Model::CompleteBoardRecordRequest& 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; - StopLiveDomainOutcome stopLiveDomain(const Model::StopLiveDomainRequest &request)const; - void stopLiveDomainAsync(const Model::StopLiveDomainRequest& request, const StopLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainTrafficDataOutcome describeLiveDomainTrafficData(const Model::DescribeLiveDomainTrafficDataRequest &request)const; + void describeLiveDomainTrafficDataAsync(const Model::DescribeLiveDomainTrafficDataRequest& request, const DescribeLiveDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainTrafficDataOutcomeCallable describeLiveDomainTrafficDataCallable(const Model::DescribeLiveDomainTrafficDataRequest& request) const; + StopLiveDomainOutcome stopLiveDomain(const Model::StopLiveDomainRequest &request)const; + void stopLiveDomainAsync(const Model::StopLiveDomainRequest& request, const StopLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopLiveDomainOutcomeCallable stopLiveDomainCallable(const Model::StopLiveDomainRequest& request) const; - ApplyBoardTokenOutcome applyBoardToken(const Model::ApplyBoardTokenRequest &request)const; - void applyBoardTokenAsync(const Model::ApplyBoardTokenRequest& request, const ApplyBoardTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyBoardTokenOutcome applyBoardToken(const Model::ApplyBoardTokenRequest &request)const; + void applyBoardTokenAsync(const Model::ApplyBoardTokenRequest& request, const ApplyBoardTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ApplyBoardTokenOutcomeCallable applyBoardTokenCallable(const Model::ApplyBoardTokenRequest& request) const; - DescribeLiveStreamHistoryUserNumOutcome describeLiveStreamHistoryUserNum(const Model::DescribeLiveStreamHistoryUserNumRequest &request)const; - void describeLiveStreamHistoryUserNumAsync(const Model::DescribeLiveStreamHistoryUserNumRequest& request, const DescribeLiveStreamHistoryUserNumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + 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; + AddLiveRecordVodConfigOutcome addLiveRecordVodConfig(const Model::AddLiveRecordVodConfigRequest &request)const; + void addLiveRecordVodConfigAsync(const Model::AddLiveRecordVodConfigRequest& request, const AddLiveRecordVodConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveRecordVodConfigOutcomeCallable addLiveRecordVodConfigCallable(const Model::AddLiveRecordVodConfigRequest& request) const; - SendRoomUserNotificationOutcome sendRoomUserNotification(const Model::SendRoomUserNotificationRequest &request)const; - void sendRoomUserNotificationAsync(const Model::SendRoomUserNotificationRequest& request, const SendRoomUserNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendRoomUserNotificationOutcome sendRoomUserNotification(const Model::SendRoomUserNotificationRequest &request)const; + void sendRoomUserNotificationAsync(const Model::SendRoomUserNotificationRequest& request, const SendRoomUserNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SendRoomUserNotificationOutcomeCallable sendRoomUserNotificationCallable(const Model::SendRoomUserNotificationRequest& request) const; - DeleteLiveDomainMappingOutcome deleteLiveDomainMapping(const Model::DeleteLiveDomainMappingRequest &request)const; - void deleteLiveDomainMappingAsync(const Model::DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveDomainMappingOutcome deleteLiveDomainMapping(const Model::DeleteLiveDomainMappingRequest &request)const; + void deleteLiveDomainMappingAsync(const Model::DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveDomainMappingOutcomeCallable deleteLiveDomainMappingCallable(const Model::DeleteLiveDomainMappingRequest& request) const; - BatchSetLiveDomainConfigsOutcome batchSetLiveDomainConfigs(const Model::BatchSetLiveDomainConfigsRequest &request)const; - void batchSetLiveDomainConfigsAsync(const Model::BatchSetLiveDomainConfigsRequest& request, const BatchSetLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchSetLiveDomainConfigsOutcome batchSetLiveDomainConfigs(const Model::BatchSetLiveDomainConfigsRequest &request)const; + void batchSetLiveDomainConfigsAsync(const Model::BatchSetLiveDomainConfigsRequest& request, const BatchSetLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchSetLiveDomainConfigsOutcomeCallable batchSetLiveDomainConfigsCallable(const Model::BatchSetLiveDomainConfigsRequest& request) const; - DescribeLiveDomainDetailOutcome describeLiveDomainDetail(const Model::DescribeLiveDomainDetailRequest &request)const; - void describeLiveDomainDetailAsync(const Model::DescribeLiveDomainDetailRequest& request, const DescribeLiveDomainDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainMappingOutcome describeLiveDomainMapping(const Model::DescribeLiveDomainMappingRequest &request)const; + void describeLiveDomainMappingAsync(const Model::DescribeLiveDomainMappingRequest& request, const DescribeLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainMappingOutcomeCallable describeLiveDomainMappingCallable(const Model::DescribeLiveDomainMappingRequest& request) const; + DescribeLiveDomainDetailOutcome describeLiveDomainDetail(const Model::DescribeLiveDomainDetailRequest &request)const; + void describeLiveDomainDetailAsync(const Model::DescribeLiveDomainDetailRequest& request, const DescribeLiveDomainDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainDetailOutcomeCallable describeLiveDomainDetailCallable(const Model::DescribeLiveDomainDetailRequest& request) const; - DescribeCasterChannelsOutcome describeCasterChannels(const Model::DescribeCasterChannelsRequest &request)const; - void describeCasterChannelsAsync(const Model::DescribeCasterChannelsRequest& request, const DescribeCasterChannelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetLiveStreamOptimizedFeatureConfigOutcome setLiveStreamOptimizedFeatureConfig(const Model::SetLiveStreamOptimizedFeatureConfigRequest &request)const; + void setLiveStreamOptimizedFeatureConfigAsync(const Model::SetLiveStreamOptimizedFeatureConfigRequest& request, const SetLiveStreamOptimizedFeatureConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetLiveStreamOptimizedFeatureConfigOutcomeCallable setLiveStreamOptimizedFeatureConfigCallable(const Model::SetLiveStreamOptimizedFeatureConfigRequest& request) const; + DescribeCasterChannelsOutcome describeCasterChannels(const Model::DescribeCasterChannelsRequest &request)const; + void describeCasterChannelsAsync(const Model::DescribeCasterChannelsRequest& request, const DescribeCasterChannelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCasterChannelsOutcomeCallable describeCasterChannelsCallable(const Model::DescribeCasterChannelsRequest& request) const; - DescribeLiveDomainConfigsOutcome describeLiveDomainConfigs(const Model::DescribeLiveDomainConfigsRequest &request)const; - void describeLiveDomainConfigsAsync(const Model::DescribeLiveDomainConfigsRequest& request, const DescribeLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainConfigsOutcome describeLiveDomainConfigs(const Model::DescribeLiveDomainConfigsRequest &request)const; + void describeLiveDomainConfigsAsync(const Model::DescribeLiveDomainConfigsRequest& request, const DescribeLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainConfigsOutcomeCallable describeLiveDomainConfigsCallable(const Model::DescribeLiveDomainConfigsRequest& request) const; - DescribeLiveStreamRecordIndexFilesOutcome describeLiveStreamRecordIndexFiles(const Model::DescribeLiveStreamRecordIndexFilesRequest &request)const; - void describeLiveStreamRecordIndexFilesAsync(const Model::DescribeLiveStreamRecordIndexFilesRequest& request, const DescribeLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamRecordIndexFilesOutcome describeLiveStreamRecordIndexFiles(const Model::DescribeLiveStreamRecordIndexFilesRequest &request)const; + void describeLiveStreamRecordIndexFilesAsync(const Model::DescribeLiveStreamRecordIndexFilesRequest& request, const DescribeLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamRecordIndexFilesOutcomeCallable describeLiveStreamRecordIndexFilesCallable(const Model::DescribeLiveStreamRecordIndexFilesRequest& request) const; - DeleteRoomOutcome deleteRoom(const Model::DeleteRoomRequest &request)const; - void deleteRoomAsync(const Model::DeleteRoomRequest& request, const DeleteRoomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRoomOutcome deleteRoom(const Model::DeleteRoomRequest &request)const; + void deleteRoomAsync(const Model::DeleteRoomRequest& request, const DeleteRoomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteRoomOutcomeCallable deleteRoomCallable(const Model::DeleteRoomRequest& request) const; - AddCasterProgramOutcome addCasterProgram(const Model::AddCasterProgramRequest &request)const; - void addCasterProgramAsync(const Model::AddCasterProgramRequest& request, const AddCasterProgramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamDelayConfigOutcome describeLiveStreamDelayConfig(const Model::DescribeLiveStreamDelayConfigRequest &request)const; + void describeLiveStreamDelayConfigAsync(const Model::DescribeLiveStreamDelayConfigRequest& request, const DescribeLiveStreamDelayConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamDelayConfigOutcomeCallable describeLiveStreamDelayConfigCallable(const Model::DescribeLiveStreamDelayConfigRequest& request) const; + AddCasterProgramOutcome addCasterProgram(const Model::AddCasterProgramRequest &request)const; + void addCasterProgramAsync(const Model::AddCasterProgramRequest& request, const AddCasterProgramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddCasterProgramOutcomeCallable addCasterProgramCallable(const Model::AddCasterProgramRequest& request) const; - DescribeBoardSnapshotOutcome describeBoardSnapshot(const Model::DescribeBoardSnapshotRequest &request)const; - void describeBoardSnapshotAsync(const Model::DescribeBoardSnapshotRequest& request, const DescribeBoardSnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeBoardSnapshotOutcomeCallable describeBoardSnapshotCallable(const Model::DescribeBoardSnapshotRequest& request) const; - DeleteLiveMixConfigOutcome deleteLiveMixConfig(const Model::DeleteLiveMixConfigRequest &request)const; - void deleteLiveMixConfigAsync(const Model::DeleteLiveMixConfigRequest& request, const DeleteLiveMixConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteLiveMixConfigOutcomeCallable deleteLiveMixConfigCallable(const Model::DeleteLiveMixConfigRequest& request) const; - BatchDeleteLiveDomainConfigsOutcome batchDeleteLiveDomainConfigs(const Model::BatchDeleteLiveDomainConfigsRequest &request)const; - void batchDeleteLiveDomainConfigsAsync(const Model::BatchDeleteLiveDomainConfigsRequest& request, const BatchDeleteLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteLiveDomainConfigsOutcome batchDeleteLiveDomainConfigs(const Model::BatchDeleteLiveDomainConfigsRequest &request)const; + void batchDeleteLiveDomainConfigsAsync(const Model::BatchDeleteLiveDomainConfigsRequest& request, const BatchDeleteLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchDeleteLiveDomainConfigsOutcomeCallable batchDeleteLiveDomainConfigsCallable(const Model::BatchDeleteLiveDomainConfigsRequest& request) const; - SetLiveDomainCertificateOutcome setLiveDomainCertificate(const Model::SetLiveDomainCertificateRequest &request)const; - void setLiveDomainCertificateAsync(const Model::SetLiveDomainCertificateRequest& request, const SetLiveDomainCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetLiveDomainCertificateOutcomeCallable setLiveDomainCertificateCallable(const Model::SetLiveDomainCertificateRequest& 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; + DescribeBoardSnapshotOutcome describeBoardSnapshot(const Model::DescribeBoardSnapshotRequest &request)const; + void describeBoardSnapshotAsync(const Model::DescribeBoardSnapshotRequest& request, const DescribeBoardSnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBoardSnapshotOutcomeCallable describeBoardSnapshotCallable(const Model::DescribeBoardSnapshotRequest& request) const; + 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; + SetLiveDomainCertificateOutcome setLiveDomainCertificate(const Model::SetLiveDomainCertificateRequest &request)const; + void setLiveDomainCertificateAsync(const Model::SetLiveDomainCertificateRequest& request, const SetLiveDomainCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetLiveDomainCertificateOutcomeCallable setLiveDomainCertificateCallable(const Model::SetLiveDomainCertificateRequest& request) const; + DescribeRecordsOutcome describeRecords(const Model::DescribeRecordsRequest &request)const; + void describeRecordsAsync(const Model::DescribeRecordsRequest& request, const DescribeRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRecordsOutcomeCallable describeRecordsCallable(const Model::DescribeRecordsRequest& request) const; + SetLiveStreamDelayConfigOutcome setLiveStreamDelayConfig(const Model::SetLiveStreamDelayConfigRequest &request)const; + void setLiveStreamDelayConfigAsync(const Model::SetLiveStreamDelayConfigRequest& request, const SetLiveStreamDelayConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetLiveStreamDelayConfigOutcomeCallable setLiveStreamDelayConfigCallable(const Model::SetLiveStreamDelayConfigRequest& 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; + DescribeLiveStreamOptimizedFeatureConfigOutcome describeLiveStreamOptimizedFeatureConfig(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest &request)const; + void describeLiveStreamOptimizedFeatureConfigAsync(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest& request, const DescribeLiveStreamOptimizedFeatureConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable describeLiveStreamOptimizedFeatureConfigCallable(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest& 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; + 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; + 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; + 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; - DescribeUpPeakPublishStreamDataOutcome describeUpPeakPublishStreamData(const Model::DescribeUpPeakPublishStreamDataRequest &request)const; - void describeUpPeakPublishStreamDataAsync(const Model::DescribeUpPeakPublishStreamDataRequest& request, const DescribeUpPeakPublishStreamDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RealTimeSnapshotCommandOutcome realTimeSnapshotCommand(const Model::RealTimeSnapshotCommandRequest &request)const; + void realTimeSnapshotCommandAsync(const Model::RealTimeSnapshotCommandRequest& request, const RealTimeSnapshotCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RealTimeSnapshotCommandOutcomeCallable realTimeSnapshotCommandCallable(const Model::RealTimeSnapshotCommandRequest& request) const; + DescribeUpPeakPublishStreamDataOutcome describeUpPeakPublishStreamData(const Model::DescribeUpPeakPublishStreamDataRequest &request)const; + void describeUpPeakPublishStreamDataAsync(const Model::DescribeUpPeakPublishStreamDataRequest& request, const DescribeUpPeakPublishStreamDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUpPeakPublishStreamDataOutcomeCallable describeUpPeakPublishStreamDataCallable(const Model::DescribeUpPeakPublishStreamDataRequest& 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; + 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; + 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; - DeleteLiveDomainOutcome deleteLiveDomain(const Model::DeleteLiveDomainRequest &request)const; - void deleteLiveDomainAsync(const Model::DeleteLiveDomainRequest& request, const DeleteLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveDomainOutcome deleteLiveDomain(const Model::DeleteLiveDomainRequest &request)const; + void deleteLiveDomainAsync(const Model::DeleteLiveDomainRequest& request, const DeleteLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveDomainOutcomeCallable deleteLiveDomainCallable(const Model::DeleteLiveDomainRequest& 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; - AddLiveDomainMappingOutcome addLiveDomainMapping(const Model::AddLiveDomainMappingRequest &request)const; - void addLiveDomainMappingAsync(const Model::AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddLiveDomainMappingOutcomeCallable addLiveDomainMappingCallable(const Model::AddLiveDomainMappingRequest& request) const; - RealTimeRecordCommandOutcome realTimeRecordCommand(const Model::RealTimeRecordCommandRequest &request)const; - void realTimeRecordCommandAsync(const Model::RealTimeRecordCommandRequest& request, const RealTimeRecordCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + AddLiveDomainMappingOutcome addLiveDomainMapping(const Model::AddLiveDomainMappingRequest &request)const; + void addLiveDomainMappingAsync(const Model::AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveDomainMappingOutcomeCallable addLiveDomainMappingCallable(const Model::AddLiveDomainMappingRequest& request) const; + 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; + 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; + 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; - UpdateBoardOutcome updateBoard(const Model::UpdateBoardRequest &request)const; - void updateBoardAsync(const Model::UpdateBoardRequest& request, const UpdateBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateBoardOutcome updateBoard(const Model::UpdateBoardRequest &request)const; + void updateBoardAsync(const Model::UpdateBoardRequest& request, const UpdateBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateBoardOutcomeCallable updateBoardCallable(const Model::UpdateBoardRequest& request) const; - JoinBoardOutcome joinBoard(const Model::JoinBoardRequest &request)const; - void joinBoardAsync(const Model::JoinBoardRequest& request, const JoinBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + 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; + JoinBoardOutcome joinBoard(const Model::JoinBoardRequest &request)const; + void joinBoardAsync(const Model::JoinBoardRequest& request, const JoinBoardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; JoinBoardOutcomeCallable joinBoardCallable(const Model::JoinBoardRequest& request) const; - DescribeLiveUserDomainsOutcome describeLiveUserDomains(const Model::DescribeLiveUserDomainsRequest &request)const; - void describeLiveUserDomainsAsync(const Model::DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveUserDomainsOutcome describeLiveUserDomains(const Model::DescribeLiveUserDomainsRequest &request)const; + void describeLiveUserDomainsAsync(const Model::DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveUserDomainsOutcomeCallable describeLiveUserDomainsCallable(const Model::DescribeLiveUserDomainsRequest& request) const; - 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; + 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; + 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; + 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; + 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; + 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; - AddLiveDomainOutcome addLiveDomain(const Model::AddLiveDomainRequest &request)const; - void addLiveDomainAsync(const Model::AddLiveDomainRequest& request, const AddLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveDomainOutcome addLiveDomain(const Model::AddLiveDomainRequest &request)const; + void addLiveDomainAsync(const Model::AddLiveDomainRequest& request, const AddLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveDomainOutcomeCallable addLiveDomainCallable(const Model::AddLiveDomainRequest& request) const; - DeleteLiveAppRecordConfigOutcome deleteLiveAppRecordConfig(const Model::DeleteLiveAppRecordConfigRequest &request)const; - void deleteLiveAppRecordConfigAsync(const Model::DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopLiveIndexOutcome stopLiveIndex(const Model::StopLiveIndexRequest &request)const; + void stopLiveIndexAsync(const Model::StopLiveIndexRequest& request, const StopLiveIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopLiveIndexOutcomeCallable stopLiveIndexCallable(const Model::StopLiveIndexRequest& 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; - DescribeLiveDomainBpsDataOutcome describeLiveDomainBpsData(const Model::DescribeLiveDomainBpsDataRequest &request)const; - void describeLiveDomainBpsDataAsync(const Model::DescribeLiveDomainBpsDataRequest& request, const DescribeLiveDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveDomainBpsDataOutcomeCallable describeLiveDomainBpsDataCallable(const Model::DescribeLiveDomainBpsDataRequest& 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; + 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; + DescribeLiveDomainBpsDataOutcome describeLiveDomainBpsData(const Model::DescribeLiveDomainBpsDataRequest &request)const; + void describeLiveDomainBpsDataAsync(const Model::DescribeLiveDomainBpsDataRequest& request, const DescribeLiveDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainBpsDataOutcomeCallable describeLiveDomainBpsDataCallable(const Model::DescribeLiveDomainBpsDataRequest& 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; + 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; + AddLiveDetectNotifyConfigOutcome addLiveDetectNotifyConfig(const Model::AddLiveDetectNotifyConfigRequest &request)const; + void addLiveDetectNotifyConfigAsync(const Model::AddLiveDetectNotifyConfigRequest& request, const AddLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveDetectNotifyConfigOutcomeCallable addLiveDetectNotifyConfigCallable(const Model::AddLiveDetectNotifyConfigRequest& request) const; - DescribeLiveLazyPullStreamConfigOutcome describeLiveLazyPullStreamConfig(const Model::DescribeLiveLazyPullStreamConfigRequest &request)const; - void describeLiveLazyPullStreamConfigAsync(const Model::DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveLazyPullStreamConfigOutcome describeLiveLazyPullStreamConfig(const Model::DescribeLiveLazyPullStreamConfigRequest &request)const; + void describeLiveLazyPullStreamConfigAsync(const Model::DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveLazyPullStreamConfigOutcomeCallable describeLiveLazyPullStreamConfigCallable(const Model::DescribeLiveLazyPullStreamConfigRequest& request) const; - DescribeCasterScenesOutcome describeCasterScenes(const Model::DescribeCasterScenesRequest &request)const; - void describeCasterScenesAsync(const Model::DescribeCasterScenesRequest& request, const DescribeCasterScenesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCasterScenesOutcome describeCasterScenes(const Model::DescribeCasterScenesRequest &request)const; + void describeCasterScenesAsync(const Model::DescribeCasterScenesRequest& request, const DescribeCasterScenesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCasterScenesOutcomeCallable describeCasterScenesCallable(const Model::DescribeCasterScenesRequest& request) const; - SendRoomNotificationOutcome sendRoomNotification(const Model::SendRoomNotificationRequest &request)const; - void sendRoomNotificationAsync(const Model::SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetBoardCallbackOutcome setBoardCallback(const Model::SetBoardCallbackRequest &request)const; + void setBoardCallbackAsync(const Model::SetBoardCallbackRequest& request, const SetBoardCallbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetBoardCallbackOutcomeCallable setBoardCallbackCallable(const Model::SetBoardCallbackRequest& request) const; + SendRoomNotificationOutcome sendRoomNotification(const Model::SendRoomNotificationRequest &request)const; + void sendRoomNotificationAsync(const Model::SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SendRoomNotificationOutcomeCallable sendRoomNotificationCallable(const Model::SendRoomNotificationRequest& request) const; - DeleteLiveLazyPullStreamInfoConfigOutcome deleteLiveLazyPullStreamInfoConfig(const Model::DeleteLiveLazyPullStreamInfoConfigRequest &request)const; - void deleteLiveLazyPullStreamInfoConfigAsync(const Model::DeleteLiveLazyPullStreamInfoConfigRequest& request, const DeleteLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveLazyPullStreamInfoConfigOutcome deleteLiveLazyPullStreamInfoConfig(const Model::DeleteLiveLazyPullStreamInfoConfigRequest &request)const; + void deleteLiveLazyPullStreamInfoConfigAsync(const Model::DeleteLiveLazyPullStreamInfoConfigRequest& request, const DeleteLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveLazyPullStreamInfoConfigOutcomeCallable deleteLiveLazyPullStreamInfoConfigCallable(const Model::DeleteLiveLazyPullStreamInfoConfigRequest& request) const; - - private: - std::shared_ptr endpointProvider_; - }; - } -} - -#endif // !ALIBABACLOUD_LIVE_LIVECLIENT_H_ + + 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 index 2dd0e09e0..18f1ac694 100644 --- a/live/include/alibabacloud/live/LiveExport.h +++ b/live/include/alibabacloud/live/LiveExport.h @@ -1,32 +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 - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS 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 index 5851f2860..f4bb0f067 100644 --- a/live/include/alibabacloud/live/model/AddCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterComponentRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getTextLayerContent()const; void setTextLayerContent(const std::string& textLayerContent); - - private: + + private: std::string componentType_; std::string locationId_; std::string imageLayerContent_; @@ -67,9 +67,9 @@ namespace AlibabaCloud 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 index 4c913bfa5..3b8f76a51 100644 --- a/live/include/alibabacloud/live/model/AddCasterComponentResult.h +++ b/live/include/alibabacloud/live/model/AddCasterComponentResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 581e6a784..de7910368 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 9a7d79ac9..6193381cb 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index e48e88841..f24d11a0e 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h @@ -1,45 +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. - */ - -#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 - { +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 vodUrl; std::string itemName; }; - - public: - AddCasterEpisodeGroupRequest(); - ~AddCasterEpisodeGroupRequest(); - + + public: + AddCasterEpisodeGroupRequest(); + ~AddCasterEpisodeGroupRequest(); + std::string getSideOutputUrl()const; void setSideOutputUrl(const std::string& sideOutputUrl); std::vector getItem()const; @@ -56,8 +56,8 @@ namespace AlibabaCloud void setCallbackUrl(const std::string& callbackUrl); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string sideOutputUrl_; std::vector item_; std::string clientToken_; @@ -66,9 +66,9 @@ namespace AlibabaCloud 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 index b5c63a06f..7661805cb 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupResult.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 4c65047df..9baa47a83 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setStartTime(const std::string& startTime); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string resourceId_; std::vector componentId_; std::string switchType_; @@ -64,9 +64,9 @@ namespace AlibabaCloud 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 index 49c26c06e..21877cf0f 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeResult.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 423d1dfc3..5ca9590d0 100644 --- a/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h @@ -1,35 +1,35 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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 - { +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 { int fixedDelayDuration; @@ -45,11 +45,11 @@ namespace AlibabaCloud std::vector positionNormalized; float heightNormalized; }; - - public: - AddCasterLayoutRequest(); - ~AddCasterLayoutRequest(); - + + public: + AddCasterLayoutRequest(); + ~AddCasterLayoutRequest(); + std::vector getBlendList()const; void setBlendList(const std::vector& blendList); std::vector getAudioLayer()const; @@ -62,17 +62,17 @@ namespace AlibabaCloud void setMixList(const std::vector& mixList); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + 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 index b15545c3f..1db7d97fd 100644 --- a/live/include/alibabacloud/live/model/AddCasterLayoutResult.h +++ b/live/include/alibabacloud/live/model/AddCasterLayoutResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index cf4fecb30..518ed1bfb 100644 --- a/live/include/alibabacloud/live/model/AddCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterProgramRequest.h @@ -1,35 +1,35 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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 - { +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 resourceId; @@ -40,25 +40,25 @@ namespace AlibabaCloud std::string endTime; std::string startTime; }; - - public: - AddCasterProgramRequest(); - ~AddCasterProgramRequest(); - + + 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: + + 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 index 2f15a8fea..718c33f81 100644 --- a/live/include/alibabacloud/live/model/AddCasterProgramResult.h +++ b/live/include/alibabacloud/live/model/AddCasterProgramResult.h @@ -1,55 +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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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(); + + + AddCasterProgramResult(); + explicit AddCasterProgramResult(const std::string &payload); + ~AddCasterProgramResult(); std::vector getEpisodeIds()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 2bd288790..c0e30c935 100644 --- a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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(); + std::string getVodUrl()const; void setVodUrl(const std::string& vodUrl); std::string getCasterId()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setResourceName(const std::string& resourceName); int getRepeatNum()const; void setRepeatNum(int repeatNum); - - private: + + private: std::string vodUrl_; std::string casterId_; int endOffset_; @@ -73,9 +73,9 @@ namespace AlibabaCloud int ptsCallbackInterval_; std::string resourceName_; int repeatNum_; - - }; - } - } -} + + }; + } + } +} #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 index d8b6c46c2..8d54b8eca 100644 --- a/live/include/alibabacloud/live/model/AddCasterVideoResourceResult.h +++ b/live/include/alibabacloud/live/model/AddCasterVideoResourceResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index c23fbec36..d6f3d9729 100644 --- a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -61,8 +61,8 @@ namespace AlibabaCloud void setVideoBitrate(int videoBitrate); int getHeight()const; void setHeight(int height); - - private: + + private: std::string app_; std::string _template_; int profile_; @@ -76,9 +76,9 @@ namespace AlibabaCloud 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 index bf0c5b4bc..0069b73a5 100644 --- a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.h +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 7a4df400c..b80f80eab 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h @@ -1,35 +1,35 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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 - { +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 sliceOssObjectPrefix; @@ -37,13 +37,19 @@ namespace AlibabaCloud std::string ossObjectPrefix; int cycleDuration; }; - - public: - AddLiveAppRecordConfigRequest(); - ~AddLiveAppRecordConfigRequest(); - + + public: + AddLiveAppRecordConfigRequest(); + ~AddLiveAppRecordConfigRequest(); + 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::vector getRecordFormat()const; + void setRecordFormat(const std::vector& recordFormat); std::string getDomainName()const; void setDomainName(const std::string& domainName); std::string getOssEndpoint()const; @@ -54,35 +60,26 @@ namespace AlibabaCloud 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: + + private: std::string ossBucket_; + std::string appName_; + std::string securityToken_; + std::vector recordFormat_; 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 index 3aa78c139..ef1fe9013 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigResult.h +++ b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 56d984562..00810899e 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,10 +53,8 @@ namespace AlibabaCloud void setOverwriteOssObject(const std::string& overwriteOssObject); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int timeInterval_; std::string ossBucket_; std::string appName_; @@ -66,10 +64,9 @@ namespace AlibabaCloud 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 index ebff27d84..492dfba2b 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigResult.h +++ b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 9689e2cba..df0d0c412 100644 --- a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setNotifyUrl(const std::string& notifyUrl); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index d0059c029..ed9c4c2fc 100644 --- a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/AddLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h index 0491e3256..cca692973 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingRequest : public RpcServiceRequest - { - - public: - AddLiveDomainMappingRequest(); - ~AddLiveDomainMappingRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingRequest : public RpcServiceRequest + { + + public: + AddLiveDomainMappingRequest(); + ~AddLiveDomainMappingRequest(); + std::string getPullDomain()const; void setPullDomain(const std::string& pullDomain); std::string getSecurityToken()const; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setPushDomain(const std::string& pushDomain); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string pullDomain_; std::string securityToken_; std::string pushDomain_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h b/live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h index 3a25414f1..af465df06 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainMappingResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingResult : public ServiceResult - { - public: - - - AddLiveDomainMappingResult(); - explicit AddLiveDomainMappingResult(const std::string &payload); - ~AddLiveDomainMappingResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingResult : public ServiceResult + { + public: + + + AddLiveDomainMappingResult(); + explicit AddLiveDomainMappingResult(const std::string &payload); + ~AddLiveDomainMappingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h index 7dea3167f..b0c63d45a 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainRequest : public RpcServiceRequest - { - - public: - AddLiveDomainRequest(); - ~AddLiveDomainRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainRequest : public RpcServiceRequest + { + + public: + AddLiveDomainRequest(); + ~AddLiveDomainRequest(); + std::string getTopLevelDomain()const; void setTopLevelDomain(const std::string& topLevelDomain); std::string getSecurityToken()const; @@ -51,12 +51,10 @@ namespace AlibabaCloud void setRegion(const std::string& region); std::string getCheckUrl()const; void setCheckUrl(const std::string& checkUrl); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); std::string getLiveDomainType()const; void setLiveDomainType(const std::string& liveDomainType); - - private: + + private: std::string topLevelDomain_; std::string securityToken_; std::string ownerAccount_; @@ -65,11 +63,10 @@ namespace AlibabaCloud long ownerId_; std::string region_; std::string checkUrl_; - std::string accessKeyId_; std::string liveDomainType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveDomainResult.h b/live/include/alibabacloud/live/model/AddLiveDomainResult.h index eafded740..a8060f23c 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainResult.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainResult.h @@ -1,49 +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_ADDLIVEDOMAINRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainResult : public ServiceResult - { - public: - - - AddLiveDomainResult(); - explicit AddLiveDomainResult(const std::string &payload); - ~AddLiveDomainResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainResult : public ServiceResult + { + public: + + + AddLiveDomainResult(); + explicit AddLiveDomainResult(const std::string &payload); + ~AddLiveDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINRESULT_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 deleted file mode 100644 index d1583e8fc..000000000 --- a/live/include/alibabacloud/live/model/AddLiveMixConfigRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/AddLiveMixNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigRequest.h deleted file mode 100644 index 39b7be4e1..000000000 --- a/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/AddLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h deleted file mode 100644 index 374ab6379..000000000 --- a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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/AddLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h index 82619275a..6e0fb422a 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,20 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); bool getNeedStatusNotify()const; void setNeedStatusNotify(bool needStatusNotify); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index 1630f627e..fb101787c 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index af4daa079..2cca85617 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setStreamName(const std::string& streamName); std::string getVodTranscodeGroupId()const; void setVodTranscodeGroupId(const std::string& vodTranscodeGroupId); - - private: + + private: std::string appName_; std::string autoCompose_; std::string domainName_; @@ -61,9 +61,9 @@ namespace AlibabaCloud 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 index b2d955dcb..cbc415f66 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigResult.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 2a29f0acb..4e45f484b 100644 --- a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -51,12 +51,10 @@ namespace AlibabaCloud 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: + + private: std::string ossBucket_; std::string appName_; std::string securityToken_; @@ -65,11 +63,10 @@ namespace AlibabaCloud 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 index 8415d135a..df20b8186 100644 --- a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.h +++ b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 0681cd7a8..0252167f0 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -45,19 +45,16 @@ namespace AlibabaCloud void setDomain(const std::string& domain); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index d6bce6fc2..cde574603 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 deleted file mode 100644 index aed5d51e2..000000000 --- a/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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/AddTrancodeSEIRequest.h b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h index 6a76d4253..efc3dc738 100644 --- a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h +++ b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getStreamName()const; void setStreamName(const std::string& streamName); - - private: + + private: int delay_; std::string appName_; std::string regionId_; @@ -64,9 +64,9 @@ namespace AlibabaCloud 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 index 7f8bed397..b3776a84f 100644 --- a/live/include/alibabacloud/live/model/AddTrancodeSEIResult.h +++ b/live/include/alibabacloud/live/model/AddTrancodeSEIResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/AllowPushStreamRequest.h b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h index 1815f705d..834f6b088 100644 --- a/live/include/alibabacloud/live/model/AllowPushStreamRequest.h +++ b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h @@ -1,117 +1,114 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest - { - - public: - AllowPushStreamRequest(); - ~AllowPushStreamRequest(); - - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest + { + + public: + AllowPushStreamRequest(); + ~AllowPushStreamRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; void setPopProduct(const std::string& popProduct); - std::string getProduct()const; - void setProduct(const std::string& product); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); std::string getCallerBid()const; void setCallerBid(const std::string& callerBid); long getOwnerId()const; void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); std::string getVersion()const; void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); bool getProxy_trust_transport_info()const; void setProxy_trust_transport_info(bool proxy_trust_transport_info); bool getAk_mfa_present()const; void setAk_mfa_present(bool ak_mfa_present); std::string getRoomId()const; void setRoomId(const std::string& roomId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); bool getSecurity_transport()const; void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getRequestId()const; void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); std::string getAppId()const; void setAppId(const std::string& appId); - - private: - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - std::string accessKeyId_; - std::string securityToken_; - std::string regionId_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: std::string app_ip_; std::string popProduct_; - std::string product_; + long callerParentId_; + bool proxy_original_security_transport_; std::string callerBid_; long ownerId_; + std::string proxy_original_source_ip_; std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; bool proxy_trust_transport_info_; bool ak_mfa_present_; std::string roomId_; + std::string accessKeyId_; bool security_transport_; + std::string securityToken_; + std::string regionId_; std::string requestId_; + std::string requestContent_; std::string appId_; - - }; - } - } -} + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AllowPushStreamResult.h b/live/include/alibabacloud/live/model/AllowPushStreamResult.h index 3886f2f4a..4459153cf 100644 --- a/live/include/alibabacloud/live/model/AllowPushStreamResult.h +++ b/live/include/alibabacloud/live/model/AllowPushStreamResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamResult : public ServiceResult - { - public: - - - AllowPushStreamResult(); - explicit AllowPushStreamResult(const std::string &payload); - ~AllowPushStreamResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamResult : public ServiceResult + { + public: + + + AllowPushStreamResult(); + explicit AllowPushStreamResult(const std::string &payload); + ~AllowPushStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h b/live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h index a52615be8..8acb6938d 100644 --- a/live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h +++ b/live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenRequest : public RpcServiceRequest - { - - public: - ApplyBoardTokenRequest(); - ~ApplyBoardTokenRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenRequest : public RpcServiceRequest + { + + public: + ApplyBoardTokenRequest(); + ~ApplyBoardTokenRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -83,8 +83,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; @@ -109,9 +109,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ApplyBoardTokenResult.h b/live/include/alibabacloud/live/model/ApplyBoardTokenResult.h index e105ae50a..f3457b972 100644 --- a/live/include/alibabacloud/live/model/ApplyBoardTokenResult.h +++ b/live/include/alibabacloud/live/model/ApplyBoardTokenResult.h @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenResult : public ServiceResult - { - public: - - - ApplyBoardTokenResult(); - explicit ApplyBoardTokenResult(const std::string &payload); - ~ApplyBoardTokenResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenResult : public ServiceResult + { + public: + + + ApplyBoardTokenResult(); + explicit ApplyBoardTokenResult(const std::string &payload); + ~ApplyBoardTokenResult(); std::string getToken()const; std::string getExpired()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string token_; std::string expired_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ApplyRecordTokenRequest.h b/live/include/alibabacloud/live/model/ApplyRecordTokenRequest.h new file mode 100644 index 000000000..18be73d60 --- /dev/null +++ b/live/include/alibabacloud/live/model/ApplyRecordTokenRequest.h @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ApplyRecordTokenRequest : public RpcServiceRequest + { + + public: + ApplyRecordTokenRequest(); + ~ApplyRecordTokenRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string appId_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ApplyRecordTokenResult.h b/live/include/alibabacloud/live/model/ApplyRecordTokenResult.h new file mode 100644 index 000000000..d0c6d7849 --- /dev/null +++ b/live/include/alibabacloud/live/model/ApplyRecordTokenResult.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_APPLYRECORDTOKENRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ApplyRecordTokenResult : public ServiceResult + { + public: + + + ApplyRecordTokenResult(); + explicit ApplyRecordTokenResult(const std::string &payload); + ~ApplyRecordTokenResult(); + std::string getSecurityToken()const; + std::string getAccessKeyId()const; + std::string getAccessKeySecret()const; + std::string getExpiration()const; + + protected: + void parse(const std::string &payload); + private: + std::string securityToken_; + std::string accessKeyId_; + std::string accessKeySecret_; + std::string expiration_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h index 8bec68c18..b60e800b7 100644 --- a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchDeleteLiveDomainConfigsRequest(); - ~BatchDeleteLiveDomainConfigsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsRequest : public RpcServiceRequest + { + + public: + BatchDeleteLiveDomainConfigsRequest(); + ~BatchDeleteLiveDomainConfigsRequest(); + std::string getFunctionNames()const; void setFunctionNames(const std::string& functionNames); std::string getSecurityToken()const; @@ -45,19 +45,16 @@ namespace AlibabaCloud void setOwnerAccount(const std::string& ownerAccount); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string functionNames_; std::string securityToken_; std::string domainNames_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h index 0b6a76a51..eb45aa161 100644 --- a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h +++ b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h @@ -1,49 +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_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsResult : public ServiceResult - { - public: - - - BatchDeleteLiveDomainConfigsResult(); - explicit BatchDeleteLiveDomainConfigsResult(const std::string &payload); - ~BatchDeleteLiveDomainConfigsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsResult : public ServiceResult + { + public: + + + BatchDeleteLiveDomainConfigsResult(); + explicit BatchDeleteLiveDomainConfigsResult(const std::string &payload); + ~BatchDeleteLiveDomainConfigsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h index 2efeabd24..ea1ddb4b1 100644 --- a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchSetLiveDomainConfigsRequest(); - ~BatchSetLiveDomainConfigsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsRequest : public RpcServiceRequest + { + + public: + BatchSetLiveDomainConfigsRequest(); + ~BatchSetLiveDomainConfigsRequest(); + std::string getFunctions()const; void setFunctions(const std::string& functions); std::string getSecurityToken()const; @@ -45,19 +45,16 @@ namespace AlibabaCloud void setOwnerAccount(const std::string& ownerAccount); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string functions_; std::string securityToken_; std::string domainNames_; std::string ownerAccount_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h index 41fe829bd..51b00e9ac 100644 --- a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h +++ b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h @@ -1,49 +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_BATCHSETLIVEDOMAINCONFIGSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsResult : public ServiceResult - { - public: - - - BatchSetLiveDomainConfigsResult(); - explicit BatchSetLiveDomainConfigsResult(const std::string &payload); - ~BatchSetLiveDomainConfigsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsResult : public ServiceResult + { + public: + + + BatchSetLiveDomainConfigsResult(); + explicit BatchSetLiveDomainConfigsResult(const std::string &payload); + ~BatchSetLiveDomainConfigsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CompleteBoardRecordRequest.h b/live/include/alibabacloud/live/model/CompleteBoardRecordRequest.h new file mode 100644 index 000000000..3fb430d1e --- /dev/null +++ b/live/include/alibabacloud/live/model/CompleteBoardRecordRequest.h @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRecordRequest : public RpcServiceRequest + { + + public: + CompleteBoardRecordRequest(); + ~CompleteBoardRecordRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string endTime_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string recordId_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CompleteBoardRecordResult.h b/live/include/alibabacloud/live/model/CompleteBoardRecordResult.h new file mode 100644 index 000000000..29adbeb01 --- /dev/null +++ b/live/include/alibabacloud/live/model/CompleteBoardRecordResult.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_COMPLETEBOARDRECORDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRecordResult : public ServiceResult + { + public: + + + CompleteBoardRecordResult(); + explicit CompleteBoardRecordResult(const std::string &payload); + ~CompleteBoardRecordResult(); + std::string getOssPath()const; + + protected: + void parse(const std::string &payload); + private: + std::string ossPath_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CompleteBoardRequest.h b/live/include/alibabacloud/live/model/CompleteBoardRequest.h index b4c3dd4b8..b3b1f0e0a 100644 --- a/live/include/alibabacloud/live/model/CompleteBoardRequest.h +++ b/live/include/alibabacloud/live/model/CompleteBoardRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRequest : public RpcServiceRequest - { - - public: - CompleteBoardRequest(); - ~CompleteBoardRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRequest : public RpcServiceRequest + { + + public: + CompleteBoardRequest(); + ~CompleteBoardRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; @@ -81,8 +81,8 @@ namespace AlibabaCloud void setCallerUidEmail(const std::string& callerUidEmail); long getCallerUid()const; void setCallerUid(long callerUid); - - private: + + private: std::string app_ip_; std::string popProduct_; long callerParentId_; @@ -106,9 +106,9 @@ namespace AlibabaCloud std::string boardId_; std::string callerUidEmail_; long callerUid_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CompleteBoardResult.h b/live/include/alibabacloud/live/model/CompleteBoardResult.h index ba5b7cb02..e11a2eef3 100644 --- a/live/include/alibabacloud/live/model/CompleteBoardResult.h +++ b/live/include/alibabacloud/live/model/CompleteBoardResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CompleteBoardResult : public ServiceResult - { - public: - - - CompleteBoardResult(); - explicit CompleteBoardResult(const std::string &payload); - ~CompleteBoardResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CompleteBoardResult : public ServiceResult + { + public: + + + CompleteBoardResult(); + explicit CompleteBoardResult(const std::string &payload); + ~CompleteBoardResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CopyCasterRequest.h b/live/include/alibabacloud/live/model/CopyCasterRequest.h index c3de85ccc..c5c42fc61 100644 --- a/live/include/alibabacloud/live/model/CopyCasterRequest.h +++ b/live/include/alibabacloud/live/model/CopyCasterRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setClientToken(const std::string& clientToken); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + 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 index d646b1d70..0849982b5 100644 --- a/live/include/alibabacloud/live/model/CopyCasterResult.h +++ b/live/include/alibabacloud/live/model/CopyCasterResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index e04350fd0..d3b673d44 100644 --- a/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getToSceneId()const; void setToSceneId(const std::string& toSceneId); - - private: + + 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 index 21ec700a7..e0fcd5c83 100644 --- a/live/include/alibabacloud/live/model/CopyCasterSceneConfigResult.h +++ b/live/include/alibabacloud/live/model/CopyCasterSceneConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/CreateBoardRequest.h b/live/include/alibabacloud/live/model/CreateBoardRequest.h index 2827b0108..435a3562b 100644 --- a/live/include/alibabacloud/live/model/CreateBoardRequest.h +++ b/live/include/alibabacloud/live/model/CreateBoardRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateBoardRequest : public RpcServiceRequest - { - - public: - CreateBoardRequest(); - ~CreateBoardRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateBoardRequest : public RpcServiceRequest + { + + public: + CreateBoardRequest(); + ~CreateBoardRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; @@ -81,8 +81,8 @@ namespace AlibabaCloud void setCallerUidEmail(const std::string& callerUidEmail); long getCallerUid()const; void setCallerUid(long callerUid); - - private: + + private: std::string app_ip_; std::string popProduct_; long callerParentId_; @@ -106,9 +106,9 @@ namespace AlibabaCloud std::string callerBidEmail_; std::string callerUidEmail_; long callerUid_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_CREATEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateBoardResult.h b/live/include/alibabacloud/live/model/CreateBoardResult.h index 2c15b84be..7cab7ba4a 100644 --- a/live/include/alibabacloud/live/model/CreateBoardResult.h +++ b/live/include/alibabacloud/live/model/CreateBoardResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateBoardResult : public ServiceResult - { - public: - - - CreateBoardResult(); - explicit CreateBoardResult(const std::string &payload); - ~CreateBoardResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateBoardResult : public ServiceResult + { + public: + + + CreateBoardResult(); + explicit CreateBoardResult(const std::string &payload); + ~CreateBoardResult(); std::string getBoardId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string boardId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_CREATEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateCasterRequest.h b/live/include/alibabacloud/live/model/CreateCasterRequest.h index 929368b21..5c7264bff 100644 --- a/live/include/alibabacloud/live/model/CreateCasterRequest.h +++ b/live/include/alibabacloud/live/model/CreateCasterRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getPurchaseTime()const; void setPurchaseTime(const std::string& purchaseTime); - - private: + + private: std::string casterTemplate_; std::string expireTime_; int normType_; @@ -61,9 +61,9 @@ namespace AlibabaCloud 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 index ed0bf87c5..6b41d908e 100644 --- a/live/include/alibabacloud/live/model/CreateCasterResult.h +++ b/live/include/alibabacloud/live/model/CreateCasterResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 33540aec5..d867c14d4 100644 --- a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -55,10 +55,8 @@ namespace AlibabaCloud 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: + + private: std::string ossBucket_; std::string appName_; std::string securityToken_; @@ -69,10 +67,9 @@ namespace AlibabaCloud 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 index fa9bcd794..1b6dcbbdb 100644 --- a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h +++ b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,20 +49,20 @@ namespace AlibabaCloud std::string recordId; int width; }; - - - CreateLiveStreamRecordIndexFilesResult(); - explicit CreateLiveStreamRecordIndexFilesResult(const std::string &payload); - ~CreateLiveStreamRecordIndexFilesResult(); + + + CreateLiveStreamRecordIndexFilesResult(); + explicit CreateLiveStreamRecordIndexFilesResult(const std::string &payload); + ~CreateLiveStreamRecordIndexFilesResult(); RecordInfo getRecordInfo()const; - - protected: - void parse(const std::string &payload); - private: + + 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/CreateRoomRequest.h b/live/include/alibabacloud/live/model/CreateRoomRequest.h index 521e9f21f..0f58f619d 100644 --- a/live/include/alibabacloud/live/model/CreateRoomRequest.h +++ b/live/include/alibabacloud/live/model/CreateRoomRequest.h @@ -1,40 +1,42 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEROOMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATEROOMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateRoomRequest : public RpcServiceRequest - { - - public: - CreateRoomRequest(); - ~CreateRoomRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEROOMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEROOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateRoomRequest : public RpcServiceRequest + { + + public: + CreateRoomRequest(); + ~CreateRoomRequest(); + + std::string getTemplateIds()const; + void setTemplateIds(const std::string& templateIds); long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -43,6 +45,8 @@ namespace AlibabaCloud void setProxy_original_source_ip(const std::string& proxy_original_source_ip); std::string getAnchorId()const; void setAnchorId(const std::string& anchorId); + bool getUseAppTranscode()const; + void setUseAppTranscode(bool useAppTranscode); std::string getOwnerIdLoginEmail()const; void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); std::string getCallerType()const; @@ -65,8 +69,6 @@ namespace AlibabaCloud void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; void setPopProduct(const std::string& popProduct); - std::string getProduct()const; - void setProduct(const std::string& product); std::string getCallerBid()const; void setCallerBid(const std::string& callerBid); long getOwnerId()const; @@ -85,12 +87,14 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: + std::string templateIds_; long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; std::string anchorId_; + bool useAppTranscode_; std::string ownerIdLoginEmail_; std::string callerType_; std::string accessKeyId_; @@ -102,7 +106,6 @@ namespace AlibabaCloud long callerUid_; std::string app_ip_; std::string popProduct_; - std::string product_; std::string callerBid_; long ownerId_; std::string version_; @@ -112,9 +115,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_CREATEROOMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateRoomResult.h b/live/include/alibabacloud/live/model/CreateRoomResult.h index 8c6b9e00c..3d18d1f37 100644 --- a/live/include/alibabacloud/live/model/CreateRoomResult.h +++ b/live/include/alibabacloud/live/model/CreateRoomResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEROOMRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATEROOMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateRoomResult : public ServiceResult - { - public: - - - CreateRoomResult(); - explicit CreateRoomResult(const std::string &payload); - ~CreateRoomResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEROOMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEROOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateRoomResult : public ServiceResult + { + public: + + + CreateRoomResult(); + explicit CreateRoomResult(const std::string &payload); + ~CreateRoomResult(); std::string getAppId()const; std::string getAnchorId()const; std::string getRoomId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string appId_; std::string anchorId_; std::string roomId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_CREATEROOMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteBoardRequest.h b/live/include/alibabacloud/live/model/DeleteBoardRequest.h index c794cb713..bddfe6ff5 100644 --- a/live/include/alibabacloud/live/model/DeleteBoardRequest.h +++ b/live/include/alibabacloud/live/model/DeleteBoardRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteBoardRequest : public RpcServiceRequest - { - - public: - DeleteBoardRequest(); - ~DeleteBoardRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteBoardRequest : public RpcServiceRequest + { + + public: + DeleteBoardRequest(); + ~DeleteBoardRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; @@ -81,8 +81,8 @@ namespace AlibabaCloud void setCallerUidEmail(const std::string& callerUidEmail); long getCallerUid()const; void setCallerUid(long callerUid); - - private: + + private: std::string app_ip_; std::string popProduct_; long callerParentId_; @@ -106,9 +106,9 @@ namespace AlibabaCloud std::string boardId_; std::string callerUidEmail_; long callerUid_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteBoardResult.h b/live/include/alibabacloud/live/model/DeleteBoardResult.h index b577030a9..af88f0605 100644 --- a/live/include/alibabacloud/live/model/DeleteBoardResult.h +++ b/live/include/alibabacloud/live/model/DeleteBoardResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteBoardResult : public ServiceResult - { - public: - - - DeleteBoardResult(); - explicit DeleteBoardResult(const std::string &payload); - ~DeleteBoardResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteBoardResult : public ServiceResult + { + public: + + + DeleteBoardResult(); + explicit DeleteBoardResult(const std::string &payload); + ~DeleteBoardResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h index 70789f723..f758c13cf 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 56678c730..f3940f698 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterComponentResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterComponentResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 05c56bcf4..d8f228d68 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h @@ -1,51 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 230324220..b687ec0f6 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index f74e1dce6..36bf0a563 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index c8f180568..c755066b2 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index b843dd4ec..98dab29b0 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index ef628c6a3..4e6d37c06 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterLayoutResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterLayoutResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index c31a83e89..1c7342cfd 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h @@ -1,51 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 807c4bd02..d60a6475c 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterProgramResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterProgramResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index cbe0af51f..9de911688 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterRequest.h @@ -1,51 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); std::string getCasterId()const; void setCasterId(const std::string& casterId); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: + std::string securityToken_; 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 index e678b2e7c..93e527930 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 4e5888c4f..e3f32914e 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getType()const; void setType(const std::string& type); - - private: + + 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 index e2b957813..d36e4063c 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 9439d15dd..442b9ba49 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 11191da1b..fce72f528 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceResult.h +++ b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index d360d1a7c..232adaaf3 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -45,19 +45,16 @@ namespace AlibabaCloud 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: + + 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 index a417416a9..e102308df 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 683ae3fb6..5a833e7f6 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index fd47f56ac..4f5ce0176 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index c643e3a5f..3b77e40b0 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h @@ -1,57 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index fba3b1882..72468affa 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/DeleteLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h index 428ebc82e..23ec963dc 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest - { - - public: - DeleteLiveDomainMappingRequest(); - ~DeleteLiveDomainMappingRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest + { + + public: + DeleteLiveDomainMappingRequest(); + ~DeleteLiveDomainMappingRequest(); + std::string getPullDomain()const; void setPullDomain(const std::string& pullDomain); std::string getSecurityToken()const; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setPushDomain(const std::string& pushDomain); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string pullDomain_; std::string securityToken_; std::string pushDomain_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h index d2b971011..8bcc7ef17 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingResult : public ServiceResult - { - public: - - - DeleteLiveDomainMappingResult(); - explicit DeleteLiveDomainMappingResult(const std::string &payload); - ~DeleteLiveDomainMappingResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingResult : public ServiceResult + { + public: + + + DeleteLiveDomainMappingResult(); + explicit DeleteLiveDomainMappingResult(const std::string &payload); + ~DeleteLiveDomainMappingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h index 9b0e4e7fa..c3151827d 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainRequest : public RpcServiceRequest - { - - public: - DeleteLiveDomainRequest(); - ~DeleteLiveDomainRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainRequest : public RpcServiceRequest + { + + public: + DeleteLiveDomainRequest(); + ~DeleteLiveDomainRequest(); + std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); std::string getOwnerAccount()const; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string securityToken_; std::string ownerAccount_; std::string domainName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainResult.h b/live/include/alibabacloud/live/model/DeleteLiveDomainResult.h index c2da64295..a3539acec 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainResult.h @@ -1,49 +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_DELETELIVEDOMAINRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainResult : public ServiceResult - { - public: - - - DeleteLiveDomainResult(); - explicit DeleteLiveDomainResult(const std::string &payload); - ~DeleteLiveDomainResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainResult : public ServiceResult + { + public: + + + DeleteLiveDomainResult(); + explicit DeleteLiveDomainResult(const std::string &payload); + ~DeleteLiveDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h index 598fe0c1e..90ea73357 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveLazyPullStreamInfoConfigRequest(); - ~DeleteLiveLazyPullStreamInfoConfigRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + DeleteLiveLazyPullStreamInfoConfigRequest(); + ~DeleteLiveLazyPullStreamInfoConfigRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; @@ -81,8 +81,8 @@ namespace AlibabaCloud void setCallerUidEmail(const std::string& callerUidEmail); long getCallerUid()const; void setCallerUid(long callerUid); - - private: + + private: std::string app_ip_; std::string popProduct_; long callerParentId_; @@ -106,9 +106,9 @@ namespace AlibabaCloud std::string callerBidEmail_; std::string callerUidEmail_; long callerUid_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h index d9c632fc4..d5888e60a 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigResult : public ServiceResult - { - public: - - - DeleteLiveLazyPullStreamInfoConfigResult(); - explicit DeleteLiveLazyPullStreamInfoConfigResult(const std::string &payload); - ~DeleteLiveLazyPullStreamInfoConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigResult : public ServiceResult + { + public: + + + DeleteLiveLazyPullStreamInfoConfigResult(); + explicit DeleteLiveLazyPullStreamInfoConfigResult(const std::string &payload); + ~DeleteLiveLazyPullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h deleted file mode 100644 index 2dbbaa9b1..000000000 --- a/live/include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/DeleteLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h index 24ec051ad..fa6c3104e 100644 --- a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -45,19 +45,16 @@ namespace AlibabaCloud 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: + + 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 index 3ce74f567..ab72b853c 100644 --- a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 26077dfb2..71f25cd91 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h @@ -1,57 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 3c6b2e187..3b551939e 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 1daf238d1..9093e7954 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setStreamName(const std::string& streamName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index 05fc7ccbb..fba189b88 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 6197d02e3..5239b8694 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index a5e932bf1..a980af4c4 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/DeleteLiveSpecificConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveSpecificConfigRequest.h deleted file mode 100644 index e2b74e950..000000000 --- a/live/include/alibabacloud/live/model/DeleteLiveSpecificConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSpecificConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveSpecificConfigRequest(); - ~DeleteLiveSpecificConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getConfigId()const; - void setConfigId(const std::string& configId); - 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 configId_; - std::string domainName_; - long ownerId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICCONFIGREQUEST_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 index b51cda73f..458d427b6 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -45,19 +45,16 @@ namespace AlibabaCloud void setDomain(const std::string& domain); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index 8a52df8c5..10033aba6 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 70353b89b..d12ff8659 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h @@ -1,54 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; std::string domainName_; long ownerId_; - - }; - } - } -} + + }; + } + } +} #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 index bd6d65b72..1b6feb516 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/DeleteRoomRequest.h b/live/include/alibabacloud/live/model/DeleteRoomRequest.h index a0061f5ad..aeb375208 100644 --- a/live/include/alibabacloud/live/model/DeleteRoomRequest.h +++ b/live/include/alibabacloud/live/model/DeleteRoomRequest.h @@ -1,117 +1,114 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteRoomRequest : public RpcServiceRequest - { - - public: - DeleteRoomRequest(); - ~DeleteRoomRequest(); - - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteRoomRequest : public RpcServiceRequest + { + + public: + DeleteRoomRequest(); + ~DeleteRoomRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; void setPopProduct(const std::string& popProduct); - std::string getProduct()const; - void setProduct(const std::string& product); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); std::string getCallerBid()const; void setCallerBid(const std::string& callerBid); long getOwnerId()const; void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); std::string getVersion()const; void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); bool getProxy_trust_transport_info()const; void setProxy_trust_transport_info(bool proxy_trust_transport_info); bool getAk_mfa_present()const; void setAk_mfa_present(bool ak_mfa_present); std::string getRoomId()const; void setRoomId(const std::string& roomId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); bool getSecurity_transport()const; void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getRequestId()const; void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); std::string getAppId()const; void setAppId(const std::string& appId); - - private: - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - std::string accessKeyId_; - std::string securityToken_; - std::string regionId_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: std::string app_ip_; std::string popProduct_; - std::string product_; + long callerParentId_; + bool proxy_original_security_transport_; std::string callerBid_; long ownerId_; + std::string proxy_original_source_ip_; std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; bool proxy_trust_transport_info_; bool ak_mfa_present_; std::string roomId_; + std::string accessKeyId_; bool security_transport_; + std::string securityToken_; + std::string regionId_; std::string requestId_; + std::string requestContent_; std::string appId_; - - }; - } - } -} + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteRoomResult.h b/live/include/alibabacloud/live/model/DeleteRoomResult.h index f2463b1b0..e78cc3e6a 100644 --- a/live/include/alibabacloud/live/model/DeleteRoomResult.h +++ b/live/include/alibabacloud/live/model/DeleteRoomResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteRoomResult : public ServiceResult - { - public: - - - DeleteRoomResult(); - explicit DeleteRoomResult(const std::string &payload); - ~DeleteRoomResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteRoomResult : public ServiceResult + { + public: + + + DeleteRoomResult(); + explicit DeleteRoomResult(const std::string &payload); + ~DeleteRoomResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DELETEROOMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h b/live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h index 7c7703a84..0a984867d 100644 --- a/live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeBoardEventsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeBoardEventsRequest : public RpcServiceRequest - { - - public: - DescribeBoardEventsRequest(); - ~DescribeBoardEventsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardEventsRequest : public RpcServiceRequest + { + + public: + DescribeBoardEventsRequest(); + ~DescribeBoardEventsRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -85,8 +85,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string startTime_; @@ -112,9 +112,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardEventsResult.h b/live/include/alibabacloud/live/model/DescribeBoardEventsResult.h index 4984d176a..1effd8e17 100644 --- a/live/include/alibabacloud/live/model/DescribeBoardEventsResult.h +++ b/live/include/alibabacloud/live/model/DescribeBoardEventsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeBoardEventsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardEventsResult : public ServiceResult + { + public: struct Event { int eventType; @@ -40,20 +40,20 @@ namespace AlibabaCloud std::string data; long timestamp; }; - - - DescribeBoardEventsResult(); - explicit DescribeBoardEventsResult(const std::string &payload); - ~DescribeBoardEventsResult(); + + + DescribeBoardEventsResult(); + explicit DescribeBoardEventsResult(const std::string &payload); + ~DescribeBoardEventsResult(); std::vector getEvents()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector events_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDEVENTSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h b/live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h index f496e7cc0..68dd66fee 100644 --- a/live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h +++ b/live/include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeBoardSnapshotRequest : public RpcServiceRequest - { - - public: - DescribeBoardSnapshotRequest(); - ~DescribeBoardSnapshotRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardSnapshotRequest : public RpcServiceRequest + { + + public: + DescribeBoardSnapshotRequest(); + ~DescribeBoardSnapshotRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; @@ -81,8 +81,8 @@ namespace AlibabaCloud void setCallerUidEmail(const std::string& callerUidEmail); long getCallerUid()const; void setCallerUid(long callerUid); - - private: + + private: std::string app_ip_; std::string popProduct_; long callerParentId_; @@ -106,9 +106,9 @@ namespace AlibabaCloud std::string boardId_; std::string callerUidEmail_; long callerUid_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h b/live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h index f43525a45..c82f6606b 100644 --- a/live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h +++ b/live/include/alibabacloud/live/model/DescribeBoardSnapshotResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeBoardSnapshotResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardSnapshotResult : public ServiceResult + { + public: struct Snapshot { struct Board @@ -64,20 +64,20 @@ namespace AlibabaCloud }; Board board; }; - - - DescribeBoardSnapshotResult(); - explicit DescribeBoardSnapshotResult(const std::string &payload); - ~DescribeBoardSnapshotResult(); + + + DescribeBoardSnapshotResult(); + explicit DescribeBoardSnapshotResult(const std::string &payload); + ~DescribeBoardSnapshotResult(); Snapshot getSnapshot()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: Snapshot snapshot_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardsRequest.h b/live/include/alibabacloud/live/model/DescribeBoardsRequest.h index 49e5500b3..ca5d048d9 100644 --- a/live/include/alibabacloud/live/model/DescribeBoardsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeBoardsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeBoardsRequest : public RpcServiceRequest - { - - public: - DescribeBoardsRequest(); - ~DescribeBoardsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardsRequest : public RpcServiceRequest + { + + public: + DescribeBoardsRequest(); + ~DescribeBoardsRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -83,8 +83,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; @@ -109,9 +109,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeBoardsResult.h b/live/include/alibabacloud/live/model/DescribeBoardsResult.h index 16f28f45f..45f60094d 100644 --- a/live/include/alibabacloud/live/model/DescribeBoardsResult.h +++ b/live/include/alibabacloud/live/model/DescribeBoardsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeBoardsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeBoardsResult : public ServiceResult + { + public: struct Event { std::string boardId; @@ -39,20 +39,20 @@ namespace AlibabaCloud std::string userId; std::string topic; }; - - - DescribeBoardsResult(); - explicit DescribeBoardsResult(const std::string &payload); - ~DescribeBoardsResult(); + + + DescribeBoardsResult(); + explicit DescribeBoardsResult(const std::string &payload); + ~DescribeBoardsResult(); std::vector getBoards()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector boards_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEBOARDSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h index 95792a69f..9e1d376f8 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsRequest : public RpcServiceRequest - { - - public: - DescribeCasterChannelsRequest(); - ~DescribeCasterChannelsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsRequest : public RpcServiceRequest + { + + public: + DescribeCasterChannelsRequest(); + ~DescribeCasterChannelsRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; std::string casterId_; long ownerId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h b/live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h index 40c3e11ea..c60a435b4 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterChannelsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsResult : public ServiceResult + { + public: struct Channel { std::string resourceId; @@ -39,22 +39,22 @@ namespace AlibabaCloud std::string streamUrl; std::string rtmpUrl; }; - - - DescribeCasterChannelsResult(); - explicit DescribeCasterChannelsResult(const std::string &payload); - ~DescribeCasterChannelsResult(); + + + DescribeCasterChannelsResult(); + explicit DescribeCasterChannelsResult(const std::string &payload); + ~DescribeCasterChannelsResult(); int getTotal()const; std::vector getChannels()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int total_; std::vector channels_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h index df408ecd5..4e21f739c 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index adbd97df4..fc774ea22 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 @@ -75,22 +75,22 @@ namespace AlibabaCloud std::string componentId; ImageLayerContent imageLayerContent; }; - - - DescribeCasterComponentsResult(); - explicit DescribeCasterComponentsResult(const std::string &payload); - ~DescribeCasterComponentsResult(); + + + DescribeCasterComponentsResult(); + explicit DescribeCasterComponentsResult(const std::string &payload); + ~DescribeCasterComponentsResult(); std::vector getComponents()const; int getTotal()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 026f6f886..cdf984078 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h @@ -1,54 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; 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 index 6d9b368dd..39eff33b7 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -50,11 +50,11 @@ namespace AlibabaCloud std::vector recordFormat; std::string ossBucket; }; - - - DescribeCasterConfigResult(); - explicit DescribeCasterConfigResult(const std::string &payload); - ~DescribeCasterConfigResult(); + + + DescribeCasterConfigResult(); + explicit DescribeCasterConfigResult(const std::string &payload); + ~DescribeCasterConfigResult(); std::string getSideOutputUrl()const; std::string getCallbackUrl()const; std::string getCasterName()const; @@ -67,10 +67,10 @@ namespace AlibabaCloud std::string getProgramName()const; RecordConfig getRecordConfig()const; float getDelay()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string sideOutputUrl_; std::string callbackUrl_; std::string casterName_; @@ -83,9 +83,9 @@ namespace AlibabaCloud 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 index 3b35406a1..c7266714e 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 31f2bde68..c1f0b5886 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterLayoutsResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterLayoutsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 @@ -55,22 +55,22 @@ namespace AlibabaCloud std::string layoutId; std::vector blendList; }; - - - DescribeCasterLayoutsResult(); - explicit DescribeCasterLayoutsResult(const std::string &payload); - ~DescribeCasterLayoutsResult(); + + + DescribeCasterLayoutsResult(); + explicit DescribeCasterLayoutsResult(const std::string &payload); + ~DescribeCasterLayoutsResult(); std::vector getLayouts()const; int getTotal()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 72e273423..542f7aae1 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setPageNum(int pageNum); int getStatus()const; void setStatus(int status); - - private: + + private: std::string casterId_; std::string episodeType_; int pageSize_; @@ -64,9 +64,9 @@ namespace AlibabaCloud 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 index 04ca87b5d..58f1e8944 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -44,28 +44,28 @@ namespace AlibabaCloud std::string episodeId; std::string episodeName; }; - - - DescribeCasterProgramResult(); - explicit DescribeCasterProgramResult(const std::string &payload); - ~DescribeCasterProgramResult(); + + + 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: + + 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 index 749ebac84..6ee284ad8 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterRtcInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterRtcInfoRequest.h @@ -1,51 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index f34f42a73..7f3b9be24 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterRtcInfoResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterRtcInfoResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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/DescribeCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h index f1a2b05f5..e08847543 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioRequest : public RpcServiceRequest - { - - public: - DescribeCasterSceneAudioRequest(); - ~DescribeCasterSceneAudioRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioRequest : public RpcServiceRequest + { + + public: + DescribeCasterSceneAudioRequest(); + ~DescribeCasterSceneAudioRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getCasterId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setSceneId(const std::string& sceneId); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; std::string casterId_; std::string sceneId_; long ownerId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h index 64ebc3419..0174b70e9 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h @@ -1,63 +1,63 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioResult : public ServiceResult + { + public: struct AudioLayer { std::string validChannel; float volumeRate; int fixedDelayDuration; }; - - - DescribeCasterSceneAudioResult(); - explicit DescribeCasterSceneAudioResult(const std::string &payload); - ~DescribeCasterSceneAudioResult(); + + + DescribeCasterSceneAudioResult(); + explicit DescribeCasterSceneAudioResult(const std::string &payload); + ~DescribeCasterSceneAudioResult(); std::vector getMixList()const; std::vector getAudioLayers()const; std::string getCasterId()const; int getFollowEnable()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector mixList_; std::vector audioLayers_; std::string casterId_; int followEnable_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h index 35e62ff79..265a8c244 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index ce70f0082..e6f1e9c11 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 @@ -49,22 +49,22 @@ namespace AlibabaCloud std::string streamUrl; std::string outputType; }; - - - DescribeCasterScenesResult(); - explicit DescribeCasterScenesResult(const std::string &payload); - ~DescribeCasterScenesResult(); + + + DescribeCasterScenesResult(); + explicit DescribeCasterScenesResult(const std::string &payload); + ~DescribeCasterScenesResult(); int getTotal()const; std::vector getSceneList()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index e51317d3d..ffd142180 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h @@ -1,54 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; 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 index 4a13f508a..b7a70a8ea 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 @@ -46,24 +46,24 @@ namespace AlibabaCloud std::string rtmpUrl; int outputType; }; - - - DescribeCasterStreamUrlResult(); - explicit DescribeCasterStreamUrlResult(const std::string &payload); - ~DescribeCasterStreamUrlResult(); + + + 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: + + 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 index 8d4189411..b954db323 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h @@ -1,54 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getCasterId()const; void setCasterId(const std::string& casterId); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; 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 index 302087fe6..124f30652 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -45,22 +45,22 @@ namespace AlibabaCloud int ptsCallbackInterval; std::string vodUrl; }; - - - DescribeCasterVideoResourcesResult(); - explicit DescribeCasterVideoResourcesResult(const std::string &payload); - ~DescribeCasterVideoResourcesResult(); + + + DescribeCasterVideoResourcesResult(); + explicit DescribeCasterVideoResourcesResult(const std::string &payload); + ~DescribeCasterVideoResourcesResult(); int getTotal()const; std::vector getVideoResources()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 4cc81c0c1..62c7413e8 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCastersRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getCasterName()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setPageNum(int pageNum); int getStatus()const; void setStatus(int status); - - private: + + private: std::string regionId_; std::string casterName_; std::string casterId_; @@ -64,9 +64,9 @@ namespace AlibabaCloud 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 index 81ab07268..81ebf9b21 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersResult.h +++ b/live/include/alibabacloud/live/model/DescribeCastersResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -46,22 +46,22 @@ namespace AlibabaCloud std::string expireTime; std::string casterId; }; - - - DescribeCastersResult(); - explicit DescribeCastersResult(const std::string &payload); - ~DescribeCastersResult(); + + + DescribeCastersResult(); + explicit DescribeCastersResult(const std::string &payload); + ~DescribeCastersResult(); int getTotal()const; std::vector getCasterList()const; - - protected: - void parse(const std::string &payload); - private: + + 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/DescribeForbidPushStreamRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h index 12a839070..ca3372205 100644 --- a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListRequest : public RpcServiceRequest - { - - public: - DescribeForbidPushStreamRoomListRequest(); - ~DescribeForbidPushStreamRoomListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListRequest : public RpcServiceRequest + { + + public: + DescribeForbidPushStreamRoomListRequest(); + ~DescribeForbidPushStreamRoomListRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -69,8 +69,6 @@ namespace AlibabaCloud void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; void setPopProduct(const std::string& popProduct); - std::string getProduct()const; - void setProduct(const std::string& product); std::string getCallerBid()const; void setCallerBid(const std::string& callerBid); long getOwnerId()const; @@ -87,8 +85,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; @@ -106,7 +104,6 @@ namespace AlibabaCloud std::string order_; std::string app_ip_; std::string popProduct_; - std::string product_; std::string callerBid_; long ownerId_; std::string version_; @@ -115,9 +112,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h index 2690b32ec..f41af4861 100644 --- a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h +++ b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListResult : public ServiceResult + { + public: struct Room { std::string opStartTime; @@ -39,24 +39,24 @@ namespace AlibabaCloud std::string opEndTime; std::string roomId; }; - - - DescribeForbidPushStreamRoomListResult(); - explicit DescribeForbidPushStreamRoomListResult(const std::string &payload); - ~DescribeForbidPushStreamRoomListResult(); + + + DescribeForbidPushStreamRoomListResult(); + explicit DescribeForbidPushStreamRoomListResult(const std::string &payload); + ~DescribeForbidPushStreamRoomListResult(); int getTotalNum()const; int getTotalPage()const; std::vector getRoomList()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalNum_; int totalPage_; std::vector roomList_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h index 75b1a0266..de1540b45 100644 --- a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeHlsLiveStreamRealTimeBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeHlsLiveStreamRealTimeBpsDataRequest(); - ~DescribeHlsLiveStreamRealTimeBpsDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeHlsLiveStreamRealTimeBpsDataRequest : public RpcServiceRequest + { + + public: + DescribeHlsLiveStreamRealTimeBpsDataRequest(); + ~DescribeHlsLiveStreamRealTimeBpsDataRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setTime(const std::string& time); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; std::string domainName_; std::string time_; long ownerId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h index 5ffd4bb19..9e6ebd8de 100644 --- a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeHlsLiveStreamRealTimeBpsDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeHlsLiveStreamRealTimeBpsDataResult : public ServiceResult + { + public: struct UsageDataPerDomain { struct StreamInfo @@ -48,22 +48,22 @@ namespace AlibabaCloud std::string domainName; std::vector streamInfos; }; - - - DescribeHlsLiveStreamRealTimeBpsDataResult(); - explicit DescribeHlsLiveStreamRealTimeBpsDataResult(const std::string &payload); - ~DescribeHlsLiveStreamRealTimeBpsDataResult(); + + + DescribeHlsLiveStreamRealTimeBpsDataResult(); + explicit DescribeHlsLiveStreamRealTimeBpsDataResult(const std::string &payload); + ~DescribeHlsLiveStreamRealTimeBpsDataResult(); std::vector getUsageData()const; std::string getTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector usageData_; std::string time_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h index 0a2798fa4..c12aeba39 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h @@ -1,57 +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_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateDetailRequest : public RpcServiceRequest - { - - public: - DescribeLiveCertificateDetailRequest(); - ~DescribeLiveCertificateDetailRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateDetailRequest : public RpcServiceRequest + { + + public: + DescribeLiveCertificateDetailRequest(); + ~DescribeLiveCertificateDetailRequest(); + std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); std::string getCertName()const; void setCertName(const std::string& certName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string securityToken_; std::string certName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h index 9cd24d647..9b8ce19b7 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h @@ -1,57 +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_DESCRIBELIVECERTIFICATEDETAILRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateDetailResult : public ServiceResult - { - public: - - - DescribeLiveCertificateDetailResult(); - explicit DescribeLiveCertificateDetailResult(const std::string &payload); - ~DescribeLiveCertificateDetailResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateDetailResult : public ServiceResult + { + public: + + + DescribeLiveCertificateDetailResult(); + explicit DescribeLiveCertificateDetailResult(const std::string &payload); + ~DescribeLiveCertificateDetailResult(); long getCertId()const; std::string getCert()const; std::string getCertName()const; std::string getKey()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: long certId_; std::string cert_; std::string certName_; std::string key_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h index 846593fde..fde5d7283 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h @@ -1,57 +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_DESCRIBELIVECERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateListRequest : public RpcServiceRequest - { - - public: - DescribeLiveCertificateListRequest(); - ~DescribeLiveCertificateListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateListRequest : public RpcServiceRequest + { + + public: + DescribeLiveCertificateListRequest(); + ~DescribeLiveCertificateListRequest(); + 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: + + private: std::string securityToken_; std::string domainName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateListResult.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateListResult.h index 8470f81f4..1c92d3609 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateListResult : public ServiceResult + { + public: struct CertificateListModel { struct Cert @@ -46,20 +46,20 @@ namespace AlibabaCloud std::vector certList; int count; }; - - - DescribeLiveCertificateListResult(); - explicit DescribeLiveCertificateListResult(const std::string &payload); - ~DescribeLiveCertificateListResult(); + + + DescribeLiveCertificateListResult(); + explicit DescribeLiveCertificateListResult(const std::string &payload); + ~DescribeLiveCertificateListResult(); CertificateListModel getCertificateListModel()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: CertificateListModel certificateListModel_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTRESULT_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 index 5a40ec3b6..aa659e262 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h @@ -1,57 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index a973a7c61..32fb71e6a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h @@ -1,56 +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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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(); + + + DescribeLiveDetectNotifyConfigResult(); + explicit DescribeLiveDetectNotifyConfigResult(const std::string &payload); + ~DescribeLiveDetectNotifyConfigResult(); LiveDetectNotifyConfig getLiveDetectNotifyConfig()const; - - protected: - void parse(const std::string &payload); - private: + + 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/DescribeLiveDomainBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h index 6a0dde680..c72dd3a7a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainBpsDataRequest(); - ~DescribeLiveDomainBpsDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainBpsDataRequest(); + ~DescribeLiveDomainBpsDataRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setIspNameEn(const std::string& ispNameEn); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; std::string domainName_; std::string endTime_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string startTime_; std::string ispNameEn_; long ownerId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.h index 834a6f3ba..44eca1c40 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataResult : public ServiceResult + { + public: struct DataModule { std::string httpsBpsValue; @@ -39,28 +39,28 @@ namespace AlibabaCloud std::string httpBpsValue; std::string timeStamp; }; - - - DescribeLiveDomainBpsDataResult(); - explicit DescribeLiveDomainBpsDataResult(const std::string &payload); - ~DescribeLiveDomainBpsDataResult(); + + + DescribeLiveDomainBpsDataResult(); + explicit DescribeLiveDomainBpsDataResult(const std::string &payload); + ~DescribeLiveDomainBpsDataResult(); std::string getEndTime()const; std::string getDomainName()const; std::string getStartTime()const; std::string getDataInterval()const; std::vector getBpsDataPerInterval()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string endTime_; std::string domainName_; std::string startTime_; std::string dataInterval_; std::vector bpsDataPerInterval_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h index cf113210c..1758cf35c 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainConfigsRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainConfigsRequest(); - ~DescribeLiveDomainConfigsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainConfigsRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainConfigsRequest(); + ~DescribeLiveDomainConfigsRequest(); + std::string getFunctionNames()const; void setFunctionNames(const std::string& functionNames); std::string getSecurityToken()const; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string functionNames_; std::string securityToken_; std::string domainName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsResult.h index 998d59713..b83962df4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainConfigsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainConfigsResult : public ServiceResult + { + public: struct DomainConfig { struct FunctionArg @@ -44,20 +44,20 @@ namespace AlibabaCloud std::vector functionArgs; std::string configId; }; - - - DescribeLiveDomainConfigsResult(); - explicit DescribeLiveDomainConfigsResult(const std::string &payload); - ~DescribeLiveDomainConfigsResult(); + + + DescribeLiveDomainConfigsResult(); + explicit DescribeLiveDomainConfigsResult(const std::string &payload); + ~DescribeLiveDomainConfigsResult(); std::vector getDomainConfigs()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector domainConfigs_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h index 3a58feb01..e583d9bba 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h @@ -1,57 +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_DESCRIBELIVEDOMAINDETAILREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainDetailRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainDetailRequest(); - ~DescribeLiveDomainDetailRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainDetailRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainDetailRequest(); + ~DescribeLiveDomainDetailRequest(); + 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: + + private: std::string securityToken_; std::string domainName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailResult.h index 023eee996..47086735f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainDetailResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainDetailResult : public ServiceResult + { + public: struct DomainDetail { std::string description; @@ -47,20 +47,20 @@ namespace AlibabaCloud std::string domainStatus; std::string sSLProtocol; }; - - - DescribeLiveDomainDetailResult(); - explicit DescribeLiveDomainDetailResult(const std::string &payload); - ~DescribeLiveDomainDetailResult(); + + + DescribeLiveDomainDetailResult(); + explicit DescribeLiveDomainDetailResult(const std::string &payload); + ~DescribeLiveDomainDetailResult(); DomainDetail getDomainDetail()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: DomainDetail domainDetail_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h similarity index 64% rename from live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.h rename to live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h index 1866c6568..9641e8266 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h @@ -1,57 +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_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); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainMappingRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainMappingRequest(); + ~DescribeLiveDomainMappingRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string securityToken_; + + private: + std::string regionId_; std::string domainName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMIXNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingResult.h similarity index 60% rename from live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.h rename to live/include/alibabacloud/live/model/DescribeLiveDomainMappingResult.h index 9abe3898c..a928765ef 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingResult.h @@ -1,49 +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_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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainMappingResult : public ServiceResult + { + public: + struct LiveDomainModel + { + std::string type; + std::string domainName; + }; + + + DescribeLiveDomainMappingResult(); + explicit DescribeLiveDomainMappingResult(const std::string &payload); + ~DescribeLiveDomainMappingResult(); + std::vector getLiveDomainModels()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveDomainModels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h index 473cd7c4e..d5eaf830a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRealTimeBpsDataRequest(); - ~DescribeLiveDomainRealTimeBpsDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeBpsDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainRealTimeBpsDataRequest(); + ~DescribeLiveDomainRealTimeBpsDataRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -91,8 +91,8 @@ namespace AlibabaCloud void setInterval(const std::string& interval); std::string getFields()const; void setFields(const std::string& fields); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string locationNameEn_; @@ -121,9 +121,9 @@ namespace AlibabaCloud std::string requestId_; std::string interval_; std::string fields_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataResult.h index 57afcabf3..245c05c2b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataResult.h @@ -1,64 +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_DESCRIBELIVEDOMAINREALTIMEBPSDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeBpsDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeBpsDataResult : public ServiceResult + { + public: struct DataModule { std::string value; std::string timeStamp; }; - - - DescribeLiveDomainRealTimeBpsDataResult(); - explicit DescribeLiveDomainRealTimeBpsDataResult(const std::string &payload); - ~DescribeLiveDomainRealTimeBpsDataResult(); + + + DescribeLiveDomainRealTimeBpsDataResult(); + explicit DescribeLiveDomainRealTimeBpsDataResult(const std::string &payload); + ~DescribeLiveDomainRealTimeBpsDataResult(); std::string getEndTime()const; std::string getDomainName()const; std::string getStartTime()const; std::string getDataInterval()const; std::vector getRealTimeBpsDataPerInterval()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string endTime_; std::string domainName_; std::string startTime_; std::string dataInterval_; std::vector realTimeBpsDataPerInterval_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h index f3296a35b..cd5bef2b4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeHttpCodeDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRealTimeHttpCodeDataRequest(); - ~DescribeLiveDomainRealTimeHttpCodeDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeHttpCodeDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainRealTimeHttpCodeDataRequest(); + ~DescribeLiveDomainRealTimeHttpCodeDataRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -91,8 +91,8 @@ namespace AlibabaCloud void setInterval(const std::string& interval); std::string getFields()const; void setFields(const std::string& fields); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string locationNameEn_; @@ -121,9 +121,9 @@ namespace AlibabaCloud std::string requestId_; std::string interval_; std::string fields_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataResult.h index 47709db68..13606936f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeHttpCodeDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeHttpCodeDataResult : public ServiceResult + { + public: struct UsageData { struct RealTimeCodeProportionData @@ -43,28 +43,28 @@ namespace AlibabaCloud std::vector value; std::string timeStamp; }; - - - DescribeLiveDomainRealTimeHttpCodeDataResult(); - explicit DescribeLiveDomainRealTimeHttpCodeDataResult(const std::string &payload); - ~DescribeLiveDomainRealTimeHttpCodeDataResult(); + + + DescribeLiveDomainRealTimeHttpCodeDataResult(); + explicit DescribeLiveDomainRealTimeHttpCodeDataResult(const std::string &payload); + ~DescribeLiveDomainRealTimeHttpCodeDataResult(); std::string getEndTime()const; std::string getDomainName()const; std::string getStartTime()const; std::string getDataInterval()const; std::vector getRealTimeHttpCodeData()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string endTime_; std::string domainName_; std::string startTime_; std::string dataInterval_; std::vector realTimeHttpCodeData_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h index 4236070e4..82844a14b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRealTimeTrafficDataRequest(); - ~DescribeLiveDomainRealTimeTrafficDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeTrafficDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainRealTimeTrafficDataRequest(); + ~DescribeLiveDomainRealTimeTrafficDataRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -91,8 +91,8 @@ namespace AlibabaCloud void setInterval(const std::string& interval); std::string getFields()const; void setFields(const std::string& fields); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string locationNameEn_; @@ -121,9 +121,9 @@ namespace AlibabaCloud std::string requestId_; std::string interval_; std::string fields_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataResult.h index e48d707a8..71af47a0c 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataResult.h @@ -1,64 +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_DESCRIBELIVEDOMAINREALTIMETRAFFICDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeTrafficDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeTrafficDataResult : public ServiceResult + { + public: struct DataModule { std::string value; std::string timeStamp; }; - - - DescribeLiveDomainRealTimeTrafficDataResult(); - explicit DescribeLiveDomainRealTimeTrafficDataResult(const std::string &payload); - ~DescribeLiveDomainRealTimeTrafficDataResult(); + + + DescribeLiveDomainRealTimeTrafficDataResult(); + explicit DescribeLiveDomainRealTimeTrafficDataResult(const std::string &payload); + ~DescribeLiveDomainRealTimeTrafficDataResult(); std::string getEndTime()const; std::vector getRealTimeTrafficDataPerInterval()const; std::string getDomainName()const; std::string getStartTime()const; std::string getDataInterval()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string endTime_; std::vector realTimeTrafficDataPerInterval_; std::string domainName_; std::string startTime_; std::string dataInterval_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h index e131d2579..4fe738eae 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getRecordType()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setStartTime(const std::string& startTime); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; 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 index d4f59980d..319c1c2ce 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 @@ -44,20 +44,20 @@ namespace AlibabaCloud Detail detail; std::string date; }; - - - DescribeLiveDomainRecordDataResult(); - explicit DescribeLiveDomainRecordDataResult(const std::string &payload); - ~DescribeLiveDomainRecordDataResult(); + + + DescribeLiveDomainRecordDataResult(); + explicit DescribeLiveDomainRecordDataResult(const std::string &payload); + ~DescribeLiveDomainRecordDataResult(); std::vector getRecordDataInfos()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index ff5d3edc1..945dbacac 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setStartTime(const std::string& startTime); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; 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 index 900bfd051..3051fbc87 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h @@ -1,56 +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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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(); + + + DescribeLiveDomainSnapshotDataResult(); + explicit DescribeLiveDomainSnapshotDataResult(const std::string &payload); + ~DescribeLiveDomainSnapshotDataResult(); std::vector getSnapshotDataInfos()const; - - protected: - void parse(const std::string &payload); - private: + + 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/DescribeLiveDomainTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h index d63ec6dbf..c23c23dcd 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainTrafficDataRequest(); - ~DescribeLiveDomainTrafficDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTrafficDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainTrafficDataRequest(); + ~DescribeLiveDomainTrafficDataRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setIspNameEn(const std::string& ispNameEn); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; std::string domainName_; std::string endTime_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string startTime_; std::string ispNameEn_; long ownerId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h index 9e5556c2e..ea55ace85 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTrafficDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTrafficDataResult : public ServiceResult + { + public: struct DataModule { std::string httpTrafficValue; @@ -39,28 +39,28 @@ namespace AlibabaCloud std::string trafficValue; std::string timeStamp; }; - - - DescribeLiveDomainTrafficDataResult(); - explicit DescribeLiveDomainTrafficDataResult(const std::string &payload); - ~DescribeLiveDomainTrafficDataResult(); + + + DescribeLiveDomainTrafficDataResult(); + explicit DescribeLiveDomainTrafficDataResult(const std::string &payload); + ~DescribeLiveDomainTrafficDataResult(); std::string getEndTime()const; std::vector getTrafficDataPerInterval()const; std::string getDomainName()const; std::string getStartTime()const; std::string getDataInterval()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string endTime_; std::vector trafficDataPerInterval_; std::string domainName_; std::string startTime_; std::string dataInterval_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATARESULT_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 index df06046b1..f2d868385 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setStartTime(const std::string& startTime); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; 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 index 3b3005b68..471cac1c7 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h @@ -1,57 +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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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(); + + + DescribeLiveDomainTranscodeDataResult(); + explicit DescribeLiveDomainTranscodeDataResult(const std::string &payload); + ~DescribeLiveDomainTranscodeDataResult(); std::vector getTranscodeDataInfos()const; - - protected: - void parse(const std::string &payload); - private: + + 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/DescribeLiveLazyPullStreamConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h index e56172286..1711e1d9d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h @@ -1,78 +1,62 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveLazyPullStreamConfigRequest(); - ~DescribeLiveLazyPullStreamConfigRequest(); - - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getPopProduct()const; - void setPopProduct(const std::string& popProduct); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveLazyPullStreamConfigRequest(); + ~DescribeLiveLazyPullStreamConfigRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); bool getProxy_original_security_transport()const; void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); std::string getProxy_original_source_ip()const; void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getVersion()const; - void setVersion(const std::string& version); std::string getOwnerIdLoginEmail()const; void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); std::string getCallerType()const; void setCallerType(const std::string& callerType); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); + std::string getEagleEyeRpcId()const; + void setEagleEyeRpcId(const std::string& eagleEyeRpcId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); + std::string getEagleEyeTraceId()const; + void setEagleEyeTraceId(const std::string& eagleEyeTraceId); std::string getAppName()const; void setAppName(const std::string& appName); std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); std::string getRegionId()const; void setRegionId(const std::string& regionId); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); std::string getRequestContent()const; void setRequestContent(const std::string& requestContent); std::string getCallerBidEmail()const; @@ -81,34 +65,62 @@ namespace AlibabaCloud void setCallerUidEmail(const std::string& callerUidEmail); long getCallerUid()const; void setCallerUid(long callerUid); - - private: - std::string app_ip_; - std::string popProduct_; + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getEagleEyeUserData()const; + void setEagleEyeUserData(const std::string& eagleEyeUserData); + + private: long callerParentId_; - std::string domainName_; bool proxy_original_security_transport_; - std::string callerBid_; - long ownerId_; std::string proxy_original_source_ip_; - std::string version_; std::string ownerIdLoginEmail_; std::string callerType_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; + std::string eagleEyeRpcId_; std::string accessKeyId_; - bool security_transport_; + std::string eagleEyeTraceId_; std::string appName_; std::string securityToken_; std::string regionId_; - std::string requestId_; std::string requestContent_; std::string callerBidEmail_; std::string callerUidEmail_; long callerUid_; - - }; - } - } -} + std::string app_ip_; + std::string popProduct_; + std::string domainName_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string serviceCode_; + std::string requestId_; + std::string eagleEyeUserData_; + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h index a4ae9abd5..6af0d9ec8 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h @@ -1,39 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigResult : public ServiceResult + { + public: struct LiveLazyPullConfig { + std::string pullArgs; std::string domainName; std::string pullProtocol; std::string pullAuthKey; @@ -42,20 +43,20 @@ namespace AlibabaCloud std::string pullAppName; std::string appName; }; - - - DescribeLiveLazyPullStreamConfigResult(); - explicit DescribeLiveLazyPullStreamConfigResult(const std::string &payload); - ~DescribeLiveLazyPullStreamConfigResult(); + + + DescribeLiveLazyPullStreamConfigResult(); + explicit DescribeLiveLazyPullStreamConfigResult(const std::string &payload); + ~DescribeLiveLazyPullStreamConfigResult(); std::vector getLiveLazyPullConfigList()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector liveLazyPullConfigList_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h deleted file mode 100644 index 0f2ae06da..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/DescribeLiveMixNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigRequest.h deleted file mode 100644 index bb29c4ae1..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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 deleted file mode 100644 index ca7bbe845..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveMixNotifyConfigResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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 index 09cc2fe2a..51f19737b 100644 --- a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h @@ -1,57 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 684e355ec..fac7f6789 100644 --- a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -41,20 +41,20 @@ namespace AlibabaCloud std::string startTime; std::string appName; }; - - - DescribeLivePullStreamConfigResult(); - explicit DescribeLivePullStreamConfigResult(const std::string &payload); - ~DescribeLivePullStreamConfigResult(); + + + DescribeLivePullStreamConfigResult(); + explicit DescribeLivePullStreamConfigResult(const std::string &payload); + ~DescribeLivePullStreamConfigResult(); std::vector getLiveAppRecordList()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 5565d643b..67ade0094 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,12 +49,10 @@ namespace AlibabaCloud 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: + + private: std::string appName_; std::string securityToken_; std::string domainName_; @@ -62,11 +60,10 @@ namespace AlibabaCloud 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 index c38e9b499..80a161962 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 @@ -52,30 +52,30 @@ namespace AlibabaCloud int onDemond; std::string appName; }; - - - DescribeLiveRecordConfigResult(); - explicit DescribeLiveRecordConfigResult(const std::string &payload); - ~DescribeLiveRecordConfigResult(); + + + 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: + + 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 index e56eddda6..74dfbd42f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h @@ -1,57 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index f40941297..9ddf32148 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -39,20 +39,20 @@ namespace AlibabaCloud bool needStatusNotify; std::string notifyUrl; }; - - - DescribeLiveRecordNotifyConfigResult(); - explicit DescribeLiveRecordNotifyConfigResult(const std::string &payload); - ~DescribeLiveRecordNotifyConfigResult(); + + + DescribeLiveRecordNotifyConfigResult(); + explicit DescribeLiveRecordNotifyConfigResult(const std::string &payload); + ~DescribeLiveRecordNotifyConfigResult(); LiveRecordNotifyConfig getLiveRecordNotifyConfig()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 9eef85072..282565287 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setPageNum(long pageNum); std::string getStreamName()const; void setStreamName(const std::string& streamName); - - private: + + 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 index e568277b0..8f35efea6 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,26 +43,26 @@ namespace AlibabaCloud std::string appName; std::string vodTranscodeGroupId; }; - - - DescribeLiveRecordVodConfigsResult(); - explicit DescribeLiveRecordVodConfigsResult(const std::string &payload); - ~DescribeLiveRecordVodConfigsResult(); + + + 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: + + 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 index 1b6b6c23c..a63bdbdf2 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,23 +47,20 @@ namespace AlibabaCloud 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: + + 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 index 474d35135..9408d37a3 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,30 +43,30 @@ namespace AlibabaCloud std::string ossBucket; std::string appName; }; - - - DescribeLiveSnapshotConfigResult(); - explicit DescribeLiveSnapshotConfigResult(const std::string &payload); - ~DescribeLiveSnapshotConfigResult(); + + + 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: + + 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 index 23bb92657..1c22f85ef 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,23 +47,20 @@ namespace AlibabaCloud 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: + + 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 index f0028876c..03f73b919 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -42,30 +42,30 @@ namespace AlibabaCloud std::string appName; int interval; }; - - - DescribeLiveSnapshotDetectPornConfigResult(); - explicit DescribeLiveSnapshotDetectPornConfigResult(const std::string &payload); - ~DescribeLiveSnapshotDetectPornConfigResult(); + + + 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: + + 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 index ac9dba344..588572efc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,10 +49,8 @@ namespace AlibabaCloud 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: + + private: std::string appName_; std::string securityToken_; std::string domainName_; @@ -60,10 +58,9 @@ namespace AlibabaCloud 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 index 4e3a2c50a..2dd021bfc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -40,20 +40,20 @@ namespace AlibabaCloud float bitRate; std::string streamUrl; }; - - - DescribeLiveStreamBitRateDataResult(); - explicit DescribeLiveStreamBitRateDataResult(const std::string &payload); - ~DescribeLiveStreamBitRateDataResult(); + + + DescribeLiveStreamBitRateDataResult(); + explicit DescribeLiveStreamBitRateDataResult(const std::string &payload); + ~DescribeLiveStreamBitRateDataResult(); std::vector getFrameRateAndBitRateInfos()const; - - protected: - void parse(const std::string &payload); - private: + + 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/DescribeLiveStreamCountRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h index 2ed9ee4a2..114c964f6 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h @@ -1,54 +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_DESCRIBELIVESTREAMCOUNTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamCountRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamCountRequest(); - ~DescribeLiveStreamCountRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamCountRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamCountRequest(); + ~DescribeLiveStreamCountRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + private: std::string regionId_; std::string domainName_; long ownerId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamCountResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamCountResult.h index b42fa89dd..93cfe13c9 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamCountResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamCountResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamCountResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamCountResult : public ServiceResult + { + public: struct StreamCountInfo { struct StreamCountDetail @@ -45,20 +45,20 @@ namespace AlibabaCloud long count; long limit; }; - - - DescribeLiveStreamCountResult(); - explicit DescribeLiveStreamCountResult(const std::string &payload); - ~DescribeLiveStreamCountResult(); + + + DescribeLiveStreamCountResult(); + explicit DescribeLiveStreamCountResult(const std::string &payload); + ~DescribeLiveStreamCountResult(); std::vector getStreamCountInfos()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector streamCountInfos_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h new file mode 100644 index 000000000..3fe55bc98 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h @@ -0,0 +1,120 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamDelayConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamDelayConfigRequest(); + ~DescribeLiveStreamDelayConfigRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getEagleEyeRpcId()const; + void setEagleEyeRpcId(const std::string& eagleEyeRpcId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getEagleEyeTraceId()const; + void setEagleEyeTraceId(const std::string& eagleEyeTraceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getEagleEyeUserData()const; + void setEagleEyeUserData(const std::string& eagleEyeUserData); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string eagleEyeRpcId_; + std::string accessKeyId_; + std::string eagleEyeTraceId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string domainName_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string eagleEyeUserData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigResult.h new file mode 100644 index 000000000..0c6645752 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigResult.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_DESCRIBELIVESTREAMDELAYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamDelayConfigResult : public ServiceResult + { + public: + struct LiveStreamHlsDelayConfig + { + std::string level; + int delay; + }; + struct LiveStreamFlvDelayConfig + { + std::string level; + int delay; + }; + struct LiveStreamRtmpDelayConfig + { + std::string level; + int delay; + }; + + + DescribeLiveStreamDelayConfigResult(); + explicit DescribeLiveStreamDelayConfigResult(const std::string &payload); + ~DescribeLiveStreamDelayConfigResult(); + LiveStreamFlvDelayConfig getLiveStreamFlvDelayConfig()const; + LiveStreamRtmpDelayConfig getLiveStreamRtmpDelayConfig()const; + LiveStreamHlsDelayConfig getLiveStreamHlsDelayConfig()const; + + protected: + void parse(const std::string &payload); + private: + LiveStreamFlvDelayConfig liveStreamFlvDelayConfig_; + LiveStreamRtmpDelayConfig liveStreamRtmpDelayConfig_; + LiveStreamHlsDelayConfig liveStreamHlsDelayConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGRESULT_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 index 53f5f50c8..d255bb28e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,10 +49,8 @@ namespace AlibabaCloud 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: + + private: std::string appName_; std::string securityToken_; std::string domainName_; @@ -60,10 +58,9 @@ namespace AlibabaCloud 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 index 4a4713d4c..0855ddeda 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h @@ -1,56 +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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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(); + + + DescribeLiveStreamHistoryUserNumResult(); + explicit DescribeLiveStreamHistoryUserNumResult(const std::string &payload); + ~DescribeLiveStreamHistoryUserNumResult(); std::vector getLiveStreamUserNumInfos()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index b1da9032d..8d7dd4d7a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h @@ -1,46 +1,44 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -51,22 +49,18 @@ namespace AlibabaCloud 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: + + 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 index 79e41661a..f2de0d269 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumResult.h @@ -1,59 +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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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(); + + + DescribeLiveStreamOnlineUserNumResult(); + explicit DescribeLiveStreamOnlineUserNumResult(const std::string &payload); + ~DescribeLiveStreamOnlineUserNumResult(); std::vector getOnlineUserInfo()const; long getTotalUserNumber()const; - - protected: - void parse(const std::string &payload); - private: + + 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/DescribeLiveStreamOptimizedFeatureConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h new file mode 100644 index 000000000..d3bb74853 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOptimizedFeatureConfigRequest : public RpcServiceRequest + { + + public: + DescribeLiveStreamOptimizedFeatureConfigRequest(); + ~DescribeLiveStreamOptimizedFeatureConfigRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getEagleEyeRpcId()const; + void setEagleEyeRpcId(const std::string& eagleEyeRpcId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getEagleEyeTraceId()const; + void setEagleEyeTraceId(const std::string& eagleEyeTraceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getConfigName()const; + void setConfigName(const std::string& configName); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getEagleEyeUserData()const; + void setEagleEyeUserData(const std::string& eagleEyeUserData); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string eagleEyeRpcId_; + std::string accessKeyId_; + std::string eagleEyeTraceId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string configName_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string domainName_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string serviceCode_; + std::string requestId_; + std::string eagleEyeUserData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartMixStreamsServiceResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigResult.h similarity index 51% rename from live/include/alibabacloud/live/model/StartMixStreamsServiceResult.h rename to live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigResult.h index 496f92040..818e9ea67 100644 --- a/live/include/alibabacloud/live/model/StartMixStreamsServiceResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigResult.h @@ -1,57 +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_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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOptimizedFeatureConfigResult : public ServiceResult + { + public: + struct LiveStreamOptimizedFeatureConfig { - std::string streamName; + std::string configValue; + std::string configName; std::string domainName; - std::string appName; + std::string configStatus; }; - - - 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 + + + DescribeLiveStreamOptimizedFeatureConfigResult(); + explicit DescribeLiveStreamOptimizedFeatureConfigResult(const std::string &payload); + ~DescribeLiveStreamOptimizedFeatureConfigResult(); + std::vector getLiveStreamOptimizedFeatureConfigList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveStreamOptimizedFeatureConfigList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_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 index 0ed83a12f..29217afc2 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,10 +49,8 @@ namespace AlibabaCloud 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: + + private: std::string appName_; std::string securityToken_; std::string domainName_; @@ -60,10 +58,9 @@ namespace AlibabaCloud 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 index ed8ab4a35..26d15368a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -41,20 +41,20 @@ namespace AlibabaCloud float duration; std::string ossObjectPrefix; }; - - - DescribeLiveStreamRecordContentResult(); - explicit DescribeLiveStreamRecordContentResult(const std::string &payload); - ~DescribeLiveStreamRecordContentResult(); + + + DescribeLiveStreamRecordContentResult(); + explicit DescribeLiveStreamRecordContentResult(const std::string &payload); + ~DescribeLiveStreamRecordContentResult(); std::vector getRecordContentInfoList()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index d3ff0a22e..0f1763b55 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,20 +47,17 @@ namespace AlibabaCloud 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: + + 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 index 8bb4511fd..0f38ab61d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,20 +49,20 @@ namespace AlibabaCloud std::string recordId; int width; }; - - - DescribeLiveStreamRecordIndexFileResult(); - explicit DescribeLiveStreamRecordIndexFileResult(const std::string &payload); - ~DescribeLiveStreamRecordIndexFileResult(); + + + DescribeLiveStreamRecordIndexFileResult(); + explicit DescribeLiveStreamRecordIndexFileResult(const std::string &payload); + ~DescribeLiveStreamRecordIndexFileResult(); RecordIndexInfo getRecordIndexInfo()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 92c683e91..ca6260fee 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,12 +53,10 @@ namespace AlibabaCloud 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: + + private: std::string appName_; std::string securityToken_; std::string domainName_; @@ -68,11 +66,10 @@ namespace AlibabaCloud 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 index 2e1269b1f..d64ca0a10 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,30 +49,30 @@ namespace AlibabaCloud std::string recordId; int width; }; - - - DescribeLiveStreamRecordIndexFilesResult(); - explicit DescribeLiveStreamRecordIndexFilesResult(const std::string &payload); - ~DescribeLiveStreamRecordIndexFilesResult(); + + + 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: + + 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 index 786642bd8..f838457b2 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -51,12 +51,10 @@ namespace AlibabaCloud 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: + + private: std::string appName_; std::string securityToken_; std::string domainName_; @@ -65,11 +63,10 @@ namespace AlibabaCloud 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 index 580a476a7..b61695e29 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -39,22 +39,22 @@ namespace AlibabaCloud std::string ossBucket; std::string ossObject; }; - - - DescribeLiveStreamSnapshotInfoResult(); - explicit DescribeLiveStreamSnapshotInfoResult(const std::string &payload); - ~DescribeLiveStreamSnapshotInfoResult(); + + + DescribeLiveStreamSnapshotInfoResult(); + explicit DescribeLiveStreamSnapshotInfoResult(const std::string &payload); + ~DescribeLiveStreamSnapshotInfoResult(); std::vector getLiveStreamSnapshotInfoList()const; std::string getNextStartTime()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index e67c5b4df..14ca75cec 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h @@ -1,57 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 95baf1876..651c31098 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 @@ -47,20 +47,20 @@ namespace AlibabaCloud std::string transcodeApp; std::string transcodeName; }; - - - DescribeLiveStreamTranscodeInfoResult(); - explicit DescribeLiveStreamTranscodeInfoResult(const std::string &payload); - ~DescribeLiveStreamTranscodeInfoResult(); + + + DescribeLiveStreamTranscodeInfoResult(); + explicit DescribeLiveStreamTranscodeInfoResult(const std::string &payload); + ~DescribeLiveStreamTranscodeInfoResult(); std::vector getDomainTranscodeList()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 874d03032..2c61320bf 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -45,19 +45,16 @@ namespace AlibabaCloud void setOwnerId(long ownerId); int getPageNum()const; void setPageNum(int pageNum); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index 6aa04d1ac..479bf0462 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h @@ -1,61 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index f3da7c8d6..82c6c9072 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,20 +47,17 @@ namespace AlibabaCloud void setStartTime(const std::string& startTime); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index ee4d6ef4f..41ec09b5e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -39,20 +39,20 @@ namespace AlibabaCloud std::string clientIP; std::string timeStamp; }; - - - DescribeLiveStreamsControlHistoryResult(); - explicit DescribeLiveStreamsControlHistoryResult(const std::string &payload); - ~DescribeLiveStreamsControlHistoryResult(); + + + DescribeLiveStreamsControlHistoryResult(); + explicit DescribeLiveStreamsControlHistoryResult(const std::string &payload); + ~DescribeLiveStreamsControlHistoryResult(); std::vector getControlInfo()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 1f7eca367..108c69f6b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,10 +49,8 @@ namespace AlibabaCloud 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: + + private: std::string appName_; std::string securityToken_; std::string domainName_; @@ -60,10 +58,9 @@ namespace AlibabaCloud 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 index 601637075..f34f473c2 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -40,20 +40,20 @@ namespace AlibabaCloud float bitRate; std::string streamUrl; }; - - - DescribeLiveStreamsFrameRateAndBitRateDataResult(); - explicit DescribeLiveStreamsFrameRateAndBitRateDataResult(const std::string &payload); - ~DescribeLiveStreamsFrameRateAndBitRateDataResult(); + + + DescribeLiveStreamsFrameRateAndBitRateDataResult(); + explicit DescribeLiveStreamsFrameRateAndBitRateDataResult(const std::string &payload); + ~DescribeLiveStreamsFrameRateAndBitRateDataResult(); std::vector getFrameRateAndBitRateInfos()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 70b5a8fc6..347a10969 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h @@ -1,111 +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_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 getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getPopProduct()const; - void setPopProduct(const std::string& popProduct); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getVersion()const; - void setVersion(const std::string& version); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; void setRegionId(const std::string& regionId); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - - private: - std::string app_ip_; - std::string popProduct_; - long callerParentId_; - std::string domainName_; - bool proxy_original_security_transport_; - std::string callerBid_; - long ownerId_; - std::string proxy_original_source_ip_; - std::string version_; - std::string ownerIdLoginEmail_; - std::string callerType_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - std::string accessKeyId_; - bool security_transport_; - std::string securityToken_; + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: std::string regionId_; - std::string requestId_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; - - }; - } - } -} + std::string domainName_; + long ownerId_; + + }; + } + } +} #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 index 7c1adaca2..0cdcd0617 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -39,20 +39,20 @@ namespace AlibabaCloud std::string authKey; std::string authType; }; - - - DescribeLiveStreamsNotifyUrlConfigResult(); - explicit DescribeLiveStreamsNotifyUrlConfigResult(const std::string &payload); - ~DescribeLiveStreamsNotifyUrlConfigResult(); + + + DescribeLiveStreamsNotifyUrlConfigResult(); + explicit DescribeLiveStreamsNotifyUrlConfigResult(const std::string &payload); + ~DescribeLiveStreamsNotifyUrlConfigResult(); LiveStreamsNotifyConfig getLiveStreamsNotifyConfig()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 66e861afc..15554dc97 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getDomainName()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setStreamName(const std::string& streamName); std::string getQueryType()const; void setQueryType(const std::string& queryType); - - private: + + private: std::string streamType_; std::string domainName_; std::string endTime_; @@ -73,9 +73,9 @@ namespace AlibabaCloud int pageSize_; std::string streamName_; std::string queryType_; - - }; - } - } -} + + }; + } + } +} #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 index a0f6a8444..4454a2538 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h @@ -1,71 +1,80 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; + int frameRate; std::string domainName; std::string transcodeId; + std::string serverIp; + std::string clientIp; + std::string publishType; + std::string appName; + int audioDataRate; + std::string streamName; std::string publishDomain; std::string transcoded; std::string publishTime; - std::string publishType; - std::string appName; + int height; + int audioCodecId; + int videoDataRate; + int width; + int videoCodecId; }; - - - DescribeLiveStreamsOnlineListResult(); - explicit DescribeLiveStreamsOnlineListResult(const std::string &payload); - ~DescribeLiveStreamsOnlineListResult(); + + + 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: + + 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 index ec9f79333..b3b2082fb 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setStreamName(const std::string& streamName); std::string getQueryType()const; void setQueryType(const std::string& queryType); - - private: + + private: std::string streamType_; std::string domainName_; std::string endTime_; @@ -73,9 +73,9 @@ namespace AlibabaCloud 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 index e5669ed87..09c27d54d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -48,28 +48,28 @@ namespace AlibabaCloud std::string publishTime; std::string stopTime; }; - - - DescribeLiveStreamsPublishListResult(); - explicit DescribeLiveStreamsPublishListResult(const std::string &payload); - ~DescribeLiveStreamsPublishListResult(); + + + 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: + + 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/DescribeLiveTopDomainsByFlowRequest.h b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h index 163796243..3ae0ae5b6 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTopDomainsByFlowRequest : public RpcServiceRequest - { - - public: - DescribeLiveTopDomainsByFlowRequest(); - ~DescribeLiveTopDomainsByFlowRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTopDomainsByFlowRequest : public RpcServiceRequest + { + + public: + DescribeLiveTopDomainsByFlowRequest(); + ~DescribeLiveTopDomainsByFlowRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -85,8 +85,8 @@ namespace AlibabaCloud void setSecurity_transport(bool security_transport); std::string getRequestId()const; void setRequestId(const std::string& requestId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string startTime_; @@ -112,9 +112,9 @@ namespace AlibabaCloud bool ak_mfa_present_; bool security_transport_; std::string requestId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.h b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.h index 262124eae..a1ba48194 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTopDomainsByFlowResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTopDomainsByFlowResult : public ServiceResult + { + public: struct TopDomain { long maxBps; @@ -42,28 +42,28 @@ namespace AlibabaCloud long totalAccess; std::string trafficPercent; }; - - - DescribeLiveTopDomainsByFlowResult(); - explicit DescribeLiveTopDomainsByFlowResult(const std::string &payload); - ~DescribeLiveTopDomainsByFlowResult(); + + + DescribeLiveTopDomainsByFlowResult(); + explicit DescribeLiveTopDomainsByFlowResult(const std::string &payload); + ~DescribeLiveTopDomainsByFlowResult(); std::vector getTopDomains()const; std::string getEndTime()const; long getDomainOnlineCount()const; std::string getStartTime()const; long getDomainCount()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector topDomains_; std::string endTime_; long domainOnlineCount_; std::string startTime_; long domainCount_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h index 87e9018eb..c58e91b2b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserDomainsRequest : public RpcServiceRequest - { - - public: - DescribeLiveUserDomainsRequest(); - ~DescribeLiveUserDomainsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserDomainsRequest : public RpcServiceRequest + { + + public: + DescribeLiveUserDomainsRequest(); + ~DescribeLiveUserDomainsRequest(); + std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); int getPageSize()const; @@ -49,14 +49,12 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getDomainStatus()const; void setDomainStatus(const std::string& domainStatus); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); std::string getLiveDomainType()const; void setLiveDomainType(const std::string& liveDomainType); std::string getDomainSearchType()const; void setDomainSearchType(const std::string& domainSearchType); - - private: + + private: std::string securityToken_; int pageSize_; std::string domainName_; @@ -64,12 +62,11 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string domainStatus_; - std::string accessKeyId_; std::string liveDomainType_; std::string domainSearchType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h index a0795e85d..d886df423 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserDomainsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserDomainsResult : public ServiceResult + { + public: struct PageData { std::string description; @@ -43,26 +43,26 @@ namespace AlibabaCloud std::string gmtCreated; std::string cname; }; - - - DescribeLiveUserDomainsResult(); - explicit DescribeLiveUserDomainsResult(const std::string &payload); - ~DescribeLiveUserDomainsResult(); + + + DescribeLiveUserDomainsResult(); + explicit DescribeLiveUserDomainsResult(const std::string &payload); + ~DescribeLiveUserDomainsResult(); std::vector getDomains()const; long getTotalCount()const; long getPageSize()const; long getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector domains_; long totalCount_; long pageSize_; long pageNumber_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRecordRequest.h b/live/include/alibabacloud/live/model/DescribeRecordRequest.h new file mode 100644 index 000000000..9ae6a5a82 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRecordRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRecordRequest : public RpcServiceRequest + { + + public: + DescribeRecordRequest(); + ~DescribeRecordRequest(); + + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getVersion()const; + void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: + std::string app_ip_; + std::string popProduct_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string callerBid_; + long ownerId_; + std::string proxy_original_source_ip_; + std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + std::string accessKeyId_; + bool security_transport_; + std::string recordId_; + std::string securityToken_; + std::string regionId_; + std::string requestId_; + std::string requestContent_; + std::string appId_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRecordResult.h b/live/include/alibabacloud/live/model/DescribeRecordResult.h new file mode 100644 index 000000000..a3754aa65 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRecordResult.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_DESCRIBERECORDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRecordResult : public ServiceResult + { + public: + + + DescribeRecordResult(); + explicit DescribeRecordResult(const std::string &payload); + ~DescribeRecordResult(); + int getBoardId()const; + std::string getAppId()const; + long getRecordStartTime()const; + long getEndTime()const; + std::string getOssEndpoint()const; + int getState()const; + std::string getOssPath()const; + long getStartTime()const; + std::string getOssBucket()const; + std::string getRecordId()const; + + protected: + void parse(const std::string &payload); + private: + int boardId_; + std::string appId_; + long recordStartTime_; + long endTime_; + std::string ossEndpoint_; + int state_; + std::string ossPath_; + long startTime_; + std::string ossBucket_; + std::string recordId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRecordsRequest.h b/live/include/alibabacloud/live/model/DescribeRecordsRequest.h new file mode 100644 index 000000000..79fc40c01 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeRecordsRequest.h @@ -0,0 +1,120 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRecordsRequest : public RpcServiceRequest + { + + public: + DescribeRecordsRequest(); + ~DescribeRecordsRequest(); + + std::string getRecordState()const; + void setRecordState(const std::string& recordState); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + std::string recordState_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + int pageNum_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + int pageSize_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveMixConfigResult.h b/live/include/alibabacloud/live/model/DescribeRecordsResult.h similarity index 55% rename from live/include/alibabacloud/live/model/DescribeLiveMixConfigResult.h rename to live/include/alibabacloud/live/model/DescribeRecordsResult.h index 087175567..e4ca0ed03 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveMixConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeRecordsResult.h @@ -1,57 +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_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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRecordsResult : public ServiceResult + { + public: + struct Record { - std::string _template; - std::string domainName; - std::string appName; + int boardId; + std::string appId; + long recordStartTime; + long endTime; + std::string ossEndpoint; + int state; + std::string ossPath; + long startTime; + std::string ossBucket; + std::string recordId; }; - - - 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 + + + DescribeRecordsResult(); + explicit DescribeRecordsResult(const std::string &payload); + ~DescribeRecordsResult(); + std::vector getRecords()const; + + protected: + void parse(const std::string &payload); + private: + std::vector records_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBERECORDSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h index da9fe8605..6f5fc9496 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListRequest : public RpcServiceRequest - { - - public: - DescribeRoomKickoutUserListRequest(); - ~DescribeRoomKickoutUserListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListRequest : public RpcServiceRequest + { + + public: + DescribeRoomKickoutUserListRequest(); + ~DescribeRoomKickoutUserListRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -69,8 +69,6 @@ namespace AlibabaCloud void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; void setPopProduct(const std::string& popProduct); - std::string getProduct()const; - void setProduct(const std::string& product); std::string getCallerBid()const; void setCallerBid(const std::string& callerBid); long getOwnerId()const; @@ -89,8 +87,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; @@ -108,7 +106,6 @@ namespace AlibabaCloud std::string order_; std::string app_ip_; std::string popProduct_; - std::string product_; std::string callerBid_; long ownerId_; std::string version_; @@ -118,9 +115,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h index dcd1b78cb..5eb148b80 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h +++ b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h @@ -1,61 +1,61 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListResult : public ServiceResult + { + public: struct User { std::string opStartTime; std::string appUid; std::string opEndTime; }; - - - DescribeRoomKickoutUserListResult(); - explicit DescribeRoomKickoutUserListResult(const std::string &payload); - ~DescribeRoomKickoutUserListResult(); + + + DescribeRoomKickoutUserListResult(); + explicit DescribeRoomKickoutUserListResult(const std::string &payload); + ~DescribeRoomKickoutUserListResult(); int getTotalNum()const; int getTotalPage()const; std::vector getUserList()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalNum_; int totalPage_; std::vector userList_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h index dcd632dc4..8773c60ac 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListRequest : public RpcServiceRequest - { - - public: - DescribeRoomListRequest(); - ~DescribeRoomListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListRequest : public RpcServiceRequest + { + + public: + DescribeRoomListRequest(); + ~DescribeRoomListRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -95,8 +95,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string startTime_; @@ -127,9 +127,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomListResult.h b/live/include/alibabacloud/live/model/DescribeRoomListResult.h index c2cf16381..fdddeec30 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomListResult.h +++ b/live/include/alibabacloud/live/model/DescribeRoomListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListResult : public ServiceResult + { + public: struct Room { int roomStatus; @@ -40,24 +40,24 @@ namespace AlibabaCloud std::string roomId; std::string forbidStream; }; - - - DescribeRoomListResult(); - explicit DescribeRoomListResult(const std::string &payload); - ~DescribeRoomListResult(); + + + DescribeRoomListResult(); + explicit DescribeRoomListResult(const std::string &payload); + ~DescribeRoomListResult(); int getTotalNum()const; int getTotalPage()const; std::vector getRoomList()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalNum_; int totalPage_; std::vector roomList_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h index 8d08ebbe6..a749f30f3 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h @@ -1,117 +1,114 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusRequest : public RpcServiceRequest - { - - public: - DescribeRoomStatusRequest(); - ~DescribeRoomStatusRequest(); - - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusRequest : public RpcServiceRequest + { + + public: + DescribeRoomStatusRequest(); + ~DescribeRoomStatusRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; void setPopProduct(const std::string& popProduct); - std::string getProduct()const; - void setProduct(const std::string& product); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); std::string getCallerBid()const; void setCallerBid(const std::string& callerBid); long getOwnerId()const; void setOwnerId(long ownerId); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); std::string getVersion()const; void setVersion(const std::string& version); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); bool getProxy_trust_transport_info()const; void setProxy_trust_transport_info(bool proxy_trust_transport_info); bool getAk_mfa_present()const; void setAk_mfa_present(bool ak_mfa_present); std::string getRoomId()const; void setRoomId(const std::string& roomId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); bool getSecurity_transport()const; void setSecurity_transport(bool security_transport); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getRequestId()const; void setRequestId(const std::string& requestId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); std::string getAppId()const; void setAppId(const std::string& appId); - - private: - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - std::string accessKeyId_; - std::string securityToken_; - std::string regionId_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + + private: std::string app_ip_; std::string popProduct_; - std::string product_; + long callerParentId_; + bool proxy_original_security_transport_; std::string callerBid_; long ownerId_; + std::string proxy_original_source_ip_; std::string version_; + std::string ownerIdLoginEmail_; + std::string callerType_; bool proxy_trust_transport_info_; bool ak_mfa_present_; std::string roomId_; + std::string accessKeyId_; bool security_transport_; + std::string securityToken_; + std::string regionId_; std::string requestId_; + std::string requestContent_; std::string appId_; - - }; - } - } -} + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeRoomStatusResult.h b/live/include/alibabacloud/live/model/DescribeRoomStatusResult.h index ce029f8bb..f2562fb35 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomStatusResult.h +++ b/live/include/alibabacloud/live/model/DescribeRoomStatusResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusResult : public ServiceResult - { - public: - - - DescribeRoomStatusResult(); - explicit DescribeRoomStatusResult(const std::string &payload); - ~DescribeRoomStatusResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusResult : public ServiceResult + { + public: + + + DescribeRoomStatusResult(); + explicit DescribeRoomStatusResult(const std::string &payload); + ~DescribeRoomStatusResult(); int getRoomStatus()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int roomStatus_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h b/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h index b18507640..01f5b5850 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakDataRequest : public RpcServiceRequest - { - - public: - DescribeUpBpsPeakDataRequest(); - ~DescribeUpBpsPeakDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakDataRequest : public RpcServiceRequest + { + + public: + DescribeUpBpsPeakDataRequest(); + ~DescribeUpBpsPeakDataRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getDomainSwitch()const; void setDomainSwitch(const std::string& domainSwitch); - - private: + + private: std::string regionId_; std::string domainName_; std::string endTime_; std::string startTime_; long ownerId_; std::string domainSwitch_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataResult.h b/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataResult.h index e464980d3..1a6cad029 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakDataResult : public ServiceResult + { + public: struct DescribeUpPeakTraffic { std::string bandWidth; @@ -39,20 +39,20 @@ namespace AlibabaCloud std::string queryTime; std::string statName; }; - - - DescribeUpBpsPeakDataResult(); - explicit DescribeUpBpsPeakDataResult(const std::string &payload); - ~DescribeUpBpsPeakDataResult(); + + + DescribeUpBpsPeakDataResult(); + explicit DescribeUpBpsPeakDataResult(const std::string &payload); + ~DescribeUpBpsPeakDataResult(); std::vector getDescribeUpPeakTraffics()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector describeUpPeakTraffics_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h index 9dfd11b4a..959fc1768 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakOfLineRequest : public RpcServiceRequest - { - - public: - DescribeUpBpsPeakOfLineRequest(); - ~DescribeUpBpsPeakOfLineRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakOfLineRequest : public RpcServiceRequest + { + + public: + DescribeUpBpsPeakOfLineRequest(); + ~DescribeUpBpsPeakOfLineRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getLine()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getDomainSwitch()const; void setDomainSwitch(const std::string& domainSwitch); - - private: + + private: std::string regionId_; std::string line_; std::string domainName_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string startTime_; long ownerId_; std::string domainSwitch_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineResult.h b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineResult.h index 9dc8dafc4..c046e4964 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineResult.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINERESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakOfLineResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakOfLineResult : public ServiceResult + { + public: struct DescribeUpBpsPeakOfLine { float bandWidth; @@ -39,20 +39,20 @@ namespace AlibabaCloud std::string queryTime; std::string statName; }; - - - DescribeUpBpsPeakOfLineResult(); - explicit DescribeUpBpsPeakOfLineResult(const std::string &payload); - ~DescribeUpBpsPeakOfLineResult(); + + + DescribeUpBpsPeakOfLineResult(); + explicit DescribeUpBpsPeakOfLineResult(const std::string &payload); + ~DescribeUpBpsPeakOfLineResult(); std::vector getDescribeUpBpsPeakOfLines()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector describeUpBpsPeakOfLines_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h index 28efd4046..5d37ab05e 100644 --- a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpPeakPublishStreamDataRequest : public RpcServiceRequest - { - - public: - DescribeUpPeakPublishStreamDataRequest(); - ~DescribeUpPeakPublishStreamDataRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeUpPeakPublishStreamDataRequest : public RpcServiceRequest + { + + public: + DescribeUpPeakPublishStreamDataRequest(); + ~DescribeUpPeakPublishStreamDataRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getDomainName()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getDomainSwitch()const; void setDomainSwitch(const std::string& domainSwitch); - - private: + + private: std::string regionId_; std::string domainName_; std::string endTime_; std::string startTime_; long ownerId_; std::string domainSwitch_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataResult.h b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataResult.h index a2761edbe..1199893a5 100644 --- a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataResult.h +++ b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpPeakPublishStreamDataResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeUpPeakPublishStreamDataResult : public ServiceResult + { + public: struct DescribeUpPeakPublishStreamData { std::string bandWidth; @@ -40,20 +40,20 @@ namespace AlibabaCloud int publishStreamNum; std::string statName; }; - - - DescribeUpPeakPublishStreamDataResult(); - explicit DescribeUpPeakPublishStreamDataResult(const std::string &payload); - ~DescribeUpPeakPublishStreamDataResult(); + + + DescribeUpPeakPublishStreamDataResult(); + explicit DescribeUpPeakPublishStreamDataResult(const std::string &payload); + ~DescribeUpPeakPublishStreamDataResult(); std::vector getDescribeUpPeakPublishStreamDatas()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector describeUpPeakPublishStreamDatas_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATARESULT_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 index 17eea3779..bcbb49d69 100644 --- a/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h +++ b/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index d1ba0fba3..f7b8f7cc2 100644 --- a/live/include/alibabacloud/live/model/EffectCasterUrgentResult.h +++ b/live/include/alibabacloud/live/model/EffectCasterUrgentResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index d7d9c336e..f80615ad9 100644 --- a/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setSceneId(const std::string& sceneId); long getOwnerId()const; void setOwnerId(long ownerId); - - private: + + 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 index 7be5bbf02..b6e00952d 100644 --- a/live/include/alibabacloud/live/model/EffectCasterVideoResourceResult.h +++ b/live/include/alibabacloud/live/model/EffectCasterVideoResourceResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 4cca3719d..abb57088f 100644 --- a/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h +++ b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setStreamName(const std::string& streamName); std::string getControlStreamAction()const; void setControlStreamAction(const std::string& controlStreamAction); - - private: + + private: std::string resumeTime_; std::string appName_; std::string regionId_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string oneshot_; std::string streamName_; std::string controlStreamAction_; - - }; - } - } -} + + }; + } + } +} #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 index 182352077..c3f8df3f3 100644 --- a/live/include/alibabacloud/live/model/ForbidLiveStreamResult.h +++ b/live/include/alibabacloud/live/model/ForbidLiveStreamResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/ForbidPushStreamRequest.h b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h index 087a6c05f..2fee0e235 100644 --- a/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h +++ b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamRequest : public RpcServiceRequest - { - - public: - ForbidPushStreamRequest(); - ~ForbidPushStreamRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamRequest : public RpcServiceRequest + { + + public: + ForbidPushStreamRequest(); + ~ForbidPushStreamRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -85,8 +85,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; @@ -112,9 +112,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ForbidPushStreamResult.h b/live/include/alibabacloud/live/model/ForbidPushStreamResult.h index 5930eb98f..4f41a0e28 100644 --- a/live/include/alibabacloud/live/model/ForbidPushStreamResult.h +++ b/live/include/alibabacloud/live/model/ForbidPushStreamResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamResult : public ServiceResult - { - public: - - - ForbidPushStreamResult(); - explicit ForbidPushStreamResult(const std::string &payload); - ~ForbidPushStreamResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamResult : public ServiceResult + { + public: + + + ForbidPushStreamResult(); + explicit ForbidPushStreamResult(const std::string &payload); + ~ForbidPushStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/JoinBoardRequest.h b/live/include/alibabacloud/live/model/JoinBoardRequest.h index c7eb6de97..dbaa63efe 100644 --- a/live/include/alibabacloud/live/model/JoinBoardRequest.h +++ b/live/include/alibabacloud/live/model/JoinBoardRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_JOINBOARDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_JOINBOARDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT JoinBoardRequest : public RpcServiceRequest - { - - public: - JoinBoardRequest(); - ~JoinBoardRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_JOINBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_JOINBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT JoinBoardRequest : public RpcServiceRequest + { + + public: + JoinBoardRequest(); + ~JoinBoardRequest(); + long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -83,8 +83,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; @@ -109,9 +109,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_JOINBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/JoinBoardResult.h b/live/include/alibabacloud/live/model/JoinBoardResult.h index f1858c3a2..d4a6fdc70 100644 --- a/live/include/alibabacloud/live/model/JoinBoardResult.h +++ b/live/include/alibabacloud/live/model/JoinBoardResult.h @@ -1,59 +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_JOINBOARDRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_JOINBOARDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT JoinBoardResult : public ServiceResult - { - public: - - - JoinBoardResult(); - explicit JoinBoardResult(const std::string &payload); - ~JoinBoardResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_JOINBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_JOINBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT JoinBoardResult : public ServiceResult + { + public: + + + JoinBoardResult(); + explicit JoinBoardResult(const std::string &payload); + ~JoinBoardResult(); std::string getBoardId()const; std::string getToken()const; std::string getTopicId()const; std::string getKeepaliveTopic()const; int getKeepaliveInterval()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string boardId_; std::string token_; std::string topicId_; std::string keepaliveTopic_; int keepaliveInterval_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_JOINBOARDRESULT_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 index 1eb5edd9d..65188815e 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getTextLayerContent()const; void setTextLayerContent(const std::string& textLayerContent); - - private: + + private: std::string componentId_; std::string componentType_; std::string imageLayerContent_; @@ -67,9 +67,9 @@ namespace AlibabaCloud 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 index 304f66c93..9bb4daec7 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterComponentResult.h +++ b/live/include/alibabacloud/live/model/ModifyCasterComponentResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 6fc950c3f..570955ffd 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getEpisodeId()const; void setEpisodeId(const std::string& episodeId); - - private: + + private: std::string resourceId_; std::vector componentId_; std::string switchType_; @@ -64,9 +64,9 @@ namespace AlibabaCloud 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 index 64e7f2a78..71aecf48c 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterEpisodeResult.h +++ b/live/include/alibabacloud/live/model/ModifyCasterEpisodeResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index b85a52494..ebbc50aea 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h @@ -1,35 +1,35 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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 - { +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 { int fixedDelayDuration; @@ -45,11 +45,11 @@ namespace AlibabaCloud std::vector positionNormalized; float heightNormalized; }; - - public: - ModifyCasterLayoutRequest(); - ~ModifyCasterLayoutRequest(); - + + public: + ModifyCasterLayoutRequest(); + ~ModifyCasterLayoutRequest(); + std::vector getBlendList()const; void setBlendList(const std::vector& blendList); std::vector getAudioLayer()const; @@ -64,8 +64,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getLayoutId()const; void setLayoutId(const std::string& layoutId); - - private: + + private: std::vector blendList_; std::vector audioLayer_; std::vector videoLayer_; @@ -73,9 +73,9 @@ namespace AlibabaCloud 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 index ceb4d4461..b19e54d5a 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterLayoutResult.h +++ b/live/include/alibabacloud/live/model/ModifyCasterLayoutResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 767997b6a..645b7ab2d 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h @@ -1,35 +1,35 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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 - { +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 resourceId; @@ -41,25 +41,25 @@ namespace AlibabaCloud std::string startTime; std::string episodeId; }; - - public: - ModifyCasterProgramRequest(); - ~ModifyCasterProgramRequest(); - + + 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: + + 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 index 200132968..81a06bf02 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterProgramResult.h +++ b/live/include/alibabacloud/live/model/ModifyCasterProgramResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index a9735d6a9..7802e8613 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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); std::string getVodUrl()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setResourceName(const std::string& resourceName); int getRepeatNum()const; void setRepeatNum(int repeatNum); - - private: + + private: std::string resourceId_; std::string vodUrl_; std::string casterId_; @@ -73,9 +73,9 @@ namespace AlibabaCloud int ptsCallbackInterval_; std::string resourceName_; int repeatNum_; - - }; - } - } -} + + }; + } + } +} #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 index 0f546374f..6fe84a1a1 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceResult.h +++ b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceResult.h @@ -1,53 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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/ModifyLiveDomainSchdmByPropertyRequest.h b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h new file mode 100644 index 000000000..47cae30bb --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyLiveDomainSchdmByPropertyRequest : public RpcServiceRequest + { + + public: + ModifyLiveDomainSchdmByPropertyRequest(); + ~ModifyLiveDomainSchdmByPropertyRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getEagleEyeRpcId()const; + void setEagleEyeRpcId(const std::string& eagleEyeRpcId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getEagleEyeTraceId()const; + void setEagleEyeTraceId(const std::string& eagleEyeTraceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getProperty()const; + void setProperty(const std::string& property); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getEagleEyeUserData()const; + void setEagleEyeUserData(const std::string& eagleEyeUserData); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string eagleEyeRpcId_; + std::string accessKeyId_; + std::string eagleEyeTraceId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string property_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string domainName_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string serviceCode_; + std::string requestId_; + std::string eagleEyeUserData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyResult.h b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyResult.h new file mode 100644 index 000000000..d095dc978 --- /dev/null +++ b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyResult.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_MODIFYLIVEDOMAINSCHDMBYPROPERTYRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ModifyLiveDomainSchdmByPropertyResult : public ServiceResult + { + public: + + + ModifyLiveDomainSchdmByPropertyResult(); + explicit ModifyLiveDomainSchdmByPropertyResult(const std::string &payload); + ~ModifyLiveDomainSchdmByPropertyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYRESULT_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 index c352d5c57..804d6fdba 100644 --- a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h +++ b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setCommand(const std::string& command); std::string getStreamName()const; void setStreamName(const std::string& streamName); - - private: + + private: std::string appName_; std::string regionId_; 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 index 19662a20f..f558173ea 100644 --- a/live/include/alibabacloud/live/model/RealTimeRecordCommandResult.h +++ b/live/include/alibabacloud/live/model/RealTimeRecordCommandResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/StartMultipleStreamMixServiceRequest.h b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h similarity index 61% rename from live/include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h rename to live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h index 3fa1acc3d..67b3e4683 100644 --- a/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h +++ b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h @@ -1,66 +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_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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT RealTimeSnapshotCommandRequest : public RpcServiceRequest + { + + public: + RealTimeSnapshotCommandRequest(); + ~RealTimeSnapshotCommandRequest(); + + int getMode()const; + void setMode(int mode); std::string getAppName()const; void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getDomainName()const; void setDomainName(const std::string& domainName); - std::string getMixTemplate()const; - void setMixTemplate(const std::string& mixTemplate); + int getInterval()const; + void setInterval(int interval); 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); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: + int mode_; std::string appName_; - std::string securityToken_; + std::string regionId_; std::string domainName_; - std::string mixTemplate_; + int interval_; long ownerId_; + std::string command_; std::string streamName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STARTMULTIPLESTREAMMIXSERVICEREQUEST_H_ \ No newline at end of file + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.h b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandResult.h similarity index 66% rename from live/include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.h rename to live/include/alibabacloud/live/model/RealTimeSnapshotCommandResult.h index 6a4ff6360..a0ee19c74 100644 --- a/live/include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.h +++ b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandResult.h @@ -1,49 +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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT RealTimeSnapshotCommandResult : public ServiceResult + { + public: + + + RealTimeSnapshotCommandResult(); + explicit RealTimeSnapshotCommandResult(const std::string &payload); + ~RealTimeSnapshotCommandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDRESULT_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 deleted file mode 100644 index ab5195291..000000000 --- a/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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 index f24ea2232..50837b73f 100644 --- a/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h +++ b/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,20 +47,17 @@ namespace AlibabaCloud 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: + + 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 index b0f175fc3..71874ec6d 100644 --- a/live/include/alibabacloud/live/model/ResumeLiveStreamResult.h +++ b/live/include/alibabacloud/live/model/ResumeLiveStreamResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/SendRoomNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h index f7164f67d..734081844 100644 --- a/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h +++ b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SendRoomNotificationRequest : public RpcServiceRequest - { - - public: - SendRoomNotificationRequest(); - ~SendRoomNotificationRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SendRoomNotificationRequest : public RpcServiceRequest + { + + public: + SendRoomNotificationRequest(); + ~SendRoomNotificationRequest(); + std::string getData()const; void setData(const std::string& data); long getCallerParentId()const; @@ -87,8 +87,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: std::string data_; long callerParentId_; bool proxy_original_security_transport_; @@ -115,9 +115,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendRoomNotificationResult.h b/live/include/alibabacloud/live/model/SendRoomNotificationResult.h index 478236d5a..31fc85c2d 100644 --- a/live/include/alibabacloud/live/model/SendRoomNotificationResult.h +++ b/live/include/alibabacloud/live/model/SendRoomNotificationResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SendRoomNotificationResult : public ServiceResult - { - public: - - - SendRoomNotificationResult(); - explicit SendRoomNotificationResult(const std::string &payload); - ~SendRoomNotificationResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SendRoomNotificationResult : public ServiceResult + { + public: + + + SendRoomNotificationResult(); + explicit SendRoomNotificationResult(const std::string &payload); + ~SendRoomNotificationResult(); std::string getMessageId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string messageId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h index 2a84114c6..cfbb69791 100644 --- a/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h +++ b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SendRoomUserNotificationRequest : public RpcServiceRequest - { - - public: - SendRoomUserNotificationRequest(); - ~SendRoomUserNotificationRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SendRoomUserNotificationRequest : public RpcServiceRequest + { + + public: + SendRoomUserNotificationRequest(); + ~SendRoomUserNotificationRequest(); + std::string getData()const; void setData(const std::string& data); long getCallerParentId()const; @@ -67,8 +67,6 @@ namespace AlibabaCloud void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; void setPopProduct(const std::string& popProduct); - std::string getProduct()const; - void setProduct(const std::string& product); std::string getAppUid()const; void setAppUid(const std::string& appUid); std::string getCallerBid()const; @@ -91,8 +89,8 @@ namespace AlibabaCloud void setRequestId(const std::string& requestId); std::string getAppId()const; void setAppId(const std::string& appId); - - private: + + private: std::string data_; long callerParentId_; bool proxy_original_security_transport_; @@ -109,7 +107,6 @@ namespace AlibabaCloud long callerUid_; std::string app_ip_; std::string popProduct_; - std::string product_; std::string appUid_; std::string callerBid_; long ownerId_; @@ -121,9 +118,9 @@ namespace AlibabaCloud bool security_transport_; std::string requestId_; std::string appId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h b/live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h index af170fdc2..7cad31363 100644 --- a/live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h +++ b/live/include/alibabacloud/live/model/SendRoomUserNotificationResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SendRoomUserNotificationResult : public ServiceResult - { - public: - - - SendRoomUserNotificationResult(); - explicit SendRoomUserNotificationResult(const std::string &payload); - ~SendRoomUserNotificationResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SendRoomUserNotificationResult : public ServiceResult + { + public: + + + SendRoomUserNotificationResult(); + explicit SendRoomUserNotificationResult(const std::string &payload); + ~SendRoomUserNotificationResult(); std::string getMessageId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string messageId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetBoardCallbackRequest.h b/live/include/alibabacloud/live/model/SetBoardCallbackRequest.h new file mode 100644 index 000000000..fcac16a04 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetBoardCallbackRequest.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETBOARDCALLBACKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETBOARDCALLBACKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetBoardCallbackRequest : public RpcServiceRequest + { + + public: + SetBoardCallbackRequest(); + ~SetBoardCallbackRequest(); + + std::string getAuthKey()const; + void setAuthKey(const std::string& authKey); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getCallbackEnable()const; + void setCallbackEnable(int callbackEnable); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getCallbackEvents()const; + void setCallbackEvents(const std::string& callbackEvents); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getCallbackUri()const; + void setCallbackUri(const std::string& callbackUri); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getAuthSwitch()const; + void setAuthSwitch(const std::string& authSwitch); + + private: + std::string authKey_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + int callbackEnable_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string callbackEvents_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string callbackUri_; + std::string appId_; + std::string authSwitch_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETBOARDCALLBACKREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveMixConfigResult.h b/live/include/alibabacloud/live/model/SetBoardCallbackResult.h similarity index 69% rename from live/include/alibabacloud/live/model/AddLiveMixConfigResult.h rename to live/include/alibabacloud/live/model/SetBoardCallbackResult.h index f9834afde..7f161a104 100644 --- a/live/include/alibabacloud/live/model/AddLiveMixConfigResult.h +++ b/live/include/alibabacloud/live/model/SetBoardCallbackResult.h @@ -1,49 +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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETBOARDCALLBACKRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETBOARDCALLBACKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetBoardCallbackResult : public ServiceResult + { + public: + + + SetBoardCallbackResult(); + explicit SetBoardCallbackResult(const std::string &payload); + ~SetBoardCallbackResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETBOARDCALLBACKRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterChannelRequest.h b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h index 893ce1137..274aa29db 100644 --- a/live/include/alibabacloud/live/model/SetCasterChannelRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelRequest : public RpcServiceRequest - { - - public: - SetCasterChannelRequest(); - ~SetCasterChannelRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelRequest : public RpcServiceRequest + { + + public: + SetCasterChannelRequest(); + ~SetCasterChannelRequest(); + std::string getResourceId()const; void setResourceId(const std::string& resourceId); int getPlayStatus()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setSeekOffset(int seekOffset); std::string getChannelId()const; void setChannelId(const std::string& channelId); - - private: + + private: std::string resourceId_; int playStatus_; std::string regionId_; @@ -58,9 +58,9 @@ namespace AlibabaCloud long ownerId_; int seekOffset_; std::string channelId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterChannelResult.h b/live/include/alibabacloud/live/model/SetCasterChannelResult.h index a2301fbdd..406858cc0 100644 --- a/live/include/alibabacloud/live/model/SetCasterChannelResult.h +++ b/live/include/alibabacloud/live/model/SetCasterChannelResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelResult : public ServiceResult - { - public: - - - SetCasterChannelResult(); - explicit SetCasterChannelResult(const std::string &payload); - ~SetCasterChannelResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelResult : public ServiceResult + { + public: + + + SetCasterChannelResult(); + explicit SetCasterChannelResult(const std::string &payload); + ~SetCasterChannelResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h index 8662c093c..8ff8886ef 100644 --- a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -63,8 +63,8 @@ namespace AlibabaCloud void setCasterName(const std::string& casterName); std::string getCallbackUrl()const; void setCallbackUrl(const std::string& callbackUrl); - - private: + + private: std::string sideOutputUrl_; std::string casterId_; int channelEnable_; @@ -79,9 +79,9 @@ namespace AlibabaCloud std::string regionId_; 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 index 4c4edac38..ceb2a5afb 100644 --- a/live/include/alibabacloud/live/model/SetCasterConfigResult.h +++ b/live/include/alibabacloud/live/model/SetCasterConfigResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index ac3d345b9..067b79762 100644 --- a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getLayoutId()const; void setLayoutId(const std::string& layoutId); - - private: + + private: std::vector componentId_; std::string regionId_; 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 index 5a7d26e45..0302f1c21 100644 --- a/live/include/alibabacloud/live/model/SetCasterSceneConfigResult.h +++ b/live/include/alibabacloud/live/model/SetCasterSceneConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/SetLiveDomainCertificateRequest.h b/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h index e8bab7603..0d368080d 100644 --- a/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainCertificateRequest : public RpcServiceRequest - { - - public: - SetLiveDomainCertificateRequest(); - ~SetLiveDomainCertificateRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainCertificateRequest : public RpcServiceRequest + { + + public: + SetLiveDomainCertificateRequest(); + ~SetLiveDomainCertificateRequest(); + std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); std::string getSSLPub()const; @@ -47,23 +47,20 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); std::string getSSLPri()const; void setSSLPri(const std::string& sSLPri); - - private: + + private: std::string securityToken_; std::string sSLPub_; std::string certName_; std::string sSLProtocol_; std::string domainName_; long ownerId_; - std::string accessKeyId_; std::string sSLPri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveDomainCertificateResult.h b/live/include/alibabacloud/live/model/SetLiveDomainCertificateResult.h index 575891582..ced1e4d9c 100644 --- a/live/include/alibabacloud/live/model/SetLiveDomainCertificateResult.h +++ b/live/include/alibabacloud/live/model/SetLiveDomainCertificateResult.h @@ -1,49 +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_SETLIVEDOMAINCERTIFICATERESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainCertificateResult : public ServiceResult - { - public: - - - SetLiveDomainCertificateResult(); - explicit SetLiveDomainCertificateResult(const std::string &payload); - ~SetLiveDomainCertificateResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainCertificateResult : public ServiceResult + { + public: + + + SetLiveDomainCertificateResult(); + explicit SetLiveDomainCertificateResult(const std::string &payload); + ~SetLiveDomainCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h index 4a8fe2431..45faab4d2 100644 --- a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h @@ -1,40 +1,42 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest - { - - public: - SetLiveLazyPullStreamInfoConfigRequest(); - ~SetLiveLazyPullStreamInfoConfigRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + SetLiveLazyPullStreamInfoConfigRequest(); + ~SetLiveLazyPullStreamInfoConfigRequest(); + + std::string getPullArgs()const; + void setPullArgs(const std::string& pullArgs); long getCallerParentId()const; void setCallerParentId(long callerParentId); bool getProxy_original_security_transport()const; @@ -45,8 +47,12 @@ namespace AlibabaCloud void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); std::string getCallerType()const; void setCallerType(const std::string& callerType); + std::string getEagleEyeRpcId()const; + void setEagleEyeRpcId(const std::string& eagleEyeRpcId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getEagleEyeTraceId()const; + void setEagleEyeTraceId(const std::string& eagleEyeTraceId); std::string getAppName()const; void setAppName(const std::string& appName); std::string getSecurityToken()const; @@ -87,18 +93,25 @@ namespace AlibabaCloud void setSecurity_transport(bool security_transport); std::string getPullAppName()const; void setPullAppName(const std::string& pullAppName); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); std::string getRequestId()const; void setRequestId(const std::string& requestId); + std::string getEagleEyeUserData()const; + void setEagleEyeUserData(const std::string& eagleEyeUserData); std::string getPullProtocol()const; void setPullProtocol(const std::string& pullProtocol); - - private: + + private: + std::string pullArgs_; long callerParentId_; bool proxy_original_security_transport_; std::string proxy_original_source_ip_; std::string ownerIdLoginEmail_; std::string callerType_; + std::string eagleEyeRpcId_; std::string accessKeyId_; + std::string eagleEyeTraceId_; std::string appName_; std::string securityToken_; std::string regionId_; @@ -119,11 +132,13 @@ namespace AlibabaCloud bool ak_mfa_present_; bool security_transport_; std::string pullAppName_; + std::string serviceCode_; std::string requestId_; + std::string eagleEyeUserData_; std::string pullProtocol_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h index 22b854031..279f6f336 100644 --- a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h +++ b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigResult : public ServiceResult - { - public: - - - SetLiveLazyPullStreamInfoConfigResult(); - explicit SetLiveLazyPullStreamInfoConfigResult(const std::string &payload); - ~SetLiveLazyPullStreamInfoConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigResult : public ServiceResult + { + public: + + + SetLiveLazyPullStreamInfoConfigResult(); + explicit SetLiveLazyPullStreamInfoConfigResult(const std::string &payload); + ~SetLiveLazyPullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h new file mode 100644 index 000000000..538547a08 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamDelayConfigRequest : public RpcServiceRequest + { + + public: + SetLiveStreamDelayConfigRequest(); + ~SetLiveStreamDelayConfigRequest(); + + std::string getFlvLevel()const; + void setFlvLevel(const std::string& flvLevel); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getHlsLevel()const; + void setHlsLevel(const std::string& hlsLevel); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + int getRtmpDelay()const; + void setRtmpDelay(int rtmpDelay); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + int getFlvDelay()const; + void setFlvDelay(int flvDelay); + std::string getRtmpLevel()const; + void setRtmpLevel(const std::string& rtmpLevel); + int getHlsDelay()const; + void setHlsDelay(int hlsDelay); + + private: + std::string flvLevel_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string hlsLevel_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + int rtmpDelay_; + std::string domainName_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + int flvDelay_; + std::string rtmpLevel_; + int hlsDelay_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveSpecificConfigResult.h b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigResult.h similarity index 68% rename from live/include/alibabacloud/live/model/DeleteLiveSpecificConfigResult.h rename to live/include/alibabacloud/live/model/SetLiveStreamDelayConfigResult.h index fd56bf829..9684ce2f8 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveSpecificConfigResult.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigResult.h @@ -1,49 +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_DELETELIVESPECIFICCONFIGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSpecificConfigResult : public ServiceResult - { - public: - - - DeleteLiveSpecificConfigResult(); - explicit DeleteLiveSpecificConfigResult(const std::string &payload); - ~DeleteLiveSpecificConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICCONFIGRESULT_H_ \ No newline at end of file +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamDelayConfigResult : public ServiceResult + { + public: + + + SetLiveStreamDelayConfigResult(); + explicit SetLiveStreamDelayConfigResult(const std::string &payload); + ~SetLiveStreamDelayConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h new file mode 100644 index 000000000..e85e6255f --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h @@ -0,0 +1,132 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamOptimizedFeatureConfigRequest : public RpcServiceRequest + { + + public: + SetLiveStreamOptimizedFeatureConfigRequest(); + ~SetLiveStreamOptimizedFeatureConfigRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getEagleEyeRpcId()const; + void setEagleEyeRpcId(const std::string& eagleEyeRpcId); + std::string getConfigStatus()const; + void setConfigStatus(const std::string& configStatus); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getEagleEyeTraceId()const; + void setEagleEyeTraceId(const std::string& eagleEyeTraceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getConfigName()const; + void setConfigName(const std::string& configName); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getConfigValue()const; + void setConfigValue(const std::string& configValue); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getEagleEyeUserData()const; + void setEagleEyeUserData(const std::string& eagleEyeUserData); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string eagleEyeRpcId_; + std::string configStatus_; + std::string accessKeyId_; + std::string eagleEyeTraceId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string configName_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string domainName_; + std::string configValue_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string serviceCode_; + std::string requestId_; + std::string eagleEyeUserData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigResult.h b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigResult.h new file mode 100644 index 000000000..ef4e12468 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigResult.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_SETLIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamOptimizedFeatureConfigResult : public ServiceResult + { + public: + + + SetLiveStreamOptimizedFeatureConfigResult(); + explicit SetLiveStreamOptimizedFeatureConfigResult(const std::string &payload); + ~SetLiveStreamOptimizedFeatureConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_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 index 8e953d193..9832805aa 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getAuthKey()const; void setAuthKey(const std::string& authKey); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAuthType()const; void setAuthType(const std::string& authType); - - private: + + private: std::string authKey_; std::string regionId_; std::string domainName_; std::string notifyUrl_; long ownerId_; std::string authType_; - - }; - } - } -} + + }; + } + } +} #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 index f7d85c39b..2a81abfce 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/StartBoardRecordRequest.h b/live/include/alibabacloud/live/model/StartBoardRecordRequest.h new file mode 100644 index 000000000..8591e4f31 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartBoardRecordRequest.h @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTBOARDRECORDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTBOARDRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartBoardRecordRequest : public RpcServiceRequest + { + + public: + StartBoardRecordRequest(); + ~StartBoardRecordRequest(); + + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getBoardId()const; + void setBoardId(const std::string& boardId); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + long callerParentId_; + bool proxy_original_security_transport_; + std::string startTime_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string boardId_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTBOARDRECORDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h b/live/include/alibabacloud/live/model/StartBoardRecordResult.h similarity index 65% rename from live/include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h rename to live/include/alibabacloud/live/model/StartBoardRecordResult.h index 5725343ee..b38560250 100644 --- a/live/include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/StartBoardRecordResult.h @@ -1,49 +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_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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTBOARDRECORDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTBOARDRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartBoardRecordResult : public ServiceResult + { + public: + + + StartBoardRecordResult(); + explicit StartBoardRecordResult(const std::string &payload); + ~StartBoardRecordResult(); + std::string getRecordId()const; + + protected: + void parse(const std::string &payload); + private: + std::string recordId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTBOARDRECORDRESULT_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 index e248af30f..1e6a35f14 100644 --- a/live/include/alibabacloud/live/model/StartCasterRequest.h +++ b/live/include/alibabacloud/live/model/StartCasterRequest.h @@ -1,51 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 018b8fbd0..27b0bded2 100644 --- a/live/include/alibabacloud/live/model/StartCasterResult.h +++ b/live/include/alibabacloud/live/model/StartCasterResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -49,22 +49,22 @@ namespace AlibabaCloud std::vector streamInfos; std::string streamUrl; }; - - - StartCasterResult(); - explicit StartCasterResult(const std::string &payload); - ~StartCasterResult(); + + + StartCasterResult(); + explicit StartCasterResult(const std::string &payload); + ~StartCasterResult(); std::vector getPvwSceneInfos()const; std::vector getPgmSceneInfos()const; - - protected: - void parse(const std::string &payload); - private: + + 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 index 6bfd9a352..3d016271f 100644 --- a/live/include/alibabacloud/live/model/StartCasterSceneRequest.h +++ b/live/include/alibabacloud/live/model/StartCasterSceneRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index e48cbb5af..709e20ae7 100644 --- a/live/include/alibabacloud/live/model/StartCasterSceneResult.h +++ b/live/include/alibabacloud/live/model/StartCasterSceneResult.h @@ -1,51 +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(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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/StartLiveDomainRequest.h b/live/include/alibabacloud/live/model/StartLiveDomainRequest.h index 522c0ec22..0f21de3f0 100644 --- a/live/include/alibabacloud/live/model/StartLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/StartLiveDomainRequest.h @@ -1,57 +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_STARTLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StartLiveDomainRequest : public RpcServiceRequest - { - - public: - StartLiveDomainRequest(); - ~StartLiveDomainRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartLiveDomainRequest : public RpcServiceRequest + { + + public: + StartLiveDomainRequest(); + ~StartLiveDomainRequest(); + 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: + + private: std::string securityToken_; std::string domainName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartLiveDomainResult.h b/live/include/alibabacloud/live/model/StartLiveDomainResult.h index 659e9e2f4..eb9ee4ded 100644 --- a/live/include/alibabacloud/live/model/StartLiveDomainResult.h +++ b/live/include/alibabacloud/live/model/StartLiveDomainResult.h @@ -1,49 +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_STARTLIVEDOMAINRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StartLiveDomainResult : public ServiceResult - { - public: - - - StartLiveDomainResult(); - explicit StartLiveDomainResult(const std::string &payload); - ~StartLiveDomainResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartLiveDomainResult : public ServiceResult + { + public: + + + StartLiveDomainResult(); + explicit StartLiveDomainResult(const std::string &payload); + ~StartLiveDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.h b/live/include/alibabacloud/live/model/StartLiveIndexRequest.h similarity index 50% rename from live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.h rename to live/include/alibabacloud/live/model/StartLiveIndexRequest.h index 165485bd8..45ba14d8a 100644 --- a/live/include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.h +++ b/live/include/alibabacloud/live/model/StartLiveIndexRequest.h @@ -1,72 +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_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); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartLiveIndexRequest : public RpcServiceRequest + { + + public: + StartLiveIndexRequest(); + ~StartLiveIndexRequest(); + + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + std::string getTokenId()const; + void setTokenId(const std::string& tokenId); 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); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + std::string getInputUrl()const; + void setInputUrl(const std::string& inputUrl); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getMixAppName()const; - void setMixAppName(const std::string& mixAppName); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getInterval()const; + void setInterval(int interval); + std::string getOssRamRole()const; + void setOssRamRole(const std::string& ossRamRole); 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 getOssUserId()const; + void setOssUserId(const std::string& ossUserId); + + private: + std::string ossBucket_; + std::string tokenId_; std::string domainName_; - std::string mixStreamName_; - std::string mixDomainName_; + std::string ossEndpoint_; + std::string inputUrl_; long ownerId_; - std::string mixAppName_; + std::string appName_; + std::string regionId_; + int interval_; + std::string ossRamRole_; std::string streamName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICEREQUEST_H_ \ No newline at end of file + std::string ossUserId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/StartLiveIndexResult.h similarity index 66% rename from live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h rename to live/include/alibabacloud/live/model/StartLiveIndexResult.h index 66805398c..2f64f495b 100644 --- a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h +++ b/live/include/alibabacloud/live/model/StartLiveIndexResult.h @@ -1,49 +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_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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartLiveIndexResult : public ServiceResult + { + public: + + + StartLiveIndexResult(); + explicit StartLiveIndexResult(const std::string &payload); + ~StartLiveIndexResult(); + std::string getTaskId()const; + + protected: + void parse(const std::string &payload); + private: + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXRESULT_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 deleted file mode 100644 index 036ee1f57..000000000 --- a/live/include/alibabacloud/live/model/StartMixStreamsServiceRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/StartMultipleStreamMixServiceResult.h b/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceResult.h deleted file mode 100644 index 2e37cefe6..000000000 --- a/live/include/alibabacloud/live/model/StartMultipleStreamMixServiceResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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 index 133fa28ee..31c824562 100644 --- a/live/include/alibabacloud/live/model/StopCasterRequest.h +++ b/live/include/alibabacloud/live/model/StopCasterRequest.h @@ -1,51 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 7cca257b1..7f15feec7 100644 --- a/live/include/alibabacloud/live/model/StopCasterResult.h +++ b/live/include/alibabacloud/live/model/StopCasterResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 837997014..4e065656e 100644 --- a/live/include/alibabacloud/live/model/StopCasterSceneRequest.h +++ b/live/include/alibabacloud/live/model/StopCasterSceneRequest.h @@ -1,54 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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: + + 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 index 5087f8e19..8a581f043 100644 --- a/live/include/alibabacloud/live/model/StopCasterSceneResult.h +++ b/live/include/alibabacloud/live/model/StopCasterSceneResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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/StopLiveDomainRequest.h b/live/include/alibabacloud/live/model/StopLiveDomainRequest.h index 3b61746df..f7af805a6 100644 --- a/live/include/alibabacloud/live/model/StopLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/StopLiveDomainRequest.h @@ -1,57 +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_STOPLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StopLiveDomainRequest : public RpcServiceRequest - { - - public: - StopLiveDomainRequest(); - ~StopLiveDomainRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopLiveDomainRequest : public RpcServiceRequest + { + + public: + StopLiveDomainRequest(); + ~StopLiveDomainRequest(); + 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: + + private: std::string securityToken_; std::string domainName_; long ownerId_; - std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopLiveDomainResult.h b/live/include/alibabacloud/live/model/StopLiveDomainResult.h index 7be51b836..68cbcdab2 100644 --- a/live/include/alibabacloud/live/model/StopLiveDomainResult.h +++ b/live/include/alibabacloud/live/model/StopLiveDomainResult.h @@ -1,49 +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_STOPLIVEDOMAINRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StopLiveDomainResult : public ServiceResult - { - public: - - - StopLiveDomainResult(); - explicit StopLiveDomainResult(const std::string &payload); - ~StopLiveDomainResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopLiveDomainResult : public ServiceResult + { + public: + + + StopLiveDomainResult(); + explicit StopLiveDomainResult(const std::string &payload); + ~StopLiveDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.h b/live/include/alibabacloud/live/model/StopLiveIndexRequest.h similarity index 66% rename from live/include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.h rename to live/include/alibabacloud/live/model/StopLiveIndexRequest.h index 7d277113b..bb7c98867 100644 --- a/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.h +++ b/live/include/alibabacloud/live/model/StopLiveIndexRequest.h @@ -1,63 +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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopLiveIndexRequest : public RpcServiceRequest + { + + public: + StopLiveIndexRequest(); + ~StopLiveIndexRequest(); + std::string getAppName()const; void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string 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 getTaskId()const; + void setTaskId(const std::string& taskId); + + private: std::string appName_; - std::string securityToken_; + std::string regionId_; std::string domainName_; long ownerId_; std::string streamName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STOPMULTIPLESTREAMMIXSERVICEREQUEST_H_ \ No newline at end of file + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixConfigResult.h b/live/include/alibabacloud/live/model/StopLiveIndexResult.h similarity index 69% rename from live/include/alibabacloud/live/model/DeleteLiveMixConfigResult.h rename to live/include/alibabacloud/live/model/StopLiveIndexResult.h index ecccdb5c5..0324c18ae 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveMixConfigResult.h +++ b/live/include/alibabacloud/live/model/StopLiveIndexResult.h @@ -1,49 +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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopLiveIndexResult : public ServiceResult + { + public: + + + StopLiveIndexResult(); + explicit StopLiveIndexResult(const std::string &payload); + ~StopLiveIndexResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXRESULT_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 deleted file mode 100644 index c722175ed..000000000 --- a/live/include/alibabacloud/live/model/StopMixStreamsServiceRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index f5727ca7e..000000000 --- a/live/include/alibabacloud/live/model/StopMixStreamsServiceResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/StopMultipleStreamMixServiceResult.h b/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceResult.h deleted file mode 100644 index 9260373fd..000000000 --- a/live/include/alibabacloud/live/model/StopMultipleStreamMixServiceResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/UpdateBoardCallbackRequest.h b/live/include/alibabacloud/live/model/UpdateBoardCallbackRequest.h new file mode 100644 index 000000000..9d4430dae --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateBoardCallbackRequest.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDCALLBACKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDCALLBACKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateBoardCallbackRequest : public RpcServiceRequest + { + + public: + UpdateBoardCallbackRequest(); + ~UpdateBoardCallbackRequest(); + + std::string getAuthKey()const; + void setAuthKey(const std::string& authKey); + long getCallerParentId()const; + void setCallerParentId(long callerParentId); + bool getProxy_original_security_transport()const; + void setProxy_original_security_transport(bool proxy_original_security_transport); + std::string getProxy_original_source_ip()const; + void setProxy_original_source_ip(const std::string& proxy_original_source_ip); + std::string getOwnerIdLoginEmail()const; + void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); + std::string getCallerType()const; + void setCallerType(const std::string& callerType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getCallbackEnable()const; + void setCallbackEnable(int callbackEnable); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRequestContent()const; + void setRequestContent(const std::string& requestContent); + std::string getCallerBidEmail()const; + void setCallerBidEmail(const std::string& callerBidEmail); + std::string getCallerUidEmail()const; + void setCallerUidEmail(const std::string& callerUidEmail); + long getCallerUid()const; + void setCallerUid(long callerUid); + std::string getApp_ip()const; + void setApp_ip(const std::string& app_ip); + std::string getPopProduct()const; + void setPopProduct(const std::string& popProduct); + std::string getCallbackEvents()const; + void setCallbackEvents(const std::string& callbackEvents); + std::string getCallerBid()const; + void setCallerBid(const std::string& callerBid); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getVersion()const; + void setVersion(const std::string& version); + bool getProxy_trust_transport_info()const; + void setProxy_trust_transport_info(bool proxy_trust_transport_info); + bool getAk_mfa_present()const; + void setAk_mfa_present(bool ak_mfa_present); + bool getSecurity_transport()const; + void setSecurity_transport(bool security_transport); + std::string getRequestId()const; + void setRequestId(const std::string& requestId); + std::string getCallbackUri()const; + void setCallbackUri(const std::string& callbackUri); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getAuthSwitch()const; + void setAuthSwitch(const std::string& authSwitch); + + private: + std::string authKey_; + long callerParentId_; + bool proxy_original_security_transport_; + std::string proxy_original_source_ip_; + std::string ownerIdLoginEmail_; + std::string callerType_; + std::string accessKeyId_; + int callbackEnable_; + std::string securityToken_; + std::string regionId_; + std::string requestContent_; + std::string callerBidEmail_; + std::string callerUidEmail_; + long callerUid_; + std::string app_ip_; + std::string popProduct_; + std::string callbackEvents_; + std::string callerBid_; + long ownerId_; + std::string version_; + bool proxy_trust_transport_info_; + bool ak_mfa_present_; + bool security_transport_; + std::string requestId_; + std::string callbackUri_; + std::string appId_; + std::string authSwitch_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDCALLBACKREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.h b/live/include/alibabacloud/live/model/UpdateBoardCallbackResult.h similarity index 67% rename from live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.h rename to live/include/alibabacloud/live/model/UpdateBoardCallbackResult.h index 1dff56eb2..668b842d1 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/UpdateBoardCallbackResult.h @@ -1,49 +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 +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDCALLBACKRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDCALLBACKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateBoardCallbackResult : public ServiceResult + { + public: + + + UpdateBoardCallbackResult(); + explicit UpdateBoardCallbackResult(const std::string &payload); + ~UpdateBoardCallbackResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDCALLBACKRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateBoardRequest.h b/live/include/alibabacloud/live/model/UpdateBoardRequest.h index 60db72566..3f9e852e1 100644 --- a/live/include/alibabacloud/live/model/UpdateBoardRequest.h +++ b/live/include/alibabacloud/live/model/UpdateBoardRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateBoardRequest : public RpcServiceRequest - { - - public: - UpdateBoardRequest(); - ~UpdateBoardRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateBoardRequest : public RpcServiceRequest + { + + public: + UpdateBoardRequest(); + ~UpdateBoardRequest(); + std::string getApp_ip()const; void setApp_ip(const std::string& app_ip); std::string getPopProduct()const; @@ -81,8 +81,8 @@ namespace AlibabaCloud void setCallerUidEmail(const std::string& callerUidEmail); long getCallerUid()const; void setCallerUid(long callerUid); - - private: + + private: std::string app_ip_; std::string popProduct_; long callerParentId_; @@ -106,9 +106,9 @@ namespace AlibabaCloud std::string boardData_; std::string callerUidEmail_; long callerUid_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateBoardResult.h b/live/include/alibabacloud/live/model/UpdateBoardResult.h index 7ff6e432d..9ddaae7d3 100644 --- a/live/include/alibabacloud/live/model/UpdateBoardResult.h +++ b/live/include/alibabacloud/live/model/UpdateBoardResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateBoardResult : public ServiceResult - { - public: - - - UpdateBoardResult(); - explicit UpdateBoardResult(const std::string &payload); - ~UpdateBoardResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateBoardResult : public ServiceResult + { + public: + + + UpdateBoardResult(); + explicit UpdateBoardResult(const std::string &payload); + ~UpdateBoardResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEBOARDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h index 11c9b5f04..1461d4eae 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h @@ -1,46 +1,46 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioRequest : public RpcServiceRequest - { +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioRequest : public RpcServiceRequest + { struct AudioLayer { int fixedDelayDuration; float volumeRate; std::string validChannel; }; - - public: - UpdateCasterSceneAudioRequest(); - ~UpdateCasterSceneAudioRequest(); - + + public: + UpdateCasterSceneAudioRequest(); + ~UpdateCasterSceneAudioRequest(); + std::vector getAudioLayer()const; void setAudioLayer(const std::vector& audioLayer); std::string getRegionId()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); int getFollowEnable()const; void setFollowEnable(int followEnable); - - private: + + private: std::vector audioLayer_; std::string regionId_; std::string casterId_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::vector mixList_; long ownerId_; int followEnable_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h index 06caffa9f..9b2cd27da 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioResult : public ServiceResult - { - public: - - - UpdateCasterSceneAudioResult(); - explicit UpdateCasterSceneAudioResult(const std::string &payload); - ~UpdateCasterSceneAudioResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioResult : public ServiceResult + { + public: + + + UpdateCasterSceneAudioResult(); + explicit UpdateCasterSceneAudioResult(const std::string &payload); + ~UpdateCasterSceneAudioResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h index f62e3ce53..7c87bace7 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getLayoutId()const; void setLayoutId(const std::string& layoutId); - - private: + + private: std::vector componentId_; std::string regionId_; 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 index b1f804de3..1b3946d40 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigResult.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 8f0d4cfb8..20e973ea0 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -53,10 +53,8 @@ namespace AlibabaCloud void setOverwriteOssObject(const std::string& overwriteOssObject); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int timeInterval_; std::string ossBucket_; std::string appName_; @@ -66,10 +64,9 @@ namespace AlibabaCloud 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 index 50dbb22d8..350074d33 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigResult.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 2a0bb33af..210a23a61 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -43,18 +43,15 @@ namespace AlibabaCloud void setNotifyUrl(const std::string& notifyUrl); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index 4df104e0c..5a7871ccc 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 deleted file mode 100644 index aca3a127c..000000000 --- a/live/include/alibabacloud/live/model/UpdateLiveMixNotifyConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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/UpdateLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h index ff97a9beb..4a522e9b5 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -47,20 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); bool getNeedStatusNotify()const; void setNeedStatusNotify(bool needStatusNotify); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: + + 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 index b95f03ad1..d8d9ea0bf 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index d945eaf21..58e77bb2b 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF 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(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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; @@ -51,12 +51,10 @@ namespace AlibabaCloud 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: + + private: std::string ossBucket_; std::string appName_; std::string securityToken_; @@ -65,11 +63,10 @@ namespace AlibabaCloud 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 index e2aea4c25..a7989465c 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h +++ b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h @@ -1,49 +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: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF 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 index 669249374..0de6519b6 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -1,5741 +1,5777 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeRoomListOutcome LiveClient::describeRoomList(const DescribeRoomListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRoomListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRoomListOutcome(DescribeRoomListResult(outcome.result())); - else - return DescribeRoomListOutcome(outcome.error()); -} - -void LiveClient::describeRoomListAsync(const DescribeRoomListRequest& request, const DescribeRoomListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRoomList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeRoomListOutcomeCallable LiveClient::describeRoomListCallable(const DescribeRoomListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRoomList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveDetectNotifyConfigOutcome LiveClient::describeLiveDetectNotifyConfig(const DescribeLiveDetectNotifyConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::CompleteBoardOutcome LiveClient::completeBoard(const CompleteBoardRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CompleteBoardOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CompleteBoardOutcome(CompleteBoardResult(outcome.result())); - else - return CompleteBoardOutcome(outcome.error()); -} - -void LiveClient::completeBoardAsync(const CompleteBoardRequest& request, const CompleteBoardAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, completeBoard(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::CompleteBoardOutcomeCallable LiveClient::completeBoardCallable(const CompleteBoardRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->completeBoard(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeCasterComponentsOutcome LiveClient::describeCasterComponents(const DescribeCasterComponentsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeRoomStatusOutcome LiveClient::describeRoomStatus(const DescribeRoomStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRoomStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRoomStatusOutcome(DescribeRoomStatusResult(outcome.result())); - else - return DescribeRoomStatusOutcome(outcome.error()); -} - -void LiveClient::describeRoomStatusAsync(const DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRoomStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeRoomStatusOutcomeCallable LiveClient::describeRoomStatusCallable(const DescribeRoomStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRoomStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::CreateLiveStreamRecordIndexFilesOutcome LiveClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DeleteLiveSpecificConfigOutcome LiveClient::deleteLiveSpecificConfig(const DeleteLiveSpecificConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveSpecificConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveSpecificConfigOutcome(DeleteLiveSpecificConfigResult(outcome.result())); - else - return DeleteLiveSpecificConfigOutcome(outcome.error()); -} - -void LiveClient::deleteLiveSpecificConfigAsync(const DeleteLiveSpecificConfigRequest& request, const DeleteLiveSpecificConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveSpecificConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DeleteLiveSpecificConfigOutcomeCallable LiveClient::deleteLiveSpecificConfigCallable(const DeleteLiveSpecificConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveSpecificConfig(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::DescribeUpBpsPeakOfLineOutcome LiveClient::describeUpBpsPeakOfLine(const DescribeUpBpsPeakOfLineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeUpBpsPeakOfLineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeUpBpsPeakOfLineOutcome(DescribeUpBpsPeakOfLineResult(outcome.result())); - else - return DescribeUpBpsPeakOfLineOutcome(outcome.error()); -} - -void LiveClient::describeUpBpsPeakOfLineAsync(const DescribeUpBpsPeakOfLineRequest& request, const DescribeUpBpsPeakOfLineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeUpBpsPeakOfLine(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeUpBpsPeakOfLineOutcomeCallable LiveClient::describeUpBpsPeakOfLineCallable(const DescribeUpBpsPeakOfLineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeUpBpsPeakOfLine(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::DeleteBoardOutcome LiveClient::deleteBoard(const DeleteBoardRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteBoardOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteBoardOutcome(DeleteBoardResult(outcome.result())); - else - return DeleteBoardOutcome(outcome.error()); -} - -void LiveClient::deleteBoardAsync(const DeleteBoardRequest& request, const DeleteBoardAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteBoard(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DeleteBoardOutcomeCallable LiveClient::deleteBoardCallable(const DeleteBoardRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteBoard(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveStreamBitRateDataOutcome LiveClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeLiveTopDomainsByFlowOutcome LiveClient::describeLiveTopDomainsByFlow(const DescribeLiveTopDomainsByFlowRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveTopDomainsByFlowOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveTopDomainsByFlowOutcome(DescribeLiveTopDomainsByFlowResult(outcome.result())); - else - return DescribeLiveTopDomainsByFlowOutcome(outcome.error()); -} - -void LiveClient::describeLiveTopDomainsByFlowAsync(const DescribeLiveTopDomainsByFlowRequest& request, const DescribeLiveTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveTopDomainsByFlow(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveTopDomainsByFlowOutcomeCallable LiveClient::describeLiveTopDomainsByFlowCallable(const DescribeLiveTopDomainsByFlowRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveTopDomainsByFlow(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::SetLiveLazyPullStreamInfoConfigOutcome LiveClient::setLiveLazyPullStreamInfoConfig(const SetLiveLazyPullStreamInfoConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetLiveLazyPullStreamInfoConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetLiveLazyPullStreamInfoConfigOutcome(SetLiveLazyPullStreamInfoConfigResult(outcome.result())); - else - return SetLiveLazyPullStreamInfoConfigOutcome(outcome.error()); -} - -void LiveClient::setLiveLazyPullStreamInfoConfigAsync(const SetLiveLazyPullStreamInfoConfigRequest& request, const SetLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setLiveLazyPullStreamInfoConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SetLiveLazyPullStreamInfoConfigOutcomeCallable LiveClient::setLiveLazyPullStreamInfoConfigCallable(const SetLiveLazyPullStreamInfoConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setLiveLazyPullStreamInfoConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::AddCasterEpisodeOutcome LiveClient::addCasterEpisode(const AddCasterEpisodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeLiveDomainRealTimeBpsDataOutcome LiveClient::describeLiveDomainRealTimeBpsData(const DescribeLiveDomainRealTimeBpsDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainRealTimeBpsDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainRealTimeBpsDataOutcome(DescribeLiveDomainRealTimeBpsDataResult(outcome.result())); - else - return DescribeLiveDomainRealTimeBpsDataOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainRealTimeBpsDataAsync(const DescribeLiveDomainRealTimeBpsDataRequest& request, const DescribeLiveDomainRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainRealTimeBpsData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainRealTimeBpsDataOutcomeCallable LiveClient::describeLiveDomainRealTimeBpsDataCallable(const DescribeLiveDomainRealTimeBpsDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainRealTimeBpsData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::AllowPushStreamOutcome LiveClient::allowPushStream(const AllowPushStreamRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AllowPushStreamOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AllowPushStreamOutcome(AllowPushStreamResult(outcome.result())); - else - return AllowPushStreamOutcome(outcome.error()); -} - -void LiveClient::allowPushStreamAsync(const AllowPushStreamRequest& request, const AllowPushStreamAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, allowPushStream(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::AllowPushStreamOutcomeCallable LiveClient::allowPushStreamCallable(const AllowPushStreamRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->allowPushStream(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::ForbidPushStreamOutcome LiveClient::forbidPushStream(const ForbidPushStreamRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ForbidPushStreamOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ForbidPushStreamOutcome(ForbidPushStreamResult(outcome.result())); - else - return ForbidPushStreamOutcome(outcome.error()); -} - -void LiveClient::forbidPushStreamAsync(const ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, forbidPushStream(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::ForbidPushStreamOutcomeCallable LiveClient::forbidPushStreamCallable(const ForbidPushStreamRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->forbidPushStream(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveRecordConfigOutcome LiveClient::describeLiveRecordConfig(const DescribeLiveRecordConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeHlsLiveStreamRealTimeBpsDataOutcome LiveClient::describeHlsLiveStreamRealTimeBpsData(const DescribeHlsLiveStreamRealTimeBpsDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeHlsLiveStreamRealTimeBpsDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeHlsLiveStreamRealTimeBpsDataOutcome(DescribeHlsLiveStreamRealTimeBpsDataResult(outcome.result())); - else - return DescribeHlsLiveStreamRealTimeBpsDataOutcome(outcome.error()); -} - -void LiveClient::describeHlsLiveStreamRealTimeBpsDataAsync(const DescribeHlsLiveStreamRealTimeBpsDataRequest& request, const DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeHlsLiveStreamRealTimeBpsData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable LiveClient::describeHlsLiveStreamRealTimeBpsDataCallable(const DescribeHlsLiveStreamRealTimeBpsDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeHlsLiveStreamRealTimeBpsData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::CreateBoardOutcome LiveClient::createBoard(const CreateBoardRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateBoardOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateBoardOutcome(CreateBoardResult(outcome.result())); - else - return CreateBoardOutcome(outcome.error()); -} - -void LiveClient::createBoardAsync(const CreateBoardRequest& request, const CreateBoardAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createBoard(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::CreateBoardOutcomeCallable LiveClient::createBoardCallable(const CreateBoardRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createBoard(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DeleteLiveStreamsNotifyUrlConfigOutcome LiveClient::deleteLiveStreamsNotifyUrlConfig(const DeleteLiveStreamsNotifyUrlConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeLiveCertificateListOutcome LiveClient::describeLiveCertificateList(const DescribeLiveCertificateListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveCertificateListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveCertificateListOutcome(DescribeLiveCertificateListResult(outcome.result())); - else - return DescribeLiveCertificateListOutcome(outcome.error()); -} - -void LiveClient::describeLiveCertificateListAsync(const DescribeLiveCertificateListRequest& request, const DescribeLiveCertificateListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveCertificateList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveCertificateListOutcomeCallable LiveClient::describeLiveCertificateListCallable(const DescribeLiveCertificateListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveCertificateList(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::UpdateCasterSceneAudioOutcome LiveClient::updateCasterSceneAudio(const UpdateCasterSceneAudioRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateCasterSceneAudioOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateCasterSceneAudioOutcome(UpdateCasterSceneAudioResult(outcome.result())); - else - return UpdateCasterSceneAudioOutcome(outcome.error()); -} - -void LiveClient::updateCasterSceneAudioAsync(const UpdateCasterSceneAudioRequest& request, const UpdateCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateCasterSceneAudio(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::UpdateCasterSceneAudioOutcomeCallable LiveClient::updateCasterSceneAudioCallable(const UpdateCasterSceneAudioRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateCasterSceneAudio(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveStreamsNotifyUrlConfigOutcome LiveClient::describeLiveStreamsNotifyUrlConfig(const DescribeLiveStreamsNotifyUrlConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeUpBpsPeakDataOutcome LiveClient::describeUpBpsPeakData(const DescribeUpBpsPeakDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeUpBpsPeakDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeUpBpsPeakDataOutcome(DescribeUpBpsPeakDataResult(outcome.result())); - else - return DescribeUpBpsPeakDataOutcome(outcome.error()); -} - -void LiveClient::describeUpBpsPeakDataAsync(const DescribeUpBpsPeakDataRequest& request, const DescribeUpBpsPeakDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeUpBpsPeakData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeUpBpsPeakDataOutcomeCallable LiveClient::describeUpBpsPeakDataCallable(const DescribeUpBpsPeakDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeUpBpsPeakData(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::DescribeBoardEventsOutcome LiveClient::describeBoardEvents(const DescribeBoardEventsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBoardEventsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBoardEventsOutcome(DescribeBoardEventsResult(outcome.result())); - else - return DescribeBoardEventsOutcome(outcome.error()); -} - -void LiveClient::describeBoardEventsAsync(const DescribeBoardEventsRequest& request, const DescribeBoardEventsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBoardEvents(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeBoardEventsOutcomeCallable LiveClient::describeBoardEventsCallable(const DescribeBoardEventsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBoardEvents(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveCertificateDetailOutcome LiveClient::describeLiveCertificateDetail(const DescribeLiveCertificateDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveCertificateDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveCertificateDetailOutcome(DescribeLiveCertificateDetailResult(outcome.result())); - else - return DescribeLiveCertificateDetailOutcome(outcome.error()); -} - -void LiveClient::describeLiveCertificateDetailAsync(const DescribeLiveCertificateDetailRequest& request, const DescribeLiveCertificateDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveCertificateDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveCertificateDetailOutcomeCallable LiveClient::describeLiveCertificateDetailCallable(const DescribeLiveCertificateDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveCertificateDetail(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::StartLiveDomainOutcome LiveClient::startLiveDomain(const StartLiveDomainRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StartLiveDomainOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StartLiveDomainOutcome(StartLiveDomainResult(outcome.result())); - else - return StartLiveDomainOutcome(outcome.error()); -} - -void LiveClient::startLiveDomainAsync(const StartLiveDomainRequest& request, const StartLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, startLiveDomain(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::StartLiveDomainOutcomeCallable LiveClient::startLiveDomainCallable(const StartLiveDomainRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->startLiveDomain(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeCasterSceneAudioOutcome LiveClient::describeCasterSceneAudio(const DescribeCasterSceneAudioRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCasterSceneAudioOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCasterSceneAudioOutcome(DescribeCasterSceneAudioResult(outcome.result())); - else - return DescribeCasterSceneAudioOutcome(outcome.error()); -} - -void LiveClient::describeCasterSceneAudioAsync(const DescribeCasterSceneAudioRequest& request, const DescribeCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCasterSceneAudio(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeCasterSceneAudioOutcomeCallable LiveClient::describeCasterSceneAudioCallable(const DescribeCasterSceneAudioRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCasterSceneAudio(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveStreamsBlockListOutcome LiveClient::describeLiveStreamsBlockList(const DescribeLiveStreamsBlockListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeRoomKickoutUserListOutcome LiveClient::describeRoomKickoutUserList(const DescribeRoomKickoutUserListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRoomKickoutUserListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRoomKickoutUserListOutcome(DescribeRoomKickoutUserListResult(outcome.result())); - else - return DescribeRoomKickoutUserListOutcome(outcome.error()); -} - -void LiveClient::describeRoomKickoutUserListAsync(const DescribeRoomKickoutUserListRequest& request, const DescribeRoomKickoutUserListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRoomKickoutUserList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeRoomKickoutUserListOutcomeCallable LiveClient::describeRoomKickoutUserListCallable(const DescribeRoomKickoutUserListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRoomKickoutUserList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::AddCasterEpisodeGroupContentOutcome LiveClient::addCasterEpisodeGroupContent(const AddCasterEpisodeGroupContentRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::CreateRoomOutcome LiveClient::createRoom(const CreateRoomRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateRoomOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateRoomOutcome(CreateRoomResult(outcome.result())); - else - return CreateRoomOutcome(outcome.error()); -} - -void LiveClient::createRoomAsync(const CreateRoomRequest& request, const CreateRoomAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createRoom(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::CreateRoomOutcomeCallable LiveClient::createRoomCallable(const CreateRoomRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createRoom(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeCasterStreamUrlOutcome LiveClient::describeCasterStreamUrl(const DescribeCasterStreamUrlRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeLiveStreamCountOutcome LiveClient::describeLiveStreamCount(const DescribeLiveStreamCountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveStreamCountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveStreamCountOutcome(DescribeLiveStreamCountResult(outcome.result())); - else - return DescribeLiveStreamCountOutcome(outcome.error()); -} - -void LiveClient::describeLiveStreamCountAsync(const DescribeLiveStreamCountRequest& request, const DescribeLiveStreamCountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveStreamCount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveStreamCountOutcomeCallable LiveClient::describeLiveStreamCountCallable(const DescribeLiveStreamCountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveStreamCount(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::DescribeLiveDomainRealTimeTrafficDataOutcome LiveClient::describeLiveDomainRealTimeTrafficData(const DescribeLiveDomainRealTimeTrafficDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainRealTimeTrafficDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainRealTimeTrafficDataOutcome(DescribeLiveDomainRealTimeTrafficDataResult(outcome.result())); - else - return DescribeLiveDomainRealTimeTrafficDataOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainRealTimeTrafficDataAsync(const DescribeLiveDomainRealTimeTrafficDataRequest& request, const DescribeLiveDomainRealTimeTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainRealTimeTrafficData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainRealTimeTrafficDataOutcomeCallable LiveClient::describeLiveDomainRealTimeTrafficDataCallable(const DescribeLiveDomainRealTimeTrafficDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainRealTimeTrafficData(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::DescribeLiveDomainRealTimeHttpCodeDataOutcome LiveClient::describeLiveDomainRealTimeHttpCodeData(const DescribeLiveDomainRealTimeHttpCodeDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainRealTimeHttpCodeDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainRealTimeHttpCodeDataOutcome(DescribeLiveDomainRealTimeHttpCodeDataResult(outcome.result())); - else - return DescribeLiveDomainRealTimeHttpCodeDataOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainRealTimeHttpCodeDataAsync(const DescribeLiveDomainRealTimeHttpCodeDataRequest& request, const DescribeLiveDomainRealTimeHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainRealTimeHttpCodeData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainRealTimeHttpCodeDataOutcomeCallable LiveClient::describeLiveDomainRealTimeHttpCodeDataCallable(const DescribeLiveDomainRealTimeHttpCodeDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainRealTimeHttpCodeData(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::DescribeBoardsOutcome LiveClient::describeBoards(const DescribeBoardsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBoardsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBoardsOutcome(DescribeBoardsResult(outcome.result())); - else - return DescribeBoardsOutcome(outcome.error()); -} - -void LiveClient::describeBoardsAsync(const DescribeBoardsRequest& request, const DescribeBoardsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBoards(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeBoardsOutcomeCallable LiveClient::describeBoardsCallable(const DescribeBoardsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBoards(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveStreamSnapshotInfoOutcome LiveClient::describeLiveStreamSnapshotInfo(const DescribeLiveStreamSnapshotInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeForbidPushStreamRoomListOutcome LiveClient::describeForbidPushStreamRoomList(const DescribeForbidPushStreamRoomListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeForbidPushStreamRoomListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeForbidPushStreamRoomListOutcome(DescribeForbidPushStreamRoomListResult(outcome.result())); - else - return DescribeForbidPushStreamRoomListOutcome(outcome.error()); -} - -void LiveClient::describeForbidPushStreamRoomListAsync(const DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeForbidPushStreamRoomList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeForbidPushStreamRoomListOutcomeCallable LiveClient::describeForbidPushStreamRoomListCallable(const DescribeForbidPushStreamRoomListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeForbidPushStreamRoomList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::CreateCasterOutcome LiveClient::createCaster(const CreateCasterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::SetCasterChannelOutcome LiveClient::setCasterChannel(const SetCasterChannelRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetCasterChannelOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetCasterChannelOutcome(SetCasterChannelResult(outcome.result())); - else - return SetCasterChannelOutcome(outcome.error()); -} - -void LiveClient::setCasterChannelAsync(const SetCasterChannelRequest& request, const SetCasterChannelAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setCasterChannel(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SetCasterChannelOutcomeCallable LiveClient::setCasterChannelCallable(const SetCasterChannelRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setCasterChannel(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveSnapshotConfigOutcome LiveClient::describeLiveSnapshotConfig(const DescribeLiveSnapshotConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeLiveDomainTrafficDataOutcome LiveClient::describeLiveDomainTrafficData(const DescribeLiveDomainTrafficDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainTrafficDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainTrafficDataOutcome(DescribeLiveDomainTrafficDataResult(outcome.result())); - else - return DescribeLiveDomainTrafficDataOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainTrafficDataAsync(const DescribeLiveDomainTrafficDataRequest& request, const DescribeLiveDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainTrafficData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainTrafficDataOutcomeCallable LiveClient::describeLiveDomainTrafficDataCallable(const DescribeLiveDomainTrafficDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainTrafficData(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::StopLiveDomainOutcome LiveClient::stopLiveDomain(const StopLiveDomainRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StopLiveDomainOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StopLiveDomainOutcome(StopLiveDomainResult(outcome.result())); - else - return StopLiveDomainOutcome(outcome.error()); -} - -void LiveClient::stopLiveDomainAsync(const StopLiveDomainRequest& request, const StopLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, stopLiveDomain(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::StopLiveDomainOutcomeCallable LiveClient::stopLiveDomainCallable(const StopLiveDomainRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->stopLiveDomain(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::ApplyBoardTokenOutcome LiveClient::applyBoardToken(const ApplyBoardTokenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ApplyBoardTokenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ApplyBoardTokenOutcome(ApplyBoardTokenResult(outcome.result())); - else - return ApplyBoardTokenOutcome(outcome.error()); -} - -void LiveClient::applyBoardTokenAsync(const ApplyBoardTokenRequest& request, const ApplyBoardTokenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, applyBoardToken(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::ApplyBoardTokenOutcomeCallable LiveClient::applyBoardTokenCallable(const ApplyBoardTokenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->applyBoardToken(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveStreamHistoryUserNumOutcome LiveClient::describeLiveStreamHistoryUserNum(const DescribeLiveStreamHistoryUserNumRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::SendRoomUserNotificationOutcome LiveClient::sendRoomUserNotification(const SendRoomUserNotificationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SendRoomUserNotificationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SendRoomUserNotificationOutcome(SendRoomUserNotificationResult(outcome.result())); - else - return SendRoomUserNotificationOutcome(outcome.error()); -} - -void LiveClient::sendRoomUserNotificationAsync(const SendRoomUserNotificationRequest& request, const SendRoomUserNotificationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, sendRoomUserNotification(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SendRoomUserNotificationOutcomeCallable LiveClient::sendRoomUserNotificationCallable(const SendRoomUserNotificationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->sendRoomUserNotification(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DeleteLiveDomainMappingOutcome LiveClient::deleteLiveDomainMapping(const DeleteLiveDomainMappingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveDomainMappingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveDomainMappingOutcome(DeleteLiveDomainMappingResult(outcome.result())); - else - return DeleteLiveDomainMappingOutcome(outcome.error()); -} - -void LiveClient::deleteLiveDomainMappingAsync(const DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveDomainMapping(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DeleteLiveDomainMappingOutcomeCallable LiveClient::deleteLiveDomainMappingCallable(const DeleteLiveDomainMappingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveDomainMapping(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::BatchSetLiveDomainConfigsOutcome LiveClient::batchSetLiveDomainConfigs(const BatchSetLiveDomainConfigsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return BatchSetLiveDomainConfigsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return BatchSetLiveDomainConfigsOutcome(BatchSetLiveDomainConfigsResult(outcome.result())); - else - return BatchSetLiveDomainConfigsOutcome(outcome.error()); -} - -void LiveClient::batchSetLiveDomainConfigsAsync(const BatchSetLiveDomainConfigsRequest& request, const BatchSetLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, batchSetLiveDomainConfigs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::BatchSetLiveDomainConfigsOutcomeCallable LiveClient::batchSetLiveDomainConfigsCallable(const BatchSetLiveDomainConfigsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->batchSetLiveDomainConfigs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveDomainDetailOutcome LiveClient::describeLiveDomainDetail(const DescribeLiveDomainDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainDetailOutcome(DescribeLiveDomainDetailResult(outcome.result())); - else - return DescribeLiveDomainDetailOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainDetailAsync(const DescribeLiveDomainDetailRequest& request, const DescribeLiveDomainDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainDetailOutcomeCallable LiveClient::describeLiveDomainDetailCallable(const DescribeLiveDomainDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeCasterChannelsOutcome LiveClient::describeCasterChannels(const DescribeCasterChannelsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCasterChannelsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCasterChannelsOutcome(DescribeCasterChannelsResult(outcome.result())); - else - return DescribeCasterChannelsOutcome(outcome.error()); -} - -void LiveClient::describeCasterChannelsAsync(const DescribeCasterChannelsRequest& request, const DescribeCasterChannelsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCasterChannels(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeCasterChannelsOutcomeCallable LiveClient::describeCasterChannelsCallable(const DescribeCasterChannelsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCasterChannels(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveDomainConfigsOutcome LiveClient::describeLiveDomainConfigs(const DescribeLiveDomainConfigsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainConfigsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainConfigsOutcome(DescribeLiveDomainConfigsResult(outcome.result())); - else - return DescribeLiveDomainConfigsOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainConfigsAsync(const DescribeLiveDomainConfigsRequest& request, const DescribeLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainConfigs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainConfigsOutcomeCallable LiveClient::describeLiveDomainConfigsCallable(const DescribeLiveDomainConfigsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainConfigs(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::DeleteRoomOutcome LiveClient::deleteRoom(const DeleteRoomRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteRoomOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteRoomOutcome(DeleteRoomResult(outcome.result())); - else - return DeleteRoomOutcome(outcome.error()); -} - -void LiveClient::deleteRoomAsync(const DeleteRoomRequest& request, const DeleteRoomAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteRoom(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DeleteRoomOutcomeCallable LiveClient::deleteRoomCallable(const DeleteRoomRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteRoom(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::AddCasterProgramOutcome LiveClient::addCasterProgram(const AddCasterProgramRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::DescribeBoardSnapshotOutcome LiveClient::describeBoardSnapshot(const DescribeBoardSnapshotRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBoardSnapshotOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBoardSnapshotOutcome(DescribeBoardSnapshotResult(outcome.result())); - else - return DescribeBoardSnapshotOutcome(outcome.error()); -} - -void LiveClient::describeBoardSnapshotAsync(const DescribeBoardSnapshotRequest& request, const DescribeBoardSnapshotAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBoardSnapshot(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeBoardSnapshotOutcomeCallable LiveClient::describeBoardSnapshotCallable(const DescribeBoardSnapshotRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBoardSnapshot(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DeleteLiveMixConfigOutcome LiveClient::deleteLiveMixConfig(const DeleteLiveMixConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::BatchDeleteLiveDomainConfigsOutcome LiveClient::batchDeleteLiveDomainConfigs(const BatchDeleteLiveDomainConfigsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return BatchDeleteLiveDomainConfigsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return BatchDeleteLiveDomainConfigsOutcome(BatchDeleteLiveDomainConfigsResult(outcome.result())); - else - return BatchDeleteLiveDomainConfigsOutcome(outcome.error()); -} - -void LiveClient::batchDeleteLiveDomainConfigsAsync(const BatchDeleteLiveDomainConfigsRequest& request, const BatchDeleteLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, batchDeleteLiveDomainConfigs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::BatchDeleteLiveDomainConfigsOutcomeCallable LiveClient::batchDeleteLiveDomainConfigsCallable(const BatchDeleteLiveDomainConfigsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->batchDeleteLiveDomainConfigs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::SetLiveDomainCertificateOutcome LiveClient::setLiveDomainCertificate(const SetLiveDomainCertificateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetLiveDomainCertificateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetLiveDomainCertificateOutcome(SetLiveDomainCertificateResult(outcome.result())); - else - return SetLiveDomainCertificateOutcome(outcome.error()); -} - -void LiveClient::setLiveDomainCertificateAsync(const SetLiveDomainCertificateRequest& request, const SetLiveDomainCertificateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setLiveDomainCertificate(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SetLiveDomainCertificateOutcomeCallable LiveClient::setLiveDomainCertificateCallable(const SetLiveDomainCertificateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setLiveDomainCertificate(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::DescribeUpPeakPublishStreamDataOutcome LiveClient::describeUpPeakPublishStreamData(const DescribeUpPeakPublishStreamDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeUpPeakPublishStreamDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeUpPeakPublishStreamDataOutcome(DescribeUpPeakPublishStreamDataResult(outcome.result())); - else - return DescribeUpPeakPublishStreamDataOutcome(outcome.error()); -} - -void LiveClient::describeUpPeakPublishStreamDataAsync(const DescribeUpPeakPublishStreamDataRequest& request, const DescribeUpPeakPublishStreamDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeUpPeakPublishStreamData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeUpPeakPublishStreamDataOutcomeCallable LiveClient::describeUpPeakPublishStreamDataCallable(const DescribeUpPeakPublishStreamDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeUpPeakPublishStreamData(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::DeleteLiveDomainOutcome LiveClient::deleteLiveDomain(const DeleteLiveDomainRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveDomainOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveDomainOutcome(DeleteLiveDomainResult(outcome.result())); - else - return DeleteLiveDomainOutcome(outcome.error()); -} - -void LiveClient::deleteLiveDomainAsync(const DeleteLiveDomainRequest& request, const DeleteLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveDomain(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DeleteLiveDomainOutcomeCallable LiveClient::deleteLiveDomainCallable(const DeleteLiveDomainRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveDomain(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::AddLiveDomainMappingOutcome LiveClient::addLiveDomainMapping(const AddLiveDomainMappingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddLiveDomainMappingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddLiveDomainMappingOutcome(AddLiveDomainMappingResult(outcome.result())); - else - return AddLiveDomainMappingOutcome(outcome.error()); -} - -void LiveClient::addLiveDomainMappingAsync(const AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addLiveDomainMapping(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::AddLiveDomainMappingOutcomeCallable LiveClient::addLiveDomainMappingCallable(const AddLiveDomainMappingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addLiveDomainMapping(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::RealTimeRecordCommandOutcome LiveClient::realTimeRecordCommand(const RealTimeRecordCommandRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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::UpdateBoardOutcome LiveClient::updateBoard(const UpdateBoardRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateBoardOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateBoardOutcome(UpdateBoardResult(outcome.result())); - else - return UpdateBoardOutcome(outcome.error()); -} - -void LiveClient::updateBoardAsync(const UpdateBoardRequest& request, const UpdateBoardAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateBoard(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::UpdateBoardOutcomeCallable LiveClient::updateBoardCallable(const UpdateBoardRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateBoard(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::JoinBoardOutcome LiveClient::joinBoard(const JoinBoardRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return JoinBoardOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return JoinBoardOutcome(JoinBoardResult(outcome.result())); - else - return JoinBoardOutcome(outcome.error()); -} - -void LiveClient::joinBoardAsync(const JoinBoardRequest& request, const JoinBoardAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, joinBoard(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::JoinBoardOutcomeCallable LiveClient::joinBoardCallable(const JoinBoardRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->joinBoard(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeLiveUserDomainsOutcome LiveClient::describeLiveUserDomains(const DescribeLiveUserDomainsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveUserDomainsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveUserDomainsOutcome(DescribeLiveUserDomainsResult(outcome.result())); - else - return DescribeLiveUserDomainsOutcome(outcome.error()); -} - -void LiveClient::describeLiveUserDomainsAsync(const DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveUserDomains(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveUserDomainsOutcomeCallable LiveClient::describeLiveUserDomainsCallable(const DescribeLiveUserDomainsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveUserDomains(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::AddLiveDomainOutcome LiveClient::addLiveDomain(const AddLiveDomainRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddLiveDomainOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddLiveDomainOutcome(AddLiveDomainResult(outcome.result())); - else - return AddLiveDomainOutcome(outcome.error()); -} - -void LiveClient::addLiveDomainAsync(const AddLiveDomainRequest& request, const AddLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addLiveDomain(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::AddLiveDomainOutcomeCallable LiveClient::addLiveDomainCallable(const AddLiveDomainRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addLiveDomain(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::DescribeLiveDomainBpsDataOutcome LiveClient::describeLiveDomainBpsData(const DescribeLiveDomainBpsDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainBpsDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainBpsDataOutcome(DescribeLiveDomainBpsDataResult(outcome.result())); - else - return DescribeLiveDomainBpsDataOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainBpsDataAsync(const DescribeLiveDomainBpsDataRequest& request, const DescribeLiveDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainBpsData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainBpsDataOutcomeCallable LiveClient::describeLiveDomainBpsDataCallable(const DescribeLiveDomainBpsDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainBpsData(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::DescribeLiveLazyPullStreamConfigOutcome LiveClient::describeLiveLazyPullStreamConfig(const DescribeLiveLazyPullStreamConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveLazyPullStreamConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveLazyPullStreamConfigOutcome(DescribeLiveLazyPullStreamConfigResult(outcome.result())); - else - return DescribeLiveLazyPullStreamConfigOutcome(outcome.error()); -} - -void LiveClient::describeLiveLazyPullStreamConfigAsync(const DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveLazyPullStreamConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveLazyPullStreamConfigOutcomeCallable LiveClient::describeLiveLazyPullStreamConfigCallable(const DescribeLiveLazyPullStreamConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveLazyPullStreamConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeCasterScenesOutcome LiveClient::describeCasterScenes(const DescribeCasterScenesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - 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(); -} - -LiveClient::SendRoomNotificationOutcome LiveClient::sendRoomNotification(const SendRoomNotificationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SendRoomNotificationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SendRoomNotificationOutcome(SendRoomNotificationResult(outcome.result())); - else - return SendRoomNotificationOutcome(outcome.error()); -} - -void LiveClient::sendRoomNotificationAsync(const SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, sendRoomNotification(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SendRoomNotificationOutcomeCallable LiveClient::sendRoomNotificationCallable(const SendRoomNotificationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->sendRoomNotification(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DeleteLiveLazyPullStreamInfoConfigOutcome LiveClient::deleteLiveLazyPullStreamInfoConfig(const DeleteLiveLazyPullStreamInfoConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveLazyPullStreamInfoConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveLazyPullStreamInfoConfigOutcome(DeleteLiveLazyPullStreamInfoConfigResult(outcome.result())); - else - return DeleteLiveLazyPullStreamInfoConfigOutcome(outcome.error()); -} - -void LiveClient::deleteLiveLazyPullStreamInfoConfigAsync(const DeleteLiveLazyPullStreamInfoConfigRequest& request, const DeleteLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveLazyPullStreamInfoConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DeleteLiveLazyPullStreamInfoConfigOutcomeCallable LiveClient::deleteLiveLazyPullStreamInfoConfigCallable(const DeleteLiveLazyPullStreamInfoConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveLazyPullStreamInfoConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::StartBoardRecordOutcome LiveClient::startBoardRecord(const StartBoardRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartBoardRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartBoardRecordOutcome(StartBoardRecordResult(outcome.result())); + else + return StartBoardRecordOutcome(outcome.error()); +} + +void LiveClient::startBoardRecordAsync(const StartBoardRecordRequest& request, const StartBoardRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startBoardRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartBoardRecordOutcomeCallable LiveClient::startBoardRecordCallable(const StartBoardRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startBoardRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeRoomListOutcome LiveClient::describeRoomList(const DescribeRoomListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoomListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoomListOutcome(DescribeRoomListResult(outcome.result())); + else + return DescribeRoomListOutcome(outcome.error()); +} + +void LiveClient::describeRoomListAsync(const DescribeRoomListRequest& request, const DescribeRoomListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoomList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeRoomListOutcomeCallable LiveClient::describeRoomListCallable(const DescribeRoomListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoomList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::CompleteBoardOutcome LiveClient::completeBoard(const CompleteBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CompleteBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CompleteBoardOutcome(CompleteBoardResult(outcome.result())); + else + return CompleteBoardOutcome(outcome.error()); +} + +void LiveClient::completeBoardAsync(const CompleteBoardRequest& request, const CompleteBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, completeBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CompleteBoardOutcomeCallable LiveClient::completeBoardCallable(const CompleteBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->completeBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterComponentsOutcome LiveClient::describeCasterComponents(const DescribeCasterComponentsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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::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::DescribeRoomStatusOutcome LiveClient::describeRoomStatus(const DescribeRoomStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoomStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoomStatusOutcome(DescribeRoomStatusResult(outcome.result())); + else + return DescribeRoomStatusOutcome(outcome.error()); +} + +void LiveClient::describeRoomStatusAsync(const DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoomStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeRoomStatusOutcomeCallable LiveClient::describeRoomStatusCallable(const DescribeRoomStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoomStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::CreateLiveStreamRecordIndexFilesOutcome LiveClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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::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::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::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::DescribeUpBpsPeakOfLineOutcome LiveClient::describeUpBpsPeakOfLine(const DescribeUpBpsPeakOfLineRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUpBpsPeakOfLineOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUpBpsPeakOfLineOutcome(DescribeUpBpsPeakOfLineResult(outcome.result())); + else + return DescribeUpBpsPeakOfLineOutcome(outcome.error()); +} + +void LiveClient::describeUpBpsPeakOfLineAsync(const DescribeUpBpsPeakOfLineRequest& request, const DescribeUpBpsPeakOfLineAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUpBpsPeakOfLine(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeUpBpsPeakOfLineOutcomeCallable LiveClient::describeUpBpsPeakOfLineCallable(const DescribeUpBpsPeakOfLineRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUpBpsPeakOfLine(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::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::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::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::DeleteBoardOutcome LiveClient::deleteBoard(const DeleteBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteBoardOutcome(DeleteBoardResult(outcome.result())); + else + return DeleteBoardOutcome(outcome.error()); +} + +void LiveClient::deleteBoardAsync(const DeleteBoardRequest& request, const DeleteBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteBoardOutcomeCallable LiveClient::deleteBoardCallable(const DeleteBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamBitRateDataOutcome LiveClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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::StartLiveIndexOutcome LiveClient::startLiveIndex(const StartLiveIndexRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartLiveIndexOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartLiveIndexOutcome(StartLiveIndexResult(outcome.result())); + else + return StartLiveIndexOutcome(outcome.error()); +} + +void LiveClient::startLiveIndexAsync(const StartLiveIndexRequest& request, const StartLiveIndexAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startLiveIndex(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartLiveIndexOutcomeCallable LiveClient::startLiveIndexCallable(const StartLiveIndexRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startLiveIndex(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveTopDomainsByFlowOutcome LiveClient::describeLiveTopDomainsByFlow(const DescribeLiveTopDomainsByFlowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveTopDomainsByFlowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveTopDomainsByFlowOutcome(DescribeLiveTopDomainsByFlowResult(outcome.result())); + else + return DescribeLiveTopDomainsByFlowOutcome(outcome.error()); +} + +void LiveClient::describeLiveTopDomainsByFlowAsync(const DescribeLiveTopDomainsByFlowRequest& request, const DescribeLiveTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveTopDomainsByFlow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveTopDomainsByFlowOutcomeCallable LiveClient::describeLiveTopDomainsByFlowCallable(const DescribeLiveTopDomainsByFlowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveTopDomainsByFlow(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::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::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::SetLiveLazyPullStreamInfoConfigOutcome LiveClient::setLiveLazyPullStreamInfoConfig(const SetLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetLiveLazyPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetLiveLazyPullStreamInfoConfigOutcome(SetLiveLazyPullStreamInfoConfigResult(outcome.result())); + else + return SetLiveLazyPullStreamInfoConfigOutcome(outcome.error()); +} + +void LiveClient::setLiveLazyPullStreamInfoConfigAsync(const SetLiveLazyPullStreamInfoConfigRequest& request, const SetLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setLiveLazyPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetLiveLazyPullStreamInfoConfigOutcomeCallable LiveClient::setLiveLazyPullStreamInfoConfigCallable(const SetLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setLiveLazyPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::DescribeLiveDomainRealTimeBpsDataOutcome LiveClient::describeLiveDomainRealTimeBpsData(const DescribeLiveDomainRealTimeBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainRealTimeBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainRealTimeBpsDataOutcome(DescribeLiveDomainRealTimeBpsDataResult(outcome.result())); + else + return DescribeLiveDomainRealTimeBpsDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainRealTimeBpsDataAsync(const DescribeLiveDomainRealTimeBpsDataRequest& request, const DescribeLiveDomainRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainRealTimeBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainRealTimeBpsDataOutcomeCallable LiveClient::describeLiveDomainRealTimeBpsDataCallable(const DescribeLiveDomainRealTimeBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainRealTimeBpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::AllowPushStreamOutcome LiveClient::allowPushStream(const AllowPushStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AllowPushStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AllowPushStreamOutcome(AllowPushStreamResult(outcome.result())); + else + return AllowPushStreamOutcome(outcome.error()); +} + +void LiveClient::allowPushStreamAsync(const AllowPushStreamRequest& request, const AllowPushStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, allowPushStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AllowPushStreamOutcomeCallable LiveClient::allowPushStreamCallable(const AllowPushStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->allowPushStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::ForbidPushStreamOutcome LiveClient::forbidPushStream(const ForbidPushStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ForbidPushStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ForbidPushStreamOutcome(ForbidPushStreamResult(outcome.result())); + else + return ForbidPushStreamOutcome(outcome.error()); +} + +void LiveClient::forbidPushStreamAsync(const ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, forbidPushStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ForbidPushStreamOutcomeCallable LiveClient::forbidPushStreamCallable(const ForbidPushStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->forbidPushStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeHlsLiveStreamRealTimeBpsDataOutcome LiveClient::describeHlsLiveStreamRealTimeBpsData(const DescribeHlsLiveStreamRealTimeBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeHlsLiveStreamRealTimeBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeHlsLiveStreamRealTimeBpsDataOutcome(DescribeHlsLiveStreamRealTimeBpsDataResult(outcome.result())); + else + return DescribeHlsLiveStreamRealTimeBpsDataOutcome(outcome.error()); +} + +void LiveClient::describeHlsLiveStreamRealTimeBpsDataAsync(const DescribeHlsLiveStreamRealTimeBpsDataRequest& request, const DescribeHlsLiveStreamRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeHlsLiveStreamRealTimeBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeHlsLiveStreamRealTimeBpsDataOutcomeCallable LiveClient::describeHlsLiveStreamRealTimeBpsDataCallable(const DescribeHlsLiveStreamRealTimeBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeHlsLiveStreamRealTimeBpsData(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::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::CreateBoardOutcome LiveClient::createBoard(const CreateBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateBoardOutcome(CreateBoardResult(outcome.result())); + else + return CreateBoardOutcome(outcome.error()); +} + +void LiveClient::createBoardAsync(const CreateBoardRequest& request, const CreateBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateBoardOutcomeCallable LiveClient::createBoardCallable(const CreateBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveStreamsNotifyUrlConfigOutcome LiveClient::deleteLiveStreamsNotifyUrlConfig(const DeleteLiveStreamsNotifyUrlConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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::DescribeRecordOutcome LiveClient::describeRecord(const DescribeRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRecordOutcome(DescribeRecordResult(outcome.result())); + else + return DescribeRecordOutcome(outcome.error()); +} + +void LiveClient::describeRecordAsync(const DescribeRecordRequest& request, const DescribeRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeRecordOutcomeCallable LiveClient::describeRecordCallable(const DescribeRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRecord(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::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::DescribeLiveCertificateListOutcome LiveClient::describeLiveCertificateList(const DescribeLiveCertificateListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveCertificateListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveCertificateListOutcome(DescribeLiveCertificateListResult(outcome.result())); + else + return DescribeLiveCertificateListOutcome(outcome.error()); +} + +void LiveClient::describeLiveCertificateListAsync(const DescribeLiveCertificateListRequest& request, const DescribeLiveCertificateListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveCertificateList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveCertificateListOutcomeCallable LiveClient::describeLiveCertificateListCallable(const DescribeLiveCertificateListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveCertificateList(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::UpdateCasterSceneAudioOutcome LiveClient::updateCasterSceneAudio(const UpdateCasterSceneAudioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCasterSceneAudioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCasterSceneAudioOutcome(UpdateCasterSceneAudioResult(outcome.result())); + else + return UpdateCasterSceneAudioOutcome(outcome.error()); +} + +void LiveClient::updateCasterSceneAudioAsync(const UpdateCasterSceneAudioRequest& request, const UpdateCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCasterSceneAudio(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateCasterSceneAudioOutcomeCallable LiveClient::updateCasterSceneAudioCallable(const UpdateCasterSceneAudioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCasterSceneAudio(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ApplyRecordTokenOutcome LiveClient::applyRecordToken(const ApplyRecordTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyRecordTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyRecordTokenOutcome(ApplyRecordTokenResult(outcome.result())); + else + return ApplyRecordTokenOutcome(outcome.error()); +} + +void LiveClient::applyRecordTokenAsync(const ApplyRecordTokenRequest& request, const ApplyRecordTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyRecordToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ApplyRecordTokenOutcomeCallable LiveClient::applyRecordTokenCallable(const ApplyRecordTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyRecordToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeUpBpsPeakDataOutcome LiveClient::describeUpBpsPeakData(const DescribeUpBpsPeakDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUpBpsPeakDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUpBpsPeakDataOutcome(DescribeUpBpsPeakDataResult(outcome.result())); + else + return DescribeUpBpsPeakDataOutcome(outcome.error()); +} + +void LiveClient::describeUpBpsPeakDataAsync(const DescribeUpBpsPeakDataRequest& request, const DescribeUpBpsPeakDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUpBpsPeakData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeUpBpsPeakDataOutcomeCallable LiveClient::describeUpBpsPeakDataCallable(const DescribeUpBpsPeakDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUpBpsPeakData(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::ModifyLiveDomainSchdmByPropertyOutcome LiveClient::modifyLiveDomainSchdmByProperty(const ModifyLiveDomainSchdmByPropertyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyLiveDomainSchdmByPropertyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyLiveDomainSchdmByPropertyOutcome(ModifyLiveDomainSchdmByPropertyResult(outcome.result())); + else + return ModifyLiveDomainSchdmByPropertyOutcome(outcome.error()); +} + +void LiveClient::modifyLiveDomainSchdmByPropertyAsync(const ModifyLiveDomainSchdmByPropertyRequest& request, const ModifyLiveDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyLiveDomainSchdmByProperty(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ModifyLiveDomainSchdmByPropertyOutcomeCallable LiveClient::modifyLiveDomainSchdmByPropertyCallable(const ModifyLiveDomainSchdmByPropertyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyLiveDomainSchdmByProperty(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::DescribeBoardEventsOutcome LiveClient::describeBoardEvents(const DescribeBoardEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBoardEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBoardEventsOutcome(DescribeBoardEventsResult(outcome.result())); + else + return DescribeBoardEventsOutcome(outcome.error()); +} + +void LiveClient::describeBoardEventsAsync(const DescribeBoardEventsRequest& request, const DescribeBoardEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBoardEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeBoardEventsOutcomeCallable LiveClient::describeBoardEventsCallable(const DescribeBoardEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBoardEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveCertificateDetailOutcome LiveClient::describeLiveCertificateDetail(const DescribeLiveCertificateDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveCertificateDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveCertificateDetailOutcome(DescribeLiveCertificateDetailResult(outcome.result())); + else + return DescribeLiveCertificateDetailOutcome(outcome.error()); +} + +void LiveClient::describeLiveCertificateDetailAsync(const DescribeLiveCertificateDetailRequest& request, const DescribeLiveCertificateDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveCertificateDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveCertificateDetailOutcomeCallable LiveClient::describeLiveCertificateDetailCallable(const DescribeLiveCertificateDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveCertificateDetail(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::StartLiveDomainOutcome LiveClient::startLiveDomain(const StartLiveDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartLiveDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartLiveDomainOutcome(StartLiveDomainResult(outcome.result())); + else + return StartLiveDomainOutcome(outcome.error()); +} + +void LiveClient::startLiveDomainAsync(const StartLiveDomainRequest& request, const StartLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startLiveDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartLiveDomainOutcomeCallable LiveClient::startLiveDomainCallable(const StartLiveDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startLiveDomain(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::DescribeCasterSceneAudioOutcome LiveClient::describeCasterSceneAudio(const DescribeCasterSceneAudioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterSceneAudioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterSceneAudioOutcome(DescribeCasterSceneAudioResult(outcome.result())); + else + return DescribeCasterSceneAudioOutcome(outcome.error()); +} + +void LiveClient::describeCasterSceneAudioAsync(const DescribeCasterSceneAudioRequest& request, const DescribeCasterSceneAudioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterSceneAudio(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterSceneAudioOutcomeCallable LiveClient::describeCasterSceneAudioCallable(const DescribeCasterSceneAudioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterSceneAudio(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeRoomKickoutUserListOutcome LiveClient::describeRoomKickoutUserList(const DescribeRoomKickoutUserListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoomKickoutUserListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoomKickoutUserListOutcome(DescribeRoomKickoutUserListResult(outcome.result())); + else + return DescribeRoomKickoutUserListOutcome(outcome.error()); +} + +void LiveClient::describeRoomKickoutUserListAsync(const DescribeRoomKickoutUserListRequest& request, const DescribeRoomKickoutUserListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoomKickoutUserList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeRoomKickoutUserListOutcomeCallable LiveClient::describeRoomKickoutUserListCallable(const DescribeRoomKickoutUserListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoomKickoutUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::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::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::CreateRoomOutcome LiveClient::createRoom(const CreateRoomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateRoomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateRoomOutcome(CreateRoomResult(outcome.result())); + else + return CreateRoomOutcome(outcome.error()); +} + +void LiveClient::createRoomAsync(const CreateRoomRequest& request, const CreateRoomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createRoom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateRoomOutcomeCallable LiveClient::createRoomCallable(const CreateRoomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createRoom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterStreamUrlOutcome LiveClient::describeCasterStreamUrl(const DescribeCasterStreamUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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::DescribeLiveStreamCountOutcome LiveClient::describeLiveStreamCount(const DescribeLiveStreamCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamCountOutcome(DescribeLiveStreamCountResult(outcome.result())); + else + return DescribeLiveStreamCountOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamCountAsync(const DescribeLiveStreamCountRequest& request, const DescribeLiveStreamCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamCountOutcomeCallable LiveClient::describeLiveStreamCountCallable(const DescribeLiveStreamCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamCount(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::DescribeLiveDomainRealTimeTrafficDataOutcome LiveClient::describeLiveDomainRealTimeTrafficData(const DescribeLiveDomainRealTimeTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainRealTimeTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainRealTimeTrafficDataOutcome(DescribeLiveDomainRealTimeTrafficDataResult(outcome.result())); + else + return DescribeLiveDomainRealTimeTrafficDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainRealTimeTrafficDataAsync(const DescribeLiveDomainRealTimeTrafficDataRequest& request, const DescribeLiveDomainRealTimeTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainRealTimeTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainRealTimeTrafficDataOutcomeCallable LiveClient::describeLiveDomainRealTimeTrafficDataCallable(const DescribeLiveDomainRealTimeTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainRealTimeTrafficData(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::DescribeLiveDomainRealTimeHttpCodeDataOutcome LiveClient::describeLiveDomainRealTimeHttpCodeData(const DescribeLiveDomainRealTimeHttpCodeDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainRealTimeHttpCodeDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainRealTimeHttpCodeDataOutcome(DescribeLiveDomainRealTimeHttpCodeDataResult(outcome.result())); + else + return DescribeLiveDomainRealTimeHttpCodeDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainRealTimeHttpCodeDataAsync(const DescribeLiveDomainRealTimeHttpCodeDataRequest& request, const DescribeLiveDomainRealTimeHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainRealTimeHttpCodeData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainRealTimeHttpCodeDataOutcomeCallable LiveClient::describeLiveDomainRealTimeHttpCodeDataCallable(const DescribeLiveDomainRealTimeHttpCodeDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainRealTimeHttpCodeData(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::DescribeBoardsOutcome LiveClient::describeBoards(const DescribeBoardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBoardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBoardsOutcome(DescribeBoardsResult(outcome.result())); + else + return DescribeBoardsOutcome(outcome.error()); +} + +void LiveClient::describeBoardsAsync(const DescribeBoardsRequest& request, const DescribeBoardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBoards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeBoardsOutcomeCallable LiveClient::describeBoardsCallable(const DescribeBoardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBoards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamSnapshotInfoOutcome LiveClient::describeLiveStreamSnapshotInfo(const DescribeLiveStreamSnapshotInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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::UpdateBoardCallbackOutcome LiveClient::updateBoardCallback(const UpdateBoardCallbackRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateBoardCallbackOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateBoardCallbackOutcome(UpdateBoardCallbackResult(outcome.result())); + else + return UpdateBoardCallbackOutcome(outcome.error()); +} + +void LiveClient::updateBoardCallbackAsync(const UpdateBoardCallbackRequest& request, const UpdateBoardCallbackAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateBoardCallback(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateBoardCallbackOutcomeCallable LiveClient::updateBoardCallbackCallable(const UpdateBoardCallbackRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateBoardCallback(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::DescribeForbidPushStreamRoomListOutcome LiveClient::describeForbidPushStreamRoomList(const DescribeForbidPushStreamRoomListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeForbidPushStreamRoomListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeForbidPushStreamRoomListOutcome(DescribeForbidPushStreamRoomListResult(outcome.result())); + else + return DescribeForbidPushStreamRoomListOutcome(outcome.error()); +} + +void LiveClient::describeForbidPushStreamRoomListAsync(const DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeForbidPushStreamRoomList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeForbidPushStreamRoomListOutcomeCallable LiveClient::describeForbidPushStreamRoomListCallable(const DescribeForbidPushStreamRoomListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeForbidPushStreamRoomList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::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::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::SetCasterChannelOutcome LiveClient::setCasterChannel(const SetCasterChannelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetCasterChannelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetCasterChannelOutcome(SetCasterChannelResult(outcome.result())); + else + return SetCasterChannelOutcome(outcome.error()); +} + +void LiveClient::setCasterChannelAsync(const SetCasterChannelRequest& request, const SetCasterChannelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setCasterChannel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetCasterChannelOutcomeCallable LiveClient::setCasterChannelCallable(const SetCasterChannelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setCasterChannel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::CompleteBoardRecordOutcome LiveClient::completeBoardRecord(const CompleteBoardRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CompleteBoardRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CompleteBoardRecordOutcome(CompleteBoardRecordResult(outcome.result())); + else + return CompleteBoardRecordOutcome(outcome.error()); +} + +void LiveClient::completeBoardRecordAsync(const CompleteBoardRecordRequest& request, const CompleteBoardRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, completeBoardRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CompleteBoardRecordOutcomeCallable LiveClient::completeBoardRecordCallable(const CompleteBoardRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->completeBoardRecord(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::DescribeLiveDomainTrafficDataOutcome LiveClient::describeLiveDomainTrafficData(const DescribeLiveDomainTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainTrafficDataOutcome(DescribeLiveDomainTrafficDataResult(outcome.result())); + else + return DescribeLiveDomainTrafficDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainTrafficDataAsync(const DescribeLiveDomainTrafficDataRequest& request, const DescribeLiveDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainTrafficDataOutcomeCallable LiveClient::describeLiveDomainTrafficDataCallable(const DescribeLiveDomainTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StopLiveDomainOutcome LiveClient::stopLiveDomain(const StopLiveDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopLiveDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopLiveDomainOutcome(StopLiveDomainResult(outcome.result())); + else + return StopLiveDomainOutcome(outcome.error()); +} + +void LiveClient::stopLiveDomainAsync(const StopLiveDomainRequest& request, const StopLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopLiveDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopLiveDomainOutcomeCallable LiveClient::stopLiveDomainCallable(const StopLiveDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopLiveDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ApplyBoardTokenOutcome LiveClient::applyBoardToken(const ApplyBoardTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyBoardTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyBoardTokenOutcome(ApplyBoardTokenResult(outcome.result())); + else + return ApplyBoardTokenOutcome(outcome.error()); +} + +void LiveClient::applyBoardTokenAsync(const ApplyBoardTokenRequest& request, const ApplyBoardTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyBoardToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ApplyBoardTokenOutcomeCallable LiveClient::applyBoardTokenCallable(const ApplyBoardTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyBoardToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamHistoryUserNumOutcome LiveClient::describeLiveStreamHistoryUserNum(const DescribeLiveStreamHistoryUserNumRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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::SendRoomUserNotificationOutcome LiveClient::sendRoomUserNotification(const SendRoomUserNotificationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendRoomUserNotificationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendRoomUserNotificationOutcome(SendRoomUserNotificationResult(outcome.result())); + else + return SendRoomUserNotificationOutcome(outcome.error()); +} + +void LiveClient::sendRoomUserNotificationAsync(const SendRoomUserNotificationRequest& request, const SendRoomUserNotificationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendRoomUserNotification(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SendRoomUserNotificationOutcomeCallable LiveClient::sendRoomUserNotificationCallable(const SendRoomUserNotificationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendRoomUserNotification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveDomainMappingOutcome LiveClient::deleteLiveDomainMapping(const DeleteLiveDomainMappingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveDomainMappingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveDomainMappingOutcome(DeleteLiveDomainMappingResult(outcome.result())); + else + return DeleteLiveDomainMappingOutcome(outcome.error()); +} + +void LiveClient::deleteLiveDomainMappingAsync(const DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveDomainMapping(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveDomainMappingOutcomeCallable LiveClient::deleteLiveDomainMappingCallable(const DeleteLiveDomainMappingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveDomainMapping(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::BatchSetLiveDomainConfigsOutcome LiveClient::batchSetLiveDomainConfigs(const BatchSetLiveDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchSetLiveDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchSetLiveDomainConfigsOutcome(BatchSetLiveDomainConfigsResult(outcome.result())); + else + return BatchSetLiveDomainConfigsOutcome(outcome.error()); +} + +void LiveClient::batchSetLiveDomainConfigsAsync(const BatchSetLiveDomainConfigsRequest& request, const BatchSetLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchSetLiveDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::BatchSetLiveDomainConfigsOutcomeCallable LiveClient::batchSetLiveDomainConfigsCallable(const BatchSetLiveDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchSetLiveDomainConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveDomainMappingOutcome LiveClient::describeLiveDomainMapping(const DescribeLiveDomainMappingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainMappingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainMappingOutcome(DescribeLiveDomainMappingResult(outcome.result())); + else + return DescribeLiveDomainMappingOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainMappingAsync(const DescribeLiveDomainMappingRequest& request, const DescribeLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainMapping(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainMappingOutcomeCallable LiveClient::describeLiveDomainMappingCallable(const DescribeLiveDomainMappingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainMapping(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveDomainDetailOutcome LiveClient::describeLiveDomainDetail(const DescribeLiveDomainDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainDetailOutcome(DescribeLiveDomainDetailResult(outcome.result())); + else + return DescribeLiveDomainDetailOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainDetailAsync(const DescribeLiveDomainDetailRequest& request, const DescribeLiveDomainDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainDetailOutcomeCallable LiveClient::describeLiveDomainDetailCallable(const DescribeLiveDomainDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::SetLiveStreamOptimizedFeatureConfigOutcome LiveClient::setLiveStreamOptimizedFeatureConfig(const SetLiveStreamOptimizedFeatureConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetLiveStreamOptimizedFeatureConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetLiveStreamOptimizedFeatureConfigOutcome(SetLiveStreamOptimizedFeatureConfigResult(outcome.result())); + else + return SetLiveStreamOptimizedFeatureConfigOutcome(outcome.error()); +} + +void LiveClient::setLiveStreamOptimizedFeatureConfigAsync(const SetLiveStreamOptimizedFeatureConfigRequest& request, const SetLiveStreamOptimizedFeatureConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setLiveStreamOptimizedFeatureConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetLiveStreamOptimizedFeatureConfigOutcomeCallable LiveClient::setLiveStreamOptimizedFeatureConfigCallable(const SetLiveStreamOptimizedFeatureConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setLiveStreamOptimizedFeatureConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterChannelsOutcome LiveClient::describeCasterChannels(const DescribeCasterChannelsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCasterChannelsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCasterChannelsOutcome(DescribeCasterChannelsResult(outcome.result())); + else + return DescribeCasterChannelsOutcome(outcome.error()); +} + +void LiveClient::describeCasterChannelsAsync(const DescribeCasterChannelsRequest& request, const DescribeCasterChannelsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCasterChannels(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeCasterChannelsOutcomeCallable LiveClient::describeCasterChannelsCallable(const DescribeCasterChannelsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCasterChannels(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveDomainConfigsOutcome LiveClient::describeLiveDomainConfigs(const DescribeLiveDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainConfigsOutcome(DescribeLiveDomainConfigsResult(outcome.result())); + else + return DescribeLiveDomainConfigsOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainConfigsAsync(const DescribeLiveDomainConfigsRequest& request, const DescribeLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainConfigsOutcomeCallable LiveClient::describeLiveDomainConfigsCallable(const DescribeLiveDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainConfigs(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::DeleteRoomOutcome LiveClient::deleteRoom(const DeleteRoomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRoomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRoomOutcome(DeleteRoomResult(outcome.result())); + else + return DeleteRoomOutcome(outcome.error()); +} + +void LiveClient::deleteRoomAsync(const DeleteRoomRequest& request, const DeleteRoomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRoom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteRoomOutcomeCallable LiveClient::deleteRoomCallable(const DeleteRoomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRoom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveStreamDelayConfigOutcome LiveClient::describeLiveStreamDelayConfig(const DescribeLiveStreamDelayConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamDelayConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamDelayConfigOutcome(DescribeLiveStreamDelayConfigResult(outcome.result())); + else + return DescribeLiveStreamDelayConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamDelayConfigAsync(const DescribeLiveStreamDelayConfigRequest& request, const DescribeLiveStreamDelayConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamDelayConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamDelayConfigOutcomeCallable LiveClient::describeLiveStreamDelayConfigCallable(const DescribeLiveStreamDelayConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamDelayConfig(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::BatchDeleteLiveDomainConfigsOutcome LiveClient::batchDeleteLiveDomainConfigs(const BatchDeleteLiveDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteLiveDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteLiveDomainConfigsOutcome(BatchDeleteLiveDomainConfigsResult(outcome.result())); + else + return BatchDeleteLiveDomainConfigsOutcome(outcome.error()); +} + +void LiveClient::batchDeleteLiveDomainConfigsAsync(const BatchDeleteLiveDomainConfigsRequest& request, const BatchDeleteLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteLiveDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::BatchDeleteLiveDomainConfigsOutcomeCallable LiveClient::batchDeleteLiveDomainConfigsCallable(const BatchDeleteLiveDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteLiveDomainConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeBoardSnapshotOutcome LiveClient::describeBoardSnapshot(const DescribeBoardSnapshotRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBoardSnapshotOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBoardSnapshotOutcome(DescribeBoardSnapshotResult(outcome.result())); + else + return DescribeBoardSnapshotOutcome(outcome.error()); +} + +void LiveClient::describeBoardSnapshotAsync(const DescribeBoardSnapshotRequest& request, const DescribeBoardSnapshotAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBoardSnapshot(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeBoardSnapshotOutcomeCallable LiveClient::describeBoardSnapshotCallable(const DescribeBoardSnapshotRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBoardSnapshot(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::SetLiveDomainCertificateOutcome LiveClient::setLiveDomainCertificate(const SetLiveDomainCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetLiveDomainCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetLiveDomainCertificateOutcome(SetLiveDomainCertificateResult(outcome.result())); + else + return SetLiveDomainCertificateOutcome(outcome.error()); +} + +void LiveClient::setLiveDomainCertificateAsync(const SetLiveDomainCertificateRequest& request, const SetLiveDomainCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setLiveDomainCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetLiveDomainCertificateOutcomeCallable LiveClient::setLiveDomainCertificateCallable(const SetLiveDomainCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setLiveDomainCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeRecordsOutcome LiveClient::describeRecords(const DescribeRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRecordsOutcome(DescribeRecordsResult(outcome.result())); + else + return DescribeRecordsOutcome(outcome.error()); +} + +void LiveClient::describeRecordsAsync(const DescribeRecordsRequest& request, const DescribeRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeRecordsOutcomeCallable LiveClient::describeRecordsCallable(const DescribeRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::SetLiveStreamDelayConfigOutcome LiveClient::setLiveStreamDelayConfig(const SetLiveStreamDelayConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetLiveStreamDelayConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetLiveStreamDelayConfigOutcome(SetLiveStreamDelayConfigResult(outcome.result())); + else + return SetLiveStreamDelayConfigOutcome(outcome.error()); +} + +void LiveClient::setLiveStreamDelayConfigAsync(const SetLiveStreamDelayConfigRequest& request, const SetLiveStreamDelayConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setLiveStreamDelayConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetLiveStreamDelayConfigOutcomeCallable LiveClient::setLiveStreamDelayConfigCallable(const SetLiveStreamDelayConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setLiveStreamDelayConfig(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::DescribeLiveStreamOptimizedFeatureConfigOutcome LiveClient::describeLiveStreamOptimizedFeatureConfig(const DescribeLiveStreamOptimizedFeatureConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamOptimizedFeatureConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamOptimizedFeatureConfigOutcome(DescribeLiveStreamOptimizedFeatureConfigResult(outcome.result())); + else + return DescribeLiveStreamOptimizedFeatureConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamOptimizedFeatureConfigAsync(const DescribeLiveStreamOptimizedFeatureConfigRequest& request, const DescribeLiveStreamOptimizedFeatureConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamOptimizedFeatureConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable LiveClient::describeLiveStreamOptimizedFeatureConfigCallable(const DescribeLiveStreamOptimizedFeatureConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamOptimizedFeatureConfig(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::RealTimeSnapshotCommandOutcome LiveClient::realTimeSnapshotCommand(const RealTimeSnapshotCommandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RealTimeSnapshotCommandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RealTimeSnapshotCommandOutcome(RealTimeSnapshotCommandResult(outcome.result())); + else + return RealTimeSnapshotCommandOutcome(outcome.error()); +} + +void LiveClient::realTimeSnapshotCommandAsync(const RealTimeSnapshotCommandRequest& request, const RealTimeSnapshotCommandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, realTimeSnapshotCommand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::RealTimeSnapshotCommandOutcomeCallable LiveClient::realTimeSnapshotCommandCallable(const RealTimeSnapshotCommandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->realTimeSnapshotCommand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeUpPeakPublishStreamDataOutcome LiveClient::describeUpPeakPublishStreamData(const DescribeUpPeakPublishStreamDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUpPeakPublishStreamDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUpPeakPublishStreamDataOutcome(DescribeUpPeakPublishStreamDataResult(outcome.result())); + else + return DescribeUpPeakPublishStreamDataOutcome(outcome.error()); +} + +void LiveClient::describeUpPeakPublishStreamDataAsync(const DescribeUpPeakPublishStreamDataRequest& request, const DescribeUpPeakPublishStreamDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUpPeakPublishStreamData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeUpPeakPublishStreamDataOutcomeCallable LiveClient::describeUpPeakPublishStreamDataCallable(const DescribeUpPeakPublishStreamDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUpPeakPublishStreamData(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::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::DeleteLiveDomainOutcome LiveClient::deleteLiveDomain(const DeleteLiveDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveDomainOutcome(DeleteLiveDomainResult(outcome.result())); + else + return DeleteLiveDomainOutcome(outcome.error()); +} + +void LiveClient::deleteLiveDomainAsync(const DeleteLiveDomainRequest& request, const DeleteLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveDomainOutcomeCallable LiveClient::deleteLiveDomainCallable(const DeleteLiveDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveDomain(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::AddLiveDomainMappingOutcome LiveClient::addLiveDomainMapping(const AddLiveDomainMappingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveDomainMappingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveDomainMappingOutcome(AddLiveDomainMappingResult(outcome.result())); + else + return AddLiveDomainMappingOutcome(outcome.error()); +} + +void LiveClient::addLiveDomainMappingAsync(const AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveDomainMapping(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveDomainMappingOutcomeCallable LiveClient::addLiveDomainMappingCallable(const AddLiveDomainMappingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveDomainMapping(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::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::UpdateBoardOutcome LiveClient::updateBoard(const UpdateBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateBoardOutcome(UpdateBoardResult(outcome.result())); + else + return UpdateBoardOutcome(outcome.error()); +} + +void LiveClient::updateBoardAsync(const UpdateBoardRequest& request, const UpdateBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateBoardOutcomeCallable LiveClient::updateBoardCallable(const UpdateBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::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::JoinBoardOutcome LiveClient::joinBoard(const JoinBoardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return JoinBoardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return JoinBoardOutcome(JoinBoardResult(outcome.result())); + else + return JoinBoardOutcome(outcome.error()); +} + +void LiveClient::joinBoardAsync(const JoinBoardRequest& request, const JoinBoardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, joinBoard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::JoinBoardOutcomeCallable LiveClient::joinBoardCallable(const JoinBoardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->joinBoard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveUserDomainsOutcome LiveClient::describeLiveUserDomains(const DescribeLiveUserDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveUserDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveUserDomainsOutcome(DescribeLiveUserDomainsResult(outcome.result())); + else + return DescribeLiveUserDomainsOutcome(outcome.error()); +} + +void LiveClient::describeLiveUserDomainsAsync(const DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveUserDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveUserDomainsOutcomeCallable LiveClient::describeLiveUserDomainsCallable(const DescribeLiveUserDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveUserDomains(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::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::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::AddLiveDomainOutcome LiveClient::addLiveDomain(const AddLiveDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveDomainOutcome(AddLiveDomainResult(outcome.result())); + else + return AddLiveDomainOutcome(outcome.error()); +} + +void LiveClient::addLiveDomainAsync(const AddLiveDomainRequest& request, const AddLiveDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveDomainOutcomeCallable LiveClient::addLiveDomainCallable(const AddLiveDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::StopLiveIndexOutcome LiveClient::stopLiveIndex(const StopLiveIndexRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopLiveIndexOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopLiveIndexOutcome(StopLiveIndexResult(outcome.result())); + else + return StopLiveIndexOutcome(outcome.error()); +} + +void LiveClient::stopLiveIndexAsync(const StopLiveIndexRequest& request, const StopLiveIndexAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopLiveIndex(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopLiveIndexOutcomeCallable LiveClient::stopLiveIndexCallable(const StopLiveIndexRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopLiveIndex(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::DescribeLiveDomainBpsDataOutcome LiveClient::describeLiveDomainBpsData(const DescribeLiveDomainBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainBpsDataOutcome(DescribeLiveDomainBpsDataResult(outcome.result())); + else + return DescribeLiveDomainBpsDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainBpsDataAsync(const DescribeLiveDomainBpsDataRequest& request, const DescribeLiveDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainBpsDataOutcomeCallable LiveClient::describeLiveDomainBpsDataCallable(const DescribeLiveDomainBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainBpsData(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::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::DescribeLiveLazyPullStreamConfigOutcome LiveClient::describeLiveLazyPullStreamConfig(const DescribeLiveLazyPullStreamConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveLazyPullStreamConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveLazyPullStreamConfigOutcome(DescribeLiveLazyPullStreamConfigResult(outcome.result())); + else + return DescribeLiveLazyPullStreamConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveLazyPullStreamConfigAsync(const DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveLazyPullStreamConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveLazyPullStreamConfigOutcomeCallable LiveClient::describeLiveLazyPullStreamConfigCallable(const DescribeLiveLazyPullStreamConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveLazyPullStreamConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeCasterScenesOutcome LiveClient::describeCasterScenes(const DescribeCasterScenesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + 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(); +} + +LiveClient::SetBoardCallbackOutcome LiveClient::setBoardCallback(const SetBoardCallbackRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetBoardCallbackOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetBoardCallbackOutcome(SetBoardCallbackResult(outcome.result())); + else + return SetBoardCallbackOutcome(outcome.error()); +} + +void LiveClient::setBoardCallbackAsync(const SetBoardCallbackRequest& request, const SetBoardCallbackAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setBoardCallback(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetBoardCallbackOutcomeCallable LiveClient::setBoardCallbackCallable(const SetBoardCallbackRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setBoardCallback(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::SendRoomNotificationOutcome LiveClient::sendRoomNotification(const SendRoomNotificationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendRoomNotificationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendRoomNotificationOutcome(SendRoomNotificationResult(outcome.result())); + else + return SendRoomNotificationOutcome(outcome.error()); +} + +void LiveClient::sendRoomNotificationAsync(const SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendRoomNotification(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SendRoomNotificationOutcomeCallable LiveClient::sendRoomNotificationCallable(const SendRoomNotificationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendRoomNotification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DeleteLiveLazyPullStreamInfoConfigOutcome LiveClient::deleteLiveLazyPullStreamInfoConfig(const DeleteLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveLazyPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveLazyPullStreamInfoConfigOutcome(DeleteLiveLazyPullStreamInfoConfigResult(outcome.result())); + else + return DeleteLiveLazyPullStreamInfoConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveLazyPullStreamInfoConfigAsync(const DeleteLiveLazyPullStreamInfoConfigRequest& request, const DeleteLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveLazyPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveLazyPullStreamInfoConfigOutcomeCallable LiveClient::deleteLiveLazyPullStreamInfoConfigCallable(const DeleteLiveLazyPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveLazyPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} diff --git a/live/src/model/AddCasterComponentRequest.cc b/live/src/model/AddCasterComponentRequest.cc index c7b077d63..136ce9603 100644 --- a/live/src/model/AddCasterComponentRequest.cc +++ b/live/src/model/AddCasterComponentRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddCasterComponentRequest::getComponentType()const void AddCasterComponentRequest::setComponentType(const std::string& componentType) { componentType_ = componentType; - setParameter("ComponentType", componentType); + setCoreParameter("ComponentType", componentType); } std::string AddCasterComponentRequest::getLocationId()const @@ -44,7 +44,7 @@ std::string AddCasterComponentRequest::getLocationId()const void AddCasterComponentRequest::setLocationId(const std::string& locationId) { locationId_ = locationId; - setParameter("LocationId", locationId); + setCoreParameter("LocationId", locationId); } std::string AddCasterComponentRequest::getImageLayerContent()const @@ -55,7 +55,7 @@ std::string AddCasterComponentRequest::getImageLayerContent()const void AddCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) { imageLayerContent_ = imageLayerContent; - setParameter("ImageLayerContent", imageLayerContent); + setCoreParameter("ImageLayerContent", imageLayerContent); } std::string AddCasterComponentRequest::getCasterId()const @@ -66,7 +66,7 @@ std::string AddCasterComponentRequest::getCasterId()const void AddCasterComponentRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string AddCasterComponentRequest::getEffect()const @@ -77,7 +77,7 @@ std::string AddCasterComponentRequest::getEffect()const void AddCasterComponentRequest::setEffect(const std::string& effect) { effect_ = effect; - setParameter("Effect", effect); + setCoreParameter("Effect", effect); } std::string AddCasterComponentRequest::getComponentLayer()const @@ -88,7 +88,7 @@ std::string AddCasterComponentRequest::getComponentLayer()const void AddCasterComponentRequest::setComponentLayer(const std::string& componentLayer) { componentLayer_ = componentLayer; - setParameter("ComponentLayer", componentLayer); + setCoreParameter("ComponentLayer", componentLayer); } std::string AddCasterComponentRequest::getCaptionLayerContent()const @@ -99,7 +99,7 @@ std::string AddCasterComponentRequest::getCaptionLayerContent()const void AddCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) { captionLayerContent_ = captionLayerContent; - setParameter("CaptionLayerContent", captionLayerContent); + setCoreParameter("CaptionLayerContent", captionLayerContent); } std::string AddCasterComponentRequest::getComponentName()const @@ -110,7 +110,7 @@ std::string AddCasterComponentRequest::getComponentName()const void AddCasterComponentRequest::setComponentName(const std::string& componentName) { componentName_ = componentName; - setParameter("ComponentName", componentName); + setCoreParameter("ComponentName", componentName); } long AddCasterComponentRequest::getOwnerId()const @@ -121,7 +121,7 @@ long AddCasterComponentRequest::getOwnerId()const void AddCasterComponentRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddCasterComponentRequest::getTextLayerContent()const @@ -132,6 +132,6 @@ std::string AddCasterComponentRequest::getTextLayerContent()const void AddCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) { textLayerContent_ = textLayerContent; - setParameter("TextLayerContent", textLayerContent); + setCoreParameter("TextLayerContent", textLayerContent); } diff --git a/live/src/model/AddCasterComponentResult.cc b/live/src/model/AddCasterComponentResult.cc index 5546cbc40..7dc5a2c39 100644 --- a/live/src/model/AddCasterComponentResult.cc +++ b/live/src/model/AddCasterComponentResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 6b9888ca9..25bf43f63 100644 --- a/live/src/model/AddCasterEpisodeGroupContentRequest.cc +++ b/live/src/model/AddCasterEpisodeGroupContentRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddCasterEpisodeGroupContentRequest::getClientToken()const void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; - setParameter("ClientToken", clientToken); + setCoreParameter("ClientToken", clientToken); } long AddCasterEpisodeGroupContentRequest::getOwnerId()const @@ -44,7 +44,7 @@ long AddCasterEpisodeGroupContentRequest::getOwnerId()const void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddCasterEpisodeGroupContentRequest::getContent()const @@ -55,6 +55,6 @@ std::string AddCasterEpisodeGroupContentRequest::getContent()const void AddCasterEpisodeGroupContentRequest::setContent(const std::string& content) { content_ = content; - setParameter("Content", content); + setCoreParameter("Content", content); } diff --git a/live/src/model/AddCasterEpisodeGroupContentResult.cc b/live/src/model/AddCasterEpisodeGroupContentResult.cc index 170c8abb6..ac0606514 100644 --- a/live/src/model/AddCasterEpisodeGroupContentResult.cc +++ b/live/src/model/AddCasterEpisodeGroupContentResult.cc @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/AddCasterEpisodeGroupRequest.cc b/live/src/model/AddCasterEpisodeGroupRequest.cc index da9438586..e8235c7be 100644 --- a/live/src/model/AddCasterEpisodeGroupRequest.cc +++ b/live/src/model/AddCasterEpisodeGroupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddCasterEpisodeGroupRequest::getSideOutputUrl()const void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string& sideOutputUrl) { sideOutputUrl_ = sideOutputUrl; - setParameter("SideOutputUrl", sideOutputUrl); + setCoreParameter("SideOutputUrl", sideOutputUrl); } std::vector AddCasterEpisodeGroupRequest::getItem()const @@ -48,8 +48,8 @@ void AddCasterEpisodeGroupRequest::setItem(const std::vector& item) for(int i = 0; i!= item.size(); i++) { auto obj = item.at(i); std::string str ="Item."+ std::to_string(i); - setParameter(str + ".VodUrl", obj.vodUrl); - setParameter(str + ".ItemName", obj.itemName); + setCoreParameter(str + ".VodUrl", obj.vodUrl); + setCoreParameter(str + ".ItemName", obj.itemName); } } @@ -61,7 +61,7 @@ std::string AddCasterEpisodeGroupRequest::getClientToken()const void AddCasterEpisodeGroupRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; - setParameter("ClientToken", clientToken); + setCoreParameter("ClientToken", clientToken); } std::string AddCasterEpisodeGroupRequest::getDomainName()const @@ -72,7 +72,7 @@ std::string AddCasterEpisodeGroupRequest::getDomainName()const void AddCasterEpisodeGroupRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string AddCasterEpisodeGroupRequest::getStartTime()const @@ -83,7 +83,7 @@ std::string AddCasterEpisodeGroupRequest::getStartTime()const void AddCasterEpisodeGroupRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } int AddCasterEpisodeGroupRequest::getRepeatNum()const @@ -94,7 +94,7 @@ int AddCasterEpisodeGroupRequest::getRepeatNum()const void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) { repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); + setCoreParameter("RepeatNum", std::to_string(repeatNum)); } std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const @@ -105,7 +105,7 @@ std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string& callbackUrl) { callbackUrl_ = callbackUrl; - setParameter("CallbackUrl", callbackUrl); + setCoreParameter("CallbackUrl", callbackUrl); } long AddCasterEpisodeGroupRequest::getOwnerId()const @@ -116,6 +116,6 @@ long AddCasterEpisodeGroupRequest::getOwnerId()const void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterEpisodeGroupResult.cc b/live/src/model/AddCasterEpisodeGroupResult.cc index 91ee9d883..73b6685d4 100644 --- a/live/src/model/AddCasterEpisodeGroupResult.cc +++ b/live/src/model/AddCasterEpisodeGroupResult.cc @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/AddCasterEpisodeRequest.cc b/live/src/model/AddCasterEpisodeRequest.cc index 51703631c..2dfc14c98 100644 --- a/live/src/model/AddCasterEpisodeRequest.cc +++ b/live/src/model/AddCasterEpisodeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddCasterEpisodeRequest::getResourceId()const void AddCasterEpisodeRequest::setResourceId(const std::string& resourceId) { resourceId_ = resourceId; - setParameter("ResourceId", resourceId); + setCoreParameter("ResourceId", resourceId); } std::vector AddCasterEpisodeRequest::getComponentId()const @@ -45,7 +45,7 @@ void AddCasterEpisodeRequest::setComponentId(const std::vector& com { componentId_ = componentId; for(int i = 0; i!= componentId.size(); i++) - setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); + setCoreParameter("ComponentId."+ std::to_string(i), componentId.at(i)); } std::string AddCasterEpisodeRequest::getSwitchType()const @@ -56,7 +56,7 @@ std::string AddCasterEpisodeRequest::getSwitchType()const void AddCasterEpisodeRequest::setSwitchType(const std::string& switchType) { switchType_ = switchType; - setParameter("SwitchType", switchType); + setCoreParameter("SwitchType", switchType); } std::string AddCasterEpisodeRequest::getCasterId()const @@ -67,7 +67,7 @@ std::string AddCasterEpisodeRequest::getCasterId()const void AddCasterEpisodeRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string AddCasterEpisodeRequest::getEpisodeType()const @@ -78,7 +78,7 @@ std::string AddCasterEpisodeRequest::getEpisodeType()const void AddCasterEpisodeRequest::setEpisodeType(const std::string& episodeType) { episodeType_ = episodeType; - setParameter("EpisodeType", episodeType); + setCoreParameter("EpisodeType", episodeType); } std::string AddCasterEpisodeRequest::getEpisodeName()const @@ -89,7 +89,7 @@ std::string AddCasterEpisodeRequest::getEpisodeName()const void AddCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) { episodeName_ = episodeName; - setParameter("EpisodeName", episodeName); + setCoreParameter("EpisodeName", episodeName); } std::string AddCasterEpisodeRequest::getEndTime()const @@ -100,7 +100,7 @@ std::string AddCasterEpisodeRequest::getEndTime()const void AddCasterEpisodeRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string AddCasterEpisodeRequest::getStartTime()const @@ -111,7 +111,7 @@ std::string AddCasterEpisodeRequest::getStartTime()const void AddCasterEpisodeRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long AddCasterEpisodeRequest::getOwnerId()const @@ -122,6 +122,6 @@ long AddCasterEpisodeRequest::getOwnerId()const void AddCasterEpisodeRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterEpisodeResult.cc b/live/src/model/AddCasterEpisodeResult.cc index 5222833cf..9c8f485cd 100644 --- a/live/src/model/AddCasterEpisodeResult.cc +++ b/live/src/model/AddCasterEpisodeResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 695a99b5c..9ba71f90f 100644 --- a/live/src/model/AddCasterLayoutRequest.cc +++ b/live/src/model/AddCasterLayoutRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -34,7 +34,7 @@ void AddCasterLayoutRequest::setBlendList(const std::vector& blendL { blendList_ = blendList; for(int i = 0; i!= blendList.size(); i++) - setParameter("BlendList."+ std::to_string(i), blendList.at(i)); + setCoreParameter("BlendList."+ std::to_string(i), blendList.at(i)); } std::vector AddCasterLayoutRequest::getAudioLayer()const @@ -49,9 +49,9 @@ void AddCasterLayoutRequest::setAudioLayer(const std::vector& audioL for(int i = 0; i!= audioLayer.size(); i++) { auto obj = audioLayer.at(i); std::string str ="AudioLayer."+ std::to_string(i); - setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); - setParameter(str + ".VolumeRate", std::to_string(obj.volumeRate)); - setParameter(str + ".ValidChannel", obj.validChannel); + setCoreParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + setCoreParameter(str + ".VolumeRate", std::to_string(obj.volumeRate)); + setCoreParameter(str + ".ValidChannel", obj.validChannel); } } @@ -67,12 +67,12 @@ void AddCasterLayoutRequest::setVideoLayer(const std::vector& videoL 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 + ".WidthNormalized", std::to_string(obj.widthNormalized)); - setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); - 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 + ".HeightNormalized", std::to_string(obj.heightNormalized)); + setCoreParameter(str + ".FillMode", obj.fillMode); + setCoreParameter(str + ".WidthNormalized", std::to_string(obj.widthNormalized)); + setCoreParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + setCoreParameter(str + ".PositionRefer", obj.positionRefer); + for(int i = 0; i!= obj.positionNormalized.size(); i++) setCoreParameter(str + ".PositionNormalized."+ std::to_string(i), std::to_string(obj.positionNormalized.at(i))); + setCoreParameter(str + ".HeightNormalized", std::to_string(obj.heightNormalized)); } } @@ -84,7 +84,7 @@ std::string AddCasterLayoutRequest::getCasterId()const void AddCasterLayoutRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::vector AddCasterLayoutRequest::getMixList()const @@ -96,7 +96,7 @@ 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)); + setCoreParameter("MixList."+ std::to_string(i), mixList.at(i)); } long AddCasterLayoutRequest::getOwnerId()const @@ -107,6 +107,6 @@ long AddCasterLayoutRequest::getOwnerId()const void AddCasterLayoutRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterLayoutResult.cc b/live/src/model/AddCasterLayoutResult.cc index f1b03153d..1f0708a85 100644 --- a/live/src/model/AddCasterLayoutResult.cc +++ b/live/src/model/AddCasterLayoutResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 6f9cc9bac..1c231a032 100644 --- a/live/src/model/AddCasterProgramRequest.cc +++ b/live/src/model/AddCasterProgramRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddCasterProgramRequest::getCasterId()const void AddCasterProgramRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::vector AddCasterProgramRequest::getEpisode()const @@ -48,13 +48,13 @@ void AddCasterProgramRequest::setEpisode(const std::vector& episode) for(int i = 0; i!= episode.size(); i++) { auto obj = episode.at(i); std::string str ="Episode."+ std::to_string(i); - 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 + ".SwitchType", obj.switchType); - setParameter(str + ".EpisodeType", obj.episodeType); - setParameter(str + ".EpisodeName", obj.episodeName); - setParameter(str + ".EndTime", obj.endTime); - setParameter(str + ".StartTime", obj.startTime); + setCoreParameter(str + ".ResourceId", obj.resourceId); + for(int i = 0; i!= obj.componentId.size(); i++) setCoreParameter(str + ".ComponentId."+ std::to_string(i), obj.componentId.at(i)); + setCoreParameter(str + ".SwitchType", obj.switchType); + setCoreParameter(str + ".EpisodeType", obj.episodeType); + setCoreParameter(str + ".EpisodeName", obj.episodeName); + setCoreParameter(str + ".EndTime", obj.endTime); + setCoreParameter(str + ".StartTime", obj.startTime); } } @@ -66,6 +66,6 @@ long AddCasterProgramRequest::getOwnerId()const void AddCasterProgramRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterProgramResult.cc b/live/src/model/AddCasterProgramResult.cc index b941474fe..0a098dbd4 100644 --- a/live/src/model/AddCasterProgramResult.cc +++ b/live/src/model/AddCasterProgramResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -48,9 +48,9 @@ void AddCasterProgramResult::parse(const std::string &payload) 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 index 4fec82e52..dd4866a9d 100644 --- a/live/src/model/AddCasterVideoResourceRequest.cc +++ b/live/src/model/AddCasterVideoResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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() +{} + std::string AddCasterVideoResourceRequest::getVodUrl()const { return vodUrl_; @@ -33,7 +33,7 @@ std::string AddCasterVideoResourceRequest::getVodUrl()const void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) { vodUrl_ = vodUrl; - setParameter("VodUrl", vodUrl); + setCoreParameter("VodUrl", vodUrl); } std::string AddCasterVideoResourceRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string AddCasterVideoResourceRequest::getCasterId()const void AddCasterVideoResourceRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } int AddCasterVideoResourceRequest::getEndOffset()const @@ -55,7 +55,7 @@ int AddCasterVideoResourceRequest::getEndOffset()const void AddCasterVideoResourceRequest::setEndOffset(int endOffset) { endOffset_ = endOffset; - setParameter("EndOffset", std::to_string(endOffset)); + setCoreParameter("EndOffset", std::to_string(endOffset)); } long AddCasterVideoResourceRequest::getOwnerId()const @@ -66,7 +66,7 @@ long AddCasterVideoResourceRequest::getOwnerId()const void AddCasterVideoResourceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddCasterVideoResourceRequest::getMaterialId()const @@ -77,7 +77,7 @@ std::string AddCasterVideoResourceRequest::getMaterialId()const void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId) { materialId_ = materialId; - setParameter("MaterialId", materialId); + setCoreParameter("MaterialId", materialId); } int AddCasterVideoResourceRequest::getBeginOffset()const @@ -88,7 +88,7 @@ int AddCasterVideoResourceRequest::getBeginOffset()const void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) { beginOffset_ = beginOffset; - setParameter("BeginOffset", std::to_string(beginOffset)); + setCoreParameter("BeginOffset", std::to_string(beginOffset)); } std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const @@ -99,7 +99,7 @@ std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) { liveStreamUrl_ = liveStreamUrl; - setParameter("LiveStreamUrl", liveStreamUrl); + setCoreParameter("LiveStreamUrl", liveStreamUrl); } std::string AddCasterVideoResourceRequest::getRegionId()const @@ -110,7 +110,7 @@ std::string AddCasterVideoResourceRequest::getRegionId()const void AddCasterVideoResourceRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string AddCasterVideoResourceRequest::getLocationId()const @@ -121,7 +121,7 @@ std::string AddCasterVideoResourceRequest::getLocationId()const void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId) { locationId_ = locationId; - setParameter("LocationId", locationId); + setCoreParameter("LocationId", locationId); } int AddCasterVideoResourceRequest::getPtsCallbackInterval()const @@ -132,7 +132,7 @@ int AddCasterVideoResourceRequest::getPtsCallbackInterval()const void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) { ptsCallbackInterval_ = ptsCallbackInterval; - setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); + setCoreParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); } std::string AddCasterVideoResourceRequest::getResourceName()const @@ -143,7 +143,7 @@ std::string AddCasterVideoResourceRequest::getResourceName()const void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName) { resourceName_ = resourceName; - setParameter("ResourceName", resourceName); + setCoreParameter("ResourceName", resourceName); } int AddCasterVideoResourceRequest::getRepeatNum()const @@ -154,6 +154,6 @@ int AddCasterVideoResourceRequest::getRepeatNum()const void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) { repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); + setCoreParameter("RepeatNum", std::to_string(repeatNum)); } diff --git a/live/src/model/AddCasterVideoResourceResult.cc b/live/src/model/AddCasterVideoResourceResult.cc index ad140a0fb..034a58feb 100644 --- a/live/src/model/AddCasterVideoResourceResult.cc +++ b/live/src/model/AddCasterVideoResourceResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 60239036d..09f3663f0 100644 --- a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddCustomLiveStreamTranscodeRequest::getApp()const void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app) { app_ = app; - setParameter("App", app); + setCoreParameter("App", app); } std::string AddCustomLiveStreamTranscodeRequest::get_Template()const @@ -44,7 +44,7 @@ std::string AddCustomLiveStreamTranscodeRequest::get_Template()const void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string& _template) { _template_ = _template; - setParameter("_Template", _template); + setCoreParameter("_Template", _template); } int AddCustomLiveStreamTranscodeRequest::getProfile()const @@ -55,7 +55,7 @@ int AddCustomLiveStreamTranscodeRequest::getProfile()const void AddCustomLiveStreamTranscodeRequest::setProfile(int profile) { profile_ = profile; - setParameter("Profile", std::to_string(profile)); + setCoreParameter("Profile", std::to_string(profile)); } int AddCustomLiveStreamTranscodeRequest::getFPS()const @@ -66,7 +66,7 @@ int AddCustomLiveStreamTranscodeRequest::getFPS()const void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) { fPS_ = fPS; - setParameter("FPS", std::to_string(fPS)); + setCoreParameter("FPS", std::to_string(fPS)); } std::string AddCustomLiveStreamTranscodeRequest::getGop()const @@ -77,7 +77,7 @@ std::string AddCustomLiveStreamTranscodeRequest::getGop()const void AddCustomLiveStreamTranscodeRequest::setGop(const std::string& gop) { gop_ = gop; - setParameter("Gop", gop); + setCoreParameter("Gop", gop); } long AddCustomLiveStreamTranscodeRequest::getOwnerId()const @@ -88,7 +88,7 @@ long AddCustomLiveStreamTranscodeRequest::getOwnerId()const void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddCustomLiveStreamTranscodeRequest::getRegionId()const @@ -99,7 +99,7 @@ std::string AddCustomLiveStreamTranscodeRequest::getRegionId()const void AddCustomLiveStreamTranscodeRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const @@ -110,7 +110,7 @@ std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType) { templateType_ = templateType; - setParameter("TemplateType", templateType); + setCoreParameter("TemplateType", templateType); } int AddCustomLiveStreamTranscodeRequest::getAudioBitrate()const @@ -121,7 +121,7 @@ int AddCustomLiveStreamTranscodeRequest::getAudioBitrate()const void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) { audioBitrate_ = audioBitrate; - setParameter("AudioBitrate", std::to_string(audioBitrate)); + setCoreParameter("AudioBitrate", std::to_string(audioBitrate)); } std::string AddCustomLiveStreamTranscodeRequest::getDomain()const @@ -132,7 +132,7 @@ std::string AddCustomLiveStreamTranscodeRequest::getDomain()const void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string& domain) { domain_ = domain; - setParameter("Domain", domain); + setCoreParameter("Domain", domain); } int AddCustomLiveStreamTranscodeRequest::getWidth()const @@ -143,7 +143,7 @@ int AddCustomLiveStreamTranscodeRequest::getWidth()const void AddCustomLiveStreamTranscodeRequest::setWidth(int width) { width_ = width; - setParameter("Width", std::to_string(width)); + setCoreParameter("Width", std::to_string(width)); } int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const @@ -154,7 +154,7 @@ int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) { videoBitrate_ = videoBitrate; - setParameter("VideoBitrate", std::to_string(videoBitrate)); + setCoreParameter("VideoBitrate", std::to_string(videoBitrate)); } int AddCustomLiveStreamTranscodeRequest::getHeight()const @@ -165,6 +165,6 @@ int AddCustomLiveStreamTranscodeRequest::getHeight()const void AddCustomLiveStreamTranscodeRequest::setHeight(int height) { height_ = height; - setParameter("Height", std::to_string(height)); + setCoreParameter("Height", std::to_string(height)); } diff --git a/live/src/model/AddCustomLiveStreamTranscodeResult.cc b/live/src/model/AddCustomLiveStreamTranscodeResult.cc index 9026368d0..a0662edff 100644 --- a/live/src/model/AddCustomLiveStreamTranscodeResult.cc +++ b/live/src/model/AddCustomLiveStreamTranscodeResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 886e3cc95..cb6a7b370 100644 --- a/live/src/model/AddLiveAppRecordConfigRequest.cc +++ b/live/src/model/AddLiveAppRecordConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,73 +33,7 @@ std::string AddLiveAppRecordConfigRequest::getOssBucket()const 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); + setCoreParameter("OssBucket", ossBucket); } std::string AddLiveAppRecordConfigRequest::getAppName()const @@ -110,7 +44,7 @@ std::string AddLiveAppRecordConfigRequest::getAppName()const void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string AddLiveAppRecordConfigRequest::getSecurityToken()const @@ -121,7 +55,7 @@ std::string AddLiveAppRecordConfigRequest::getSecurityToken()const void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::vector AddLiveAppRecordConfigRequest::getRecordFormat()const @@ -136,13 +70,68 @@ void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector -#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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index f574044c9..afed956cf 100644 --- a/live/src/model/AddLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/AddLiveAppSnapshotConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ int AddLiveAppSnapshotConfigRequest::getTimeInterval()const void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) { timeInterval_ = timeInterval; - setParameter("TimeInterval", std::to_string(timeInterval)); + setCoreParameter("TimeInterval", std::to_string(timeInterval)); } std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const @@ -44,7 +44,7 @@ std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) { ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); + setCoreParameter("OssBucket", ossBucket); } std::string AddLiveAppSnapshotConfigRequest::getAppName()const @@ -55,7 +55,7 @@ std::string AddLiveAppSnapshotConfigRequest::getAppName()const void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const @@ -66,7 +66,7 @@ std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string AddLiveAppSnapshotConfigRequest::getDomainName()const @@ -77,7 +77,7 @@ std::string AddLiveAppSnapshotConfigRequest::getDomainName()const void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const @@ -88,7 +88,7 @@ std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) { ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); + setCoreParameter("OssEndpoint", ossEndpoint); } std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const @@ -99,7 +99,7 @@ std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) { sequenceOssObject_ = sequenceOssObject; - setParameter("SequenceOssObject", sequenceOssObject); + setCoreParameter("SequenceOssObject", sequenceOssObject); } std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const @@ -110,7 +110,7 @@ std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) { overwriteOssObject_ = overwriteOssObject; - setParameter("OverwriteOssObject", overwriteOssObject); + setCoreParameter("OverwriteOssObject", overwriteOssObject); } long AddLiveAppSnapshotConfigRequest::getOwnerId()const @@ -121,17 +121,6 @@ long AddLiveAppSnapshotConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveAppSnapshotConfigResult.cc b/live/src/model/AddLiveAppSnapshotConfigResult.cc index fe526692d..0c85f4e78 100644 --- a/live/src/model/AddLiveAppSnapshotConfigResult.cc +++ b/live/src/model/AddLiveAppSnapshotConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 66bcb314f..131dcfba2 100644 --- a/live/src/model/AddLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/AddLiveDetectNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddLiveDetectNotifyConfigRequest::getSecurityToken()const void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string AddLiveDetectNotifyConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string AddLiveDetectNotifyConfigRequest::getDomainName()const void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl()const @@ -55,7 +55,7 @@ std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl()const void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) { notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); + setCoreParameter("NotifyUrl", notifyUrl); } long AddLiveDetectNotifyConfigRequest::getOwnerId()const @@ -66,17 +66,6 @@ long AddLiveDetectNotifyConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveDetectNotifyConfigResult.cc b/live/src/model/AddLiveDetectNotifyConfigResult.cc index d3c8791be..0f4c1ef7b 100644 --- a/live/src/model/AddLiveDetectNotifyConfigResult.cc +++ b/live/src/model/AddLiveDetectNotifyConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/AddLiveDomainMappingRequest.cc b/live/src/model/AddLiveDomainMappingRequest.cc index 89d23e9bf..bbbfc6916 100644 --- a/live/src/model/AddLiveDomainMappingRequest.cc +++ b/live/src/model/AddLiveDomainMappingRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest; - -AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping") -{} - -AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest; + +AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping") +{} + +AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest() +{} + std::string AddLiveDomainMappingRequest::getPullDomain()const { return pullDomain_; @@ -33,7 +33,7 @@ std::string AddLiveDomainMappingRequest::getPullDomain()const void AddLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) { pullDomain_ = pullDomain; - setParameter("PullDomain", pullDomain); + setCoreParameter("PullDomain", pullDomain); } std::string AddLiveDomainMappingRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string AddLiveDomainMappingRequest::getSecurityToken()const void AddLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string AddLiveDomainMappingRequest::getPushDomain()const @@ -55,7 +55,7 @@ std::string AddLiveDomainMappingRequest::getPushDomain()const void AddLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) { pushDomain_ = pushDomain; - setParameter("PushDomain", pushDomain); + setCoreParameter("PushDomain", pushDomain); } long AddLiveDomainMappingRequest::getOwnerId()const @@ -66,17 +66,6 @@ long AddLiveDomainMappingRequest::getOwnerId()const void AddLiveDomainMappingRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string AddLiveDomainMappingRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AddLiveDomainMappingRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveDomainMappingResult.cc b/live/src/model/AddLiveDomainMappingResult.cc index 1f9a0a40b..81d6a3894 100644 --- a/live/src/model/AddLiveDomainMappingResult.cc +++ b/live/src/model/AddLiveDomainMappingResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -AddLiveDomainMappingResult::AddLiveDomainMappingResult() : - ServiceResult() -{} - -AddLiveDomainMappingResult::AddLiveDomainMappingResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddLiveDomainMappingResult::~AddLiveDomainMappingResult() -{} - -void AddLiveDomainMappingResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AddLiveDomainMappingResult::AddLiveDomainMappingResult() : + ServiceResult() +{} + +AddLiveDomainMappingResult::AddLiveDomainMappingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveDomainMappingResult::~AddLiveDomainMappingResult() +{} + +void AddLiveDomainMappingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/AddLiveDomainRequest.cc b/live/src/model/AddLiveDomainRequest.cc index 5369f645a..7f6310c68 100644 --- a/live/src/model/AddLiveDomainRequest.cc +++ b/live/src/model/AddLiveDomainRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::AddLiveDomainRequest; - -AddLiveDomainRequest::AddLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveDomain") -{} - -AddLiveDomainRequest::~AddLiveDomainRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::AddLiveDomainRequest; + +AddLiveDomainRequest::AddLiveDomainRequest() : + RpcServiceRequest("live", "2016-11-01", "AddLiveDomain") +{} + +AddLiveDomainRequest::~AddLiveDomainRequest() +{} + std::string AddLiveDomainRequest::getTopLevelDomain()const { return topLevelDomain_; @@ -33,7 +33,7 @@ std::string AddLiveDomainRequest::getTopLevelDomain()const void AddLiveDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) { topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); + setCoreParameter("TopLevelDomain", topLevelDomain); } std::string AddLiveDomainRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string AddLiveDomainRequest::getSecurityToken()const void AddLiveDomainRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string AddLiveDomainRequest::getOwnerAccount()const @@ -55,7 +55,7 @@ std::string AddLiveDomainRequest::getOwnerAccount()const void AddLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount) { ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); + setCoreParameter("OwnerAccount", ownerAccount); } std::string AddLiveDomainRequest::getScope()const @@ -66,7 +66,7 @@ std::string AddLiveDomainRequest::getScope()const void AddLiveDomainRequest::setScope(const std::string& scope) { scope_ = scope; - setParameter("Scope", scope); + setCoreParameter("Scope", scope); } std::string AddLiveDomainRequest::getDomainName()const @@ -77,7 +77,7 @@ std::string AddLiveDomainRequest::getDomainName()const void AddLiveDomainRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long AddLiveDomainRequest::getOwnerId()const @@ -88,7 +88,7 @@ long AddLiveDomainRequest::getOwnerId()const void AddLiveDomainRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddLiveDomainRequest::getRegion()const @@ -99,7 +99,7 @@ std::string AddLiveDomainRequest::getRegion()const void AddLiveDomainRequest::setRegion(const std::string& region) { region_ = region; - setParameter("Region", region); + setCoreParameter("Region", region); } std::string AddLiveDomainRequest::getCheckUrl()const @@ -110,18 +110,7 @@ std::string AddLiveDomainRequest::getCheckUrl()const void AddLiveDomainRequest::setCheckUrl(const std::string& checkUrl) { checkUrl_ = checkUrl; - setParameter("CheckUrl", checkUrl); -} - -std::string AddLiveDomainRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AddLiveDomainRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("CheckUrl", checkUrl); } std::string AddLiveDomainRequest::getLiveDomainType()const @@ -132,6 +121,6 @@ std::string AddLiveDomainRequest::getLiveDomainType()const void AddLiveDomainRequest::setLiveDomainType(const std::string& liveDomainType) { liveDomainType_ = liveDomainType; - setParameter("LiveDomainType", liveDomainType); + setCoreParameter("LiveDomainType", liveDomainType); } diff --git a/live/src/model/AddLiveDomainResult.cc b/live/src/model/AddLiveDomainResult.cc index bb936fb0a..284df16b7 100644 --- a/live/src/model/AddLiveDomainResult.cc +++ b/live/src/model/AddLiveDomainResult.cc @@ -1,45 +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; - -AddLiveDomainResult::AddLiveDomainResult() : - ServiceResult() -{} - -AddLiveDomainResult::AddLiveDomainResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddLiveDomainResult::~AddLiveDomainResult() -{} - -void AddLiveDomainResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +AddLiveDomainResult::AddLiveDomainResult() : + ServiceResult() +{} + +AddLiveDomainResult::AddLiveDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveDomainResult::~AddLiveDomainResult() +{} + +void AddLiveDomainResult::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 deleted file mode 100644 index 4d0244a3f..000000000 --- a/live/src/model/AddLiveMixConfigRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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/AddLiveMixNotifyConfigRequest.cc b/live/src/model/AddLiveMixNotifyConfigRequest.cc deleted file mode 100644 index 3539c9d2d..000000000 --- a/live/src/model/AddLiveMixNotifyConfigRequest.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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/AddLivePullStreamInfoConfigRequest.cc b/live/src/model/AddLivePullStreamInfoConfigRequest.cc deleted file mode 100644 index 65d91107d..000000000 --- a/live/src/model/AddLivePullStreamInfoConfigRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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/AddLiveRecordNotifyConfigRequest.cc b/live/src/model/AddLiveRecordNotifyConfigRequest.cc index 5bc1b2868..15c54a0ff 100644 --- a/live/src/model/AddLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/AddLiveRecordNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl()const void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) { onDemandUrl_ = onDemandUrl; - setParameter("OnDemandUrl", onDemandUrl); + setCoreParameter("OnDemandUrl", onDemandUrl); } std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string AddLiveRecordNotifyConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string AddLiveRecordNotifyConfigRequest::getDomainName()const void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const @@ -66,7 +66,7 @@ std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) { notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); + setCoreParameter("NotifyUrl", notifyUrl); } long AddLiveRecordNotifyConfigRequest::getOwnerId()const @@ -77,7 +77,7 @@ long AddLiveRecordNotifyConfigRequest::getOwnerId()const void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const @@ -88,17 +88,6 @@ bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const 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); + setCoreParameter("NeedStatusNotify", needStatusNotify ? "true" : "false"); } diff --git a/live/src/model/AddLiveRecordNotifyConfigResult.cc b/live/src/model/AddLiveRecordNotifyConfigResult.cc index b0fbd6aa9..1eac39c08 100644 --- a/live/src/model/AddLiveRecordNotifyConfigResult.cc +++ b/live/src/model/AddLiveRecordNotifyConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index eb107d2e0..3fcb0be99 100644 --- a/live/src/model/AddLiveRecordVodConfigRequest.cc +++ b/live/src/model/AddLiveRecordVodConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddLiveRecordVodConfigRequest::getAppName()const void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string AddLiveRecordVodConfigRequest::getAutoCompose()const @@ -44,7 +44,7 @@ std::string AddLiveRecordVodConfigRequest::getAutoCompose()const void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose) { autoCompose_ = autoCompose; - setParameter("AutoCompose", autoCompose); + setCoreParameter("AutoCompose", autoCompose); } std::string AddLiveRecordVodConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string AddLiveRecordVodConfigRequest::getDomainName()const void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int AddLiveRecordVodConfigRequest::getCycleDuration()const @@ -66,7 +66,7 @@ int AddLiveRecordVodConfigRequest::getCycleDuration()const void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) { cycleDuration_ = cycleDuration; - setParameter("CycleDuration", std::to_string(cycleDuration)); + setCoreParameter("CycleDuration", std::to_string(cycleDuration)); } long AddLiveRecordVodConfigRequest::getOwnerId()const @@ -77,7 +77,7 @@ long AddLiveRecordVodConfigRequest::getOwnerId()const void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const @@ -88,7 +88,7 @@ std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId) { composeVodTranscodeGroupId_ = composeVodTranscodeGroupId; - setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId); + setCoreParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId); } std::string AddLiveRecordVodConfigRequest::getStreamName()const @@ -99,7 +99,7 @@ std::string AddLiveRecordVodConfigRequest::getStreamName()const void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const @@ -110,6 +110,6 @@ std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId) { vodTranscodeGroupId_ = vodTranscodeGroupId; - setParameter("VodTranscodeGroupId", vodTranscodeGroupId); + setCoreParameter("VodTranscodeGroupId", vodTranscodeGroupId); } diff --git a/live/src/model/AddLiveRecordVodConfigResult.cc b/live/src/model/AddLiveRecordVodConfigResult.cc index 98fc4c33f..b1a4ad4a6 100644 --- a/live/src/model/AddLiveRecordVodConfigResult.cc +++ b/live/src/model/AddLiveRecordVodConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 356090535..7ef7d5329 100644 --- a/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket()const void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) { ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); + setCoreParameter("OssBucket", ossBucket); } std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const @@ -44,7 +44,7 @@ std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const @@ -55,7 +55,7 @@ std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const @@ -66,7 +66,7 @@ std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const @@ -77,7 +77,7 @@ std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) { ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); + setCoreParameter("OssEndpoint", ossEndpoint); } int AddLiveSnapshotDetectPornConfigRequest::getInterval()const @@ -88,7 +88,7 @@ int AddLiveSnapshotDetectPornConfigRequest::getInterval()const void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) { interval_ = interval; - setParameter("Interval", std::to_string(interval)); + setCoreParameter("Interval", std::to_string(interval)); } long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const @@ -99,7 +99,7 @@ long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const @@ -110,18 +110,7 @@ std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const 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); + setCoreParameter("OssObject", ossObject); } std::vector AddLiveSnapshotDetectPornConfigRequest::getScene()const @@ -133,6 +122,6 @@ void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector -#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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 37ed8bee8..46a6a5ca4 100644 --- a/live/src/model/AddLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddLiveStreamTranscodeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string AddLiveStreamTranscodeRequest::getApp()const void AddLiveStreamTranscodeRequest::setApp(const std::string& app) { app_ = app; - setParameter("App", app); + setCoreParameter("App", app); } std::string AddLiveStreamTranscodeRequest::get_Template()const @@ -44,7 +44,7 @@ std::string AddLiveStreamTranscodeRequest::get_Template()const void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template) { _template_ = _template; - setParameter("_Template", _template); + setCoreParameter("_Template", _template); } std::string AddLiveStreamTranscodeRequest::getSecurityToken()const @@ -55,7 +55,7 @@ std::string AddLiveStreamTranscodeRequest::getSecurityToken()const void AddLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string AddLiveStreamTranscodeRequest::getDomain()const @@ -66,7 +66,7 @@ std::string AddLiveStreamTranscodeRequest::getDomain()const void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain) { domain_ = domain; - setParameter("Domain", domain); + setCoreParameter("Domain", domain); } long AddLiveStreamTranscodeRequest::getOwnerId()const @@ -77,17 +77,6 @@ long AddLiveStreamTranscodeRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveStreamTranscodeResult.cc b/live/src/model/AddLiveStreamTranscodeResult.cc index 12ffae6eb..6acc30b37 100644 --- a/live/src/model/AddLiveStreamTranscodeResult.cc +++ b/live/src/model/AddLiveStreamTranscodeResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 deleted file mode 100644 index 4521ad7be..000000000 --- a/live/src/model/AddMultipleStreamMixServiceRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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/AddTrancodeSEIRequest.cc b/live/src/model/AddTrancodeSEIRequest.cc index 122352515..2b2548bd4 100644 --- a/live/src/model/AddTrancodeSEIRequest.cc +++ b/live/src/model/AddTrancodeSEIRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ int AddTrancodeSEIRequest::getDelay()const void AddTrancodeSEIRequest::setDelay(int delay) { delay_ = delay; - setParameter("Delay", std::to_string(delay)); + setCoreParameter("Delay", std::to_string(delay)); } std::string AddTrancodeSEIRequest::getAppName()const @@ -44,7 +44,7 @@ std::string AddTrancodeSEIRequest::getAppName()const void AddTrancodeSEIRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string AddTrancodeSEIRequest::getRegionId()const @@ -55,7 +55,7 @@ std::string AddTrancodeSEIRequest::getRegionId()const void AddTrancodeSEIRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } int AddTrancodeSEIRequest::getRepeat()const @@ -66,7 +66,7 @@ int AddTrancodeSEIRequest::getRepeat()const void AddTrancodeSEIRequest::setRepeat(int repeat) { repeat_ = repeat; - setParameter("Repeat", std::to_string(repeat)); + setCoreParameter("Repeat", std::to_string(repeat)); } std::string AddTrancodeSEIRequest::getDomainName()const @@ -77,7 +77,7 @@ std::string AddTrancodeSEIRequest::getDomainName()const void AddTrancodeSEIRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string AddTrancodeSEIRequest::getPattern()const @@ -88,7 +88,7 @@ std::string AddTrancodeSEIRequest::getPattern()const void AddTrancodeSEIRequest::setPattern(const std::string& pattern) { pattern_ = pattern; - setParameter("Pattern", pattern); + setCoreParameter("Pattern", pattern); } std::string AddTrancodeSEIRequest::getText()const @@ -99,7 +99,7 @@ std::string AddTrancodeSEIRequest::getText()const void AddTrancodeSEIRequest::setText(const std::string& text) { text_ = text; - setParameter("Text", text); + setCoreParameter("Text", text); } long AddTrancodeSEIRequest::getOwnerId()const @@ -110,7 +110,7 @@ long AddTrancodeSEIRequest::getOwnerId()const void AddTrancodeSEIRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string AddTrancodeSEIRequest::getStreamName()const @@ -121,6 +121,6 @@ std::string AddTrancodeSEIRequest::getStreamName()const void AddTrancodeSEIRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/AddTrancodeSEIResult.cc b/live/src/model/AddTrancodeSEIResult.cc index e7bf720ce..9d2b67a0c 100644 --- a/live/src/model/AddTrancodeSEIResult.cc +++ b/live/src/model/AddTrancodeSEIResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/AllowPushStreamRequest.cc b/live/src/model/AllowPushStreamRequest.cc index 867d8a253..332bffc3b 100644 --- a/live/src/model/AllowPushStreamRequest.cc +++ b/live/src/model/AllowPushStreamRequest.cc @@ -1,161 +1,29 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AllowPushStreamRequest; - -AllowPushStreamRequest::AllowPushStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "AllowPushStream") -{} - -AllowPushStreamRequest::~AllowPushStreamRequest() -{} - -long AllowPushStreamRequest::getCallerParentId()const -{ - return callerParentId_; -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -void AllowPushStreamRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} +#include -bool AllowPushStreamRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} +using AlibabaCloud::Live::Model::AllowPushStreamRequest; -void AllowPushStreamRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} +AllowPushStreamRequest::AllowPushStreamRequest() : + RpcServiceRequest("live", "2016-11-01", "AllowPushStream") +{} -std::string AllowPushStreamRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void AllowPushStreamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string AllowPushStreamRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void AllowPushStreamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string AllowPushStreamRequest::getCallerType()const -{ - return callerType_; -} - -void AllowPushStreamRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -std::string AllowPushStreamRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AllowPushStreamRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string AllowPushStreamRequest::getSecurityToken()const -{ - return securityToken_; -} - -void AllowPushStreamRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string AllowPushStreamRequest::getRegionId()const -{ - return regionId_; -} - -void AllowPushStreamRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string AllowPushStreamRequest::getRequestContent()const -{ - return requestContent_; -} - -void AllowPushStreamRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string AllowPushStreamRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void AllowPushStreamRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string AllowPushStreamRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void AllowPushStreamRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long AllowPushStreamRequest::getCallerUid()const -{ - return callerUid_; -} - -void AllowPushStreamRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} +AllowPushStreamRequest::~AllowPushStreamRequest() +{} std::string AllowPushStreamRequest::getApp_ip()const { @@ -165,7 +33,7 @@ std::string AllowPushStreamRequest::getApp_ip()const void AllowPushStreamRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string AllowPushStreamRequest::getPopProduct()const @@ -176,18 +44,29 @@ std::string AllowPushStreamRequest::getPopProduct()const void AllowPushStreamRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } -std::string AllowPushStreamRequest::getProduct()const +long AllowPushStreamRequest::getCallerParentId()const { - return product_; + return callerParentId_; } -void AllowPushStreamRequest::setProduct(const std::string& product) +void AllowPushStreamRequest::setCallerParentId(long callerParentId) { - product_ = product; - setParameter("Product", product); + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool AllowPushStreamRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void AllowPushStreamRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string AllowPushStreamRequest::getCallerBid()const @@ -198,7 +77,7 @@ std::string AllowPushStreamRequest::getCallerBid()const void AllowPushStreamRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long AllowPushStreamRequest::getOwnerId()const @@ -209,7 +88,18 @@ long AllowPushStreamRequest::getOwnerId()const void AllowPushStreamRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AllowPushStreamRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void AllowPushStreamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string AllowPushStreamRequest::getVersion()const @@ -220,7 +110,29 @@ std::string AllowPushStreamRequest::getVersion()const void AllowPushStreamRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); +} + +std::string AllowPushStreamRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void AllowPushStreamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string AllowPushStreamRequest::getCallerType()const +{ + return callerType_; +} + +void AllowPushStreamRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); } bool AllowPushStreamRequest::getProxy_trust_transport_info()const @@ -231,7 +143,7 @@ bool AllowPushStreamRequest::getProxy_trust_transport_info()const void AllowPushStreamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool AllowPushStreamRequest::getAk_mfa_present()const @@ -242,7 +154,7 @@ bool AllowPushStreamRequest::getAk_mfa_present()const void AllowPushStreamRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string AllowPushStreamRequest::getRoomId()const @@ -253,7 +165,18 @@ std::string AllowPushStreamRequest::getRoomId()const void AllowPushStreamRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); +} + +std::string AllowPushStreamRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AllowPushStreamRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); } bool AllowPushStreamRequest::getSecurity_transport()const @@ -264,7 +187,29 @@ bool AllowPushStreamRequest::getSecurity_transport()const void AllowPushStreamRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string AllowPushStreamRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AllowPushStreamRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string AllowPushStreamRequest::getRegionId()const +{ + return regionId_; +} + +void AllowPushStreamRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); } std::string AllowPushStreamRequest::getRequestId()const @@ -275,7 +220,18 @@ std::string AllowPushStreamRequest::getRequestId()const void AllowPushStreamRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); +} + +std::string AllowPushStreamRequest::getRequestContent()const +{ + return requestContent_; +} + +void AllowPushStreamRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); } std::string AllowPushStreamRequest::getAppId()const @@ -286,6 +242,39 @@ std::string AllowPushStreamRequest::getAppId()const void AllowPushStreamRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); +} + +std::string AllowPushStreamRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void AllowPushStreamRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string AllowPushStreamRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void AllowPushStreamRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long AllowPushStreamRequest::getCallerUid()const +{ + return callerUid_; +} + +void AllowPushStreamRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/AllowPushStreamResult.cc b/live/src/model/AllowPushStreamResult.cc index bef09b517..92556d622 100644 --- a/live/src/model/AllowPushStreamResult.cc +++ b/live/src/model/AllowPushStreamResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -AllowPushStreamResult::AllowPushStreamResult() : - ServiceResult() -{} - -AllowPushStreamResult::AllowPushStreamResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AllowPushStreamResult::~AllowPushStreamResult() -{} - -void AllowPushStreamResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AllowPushStreamResult::AllowPushStreamResult() : + ServiceResult() +{} + +AllowPushStreamResult::AllowPushStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AllowPushStreamResult::~AllowPushStreamResult() +{} + +void AllowPushStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/ApplyBoardTokenRequest.cc b/live/src/model/ApplyBoardTokenRequest.cc index c1604f8da..bb1f660ad 100644 --- a/live/src/model/ApplyBoardTokenRequest.cc +++ b/live/src/model/ApplyBoardTokenRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ApplyBoardTokenRequest; - -ApplyBoardTokenRequest::ApplyBoardTokenRequest() : - RpcServiceRequest("live", "2016-11-01", "ApplyBoardToken") -{} - -ApplyBoardTokenRequest::~ApplyBoardTokenRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ApplyBoardTokenRequest; + +ApplyBoardTokenRequest::ApplyBoardTokenRequest() : + RpcServiceRequest("live", "2016-11-01", "ApplyBoardToken") +{} + +ApplyBoardTokenRequest::~ApplyBoardTokenRequest() +{} + long ApplyBoardTokenRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long ApplyBoardTokenRequest::getCallerParentId()const void ApplyBoardTokenRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool ApplyBoardTokenRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool ApplyBoardTokenRequest::getProxy_original_security_transport()const void ApplyBoardTokenRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string ApplyBoardTokenRequest::getProxy_original_source_ip()const @@ -55,7 +55,7 @@ std::string ApplyBoardTokenRequest::getProxy_original_source_ip()const void ApplyBoardTokenRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string ApplyBoardTokenRequest::getOwnerIdLoginEmail()const @@ -66,7 +66,7 @@ std::string ApplyBoardTokenRequest::getOwnerIdLoginEmail()const void ApplyBoardTokenRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string ApplyBoardTokenRequest::getCallerType()const @@ -77,7 +77,7 @@ std::string ApplyBoardTokenRequest::getCallerType()const void ApplyBoardTokenRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string ApplyBoardTokenRequest::getAccessKeyId()const @@ -88,7 +88,7 @@ std::string ApplyBoardTokenRequest::getAccessKeyId()const void ApplyBoardTokenRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string ApplyBoardTokenRequest::getSecurityToken()const @@ -99,7 +99,7 @@ std::string ApplyBoardTokenRequest::getSecurityToken()const void ApplyBoardTokenRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string ApplyBoardTokenRequest::getRegionId()const @@ -110,7 +110,7 @@ std::string ApplyBoardTokenRequest::getRegionId()const void ApplyBoardTokenRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string ApplyBoardTokenRequest::getRequestContent()const @@ -121,7 +121,7 @@ std::string ApplyBoardTokenRequest::getRequestContent()const void ApplyBoardTokenRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string ApplyBoardTokenRequest::getCallerBidEmail()const @@ -132,7 +132,7 @@ std::string ApplyBoardTokenRequest::getCallerBidEmail()const void ApplyBoardTokenRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string ApplyBoardTokenRequest::getBoardId()const @@ -143,7 +143,7 @@ std::string ApplyBoardTokenRequest::getBoardId()const void ApplyBoardTokenRequest::setBoardId(const std::string& boardId) { boardId_ = boardId; - setParameter("BoardId", boardId); + setCoreParameter("BoardId", boardId); } std::string ApplyBoardTokenRequest::getCallerUidEmail()const @@ -154,7 +154,7 @@ std::string ApplyBoardTokenRequest::getCallerUidEmail()const void ApplyBoardTokenRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long ApplyBoardTokenRequest::getCallerUid()const @@ -165,7 +165,7 @@ long ApplyBoardTokenRequest::getCallerUid()const void ApplyBoardTokenRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string ApplyBoardTokenRequest::getApp_ip()const @@ -176,7 +176,7 @@ std::string ApplyBoardTokenRequest::getApp_ip()const void ApplyBoardTokenRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string ApplyBoardTokenRequest::getPopProduct()const @@ -187,7 +187,7 @@ std::string ApplyBoardTokenRequest::getPopProduct()const void ApplyBoardTokenRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string ApplyBoardTokenRequest::getAppUid()const @@ -198,7 +198,7 @@ std::string ApplyBoardTokenRequest::getAppUid()const void ApplyBoardTokenRequest::setAppUid(const std::string& appUid) { appUid_ = appUid; - setParameter("AppUid", appUid); + setCoreParameter("AppUid", appUid); } std::string ApplyBoardTokenRequest::getCallerBid()const @@ -209,7 +209,7 @@ std::string ApplyBoardTokenRequest::getCallerBid()const void ApplyBoardTokenRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long ApplyBoardTokenRequest::getOwnerId()const @@ -220,7 +220,7 @@ long ApplyBoardTokenRequest::getOwnerId()const void ApplyBoardTokenRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ApplyBoardTokenRequest::getVersion()const @@ -231,7 +231,7 @@ std::string ApplyBoardTokenRequest::getVersion()const void ApplyBoardTokenRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool ApplyBoardTokenRequest::getProxy_trust_transport_info()const @@ -242,7 +242,7 @@ bool ApplyBoardTokenRequest::getProxy_trust_transport_info()const void ApplyBoardTokenRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool ApplyBoardTokenRequest::getAk_mfa_present()const @@ -253,7 +253,7 @@ bool ApplyBoardTokenRequest::getAk_mfa_present()const void ApplyBoardTokenRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool ApplyBoardTokenRequest::getSecurity_transport()const @@ -264,7 +264,7 @@ bool ApplyBoardTokenRequest::getSecurity_transport()const void ApplyBoardTokenRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string ApplyBoardTokenRequest::getRequestId()const @@ -275,7 +275,7 @@ std::string ApplyBoardTokenRequest::getRequestId()const void ApplyBoardTokenRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string ApplyBoardTokenRequest::getAppId()const @@ -286,6 +286,6 @@ std::string ApplyBoardTokenRequest::getAppId()const void ApplyBoardTokenRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/ApplyBoardTokenResult.cc b/live/src/model/ApplyBoardTokenResult.cc index 6fc878595..fade904b2 100644 --- a/live/src/model/ApplyBoardTokenResult.cc +++ b/live/src/model/ApplyBoardTokenResult.cc @@ -1,52 +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; - -ApplyBoardTokenResult::ApplyBoardTokenResult() : - ServiceResult() -{} - -ApplyBoardTokenResult::ApplyBoardTokenResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ApplyBoardTokenResult::~ApplyBoardTokenResult() -{} - -void ApplyBoardTokenResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ApplyBoardTokenResult::ApplyBoardTokenResult() : + ServiceResult() +{} + +ApplyBoardTokenResult::ApplyBoardTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyBoardTokenResult::~ApplyBoardTokenResult() +{} + +void ApplyBoardTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Token"].isNull()) token_ = value["Token"].asString(); if(!value["Expired"].isNull()) expired_ = value["Expired"].asString(); - -} - + +} + std::string ApplyBoardTokenResult::getToken()const { return token_; diff --git a/live/src/model/ApplyRecordTokenRequest.cc b/live/src/model/ApplyRecordTokenRequest.cc new file mode 100644 index 000000000..da5c9e357 --- /dev/null +++ b/live/src/model/ApplyRecordTokenRequest.cc @@ -0,0 +1,269 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ApplyRecordTokenRequest; + +ApplyRecordTokenRequest::ApplyRecordTokenRequest() : + RpcServiceRequest("live", "2016-11-01", "ApplyRecordToken") +{} + +ApplyRecordTokenRequest::~ApplyRecordTokenRequest() +{} + +std::string ApplyRecordTokenRequest::getApp_ip()const +{ + return app_ip_; +} + +void ApplyRecordTokenRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string ApplyRecordTokenRequest::getPopProduct()const +{ + return popProduct_; +} + +void ApplyRecordTokenRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +long ApplyRecordTokenRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void ApplyRecordTokenRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool ApplyRecordTokenRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void ApplyRecordTokenRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string ApplyRecordTokenRequest::getCallerBid()const +{ + return callerBid_; +} + +void ApplyRecordTokenRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long ApplyRecordTokenRequest::getOwnerId()const +{ + return ownerId_; +} + +void ApplyRecordTokenRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ApplyRecordTokenRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void ApplyRecordTokenRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string ApplyRecordTokenRequest::getVersion()const +{ + return version_; +} + +void ApplyRecordTokenRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +std::string ApplyRecordTokenRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void ApplyRecordTokenRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string ApplyRecordTokenRequest::getCallerType()const +{ + return callerType_; +} + +void ApplyRecordTokenRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +bool ApplyRecordTokenRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void ApplyRecordTokenRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool ApplyRecordTokenRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void ApplyRecordTokenRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +std::string ApplyRecordTokenRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ApplyRecordTokenRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +bool ApplyRecordTokenRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void ApplyRecordTokenRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string ApplyRecordTokenRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ApplyRecordTokenRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ApplyRecordTokenRequest::getRegionId()const +{ + return regionId_; +} + +void ApplyRecordTokenRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string ApplyRecordTokenRequest::getRequestId()const +{ + return requestId_; +} + +void ApplyRecordTokenRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string ApplyRecordTokenRequest::getRequestContent()const +{ + return requestContent_; +} + +void ApplyRecordTokenRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string ApplyRecordTokenRequest::getAppId()const +{ + return appId_; +} + +void ApplyRecordTokenRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + +std::string ApplyRecordTokenRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void ApplyRecordTokenRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string ApplyRecordTokenRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void ApplyRecordTokenRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long ApplyRecordTokenRequest::getCallerUid()const +{ + return callerUid_; +} + +void ApplyRecordTokenRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/ApplyRecordTokenResult.cc b/live/src/model/ApplyRecordTokenResult.cc new file mode 100644 index 000000000..6a918ad05 --- /dev/null +++ b/live/src/model/ApplyRecordTokenResult.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; + +ApplyRecordTokenResult::ApplyRecordTokenResult() : + ServiceResult() +{} + +ApplyRecordTokenResult::ApplyRecordTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyRecordTokenResult::~ApplyRecordTokenResult() +{} + +void ApplyRecordTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["SecurityToken"].isNull()) + securityToken_ = value["SecurityToken"].asString(); + if(!value["AccessKeySecret"].isNull()) + accessKeySecret_ = value["AccessKeySecret"].asString(); + if(!value["AccessKeyId"].isNull()) + accessKeyId_ = value["AccessKeyId"].asString(); + if(!value["Expiration"].isNull()) + expiration_ = value["Expiration"].asString(); + +} + +std::string ApplyRecordTokenResult::getSecurityToken()const +{ + return securityToken_; +} + +std::string ApplyRecordTokenResult::getAccessKeyId()const +{ + return accessKeyId_; +} + +std::string ApplyRecordTokenResult::getAccessKeySecret()const +{ + return accessKeySecret_; +} + +std::string ApplyRecordTokenResult::getExpiration()const +{ + return expiration_; +} + diff --git a/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc b/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc index 376f9f133..beccceb61 100644 --- a/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc +++ b/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::BatchDeleteLiveDomainConfigsRequest; - -BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs") -{} - -BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::BatchDeleteLiveDomainConfigsRequest; + +BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest() : + RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs") +{} + +BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest() +{} + std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames()const { return functionNames_; @@ -33,7 +33,7 @@ std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames()const void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames) { functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); + setCoreParameter("FunctionNames", functionNames); } std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken()const void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames()const @@ -55,7 +55,7 @@ std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames()const void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames) { domainNames_ = domainNames; - setParameter("DomainNames", domainNames); + setCoreParameter("DomainNames", domainNames); } std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount()const @@ -66,7 +66,7 @@ std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount()const void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) { ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); + setCoreParameter("OwnerAccount", ownerAccount); } long BatchDeleteLiveDomainConfigsRequest::getOwnerId()const @@ -77,17 +77,6 @@ long BatchDeleteLiveDomainConfigsRequest::getOwnerId()const void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string BatchDeleteLiveDomainConfigsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void BatchDeleteLiveDomainConfigsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/BatchDeleteLiveDomainConfigsResult.cc b/live/src/model/BatchDeleteLiveDomainConfigsResult.cc index a802610d2..4f06dadc6 100644 --- a/live/src/model/BatchDeleteLiveDomainConfigsResult.cc +++ b/live/src/model/BatchDeleteLiveDomainConfigsResult.cc @@ -1,45 +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; - -BatchDeleteLiveDomainConfigsResult::BatchDeleteLiveDomainConfigsResult() : - ServiceResult() -{} - -BatchDeleteLiveDomainConfigsResult::BatchDeleteLiveDomainConfigsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BatchDeleteLiveDomainConfigsResult::~BatchDeleteLiveDomainConfigsResult() -{} - -void BatchDeleteLiveDomainConfigsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +BatchDeleteLiveDomainConfigsResult::BatchDeleteLiveDomainConfigsResult() : + ServiceResult() +{} + +BatchDeleteLiveDomainConfigsResult::BatchDeleteLiveDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteLiveDomainConfigsResult::~BatchDeleteLiveDomainConfigsResult() +{} + +void BatchDeleteLiveDomainConfigsResult::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/BatchSetLiveDomainConfigsRequest.cc b/live/src/model/BatchSetLiveDomainConfigsRequest.cc index d331ca78d..3e9a2e60d 100644 --- a/live/src/model/BatchSetLiveDomainConfigsRequest.cc +++ b/live/src/model/BatchSetLiveDomainConfigsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::BatchSetLiveDomainConfigsRequest; - -BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs") -{} - -BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::BatchSetLiveDomainConfigsRequest; + +BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest() : + RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs") +{} + +BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest() +{} + std::string BatchSetLiveDomainConfigsRequest::getFunctions()const { return functions_; @@ -33,7 +33,7 @@ std::string BatchSetLiveDomainConfigsRequest::getFunctions()const void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string& functions) { functions_ = functions; - setParameter("Functions", functions); + setCoreParameter("Functions", functions); } std::string BatchSetLiveDomainConfigsRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string BatchSetLiveDomainConfigsRequest::getSecurityToken()const void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string BatchSetLiveDomainConfigsRequest::getDomainNames()const @@ -55,7 +55,7 @@ std::string BatchSetLiveDomainConfigsRequest::getDomainNames()const void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames) { domainNames_ = domainNames; - setParameter("DomainNames", domainNames); + setCoreParameter("DomainNames", domainNames); } std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount()const @@ -66,7 +66,7 @@ std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount()const void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) { ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); + setCoreParameter("OwnerAccount", ownerAccount); } long BatchSetLiveDomainConfigsRequest::getOwnerId()const @@ -77,17 +77,6 @@ long BatchSetLiveDomainConfigsRequest::getOwnerId()const void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string BatchSetLiveDomainConfigsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void BatchSetLiveDomainConfigsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/BatchSetLiveDomainConfigsResult.cc b/live/src/model/BatchSetLiveDomainConfigsResult.cc index 23f6c4f8f..b4f09c069 100644 --- a/live/src/model/BatchSetLiveDomainConfigsResult.cc +++ b/live/src/model/BatchSetLiveDomainConfigsResult.cc @@ -1,45 +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; - -BatchSetLiveDomainConfigsResult::BatchSetLiveDomainConfigsResult() : - ServiceResult() -{} - -BatchSetLiveDomainConfigsResult::BatchSetLiveDomainConfigsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BatchSetLiveDomainConfigsResult::~BatchSetLiveDomainConfigsResult() -{} - -void BatchSetLiveDomainConfigsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +BatchSetLiveDomainConfigsResult::BatchSetLiveDomainConfigsResult() : + ServiceResult() +{} + +BatchSetLiveDomainConfigsResult::BatchSetLiveDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchSetLiveDomainConfigsResult::~BatchSetLiveDomainConfigsResult() +{} + +void BatchSetLiveDomainConfigsResult::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/CompleteBoardRecordRequest.cc b/live/src/model/CompleteBoardRecordRequest.cc new file mode 100644 index 000000000..bc6a9e9b8 --- /dev/null +++ b/live/src/model/CompleteBoardRecordRequest.cc @@ -0,0 +1,291 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CompleteBoardRecordRequest; + +CompleteBoardRecordRequest::CompleteBoardRecordRequest() : + RpcServiceRequest("live", "2016-11-01", "CompleteBoardRecord") +{} + +CompleteBoardRecordRequest::~CompleteBoardRecordRequest() +{} + +long CompleteBoardRecordRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void CompleteBoardRecordRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool CompleteBoardRecordRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void CompleteBoardRecordRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string CompleteBoardRecordRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void CompleteBoardRecordRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string CompleteBoardRecordRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void CompleteBoardRecordRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string CompleteBoardRecordRequest::getCallerType()const +{ + return callerType_; +} + +void CompleteBoardRecordRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string CompleteBoardRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CompleteBoardRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string CompleteBoardRecordRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CompleteBoardRecordRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CompleteBoardRecordRequest::getRegionId()const +{ + return regionId_; +} + +void CompleteBoardRecordRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string CompleteBoardRecordRequest::getRequestContent()const +{ + return requestContent_; +} + +void CompleteBoardRecordRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string CompleteBoardRecordRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void CompleteBoardRecordRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string CompleteBoardRecordRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void CompleteBoardRecordRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long CompleteBoardRecordRequest::getCallerUid()const +{ + return callerUid_; +} + +void CompleteBoardRecordRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string CompleteBoardRecordRequest::getApp_ip()const +{ + return app_ip_; +} + +void CompleteBoardRecordRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string CompleteBoardRecordRequest::getPopProduct()const +{ + return popProduct_; +} + +void CompleteBoardRecordRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string CompleteBoardRecordRequest::getEndTime()const +{ + return endTime_; +} + +void CompleteBoardRecordRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string CompleteBoardRecordRequest::getCallerBid()const +{ + return callerBid_; +} + +void CompleteBoardRecordRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long CompleteBoardRecordRequest::getOwnerId()const +{ + return ownerId_; +} + +void CompleteBoardRecordRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CompleteBoardRecordRequest::getVersion()const +{ + return version_; +} + +void CompleteBoardRecordRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool CompleteBoardRecordRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void CompleteBoardRecordRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool CompleteBoardRecordRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void CompleteBoardRecordRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool CompleteBoardRecordRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void CompleteBoardRecordRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string CompleteBoardRecordRequest::getRecordId()const +{ + return recordId_; +} + +void CompleteBoardRecordRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setCoreParameter("RecordId", recordId); +} + +std::string CompleteBoardRecordRequest::getRequestId()const +{ + return requestId_; +} + +void CompleteBoardRecordRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string CompleteBoardRecordRequest::getAppId()const +{ + return appId_; +} + +void CompleteBoardRecordRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + diff --git a/live/src/model/CompleteBoardRecordResult.cc b/live/src/model/CompleteBoardRecordResult.cc new file mode 100644 index 000000000..9cfe27da3 --- /dev/null +++ b/live/src/model/CompleteBoardRecordResult.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; + +CompleteBoardRecordResult::CompleteBoardRecordResult() : + ServiceResult() +{} + +CompleteBoardRecordResult::CompleteBoardRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CompleteBoardRecordResult::~CompleteBoardRecordResult() +{} + +void CompleteBoardRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OssPath"].isNull()) + ossPath_ = value["OssPath"].asString(); + +} + +std::string CompleteBoardRecordResult::getOssPath()const +{ + return ossPath_; +} + diff --git a/live/src/model/CompleteBoardRequest.cc b/live/src/model/CompleteBoardRequest.cc index ae352e4dd..1d76e8952 100644 --- a/live/src/model/CompleteBoardRequest.cc +++ b/live/src/model/CompleteBoardRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CompleteBoardRequest; - -CompleteBoardRequest::CompleteBoardRequest() : - RpcServiceRequest("live", "2016-11-01", "CompleteBoard") -{} - -CompleteBoardRequest::~CompleteBoardRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CompleteBoardRequest; + +CompleteBoardRequest::CompleteBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "CompleteBoard") +{} + +CompleteBoardRequest::~CompleteBoardRequest() +{} + std::string CompleteBoardRequest::getApp_ip()const { return app_ip_; @@ -33,7 +33,7 @@ std::string CompleteBoardRequest::getApp_ip()const void CompleteBoardRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string CompleteBoardRequest::getPopProduct()const @@ -44,7 +44,7 @@ std::string CompleteBoardRequest::getPopProduct()const void CompleteBoardRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } long CompleteBoardRequest::getCallerParentId()const @@ -55,7 +55,7 @@ long CompleteBoardRequest::getCallerParentId()const void CompleteBoardRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool CompleteBoardRequest::getProxy_original_security_transport()const @@ -66,7 +66,7 @@ bool CompleteBoardRequest::getProxy_original_security_transport()const void CompleteBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string CompleteBoardRequest::getCallerBid()const @@ -77,7 +77,7 @@ std::string CompleteBoardRequest::getCallerBid()const void CompleteBoardRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long CompleteBoardRequest::getOwnerId()const @@ -88,7 +88,7 @@ long CompleteBoardRequest::getOwnerId()const void CompleteBoardRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string CompleteBoardRequest::getProxy_original_source_ip()const @@ -99,7 +99,7 @@ std::string CompleteBoardRequest::getProxy_original_source_ip()const void CompleteBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string CompleteBoardRequest::getVersion()const @@ -110,7 +110,7 @@ std::string CompleteBoardRequest::getVersion()const void CompleteBoardRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } std::string CompleteBoardRequest::getOwnerIdLoginEmail()const @@ -121,7 +121,7 @@ std::string CompleteBoardRequest::getOwnerIdLoginEmail()const void CompleteBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string CompleteBoardRequest::getCallerType()const @@ -132,7 +132,7 @@ std::string CompleteBoardRequest::getCallerType()const void CompleteBoardRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } bool CompleteBoardRequest::getProxy_trust_transport_info()const @@ -143,7 +143,7 @@ bool CompleteBoardRequest::getProxy_trust_transport_info()const void CompleteBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool CompleteBoardRequest::getAk_mfa_present()const @@ -154,7 +154,7 @@ bool CompleteBoardRequest::getAk_mfa_present()const void CompleteBoardRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string CompleteBoardRequest::getAccessKeyId()const @@ -165,7 +165,7 @@ std::string CompleteBoardRequest::getAccessKeyId()const void CompleteBoardRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } bool CompleteBoardRequest::getSecurity_transport()const @@ -176,7 +176,7 @@ bool CompleteBoardRequest::getSecurity_transport()const void CompleteBoardRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string CompleteBoardRequest::getSecurityToken()const @@ -187,7 +187,7 @@ std::string CompleteBoardRequest::getSecurityToken()const void CompleteBoardRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string CompleteBoardRequest::getRegionId()const @@ -198,7 +198,7 @@ std::string CompleteBoardRequest::getRegionId()const void CompleteBoardRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string CompleteBoardRequest::getRequestId()const @@ -209,7 +209,7 @@ std::string CompleteBoardRequest::getRequestId()const void CompleteBoardRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string CompleteBoardRequest::getRequestContent()const @@ -220,7 +220,7 @@ std::string CompleteBoardRequest::getRequestContent()const void CompleteBoardRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string CompleteBoardRequest::getAppId()const @@ -231,7 +231,7 @@ std::string CompleteBoardRequest::getAppId()const void CompleteBoardRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } std::string CompleteBoardRequest::getCallerBidEmail()const @@ -242,7 +242,7 @@ std::string CompleteBoardRequest::getCallerBidEmail()const void CompleteBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string CompleteBoardRequest::getBoardId()const @@ -253,7 +253,7 @@ std::string CompleteBoardRequest::getBoardId()const void CompleteBoardRequest::setBoardId(const std::string& boardId) { boardId_ = boardId; - setParameter("BoardId", boardId); + setCoreParameter("BoardId", boardId); } std::string CompleteBoardRequest::getCallerUidEmail()const @@ -264,7 +264,7 @@ std::string CompleteBoardRequest::getCallerUidEmail()const void CompleteBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long CompleteBoardRequest::getCallerUid()const @@ -275,6 +275,6 @@ long CompleteBoardRequest::getCallerUid()const void CompleteBoardRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/CompleteBoardResult.cc b/live/src/model/CompleteBoardResult.cc index 25a388c98..a499bf1c2 100644 --- a/live/src/model/CompleteBoardResult.cc +++ b/live/src/model/CompleteBoardResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -CompleteBoardResult::CompleteBoardResult() : - ServiceResult() -{} - -CompleteBoardResult::CompleteBoardResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CompleteBoardResult::~CompleteBoardResult() -{} - -void CompleteBoardResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CompleteBoardResult::CompleteBoardResult() : + ServiceResult() +{} + +CompleteBoardResult::CompleteBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CompleteBoardResult::~CompleteBoardResult() +{} + +void CompleteBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/CopyCasterRequest.cc b/live/src/model/CopyCasterRequest.cc index cb2185894..21c72a6b7 100644 --- a/live/src/model/CopyCasterRequest.cc +++ b/live/src/model/CopyCasterRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string CopyCasterRequest::getSrcCasterId()const void CopyCasterRequest::setSrcCasterId(const std::string& srcCasterId) { srcCasterId_ = srcCasterId; - setParameter("SrcCasterId", srcCasterId); + setCoreParameter("SrcCasterId", srcCasterId); } std::string CopyCasterRequest::getCasterName()const @@ -44,7 +44,7 @@ std::string CopyCasterRequest::getCasterName()const void CopyCasterRequest::setCasterName(const std::string& casterName) { casterName_ = casterName; - setParameter("CasterName", casterName); + setCoreParameter("CasterName", casterName); } std::string CopyCasterRequest::getClientToken()const @@ -55,7 +55,7 @@ std::string CopyCasterRequest::getClientToken()const void CopyCasterRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; - setParameter("ClientToken", clientToken); + setCoreParameter("ClientToken", clientToken); } long CopyCasterRequest::getOwnerId()const @@ -66,6 +66,6 @@ long CopyCasterRequest::getOwnerId()const void CopyCasterRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/CopyCasterResult.cc b/live/src/model/CopyCasterResult.cc index d7d1d7e76..8c4f42741 100644 --- a/live/src/model/CopyCasterResult.cc +++ b/live/src/model/CopyCasterResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index e5ffd6fc9..30a9e14e3 100644 --- a/live/src/model/CopyCasterSceneConfigRequest.cc +++ b/live/src/model/CopyCasterSceneConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string CopyCasterSceneConfigRequest::getFromSceneId()const void CopyCasterSceneConfigRequest::setFromSceneId(const std::string& fromSceneId) { fromSceneId_ = fromSceneId; - setParameter("FromSceneId", fromSceneId); + setCoreParameter("FromSceneId", fromSceneId); } std::string CopyCasterSceneConfigRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string CopyCasterSceneConfigRequest::getCasterId()const void CopyCasterSceneConfigRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long CopyCasterSceneConfigRequest::getOwnerId()const @@ -55,7 +55,7 @@ long CopyCasterSceneConfigRequest::getOwnerId()const void CopyCasterSceneConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string CopyCasterSceneConfigRequest::getToSceneId()const @@ -66,6 +66,6 @@ std::string CopyCasterSceneConfigRequest::getToSceneId()const void CopyCasterSceneConfigRequest::setToSceneId(const std::string& toSceneId) { toSceneId_ = toSceneId; - setParameter("ToSceneId", toSceneId); + setCoreParameter("ToSceneId", toSceneId); } diff --git a/live/src/model/CopyCasterSceneConfigResult.cc b/live/src/model/CopyCasterSceneConfigResult.cc index c922802fd..71bfb2d2f 100644 --- a/live/src/model/CopyCasterSceneConfigResult.cc +++ b/live/src/model/CopyCasterSceneConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/CreateBoardRequest.cc b/live/src/model/CreateBoardRequest.cc index a8b938a52..32041328e 100644 --- a/live/src/model/CreateBoardRequest.cc +++ b/live/src/model/CreateBoardRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateBoardRequest; - -CreateBoardRequest::CreateBoardRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateBoard") -{} - -CreateBoardRequest::~CreateBoardRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CreateBoardRequest; + +CreateBoardRequest::CreateBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "CreateBoard") +{} + +CreateBoardRequest::~CreateBoardRequest() +{} + std::string CreateBoardRequest::getApp_ip()const { return app_ip_; @@ -33,7 +33,7 @@ std::string CreateBoardRequest::getApp_ip()const void CreateBoardRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string CreateBoardRequest::getPopProduct()const @@ -44,7 +44,7 @@ std::string CreateBoardRequest::getPopProduct()const void CreateBoardRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } long CreateBoardRequest::getCallerParentId()const @@ -55,7 +55,7 @@ long CreateBoardRequest::getCallerParentId()const void CreateBoardRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool CreateBoardRequest::getProxy_original_security_transport()const @@ -66,7 +66,7 @@ bool CreateBoardRequest::getProxy_original_security_transport()const void CreateBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string CreateBoardRequest::getAppUid()const @@ -77,7 +77,7 @@ std::string CreateBoardRequest::getAppUid()const void CreateBoardRequest::setAppUid(const std::string& appUid) { appUid_ = appUid; - setParameter("AppUid", appUid); + setCoreParameter("AppUid", appUid); } std::string CreateBoardRequest::getCallerBid()const @@ -88,7 +88,7 @@ std::string CreateBoardRequest::getCallerBid()const void CreateBoardRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long CreateBoardRequest::getOwnerId()const @@ -99,7 +99,7 @@ long CreateBoardRequest::getOwnerId()const void CreateBoardRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string CreateBoardRequest::getProxy_original_source_ip()const @@ -110,7 +110,7 @@ std::string CreateBoardRequest::getProxy_original_source_ip()const void CreateBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string CreateBoardRequest::getVersion()const @@ -121,7 +121,7 @@ std::string CreateBoardRequest::getVersion()const void CreateBoardRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } std::string CreateBoardRequest::getOwnerIdLoginEmail()const @@ -132,7 +132,7 @@ std::string CreateBoardRequest::getOwnerIdLoginEmail()const void CreateBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string CreateBoardRequest::getCallerType()const @@ -143,7 +143,7 @@ std::string CreateBoardRequest::getCallerType()const void CreateBoardRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } bool CreateBoardRequest::getProxy_trust_transport_info()const @@ -154,7 +154,7 @@ bool CreateBoardRequest::getProxy_trust_transport_info()const void CreateBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool CreateBoardRequest::getAk_mfa_present()const @@ -165,7 +165,7 @@ bool CreateBoardRequest::getAk_mfa_present()const void CreateBoardRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string CreateBoardRequest::getAccessKeyId()const @@ -176,7 +176,7 @@ std::string CreateBoardRequest::getAccessKeyId()const void CreateBoardRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } bool CreateBoardRequest::getSecurity_transport()const @@ -187,7 +187,7 @@ bool CreateBoardRequest::getSecurity_transport()const void CreateBoardRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string CreateBoardRequest::getSecurityToken()const @@ -198,7 +198,7 @@ std::string CreateBoardRequest::getSecurityToken()const void CreateBoardRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string CreateBoardRequest::getRegionId()const @@ -209,7 +209,7 @@ std::string CreateBoardRequest::getRegionId()const void CreateBoardRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string CreateBoardRequest::getRequestId()const @@ -220,7 +220,7 @@ std::string CreateBoardRequest::getRequestId()const void CreateBoardRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string CreateBoardRequest::getRequestContent()const @@ -231,7 +231,7 @@ std::string CreateBoardRequest::getRequestContent()const void CreateBoardRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string CreateBoardRequest::getAppId()const @@ -242,7 +242,7 @@ std::string CreateBoardRequest::getAppId()const void CreateBoardRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } std::string CreateBoardRequest::getCallerBidEmail()const @@ -253,7 +253,7 @@ std::string CreateBoardRequest::getCallerBidEmail()const void CreateBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string CreateBoardRequest::getCallerUidEmail()const @@ -264,7 +264,7 @@ std::string CreateBoardRequest::getCallerUidEmail()const void CreateBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long CreateBoardRequest::getCallerUid()const @@ -275,6 +275,6 @@ long CreateBoardRequest::getCallerUid()const void CreateBoardRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/CreateBoardResult.cc b/live/src/model/CreateBoardResult.cc index d3eab3455..d8dbcdb01 100644 --- a/live/src/model/CreateBoardResult.cc +++ b/live/src/model/CreateBoardResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -CreateBoardResult::CreateBoardResult() : - ServiceResult() -{} - -CreateBoardResult::CreateBoardResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateBoardResult::~CreateBoardResult() -{} - -void CreateBoardResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CreateBoardResult::CreateBoardResult() : + ServiceResult() +{} + +CreateBoardResult::CreateBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateBoardResult::~CreateBoardResult() +{} + +void CreateBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["BoardId"].isNull()) boardId_ = value["BoardId"].asString(); - -} - + +} + std::string CreateBoardResult::getBoardId()const { return boardId_; diff --git a/live/src/model/CreateCasterRequest.cc b/live/src/model/CreateCasterRequest.cc index 299dcf277..d597ccfb4 100644 --- a/live/src/model/CreateCasterRequest.cc +++ b/live/src/model/CreateCasterRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string CreateCasterRequest::getCasterTemplate()const void CreateCasterRequest::setCasterTemplate(const std::string& casterTemplate) { casterTemplate_ = casterTemplate; - setParameter("CasterTemplate", casterTemplate); + setCoreParameter("CasterTemplate", casterTemplate); } std::string CreateCasterRequest::getExpireTime()const @@ -44,7 +44,7 @@ std::string CreateCasterRequest::getExpireTime()const void CreateCasterRequest::setExpireTime(const std::string& expireTime) { expireTime_ = expireTime; - setParameter("ExpireTime", expireTime); + setCoreParameter("ExpireTime", expireTime); } int CreateCasterRequest::getNormType()const @@ -55,7 +55,7 @@ int CreateCasterRequest::getNormType()const void CreateCasterRequest::setNormType(int normType) { normType_ = normType; - setParameter("NormType", std::to_string(normType)); + setCoreParameter("NormType", std::to_string(normType)); } std::string CreateCasterRequest::getCasterName()const @@ -66,7 +66,7 @@ std::string CreateCasterRequest::getCasterName()const void CreateCasterRequest::setCasterName(const std::string& casterName) { casterName_ = casterName; - setParameter("CasterName", casterName); + setCoreParameter("CasterName", casterName); } std::string CreateCasterRequest::getClientToken()const @@ -77,7 +77,7 @@ std::string CreateCasterRequest::getClientToken()const void CreateCasterRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; - setParameter("ClientToken", clientToken); + setCoreParameter("ClientToken", clientToken); } std::string CreateCasterRequest::getChargeType()const @@ -88,7 +88,7 @@ std::string CreateCasterRequest::getChargeType()const void CreateCasterRequest::setChargeType(const std::string& chargeType) { chargeType_ = chargeType; - setParameter("ChargeType", chargeType); + setCoreParameter("ChargeType", chargeType); } long CreateCasterRequest::getOwnerId()const @@ -99,7 +99,7 @@ long CreateCasterRequest::getOwnerId()const void CreateCasterRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string CreateCasterRequest::getPurchaseTime()const @@ -110,6 +110,6 @@ std::string CreateCasterRequest::getPurchaseTime()const void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime) { purchaseTime_ = purchaseTime; - setParameter("PurchaseTime", purchaseTime); + setCoreParameter("PurchaseTime", purchaseTime); } diff --git a/live/src/model/CreateCasterResult.cc b/live/src/model/CreateCasterResult.cc index 7c5e037ed..70bae5158 100644 --- a/live/src/model/CreateCasterResult.cc +++ b/live/src/model/CreateCasterResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 250b93d15..d49bcb531 100644 --- a/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc +++ b/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket) { ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); + setCoreParameter("OssBucket", ossBucket); } std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const @@ -44,7 +44,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const @@ -55,7 +55,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const @@ -66,7 +66,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const @@ -77,7 +77,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint) { ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); + setCoreParameter("OssEndpoint", ossEndpoint); } std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const @@ -88,7 +88,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const @@ -99,7 +99,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const @@ -110,7 +110,7 @@ long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const @@ -121,7 +121,7 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const @@ -132,17 +132,6 @@ std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const 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); + setCoreParameter("OssObject", ossObject); } diff --git a/live/src/model/CreateLiveStreamRecordIndexFilesResult.cc b/live/src/model/CreateLiveStreamRecordIndexFilesResult.cc index 891d3af07..5bbdb882b 100644 --- a/live/src/model/CreateLiveStreamRecordIndexFilesResult.cc +++ b/live/src/model/CreateLiveStreamRecordIndexFilesResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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(); @@ -69,9 +69,9 @@ void CreateLiveStreamRecordIndexFilesResult::parse(const std::string &payload) 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/CreateRoomRequest.cc b/live/src/model/CreateRoomRequest.cc index 135481b60..f0dd3af6f 100644 --- a/live/src/model/CreateRoomRequest.cc +++ b/live/src/model/CreateRoomRequest.cc @@ -1,30 +1,41 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateRoomRequest; - -CreateRoomRequest::CreateRoomRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateRoom") -{} - -CreateRoomRequest::~CreateRoomRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CreateRoomRequest; + +CreateRoomRequest::CreateRoomRequest() : + RpcServiceRequest("live", "2016-11-01", "CreateRoom") +{} + +CreateRoomRequest::~CreateRoomRequest() +{} + +std::string CreateRoomRequest::getTemplateIds()const +{ + return templateIds_; +} + +void CreateRoomRequest::setTemplateIds(const std::string& templateIds) +{ + templateIds_ = templateIds; + setCoreParameter("TemplateIds", templateIds); +} + long CreateRoomRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +44,7 @@ long CreateRoomRequest::getCallerParentId()const void CreateRoomRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool CreateRoomRequest::getProxy_original_security_transport()const @@ -44,7 +55,7 @@ bool CreateRoomRequest::getProxy_original_security_transport()const void CreateRoomRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string CreateRoomRequest::getProxy_original_source_ip()const @@ -55,7 +66,7 @@ std::string CreateRoomRequest::getProxy_original_source_ip()const void CreateRoomRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string CreateRoomRequest::getAnchorId()const @@ -66,7 +77,18 @@ std::string CreateRoomRequest::getAnchorId()const void CreateRoomRequest::setAnchorId(const std::string& anchorId) { anchorId_ = anchorId; - setParameter("AnchorId", anchorId); + setCoreParameter("AnchorId", anchorId); +} + +bool CreateRoomRequest::getUseAppTranscode()const +{ + return useAppTranscode_; +} + +void CreateRoomRequest::setUseAppTranscode(bool useAppTranscode) +{ + useAppTranscode_ = useAppTranscode; + setCoreParameter("UseAppTranscode", useAppTranscode ? "true" : "false"); } std::string CreateRoomRequest::getOwnerIdLoginEmail()const @@ -77,7 +99,7 @@ std::string CreateRoomRequest::getOwnerIdLoginEmail()const void CreateRoomRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string CreateRoomRequest::getCallerType()const @@ -88,7 +110,7 @@ std::string CreateRoomRequest::getCallerType()const void CreateRoomRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string CreateRoomRequest::getAccessKeyId()const @@ -99,7 +121,7 @@ std::string CreateRoomRequest::getAccessKeyId()const void CreateRoomRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string CreateRoomRequest::getSecurityToken()const @@ -110,7 +132,7 @@ std::string CreateRoomRequest::getSecurityToken()const void CreateRoomRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string CreateRoomRequest::getRegionId()const @@ -121,7 +143,7 @@ std::string CreateRoomRequest::getRegionId()const void CreateRoomRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string CreateRoomRequest::getRequestContent()const @@ -132,7 +154,7 @@ std::string CreateRoomRequest::getRequestContent()const void CreateRoomRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string CreateRoomRequest::getCallerBidEmail()const @@ -143,7 +165,7 @@ std::string CreateRoomRequest::getCallerBidEmail()const void CreateRoomRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string CreateRoomRequest::getCallerUidEmail()const @@ -154,7 +176,7 @@ std::string CreateRoomRequest::getCallerUidEmail()const void CreateRoomRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long CreateRoomRequest::getCallerUid()const @@ -165,7 +187,7 @@ long CreateRoomRequest::getCallerUid()const void CreateRoomRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string CreateRoomRequest::getApp_ip()const @@ -176,7 +198,7 @@ std::string CreateRoomRequest::getApp_ip()const void CreateRoomRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string CreateRoomRequest::getPopProduct()const @@ -187,18 +209,7 @@ std::string CreateRoomRequest::getPopProduct()const void CreateRoomRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); -} - -std::string CreateRoomRequest::getProduct()const -{ - return product_; -} - -void CreateRoomRequest::setProduct(const std::string& product) -{ - product_ = product; - setParameter("Product", product); + setCoreParameter("PopProduct", popProduct); } std::string CreateRoomRequest::getCallerBid()const @@ -209,7 +220,7 @@ std::string CreateRoomRequest::getCallerBid()const void CreateRoomRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long CreateRoomRequest::getOwnerId()const @@ -220,7 +231,7 @@ long CreateRoomRequest::getOwnerId()const void CreateRoomRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string CreateRoomRequest::getVersion()const @@ -231,7 +242,7 @@ std::string CreateRoomRequest::getVersion()const void CreateRoomRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool CreateRoomRequest::getProxy_trust_transport_info()const @@ -242,7 +253,7 @@ bool CreateRoomRequest::getProxy_trust_transport_info()const void CreateRoomRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool CreateRoomRequest::getAk_mfa_present()const @@ -253,7 +264,7 @@ bool CreateRoomRequest::getAk_mfa_present()const void CreateRoomRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string CreateRoomRequest::getRoomId()const @@ -264,7 +275,7 @@ std::string CreateRoomRequest::getRoomId()const void CreateRoomRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); } bool CreateRoomRequest::getSecurity_transport()const @@ -275,7 +286,7 @@ bool CreateRoomRequest::getSecurity_transport()const void CreateRoomRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string CreateRoomRequest::getRequestId()const @@ -286,7 +297,7 @@ std::string CreateRoomRequest::getRequestId()const void CreateRoomRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string CreateRoomRequest::getAppId()const @@ -297,6 +308,6 @@ std::string CreateRoomRequest::getAppId()const void CreateRoomRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/CreateRoomResult.cc b/live/src/model/CreateRoomResult.cc index d6e2b5020..b952625f7 100644 --- a/live/src/model/CreateRoomResult.cc +++ b/live/src/model/CreateRoomResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -CreateRoomResult::CreateRoomResult() : - ServiceResult() -{} - -CreateRoomResult::CreateRoomResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateRoomResult::~CreateRoomResult() -{} - -void CreateRoomResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CreateRoomResult::CreateRoomResult() : + ServiceResult() +{} + +CreateRoomResult::CreateRoomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateRoomResult::~CreateRoomResult() +{} + +void CreateRoomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["AppId"].isNull()) appId_ = value["AppId"].asString(); if(!value["RoomId"].isNull()) roomId_ = value["RoomId"].asString(); if(!value["AnchorId"].isNull()) anchorId_ = value["AnchorId"].asString(); - -} - + +} + std::string CreateRoomResult::getAppId()const { return appId_; diff --git a/live/src/model/DeleteBoardRequest.cc b/live/src/model/DeleteBoardRequest.cc index 23ed68d3a..808251ad1 100644 --- a/live/src/model/DeleteBoardRequest.cc +++ b/live/src/model/DeleteBoardRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteBoardRequest; - -DeleteBoardRequest::DeleteBoardRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteBoard") -{} - -DeleteBoardRequest::~DeleteBoardRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteBoardRequest; + +DeleteBoardRequest::DeleteBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteBoard") +{} + +DeleteBoardRequest::~DeleteBoardRequest() +{} + std::string DeleteBoardRequest::getApp_ip()const { return app_ip_; @@ -33,7 +33,7 @@ std::string DeleteBoardRequest::getApp_ip()const void DeleteBoardRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DeleteBoardRequest::getPopProduct()const @@ -44,7 +44,7 @@ std::string DeleteBoardRequest::getPopProduct()const void DeleteBoardRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } long DeleteBoardRequest::getCallerParentId()const @@ -55,7 +55,7 @@ long DeleteBoardRequest::getCallerParentId()const void DeleteBoardRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DeleteBoardRequest::getProxy_original_security_transport()const @@ -66,7 +66,7 @@ bool DeleteBoardRequest::getProxy_original_security_transport()const void DeleteBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DeleteBoardRequest::getCallerBid()const @@ -77,7 +77,7 @@ std::string DeleteBoardRequest::getCallerBid()const void DeleteBoardRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DeleteBoardRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DeleteBoardRequest::getOwnerId()const void DeleteBoardRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteBoardRequest::getProxy_original_source_ip()const @@ -99,7 +99,7 @@ std::string DeleteBoardRequest::getProxy_original_source_ip()const void DeleteBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DeleteBoardRequest::getVersion()const @@ -110,7 +110,7 @@ std::string DeleteBoardRequest::getVersion()const void DeleteBoardRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } std::string DeleteBoardRequest::getOwnerIdLoginEmail()const @@ -121,7 +121,7 @@ std::string DeleteBoardRequest::getOwnerIdLoginEmail()const void DeleteBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DeleteBoardRequest::getCallerType()const @@ -132,7 +132,7 @@ std::string DeleteBoardRequest::getCallerType()const void DeleteBoardRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } bool DeleteBoardRequest::getProxy_trust_transport_info()const @@ -143,7 +143,7 @@ bool DeleteBoardRequest::getProxy_trust_transport_info()const void DeleteBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DeleteBoardRequest::getAk_mfa_present()const @@ -154,7 +154,7 @@ bool DeleteBoardRequest::getAk_mfa_present()const void DeleteBoardRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string DeleteBoardRequest::getAccessKeyId()const @@ -165,7 +165,7 @@ std::string DeleteBoardRequest::getAccessKeyId()const void DeleteBoardRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } bool DeleteBoardRequest::getSecurity_transport()const @@ -176,7 +176,7 @@ bool DeleteBoardRequest::getSecurity_transport()const void DeleteBoardRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DeleteBoardRequest::getSecurityToken()const @@ -187,7 +187,7 @@ std::string DeleteBoardRequest::getSecurityToken()const void DeleteBoardRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteBoardRequest::getRegionId()const @@ -198,7 +198,7 @@ std::string DeleteBoardRequest::getRegionId()const void DeleteBoardRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DeleteBoardRequest::getRequestId()const @@ -209,7 +209,7 @@ std::string DeleteBoardRequest::getRequestId()const void DeleteBoardRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DeleteBoardRequest::getRequestContent()const @@ -220,7 +220,7 @@ std::string DeleteBoardRequest::getRequestContent()const void DeleteBoardRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DeleteBoardRequest::getAppId()const @@ -231,7 +231,7 @@ std::string DeleteBoardRequest::getAppId()const void DeleteBoardRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } std::string DeleteBoardRequest::getCallerBidEmail()const @@ -242,7 +242,7 @@ std::string DeleteBoardRequest::getCallerBidEmail()const void DeleteBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DeleteBoardRequest::getBoardId()const @@ -253,7 +253,7 @@ std::string DeleteBoardRequest::getBoardId()const void DeleteBoardRequest::setBoardId(const std::string& boardId) { boardId_ = boardId; - setParameter("BoardId", boardId); + setCoreParameter("BoardId", boardId); } std::string DeleteBoardRequest::getCallerUidEmail()const @@ -264,7 +264,7 @@ std::string DeleteBoardRequest::getCallerUidEmail()const void DeleteBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DeleteBoardRequest::getCallerUid()const @@ -275,6 +275,6 @@ long DeleteBoardRequest::getCallerUid()const void DeleteBoardRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/DeleteBoardResult.cc b/live/src/model/DeleteBoardResult.cc index dffc02f22..7770b0b21 100644 --- a/live/src/model/DeleteBoardResult.cc +++ b/live/src/model/DeleteBoardResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -DeleteBoardResult::DeleteBoardResult() : - ServiceResult() -{} - -DeleteBoardResult::DeleteBoardResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteBoardResult::~DeleteBoardResult() -{} - -void DeleteBoardResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteBoardResult::DeleteBoardResult() : + ServiceResult() +{} + +DeleteBoardResult::DeleteBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteBoardResult::~DeleteBoardResult() +{} + +void DeleteBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteCasterComponentRequest.cc b/live/src/model/DeleteCasterComponentRequest.cc index cf2faf0f9..d8afc3cea 100644 --- a/live/src/model/DeleteCasterComponentRequest.cc +++ b/live/src/model/DeleteCasterComponentRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteCasterComponentRequest::getComponentId()const void DeleteCasterComponentRequest::setComponentId(const std::string& componentId) { componentId_ = componentId; - setParameter("ComponentId", componentId); + setCoreParameter("ComponentId", componentId); } std::string DeleteCasterComponentRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DeleteCasterComponentRequest::getCasterId()const void DeleteCasterComponentRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DeleteCasterComponentRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DeleteCasterComponentRequest::getOwnerId()const void DeleteCasterComponentRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterComponentResult.cc b/live/src/model/DeleteCasterComponentResult.cc index b6a016899..02ca3e22b 100644 --- a/live/src/model/DeleteCasterComponentResult.cc +++ b/live/src/model/DeleteCasterComponentResult.cc @@ -1,52 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/DeleteCasterEpisodeGroupRequest.cc b/live/src/model/DeleteCasterEpisodeGroupRequest.cc index a0034abe3..ea07f4ae7 100644 --- a/live/src/model/DeleteCasterEpisodeGroupRequest.cc +++ b/live/src/model/DeleteCasterEpisodeGroupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ long DeleteCasterEpisodeGroupRequest::getOwnerId()const void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteCasterEpisodeGroupRequest::getProgramId()const @@ -44,6 +44,6 @@ std::string DeleteCasterEpisodeGroupRequest::getProgramId()const void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string& programId) { programId_ = programId; - setParameter("ProgramId", programId); + setCoreParameter("ProgramId", programId); } diff --git a/live/src/model/DeleteCasterEpisodeGroupResult.cc b/live/src/model/DeleteCasterEpisodeGroupResult.cc index 88572c3e8..077e1f7b7 100644 --- a/live/src/model/DeleteCasterEpisodeGroupResult.cc +++ b/live/src/model/DeleteCasterEpisodeGroupResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 9a7df2b79..1f556a83b 100644 --- a/live/src/model/DeleteCasterEpisodeRequest.cc +++ b/live/src/model/DeleteCasterEpisodeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteCasterEpisodeRequest::getCasterId()const void DeleteCasterEpisodeRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DeleteCasterEpisodeRequest::getOwnerId()const @@ -44,7 +44,7 @@ long DeleteCasterEpisodeRequest::getOwnerId()const void DeleteCasterEpisodeRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteCasterEpisodeRequest::getEpisodeId()const @@ -55,6 +55,6 @@ std::string DeleteCasterEpisodeRequest::getEpisodeId()const void DeleteCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) { episodeId_ = episodeId; - setParameter("EpisodeId", episodeId); + setCoreParameter("EpisodeId", episodeId); } diff --git a/live/src/model/DeleteCasterEpisodeResult.cc b/live/src/model/DeleteCasterEpisodeResult.cc index 9e2e5b8ae..306ca62e3 100644 --- a/live/src/model/DeleteCasterEpisodeResult.cc +++ b/live/src/model/DeleteCasterEpisodeResult.cc @@ -1,52 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/DeleteCasterLayoutRequest.cc b/live/src/model/DeleteCasterLayoutRequest.cc index 40d0648ef..a12aa7b00 100644 --- a/live/src/model/DeleteCasterLayoutRequest.cc +++ b/live/src/model/DeleteCasterLayoutRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteCasterLayoutRequest::getCasterId()const void DeleteCasterLayoutRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DeleteCasterLayoutRequest::getOwnerId()const @@ -44,7 +44,7 @@ long DeleteCasterLayoutRequest::getOwnerId()const void DeleteCasterLayoutRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteCasterLayoutRequest::getLayoutId()const @@ -55,6 +55,6 @@ std::string DeleteCasterLayoutRequest::getLayoutId()const void DeleteCasterLayoutRequest::setLayoutId(const std::string& layoutId) { layoutId_ = layoutId; - setParameter("LayoutId", layoutId); + setCoreParameter("LayoutId", layoutId); } diff --git a/live/src/model/DeleteCasterLayoutResult.cc b/live/src/model/DeleteCasterLayoutResult.cc index 3a7e75e55..810472401 100644 --- a/live/src/model/DeleteCasterLayoutResult.cc +++ b/live/src/model/DeleteCasterLayoutResult.cc @@ -1,52 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/DeleteCasterProgramRequest.cc b/live/src/model/DeleteCasterProgramRequest.cc index 80dd183b6..00c7065d0 100644 --- a/live/src/model/DeleteCasterProgramRequest.cc +++ b/live/src/model/DeleteCasterProgramRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteCasterProgramRequest::getCasterId()const void DeleteCasterProgramRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DeleteCasterProgramRequest::getOwnerId()const @@ -44,6 +44,6 @@ long DeleteCasterProgramRequest::getOwnerId()const void DeleteCasterProgramRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterProgramResult.cc b/live/src/model/DeleteCasterProgramResult.cc index a458a260a..758e76ae2 100644 --- a/live/src/model/DeleteCasterProgramResult.cc +++ b/live/src/model/DeleteCasterProgramResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index f2e7bdac8..5d0b3379d 100644 --- a/live/src/model/DeleteCasterRequest.cc +++ b/live/src/model/DeleteCasterRequest.cc @@ -1,30 +1,41 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteCasterRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + std::string DeleteCasterRequest::getCasterId()const { return casterId_; @@ -33,7 +44,7 @@ std::string DeleteCasterRequest::getCasterId()const void DeleteCasterRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DeleteCasterRequest::getOwnerId()const @@ -44,6 +55,6 @@ long DeleteCasterRequest::getOwnerId()const void DeleteCasterRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterResult.cc b/live/src/model/DeleteCasterResult.cc index eeb0fe242..7ca3d831c 100644 --- a/live/src/model/DeleteCasterResult.cc +++ b/live/src/model/DeleteCasterResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 20ccc3f94..4cb8a09d6 100644 --- a/live/src/model/DeleteCasterSceneConfigRequest.cc +++ b/live/src/model/DeleteCasterSceneConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteCasterSceneConfigRequest::getCasterId()const void DeleteCasterSceneConfigRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string DeleteCasterSceneConfigRequest::getSceneId()const @@ -44,7 +44,7 @@ std::string DeleteCasterSceneConfigRequest::getSceneId()const void DeleteCasterSceneConfigRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long DeleteCasterSceneConfigRequest::getOwnerId()const @@ -55,7 +55,7 @@ long DeleteCasterSceneConfigRequest::getOwnerId()const void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteCasterSceneConfigRequest::getType()const @@ -66,6 +66,6 @@ std::string DeleteCasterSceneConfigRequest::getType()const void DeleteCasterSceneConfigRequest::setType(const std::string& type) { type_ = type; - setParameter("Type", type); + setCoreParameter("Type", type); } diff --git a/live/src/model/DeleteCasterSceneConfigResult.cc b/live/src/model/DeleteCasterSceneConfigResult.cc index 429e69dfa..ae7b15446 100644 --- a/live/src/model/DeleteCasterSceneConfigResult.cc +++ b/live/src/model/DeleteCasterSceneConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 82d5e6d00..9de292c73 100644 --- a/live/src/model/DeleteCasterVideoResourceRequest.cc +++ b/live/src/model/DeleteCasterVideoResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteCasterVideoResourceRequest::getResourceId()const void DeleteCasterVideoResourceRequest::setResourceId(const std::string& resourceId) { resourceId_ = resourceId; - setParameter("ResourceId", resourceId); + setCoreParameter("ResourceId", resourceId); } std::string DeleteCasterVideoResourceRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DeleteCasterVideoResourceRequest::getCasterId()const void DeleteCasterVideoResourceRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DeleteCasterVideoResourceRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DeleteCasterVideoResourceRequest::getOwnerId()const void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterVideoResourceResult.cc b/live/src/model/DeleteCasterVideoResourceResult.cc index ba7fdccd1..5fa53301c 100644 --- a/live/src/model/DeleteCasterVideoResourceResult.cc +++ b/live/src/model/DeleteCasterVideoResourceResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index b64c58247..fc45cd064 100644 --- a/live/src/model/DeleteLiveAppRecordConfigRequest.cc +++ b/live/src/model/DeleteLiveAppRecordConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLiveAppRecordConfigRequest::getAppName()const void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveAppRecordConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DeleteLiveAppRecordConfigRequest::getDomainName()const void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveAppRecordConfigRequest::getOwnerId()const @@ -66,7 +66,7 @@ long DeleteLiveAppRecordConfigRequest::getOwnerId()const void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteLiveAppRecordConfigRequest::getStreamName()const @@ -77,17 +77,6 @@ std::string DeleteLiveAppRecordConfigRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DeleteLiveAppRecordConfigResult.cc b/live/src/model/DeleteLiveAppRecordConfigResult.cc index 3dcc5697d..21ec47e4a 100644 --- a/live/src/model/DeleteLiveAppRecordConfigResult.cc +++ b/live/src/model/DeleteLiveAppRecordConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 94f8e7de9..9d035d426 100644 --- a/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const @@ -66,17 +66,6 @@ long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAppSnapshotConfigResult.cc b/live/src/model/DeleteLiveAppSnapshotConfigResult.cc index 07ed0319c..8303da6d7 100644 --- a/live/src/model/DeleteLiveAppSnapshotConfigResult.cc +++ b/live/src/model/DeleteLiveAppSnapshotConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 1d3ab8b1e..205428801 100644 --- a/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken()const void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveDetectNotifyConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DeleteLiveDetectNotifyConfigRequest::getDomainName()const void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveDetectNotifyConfigRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DeleteLiveDetectNotifyConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveDetectNotifyConfigResult.cc b/live/src/model/DeleteLiveDetectNotifyConfigResult.cc index 9b62e2554..f3265d786 100644 --- a/live/src/model/DeleteLiveDetectNotifyConfigResult.cc +++ b/live/src/model/DeleteLiveDetectNotifyConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/DeleteLiveDomainMappingRequest.cc b/live/src/model/DeleteLiveDomainMappingRequest.cc index 6a0348570..7650467e8 100644 --- a/live/src/model/DeleteLiveDomainMappingRequest.cc +++ b/live/src/model/DeleteLiveDomainMappingRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest; - -DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping") -{} - -DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest; + +DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping") +{} + +DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() +{} + std::string DeleteLiveDomainMappingRequest::getPullDomain()const { return pullDomain_; @@ -33,7 +33,7 @@ std::string DeleteLiveDomainMappingRequest::getPullDomain()const void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) { pullDomain_ = pullDomain; - setParameter("PullDomain", pullDomain); + setCoreParameter("PullDomain", pullDomain); } std::string DeleteLiveDomainMappingRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DeleteLiveDomainMappingRequest::getSecurityToken()const void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveDomainMappingRequest::getPushDomain()const @@ -55,7 +55,7 @@ std::string DeleteLiveDomainMappingRequest::getPushDomain()const void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) { pushDomain_ = pushDomain; - setParameter("PushDomain", pushDomain); + setCoreParameter("PushDomain", pushDomain); } long DeleteLiveDomainMappingRequest::getOwnerId()const @@ -66,17 +66,6 @@ long DeleteLiveDomainMappingRequest::getOwnerId()const void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteLiveDomainMappingRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteLiveDomainMappingRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveDomainMappingResult.cc b/live/src/model/DeleteLiveDomainMappingResult.cc index a13b1ce6f..ee8690da3 100644 --- a/live/src/model/DeleteLiveDomainMappingResult.cc +++ b/live/src/model/DeleteLiveDomainMappingResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult() : - ServiceResult() -{} - -DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveDomainMappingResult::~DeleteLiveDomainMappingResult() -{} - -void DeleteLiveDomainMappingResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult() : + ServiceResult() +{} + +DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveDomainMappingResult::~DeleteLiveDomainMappingResult() +{} + +void DeleteLiveDomainMappingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLiveDomainRequest.cc b/live/src/model/DeleteLiveDomainRequest.cc index 326f050a5..1410b1c0e 100644 --- a/live/src/model/DeleteLiveDomainRequest.cc +++ b/live/src/model/DeleteLiveDomainRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DeleteLiveDomainRequest; - -DeleteLiveDomainRequest::DeleteLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomain") -{} - -DeleteLiveDomainRequest::~DeleteLiveDomainRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DeleteLiveDomainRequest; + +DeleteLiveDomainRequest::DeleteLiveDomainRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomain") +{} + +DeleteLiveDomainRequest::~DeleteLiveDomainRequest() +{} + std::string DeleteLiveDomainRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string DeleteLiveDomainRequest::getSecurityToken()const void DeleteLiveDomainRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveDomainRequest::getOwnerAccount()const @@ -44,7 +44,7 @@ std::string DeleteLiveDomainRequest::getOwnerAccount()const void DeleteLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount) { ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); + setCoreParameter("OwnerAccount", ownerAccount); } std::string DeleteLiveDomainRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DeleteLiveDomainRequest::getDomainName()const void DeleteLiveDomainRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveDomainRequest::getOwnerId()const @@ -66,17 +66,6 @@ long DeleteLiveDomainRequest::getOwnerId()const void DeleteLiveDomainRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteLiveDomainRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteLiveDomainRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveDomainResult.cc b/live/src/model/DeleteLiveDomainResult.cc index 39de7e0a6..b22affbd9 100644 --- a/live/src/model/DeleteLiveDomainResult.cc +++ b/live/src/model/DeleteLiveDomainResult.cc @@ -1,45 +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; - -DeleteLiveDomainResult::DeleteLiveDomainResult() : - ServiceResult() -{} - -DeleteLiveDomainResult::DeleteLiveDomainResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveDomainResult::~DeleteLiveDomainResult() -{} - -void DeleteLiveDomainResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DeleteLiveDomainResult::DeleteLiveDomainResult() : + ServiceResult() +{} + +DeleteLiveDomainResult::DeleteLiveDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveDomainResult::~DeleteLiveDomainResult() +{} + +void DeleteLiveDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc index ea1dcb276..607bfca75 100644 --- a/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc +++ b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveLazyPullStreamInfoConfigRequest; - -DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig") -{} - -DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveLazyPullStreamInfoConfigRequest; + +DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig") +{} + +DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest() +{} + std::string DeleteLiveLazyPullStreamInfoConfigRequest::getApp_ip()const { return app_ip_; @@ -33,7 +33,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getApp_ip()const void DeleteLiveLazyPullStreamInfoConfigRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getPopProduct()const @@ -44,7 +44,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getPopProduct()const void DeleteLiveLazyPullStreamInfoConfigRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } long DeleteLiveLazyPullStreamInfoConfigRequest::getCallerParentId()const @@ -55,7 +55,7 @@ long DeleteLiveLazyPullStreamInfoConfigRequest::getCallerParentId()const void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName()const @@ -66,7 +66,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName()const void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } bool DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_original_security_transport()const @@ -77,7 +77,7 @@ bool DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_original_security_trans void DeleteLiveLazyPullStreamInfoConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerBid()const @@ -88,7 +88,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerBid()const void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId()const @@ -99,7 +99,7 @@ long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId()const void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_original_source_ip()const @@ -110,7 +110,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_original_source_ void DeleteLiveLazyPullStreamInfoConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getVersion()const @@ -121,7 +121,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getVersion()const void DeleteLiveLazyPullStreamInfoConfigRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerIdLoginEmail()const @@ -132,7 +132,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerIdLoginEmail()con void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerType()const @@ -143,7 +143,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerType()const void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } bool DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_trust_transport_info()const @@ -154,7 +154,7 @@ bool DeleteLiveLazyPullStreamInfoConfigRequest::getProxy_trust_transport_info()c void DeleteLiveLazyPullStreamInfoConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DeleteLiveLazyPullStreamInfoConfigRequest::getAk_mfa_present()const @@ -165,7 +165,7 @@ bool DeleteLiveLazyPullStreamInfoConfigRequest::getAk_mfa_present()const void DeleteLiveLazyPullStreamInfoConfigRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAccessKeyId()const @@ -176,7 +176,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAccessKeyId()const void DeleteLiveLazyPullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } bool DeleteLiveLazyPullStreamInfoConfigRequest::getSecurity_transport()const @@ -187,7 +187,7 @@ bool DeleteLiveLazyPullStreamInfoConfigRequest::getSecurity_transport()const void DeleteLiveLazyPullStreamInfoConfigRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName()const @@ -198,7 +198,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName()const void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getSecurityToken()const @@ -209,7 +209,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getSecurityToken()const void DeleteLiveLazyPullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRegionId()const @@ -220,7 +220,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRegionId()const void DeleteLiveLazyPullStreamInfoConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRequestId()const @@ -231,7 +231,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRequestId()const void DeleteLiveLazyPullStreamInfoConfigRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRequestContent()const @@ -242,7 +242,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getRequestContent()const void DeleteLiveLazyPullStreamInfoConfigRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerBidEmail()const @@ -253,7 +253,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerBidEmail()const void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerUidEmail()const @@ -264,7 +264,7 @@ std::string DeleteLiveLazyPullStreamInfoConfigRequest::getCallerUidEmail()const void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DeleteLiveLazyPullStreamInfoConfigRequest::getCallerUid()const @@ -275,6 +275,6 @@ long DeleteLiveLazyPullStreamInfoConfigRequest::getCallerUid()const void DeleteLiveLazyPullStreamInfoConfigRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc b/live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc index 6bd7027b0..d94034f53 100644 --- a/live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc +++ b/live/src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -DeleteLiveLazyPullStreamInfoConfigResult::DeleteLiveLazyPullStreamInfoConfigResult() : - ServiceResult() -{} - -DeleteLiveLazyPullStreamInfoConfigResult::DeleteLiveLazyPullStreamInfoConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveLazyPullStreamInfoConfigResult::~DeleteLiveLazyPullStreamInfoConfigResult() -{} - -void DeleteLiveLazyPullStreamInfoConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteLiveLazyPullStreamInfoConfigResult::DeleteLiveLazyPullStreamInfoConfigResult() : + ServiceResult() +{} + +DeleteLiveLazyPullStreamInfoConfigResult::DeleteLiveLazyPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveLazyPullStreamInfoConfigResult::~DeleteLiveLazyPullStreamInfoConfigResult() +{} + +void DeleteLiveLazyPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLiveMixConfigRequest.cc b/live/src/model/DeleteLiveMixConfigRequest.cc deleted file mode 100644 index 23f810f7f..000000000 --- a/live/src/model/DeleteLiveMixConfigRequest.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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/DeleteLiveMixNotifyConfigRequest.cc b/live/src/model/DeleteLiveMixNotifyConfigRequest.cc deleted file mode 100644 index b6fc97d59..000000000 --- a/live/src/model/DeleteLiveMixNotifyConfigRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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/DeleteLivePullStreamInfoConfigRequest.cc b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc index 16b1102d5..b826e500b 100644 --- a/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc +++ b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLivePullStreamInfoConfigRequest::getAppName()const void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DeleteLivePullStreamInfoConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DeleteLivePullStreamInfoConfigRequest::getSecurityToken()const void DeleteLivePullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLivePullStreamInfoConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DeleteLivePullStreamInfoConfigRequest::getDomainName()const void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLivePullStreamInfoConfigRequest::getOwnerId()const @@ -66,7 +66,7 @@ long DeleteLivePullStreamInfoConfigRequest::getOwnerId()const void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const @@ -77,17 +77,6 @@ std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DeleteLivePullStreamInfoConfigResult.cc b/live/src/model/DeleteLivePullStreamInfoConfigResult.cc index 4115f4995..f84fe9045 100644 --- a/live/src/model/DeleteLivePullStreamInfoConfigResult.cc +++ b/live/src/model/DeleteLivePullStreamInfoConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 67ef77b6c..c1e581bfb 100644 --- a/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken()const void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveRecordNotifyConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DeleteLiveRecordNotifyConfigRequest::getDomainName()const void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveRecordNotifyConfigRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DeleteLiveRecordNotifyConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveRecordNotifyConfigResult.cc b/live/src/model/DeleteLiveRecordNotifyConfigResult.cc index 0b82219e1..03967b7c6 100644 --- a/live/src/model/DeleteLiveRecordNotifyConfigResult.cc +++ b/live/src/model/DeleteLiveRecordNotifyConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 91ff7a575..4d23bddf8 100644 --- a/live/src/model/DeleteLiveRecordVodConfigRequest.cc +++ b/live/src/model/DeleteLiveRecordVodConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLiveRecordVodConfigRequest::getAppName()const void DeleteLiveRecordVodConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DeleteLiveRecordVodConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DeleteLiveRecordVodConfigRequest::getSecurityToken()const void DeleteLiveRecordVodConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveRecordVodConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DeleteLiveRecordVodConfigRequest::getDomainName()const void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveRecordVodConfigRequest::getOwnerId()const @@ -66,7 +66,7 @@ long DeleteLiveRecordVodConfigRequest::getOwnerId()const void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DeleteLiveRecordVodConfigRequest::getStreamName()const @@ -77,7 +77,7 @@ std::string DeleteLiveRecordVodConfigRequest::getStreamName()const void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } std::string DeleteLiveRecordVodConfigRequest::getAccessKeyId()const @@ -88,6 +88,6 @@ std::string DeleteLiveRecordVodConfigRequest::getAccessKeyId()const void DeleteLiveRecordVodConfigRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } diff --git a/live/src/model/DeleteLiveRecordVodConfigResult.cc b/live/src/model/DeleteLiveRecordVodConfigResult.cc index be9772541..2f0d20461 100644 --- a/live/src/model/DeleteLiveRecordVodConfigResult.cc +++ b/live/src/model/DeleteLiveRecordVodConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index e02c75268..5e865305b 100644 --- a/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName()const void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken()const void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName()const void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId()const @@ -66,17 +66,6 @@ long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc b/live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc index 2d0a02c3c..812150a72 100644 --- a/live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc +++ b/live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/DeleteLiveSpecificConfigRequest.cc b/live/src/model/DeleteLiveSpecificConfigRequest.cc deleted file mode 100644 index c39412e4c..000000000 --- a/live/src/model/DeleteLiveSpecificConfigRequest.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveSpecificConfigRequest; - -DeleteLiveSpecificConfigRequest::DeleteLiveSpecificConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveSpecificConfig") -{} - -DeleteLiveSpecificConfigRequest::~DeleteLiveSpecificConfigRequest() -{} - -std::string DeleteLiveSpecificConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteLiveSpecificConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DeleteLiveSpecificConfigRequest::getConfigId()const -{ - return configId_; -} - -void DeleteLiveSpecificConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - -std::string DeleteLiveSpecificConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DeleteLiveSpecificConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DeleteLiveSpecificConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteLiveSpecificConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteLiveSpecificConfigRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteLiveSpecificConfigRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - diff --git a/live/src/model/DeleteLiveStreamTranscodeRequest.cc b/live/src/model/DeleteLiveStreamTranscodeRequest.cc index 53ffda616..43b48fbeb 100644 --- a/live/src/model/DeleteLiveStreamTranscodeRequest.cc +++ b/live/src/model/DeleteLiveStreamTranscodeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DeleteLiveStreamTranscodeRequest::getApp()const void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app) { app_ = app; - setParameter("App", app); + setCoreParameter("App", app); } std::string DeleteLiveStreamTranscodeRequest::get_Template()const @@ -44,7 +44,7 @@ std::string DeleteLiveStreamTranscodeRequest::get_Template()const void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template) { _template_ = _template; - setParameter("_Template", _template); + setCoreParameter("_Template", _template); } std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const @@ -55,7 +55,7 @@ std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DeleteLiveStreamTranscodeRequest::getDomain()const @@ -66,7 +66,7 @@ std::string DeleteLiveStreamTranscodeRequest::getDomain()const void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain) { domain_ = domain; - setParameter("Domain", domain); + setCoreParameter("Domain", domain); } long DeleteLiveStreamTranscodeRequest::getOwnerId()const @@ -77,17 +77,6 @@ long DeleteLiveStreamTranscodeRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveStreamTranscodeResult.cc b/live/src/model/DeleteLiveStreamTranscodeResult.cc index 71b2fa4e2..11224a6fa 100644 --- a/live/src/model/DeleteLiveStreamTranscodeResult.cc +++ b/live/src/model/DeleteLiveStreamTranscodeResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 8ba560e48..4b58b5046 100644 --- a/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DeleteLiveStreamsNotifyUrlConfigRequest::getRegionId()const void DeleteLiveStreamsNotifyUrlConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName()const void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId()const void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc index f9d6355df..db3745057 100644 --- a/live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc +++ b/live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/DeleteRoomRequest.cc b/live/src/model/DeleteRoomRequest.cc index b161c8b01..169ce49ef 100644 --- a/live/src/model/DeleteRoomRequest.cc +++ b/live/src/model/DeleteRoomRequest.cc @@ -1,161 +1,29 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteRoomRequest; - -DeleteRoomRequest::DeleteRoomRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteRoom") -{} - -DeleteRoomRequest::~DeleteRoomRequest() -{} - -long DeleteRoomRequest::getCallerParentId()const -{ - return callerParentId_; -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -void DeleteRoomRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} +#include -bool DeleteRoomRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} +using AlibabaCloud::Live::Model::DeleteRoomRequest; -void DeleteRoomRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} +DeleteRoomRequest::DeleteRoomRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteRoom") +{} -std::string DeleteRoomRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void DeleteRoomRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string DeleteRoomRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void DeleteRoomRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string DeleteRoomRequest::getCallerType()const -{ - return callerType_; -} - -void DeleteRoomRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -std::string DeleteRoomRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteRoomRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteRoomRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteRoomRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DeleteRoomRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteRoomRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteRoomRequest::getRequestContent()const -{ - return requestContent_; -} - -void DeleteRoomRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string DeleteRoomRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void DeleteRoomRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string DeleteRoomRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void DeleteRoomRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long DeleteRoomRequest::getCallerUid()const -{ - return callerUid_; -} - -void DeleteRoomRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} +DeleteRoomRequest::~DeleteRoomRequest() +{} std::string DeleteRoomRequest::getApp_ip()const { @@ -165,7 +33,7 @@ std::string DeleteRoomRequest::getApp_ip()const void DeleteRoomRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DeleteRoomRequest::getPopProduct()const @@ -176,18 +44,29 @@ std::string DeleteRoomRequest::getPopProduct()const void DeleteRoomRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } -std::string DeleteRoomRequest::getProduct()const +long DeleteRoomRequest::getCallerParentId()const { - return product_; + return callerParentId_; } -void DeleteRoomRequest::setProduct(const std::string& product) +void DeleteRoomRequest::setCallerParentId(long callerParentId) { - product_ = product; - setParameter("Product", product); + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DeleteRoomRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DeleteRoomRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DeleteRoomRequest::getCallerBid()const @@ -198,7 +77,7 @@ std::string DeleteRoomRequest::getCallerBid()const void DeleteRoomRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DeleteRoomRequest::getOwnerId()const @@ -209,7 +88,18 @@ long DeleteRoomRequest::getOwnerId()const void DeleteRoomRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteRoomRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DeleteRoomRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DeleteRoomRequest::getVersion()const @@ -220,7 +110,29 @@ std::string DeleteRoomRequest::getVersion()const void DeleteRoomRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); +} + +std::string DeleteRoomRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DeleteRoomRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DeleteRoomRequest::getCallerType()const +{ + return callerType_; +} + +void DeleteRoomRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); } bool DeleteRoomRequest::getProxy_trust_transport_info()const @@ -231,7 +143,7 @@ bool DeleteRoomRequest::getProxy_trust_transport_info()const void DeleteRoomRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DeleteRoomRequest::getAk_mfa_present()const @@ -242,7 +154,7 @@ bool DeleteRoomRequest::getAk_mfa_present()const void DeleteRoomRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string DeleteRoomRequest::getRoomId()const @@ -253,7 +165,18 @@ std::string DeleteRoomRequest::getRoomId()const void DeleteRoomRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); +} + +std::string DeleteRoomRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteRoomRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); } bool DeleteRoomRequest::getSecurity_transport()const @@ -264,7 +187,29 @@ bool DeleteRoomRequest::getSecurity_transport()const void DeleteRoomRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string DeleteRoomRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteRoomRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteRoomRequest::getRegionId()const +{ + return regionId_; +} + +void DeleteRoomRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); } std::string DeleteRoomRequest::getRequestId()const @@ -275,7 +220,18 @@ std::string DeleteRoomRequest::getRequestId()const void DeleteRoomRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); +} + +std::string DeleteRoomRequest::getRequestContent()const +{ + return requestContent_; +} + +void DeleteRoomRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); } std::string DeleteRoomRequest::getAppId()const @@ -286,6 +242,39 @@ std::string DeleteRoomRequest::getAppId()const void DeleteRoomRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); +} + +std::string DeleteRoomRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DeleteRoomRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string DeleteRoomRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DeleteRoomRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long DeleteRoomRequest::getCallerUid()const +{ + return callerUid_; +} + +void DeleteRoomRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/DeleteRoomResult.cc b/live/src/model/DeleteRoomResult.cc index ab9357fae..e02e75622 100644 --- a/live/src/model/DeleteRoomResult.cc +++ b/live/src/model/DeleteRoomResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -DeleteRoomResult::DeleteRoomResult() : - ServiceResult() -{} - -DeleteRoomResult::DeleteRoomResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteRoomResult::~DeleteRoomResult() -{} - -void DeleteRoomResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteRoomResult::DeleteRoomResult() : + ServiceResult() +{} + +DeleteRoomResult::DeleteRoomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRoomResult::~DeleteRoomResult() +{} + +void DeleteRoomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DescribeBoardEventsRequest.cc b/live/src/model/DescribeBoardEventsRequest.cc index 194681bee..f3ff13097 100644 --- a/live/src/model/DescribeBoardEventsRequest.cc +++ b/live/src/model/DescribeBoardEventsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeBoardEventsRequest; - -DescribeBoardEventsRequest::DescribeBoardEventsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeBoardEvents") -{} - -DescribeBoardEventsRequest::~DescribeBoardEventsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeBoardEventsRequest; + +DescribeBoardEventsRequest::DescribeBoardEventsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeBoardEvents") +{} + +DescribeBoardEventsRequest::~DescribeBoardEventsRequest() +{} + long DescribeBoardEventsRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeBoardEventsRequest::getCallerParentId()const void DescribeBoardEventsRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeBoardEventsRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeBoardEventsRequest::getProxy_original_security_transport()const void DescribeBoardEventsRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeBoardEventsRequest::getStartTime()const @@ -55,7 +55,7 @@ std::string DescribeBoardEventsRequest::getStartTime()const void DescribeBoardEventsRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeBoardEventsRequest::getProxy_original_source_ip()const @@ -66,7 +66,7 @@ std::string DescribeBoardEventsRequest::getProxy_original_source_ip()const void DescribeBoardEventsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeBoardEventsRequest::getOwnerIdLoginEmail()const @@ -77,7 +77,7 @@ std::string DescribeBoardEventsRequest::getOwnerIdLoginEmail()const void DescribeBoardEventsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeBoardEventsRequest::getCallerType()const @@ -88,7 +88,7 @@ std::string DescribeBoardEventsRequest::getCallerType()const void DescribeBoardEventsRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeBoardEventsRequest::getAccessKeyId()const @@ -99,7 +99,7 @@ std::string DescribeBoardEventsRequest::getAccessKeyId()const void DescribeBoardEventsRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeBoardEventsRequest::getSecurityToken()const @@ -110,7 +110,7 @@ std::string DescribeBoardEventsRequest::getSecurityToken()const void DescribeBoardEventsRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeBoardEventsRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string DescribeBoardEventsRequest::getRegionId()const void DescribeBoardEventsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeBoardEventsRequest::getRequestContent()const @@ -132,7 +132,7 @@ std::string DescribeBoardEventsRequest::getRequestContent()const void DescribeBoardEventsRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DescribeBoardEventsRequest::getCallerBidEmail()const @@ -143,7 +143,7 @@ std::string DescribeBoardEventsRequest::getCallerBidEmail()const void DescribeBoardEventsRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeBoardEventsRequest::getBoardId()const @@ -154,7 +154,7 @@ std::string DescribeBoardEventsRequest::getBoardId()const void DescribeBoardEventsRequest::setBoardId(const std::string& boardId) { boardId_ = boardId; - setParameter("BoardId", boardId); + setCoreParameter("BoardId", boardId); } std::string DescribeBoardEventsRequest::getCallerUidEmail()const @@ -165,7 +165,7 @@ std::string DescribeBoardEventsRequest::getCallerUidEmail()const void DescribeBoardEventsRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeBoardEventsRequest::getCallerUid()const @@ -176,7 +176,7 @@ long DescribeBoardEventsRequest::getCallerUid()const void DescribeBoardEventsRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeBoardEventsRequest::getApp_ip()const @@ -187,7 +187,7 @@ std::string DescribeBoardEventsRequest::getApp_ip()const void DescribeBoardEventsRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeBoardEventsRequest::getPopProduct()const @@ -198,7 +198,7 @@ std::string DescribeBoardEventsRequest::getPopProduct()const void DescribeBoardEventsRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string DescribeBoardEventsRequest::getEndTime()const @@ -209,7 +209,7 @@ std::string DescribeBoardEventsRequest::getEndTime()const void DescribeBoardEventsRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeBoardEventsRequest::getCallerBid()const @@ -220,7 +220,7 @@ std::string DescribeBoardEventsRequest::getCallerBid()const void DescribeBoardEventsRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeBoardEventsRequest::getOwnerId()const @@ -231,7 +231,7 @@ long DescribeBoardEventsRequest::getOwnerId()const void DescribeBoardEventsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeBoardEventsRequest::getVersion()const @@ -242,7 +242,7 @@ std::string DescribeBoardEventsRequest::getVersion()const void DescribeBoardEventsRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeBoardEventsRequest::getProxy_trust_transport_info()const @@ -253,7 +253,7 @@ bool DescribeBoardEventsRequest::getProxy_trust_transport_info()const void DescribeBoardEventsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeBoardEventsRequest::getAk_mfa_present()const @@ -264,7 +264,7 @@ bool DescribeBoardEventsRequest::getAk_mfa_present()const void DescribeBoardEventsRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool DescribeBoardEventsRequest::getSecurity_transport()const @@ -275,7 +275,7 @@ bool DescribeBoardEventsRequest::getSecurity_transport()const void DescribeBoardEventsRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeBoardEventsRequest::getRequestId()const @@ -286,7 +286,7 @@ std::string DescribeBoardEventsRequest::getRequestId()const void DescribeBoardEventsRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeBoardEventsRequest::getAppId()const @@ -297,6 +297,6 @@ std::string DescribeBoardEventsRequest::getAppId()const void DescribeBoardEventsRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/DescribeBoardEventsResult.cc b/live/src/model/DescribeBoardEventsResult.cc index 82a6c7e7f..268b67b86 100644 --- a/live/src/model/DescribeBoardEventsResult.cc +++ b/live/src/model/DescribeBoardEventsResult.cc @@ -1,45 +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; - -DescribeBoardEventsResult::DescribeBoardEventsResult() : - ServiceResult() -{} - -DescribeBoardEventsResult::DescribeBoardEventsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBoardEventsResult::~DescribeBoardEventsResult() -{} - -void DescribeBoardEventsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeBoardEventsResult::DescribeBoardEventsResult() : + ServiceResult() +{} + +DescribeBoardEventsResult::DescribeBoardEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBoardEventsResult::~DescribeBoardEventsResult() +{} + +void DescribeBoardEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allEvents = value["Events"]["Event"]; for (auto value : allEvents) { @@ -56,9 +56,9 @@ void DescribeBoardEventsResult::parse(const std::string &payload) eventsObject.timestamp = std::stol(value["Timestamp"].asString()); events_.push_back(eventsObject); } - -} - + +} + std::vector DescribeBoardEventsResult::getEvents()const { return events_; diff --git a/live/src/model/DescribeBoardSnapshotRequest.cc b/live/src/model/DescribeBoardSnapshotRequest.cc index 59065d681..949d4c1ac 100644 --- a/live/src/model/DescribeBoardSnapshotRequest.cc +++ b/live/src/model/DescribeBoardSnapshotRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeBoardSnapshotRequest; - -DescribeBoardSnapshotRequest::DescribeBoardSnapshotRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeBoardSnapshot") -{} - -DescribeBoardSnapshotRequest::~DescribeBoardSnapshotRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeBoardSnapshotRequest; + +DescribeBoardSnapshotRequest::DescribeBoardSnapshotRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeBoardSnapshot") +{} + +DescribeBoardSnapshotRequest::~DescribeBoardSnapshotRequest() +{} + std::string DescribeBoardSnapshotRequest::getApp_ip()const { return app_ip_; @@ -33,7 +33,7 @@ std::string DescribeBoardSnapshotRequest::getApp_ip()const void DescribeBoardSnapshotRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeBoardSnapshotRequest::getPopProduct()const @@ -44,7 +44,7 @@ std::string DescribeBoardSnapshotRequest::getPopProduct()const void DescribeBoardSnapshotRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } long DescribeBoardSnapshotRequest::getCallerParentId()const @@ -55,7 +55,7 @@ long DescribeBoardSnapshotRequest::getCallerParentId()const void DescribeBoardSnapshotRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeBoardSnapshotRequest::getProxy_original_security_transport()const @@ -66,7 +66,7 @@ bool DescribeBoardSnapshotRequest::getProxy_original_security_transport()const void DescribeBoardSnapshotRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeBoardSnapshotRequest::getCallerBid()const @@ -77,7 +77,7 @@ std::string DescribeBoardSnapshotRequest::getCallerBid()const void DescribeBoardSnapshotRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeBoardSnapshotRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeBoardSnapshotRequest::getOwnerId()const void DescribeBoardSnapshotRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeBoardSnapshotRequest::getProxy_original_source_ip()const @@ -99,7 +99,7 @@ std::string DescribeBoardSnapshotRequest::getProxy_original_source_ip()const void DescribeBoardSnapshotRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeBoardSnapshotRequest::getVersion()const @@ -110,7 +110,7 @@ std::string DescribeBoardSnapshotRequest::getVersion()const void DescribeBoardSnapshotRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } std::string DescribeBoardSnapshotRequest::getOwnerIdLoginEmail()const @@ -121,7 +121,7 @@ std::string DescribeBoardSnapshotRequest::getOwnerIdLoginEmail()const void DescribeBoardSnapshotRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeBoardSnapshotRequest::getCallerType()const @@ -132,7 +132,7 @@ std::string DescribeBoardSnapshotRequest::getCallerType()const void DescribeBoardSnapshotRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } bool DescribeBoardSnapshotRequest::getProxy_trust_transport_info()const @@ -143,7 +143,7 @@ bool DescribeBoardSnapshotRequest::getProxy_trust_transport_info()const void DescribeBoardSnapshotRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeBoardSnapshotRequest::getAk_mfa_present()const @@ -154,7 +154,7 @@ bool DescribeBoardSnapshotRequest::getAk_mfa_present()const void DescribeBoardSnapshotRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string DescribeBoardSnapshotRequest::getAccessKeyId()const @@ -165,7 +165,7 @@ std::string DescribeBoardSnapshotRequest::getAccessKeyId()const void DescribeBoardSnapshotRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } bool DescribeBoardSnapshotRequest::getSecurity_transport()const @@ -176,7 +176,7 @@ bool DescribeBoardSnapshotRequest::getSecurity_transport()const void DescribeBoardSnapshotRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeBoardSnapshotRequest::getSecurityToken()const @@ -187,7 +187,7 @@ std::string DescribeBoardSnapshotRequest::getSecurityToken()const void DescribeBoardSnapshotRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeBoardSnapshotRequest::getRegionId()const @@ -198,7 +198,7 @@ std::string DescribeBoardSnapshotRequest::getRegionId()const void DescribeBoardSnapshotRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeBoardSnapshotRequest::getRequestId()const @@ -209,7 +209,7 @@ std::string DescribeBoardSnapshotRequest::getRequestId()const void DescribeBoardSnapshotRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeBoardSnapshotRequest::getRequestContent()const @@ -220,7 +220,7 @@ std::string DescribeBoardSnapshotRequest::getRequestContent()const void DescribeBoardSnapshotRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DescribeBoardSnapshotRequest::getAppId()const @@ -231,7 +231,7 @@ std::string DescribeBoardSnapshotRequest::getAppId()const void DescribeBoardSnapshotRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } std::string DescribeBoardSnapshotRequest::getCallerBidEmail()const @@ -242,7 +242,7 @@ std::string DescribeBoardSnapshotRequest::getCallerBidEmail()const void DescribeBoardSnapshotRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeBoardSnapshotRequest::getBoardId()const @@ -253,7 +253,7 @@ std::string DescribeBoardSnapshotRequest::getBoardId()const void DescribeBoardSnapshotRequest::setBoardId(const std::string& boardId) { boardId_ = boardId; - setParameter("BoardId", boardId); + setCoreParameter("BoardId", boardId); } std::string DescribeBoardSnapshotRequest::getCallerUidEmail()const @@ -264,7 +264,7 @@ std::string DescribeBoardSnapshotRequest::getCallerUidEmail()const void DescribeBoardSnapshotRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeBoardSnapshotRequest::getCallerUid()const @@ -275,6 +275,6 @@ long DescribeBoardSnapshotRequest::getCallerUid()const void DescribeBoardSnapshotRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/DescribeBoardSnapshotResult.cc b/live/src/model/DescribeBoardSnapshotResult.cc index 4cb8f76fa..58886ddab 100644 --- a/live/src/model/DescribeBoardSnapshotResult.cc +++ b/live/src/model/DescribeBoardSnapshotResult.cc @@ -1,45 +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; - -DescribeBoardSnapshotResult::DescribeBoardSnapshotResult() : - ServiceResult() -{} - -DescribeBoardSnapshotResult::DescribeBoardSnapshotResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBoardSnapshotResult::~DescribeBoardSnapshotResult() -{} - -void DescribeBoardSnapshotResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeBoardSnapshotResult::DescribeBoardSnapshotResult() : + ServiceResult() +{} + +DescribeBoardSnapshotResult::DescribeBoardSnapshotResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBoardSnapshotResult::~DescribeBoardSnapshotResult() +{} + +void DescribeBoardSnapshotResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto snapshotNode = value["Snapshot"]; auto boardNode = snapshotNode["Board"]; if(!boardNode["BoardId"].isNull()) @@ -86,9 +86,9 @@ void DescribeBoardSnapshotResult::parse(const std::string &payload) configObject.data = value["Data"].asString(); snapshot_.board.configs.push_back(configObject); } - -} - + +} + DescribeBoardSnapshotResult::Snapshot DescribeBoardSnapshotResult::getSnapshot()const { return snapshot_; diff --git a/live/src/model/DescribeBoardsRequest.cc b/live/src/model/DescribeBoardsRequest.cc index d25c1d4a1..57b5a9483 100644 --- a/live/src/model/DescribeBoardsRequest.cc +++ b/live/src/model/DescribeBoardsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeBoardsRequest; - -DescribeBoardsRequest::DescribeBoardsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeBoards") -{} - -DescribeBoardsRequest::~DescribeBoardsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeBoardsRequest; + +DescribeBoardsRequest::DescribeBoardsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeBoards") +{} + +DescribeBoardsRequest::~DescribeBoardsRequest() +{} + long DescribeBoardsRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeBoardsRequest::getCallerParentId()const void DescribeBoardsRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeBoardsRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeBoardsRequest::getProxy_original_security_transport()const void DescribeBoardsRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeBoardsRequest::getProxy_original_source_ip()const @@ -55,7 +55,7 @@ std::string DescribeBoardsRequest::getProxy_original_source_ip()const void DescribeBoardsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } int DescribeBoardsRequest::getPageNum()const @@ -66,7 +66,7 @@ int DescribeBoardsRequest::getPageNum()const void DescribeBoardsRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeBoardsRequest::getOwnerIdLoginEmail()const @@ -77,7 +77,7 @@ std::string DescribeBoardsRequest::getOwnerIdLoginEmail()const void DescribeBoardsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeBoardsRequest::getCallerType()const @@ -88,7 +88,7 @@ std::string DescribeBoardsRequest::getCallerType()const void DescribeBoardsRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeBoardsRequest::getAccessKeyId()const @@ -99,7 +99,7 @@ std::string DescribeBoardsRequest::getAccessKeyId()const void DescribeBoardsRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeBoardsRequest::getSecurityToken()const @@ -110,7 +110,7 @@ std::string DescribeBoardsRequest::getSecurityToken()const void DescribeBoardsRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeBoardsRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string DescribeBoardsRequest::getRegionId()const void DescribeBoardsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeBoardsRequest::getRequestContent()const @@ -132,7 +132,7 @@ std::string DescribeBoardsRequest::getRequestContent()const void DescribeBoardsRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } int DescribeBoardsRequest::getPageSize()const @@ -143,7 +143,7 @@ int DescribeBoardsRequest::getPageSize()const void DescribeBoardsRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeBoardsRequest::getCallerBidEmail()const @@ -154,7 +154,7 @@ std::string DescribeBoardsRequest::getCallerBidEmail()const void DescribeBoardsRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeBoardsRequest::getCallerUidEmail()const @@ -165,7 +165,7 @@ std::string DescribeBoardsRequest::getCallerUidEmail()const void DescribeBoardsRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeBoardsRequest::getCallerUid()const @@ -176,7 +176,7 @@ long DescribeBoardsRequest::getCallerUid()const void DescribeBoardsRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeBoardsRequest::getApp_ip()const @@ -187,7 +187,7 @@ std::string DescribeBoardsRequest::getApp_ip()const void DescribeBoardsRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeBoardsRequest::getPopProduct()const @@ -198,7 +198,7 @@ std::string DescribeBoardsRequest::getPopProduct()const void DescribeBoardsRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string DescribeBoardsRequest::getCallerBid()const @@ -209,7 +209,7 @@ std::string DescribeBoardsRequest::getCallerBid()const void DescribeBoardsRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeBoardsRequest::getOwnerId()const @@ -220,7 +220,7 @@ long DescribeBoardsRequest::getOwnerId()const void DescribeBoardsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeBoardsRequest::getVersion()const @@ -231,7 +231,7 @@ std::string DescribeBoardsRequest::getVersion()const void DescribeBoardsRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeBoardsRequest::getProxy_trust_transport_info()const @@ -242,7 +242,7 @@ bool DescribeBoardsRequest::getProxy_trust_transport_info()const void DescribeBoardsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeBoardsRequest::getAk_mfa_present()const @@ -253,7 +253,7 @@ bool DescribeBoardsRequest::getAk_mfa_present()const void DescribeBoardsRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool DescribeBoardsRequest::getSecurity_transport()const @@ -264,7 +264,7 @@ bool DescribeBoardsRequest::getSecurity_transport()const void DescribeBoardsRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeBoardsRequest::getRequestId()const @@ -275,7 +275,7 @@ std::string DescribeBoardsRequest::getRequestId()const void DescribeBoardsRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeBoardsRequest::getAppId()const @@ -286,6 +286,6 @@ std::string DescribeBoardsRequest::getAppId()const void DescribeBoardsRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/DescribeBoardsResult.cc b/live/src/model/DescribeBoardsResult.cc index 505bfd0ea..48ea2dfdc 100644 --- a/live/src/model/DescribeBoardsResult.cc +++ b/live/src/model/DescribeBoardsResult.cc @@ -1,45 +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; - -DescribeBoardsResult::DescribeBoardsResult() : - ServiceResult() -{} - -DescribeBoardsResult::DescribeBoardsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBoardsResult::~DescribeBoardsResult() -{} - -void DescribeBoardsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeBoardsResult::DescribeBoardsResult() : + ServiceResult() +{} + +DescribeBoardsResult::DescribeBoardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBoardsResult::~DescribeBoardsResult() +{} + +void DescribeBoardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allBoards = value["Boards"]["Event"]; for (auto value : allBoards) { @@ -54,9 +54,9 @@ void DescribeBoardsResult::parse(const std::string &payload) boardsObject.userId = value["UserId"].asString(); boards_.push_back(boardsObject); } - -} - + +} + std::vector DescribeBoardsResult::getBoards()const { return boards_; diff --git a/live/src/model/DescribeCasterChannelsRequest.cc b/live/src/model/DescribeCasterChannelsRequest.cc index ea47e4b17..60a339be1 100644 --- a/live/src/model/DescribeCasterChannelsRequest.cc +++ b/live/src/model/DescribeCasterChannelsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterChannelsRequest; - -DescribeCasterChannelsRequest::DescribeCasterChannelsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterChannels") -{} - -DescribeCasterChannelsRequest::~DescribeCasterChannelsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterChannelsRequest; + +DescribeCasterChannelsRequest::DescribeCasterChannelsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterChannels") +{} + +DescribeCasterChannelsRequest::~DescribeCasterChannelsRequest() +{} + std::string DescribeCasterChannelsRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeCasterChannelsRequest::getRegionId()const void DescribeCasterChannelsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeCasterChannelsRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DescribeCasterChannelsRequest::getCasterId()const void DescribeCasterChannelsRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DescribeCasterChannelsRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DescribeCasterChannelsRequest::getOwnerId()const void DescribeCasterChannelsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterChannelsResult.cc b/live/src/model/DescribeCasterChannelsResult.cc index 8f158d117..d2c7ba3ef 100644 --- a/live/src/model/DescribeCasterChannelsResult.cc +++ b/live/src/model/DescribeCasterChannelsResult.cc @@ -1,45 +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; - -DescribeCasterChannelsResult::DescribeCasterChannelsResult() : - ServiceResult() -{} - -DescribeCasterChannelsResult::DescribeCasterChannelsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCasterChannelsResult::~DescribeCasterChannelsResult() -{} - -void DescribeCasterChannelsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeCasterChannelsResult::DescribeCasterChannelsResult() : + ServiceResult() +{} + +DescribeCasterChannelsResult::DescribeCasterChannelsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterChannelsResult::~DescribeCasterChannelsResult() +{} + +void DescribeCasterChannelsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allChannels = value["Channels"]["Channel"]; for (auto value : allChannels) { @@ -56,9 +56,9 @@ void DescribeCasterChannelsResult::parse(const std::string &payload) } if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + int DescribeCasterChannelsResult::getTotal()const { return total_; diff --git a/live/src/model/DescribeCasterComponentsRequest.cc b/live/src/model/DescribeCasterComponentsRequest.cc index 0077c794d..aaafeef47 100644 --- a/live/src/model/DescribeCasterComponentsRequest.cc +++ b/live/src/model/DescribeCasterComponentsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeCasterComponentsRequest::getComponentId()const void DescribeCasterComponentsRequest::setComponentId(const std::string& componentId) { componentId_ = componentId; - setParameter("ComponentId", componentId); + setCoreParameter("ComponentId", componentId); } std::string DescribeCasterComponentsRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DescribeCasterComponentsRequest::getCasterId()const void DescribeCasterComponentsRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DescribeCasterComponentsRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DescribeCasterComponentsRequest::getOwnerId()const void DescribeCasterComponentsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterComponentsResult.cc b/live/src/model/DescribeCasterComponentsResult.cc index 67dc0fc89..e59faafab 100644 --- a/live/src/model/DescribeCasterComponentsResult.cc +++ b/live/src/model/DescribeCasterComponentsResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -101,9 +101,9 @@ void DescribeCasterComponentsResult::parse(const std::string &payload) } if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + std::vector DescribeCasterComponentsResult::getComponents()const { return components_; diff --git a/live/src/model/DescribeCasterConfigRequest.cc b/live/src/model/DescribeCasterConfigRequest.cc index 676fa8d3c..bcea01114 100644 --- a/live/src/model/DescribeCasterConfigRequest.cc +++ b/live/src/model/DescribeCasterConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeCasterConfigRequest::getRegionId()const void DescribeCasterConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeCasterConfigRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DescribeCasterConfigRequest::getCasterId()const void DescribeCasterConfigRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DescribeCasterConfigRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DescribeCasterConfigRequest::getOwnerId()const void DescribeCasterConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterConfigResult.cc b/live/src/model/DescribeCasterConfigResult.cc index 2b49b828b..1db38846b 100644 --- a/live/src/model/DescribeCasterConfigResult.cc +++ b/live/src/model/DescribeCasterConfigResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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(); @@ -85,9 +85,9 @@ void DescribeCasterConfigResult::parse(const std::string &payload) programEffect_ = std::stoi(value["ProgramEffect"].asString()); if(!value["ChannelEnable"].isNull()) channelEnable_ = std::stoi(value["ChannelEnable"].asString()); - -} - + +} + std::string DescribeCasterConfigResult::getSideOutputUrl()const { return sideOutputUrl_; diff --git a/live/src/model/DescribeCasterLayoutsRequest.cc b/live/src/model/DescribeCasterLayoutsRequest.cc index 59a711043..3aca0dcf7 100644 --- a/live/src/model/DescribeCasterLayoutsRequest.cc +++ b/live/src/model/DescribeCasterLayoutsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeCasterLayoutsRequest::getCasterId()const void DescribeCasterLayoutsRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DescribeCasterLayoutsRequest::getOwnerId()const @@ -44,7 +44,7 @@ long DescribeCasterLayoutsRequest::getOwnerId()const void DescribeCasterLayoutsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeCasterLayoutsRequest::getLayoutId()const @@ -55,6 +55,6 @@ std::string DescribeCasterLayoutsRequest::getLayoutId()const void DescribeCasterLayoutsRequest::setLayoutId(const std::string& layoutId) { layoutId_ = layoutId; - setParameter("LayoutId", layoutId); + setCoreParameter("LayoutId", layoutId); } diff --git a/live/src/model/DescribeCasterLayoutsResult.cc b/live/src/model/DescribeCasterLayoutsResult.cc index 918751594..26f2074e0 100644 --- a/live/src/model/DescribeCasterLayoutsResult.cc +++ b/live/src/model/DescribeCasterLayoutsResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -87,9 +87,9 @@ void DescribeCasterLayoutsResult::parse(const std::string &payload) } if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + std::vector DescribeCasterLayoutsResult::getLayouts()const { return layouts_; diff --git a/live/src/model/DescribeCasterProgramRequest.cc b/live/src/model/DescribeCasterProgramRequest.cc index d8429006c..fc18522c8 100644 --- a/live/src/model/DescribeCasterProgramRequest.cc +++ b/live/src/model/DescribeCasterProgramRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeCasterProgramRequest::getCasterId()const void DescribeCasterProgramRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string DescribeCasterProgramRequest::getEpisodeType()const @@ -44,7 +44,7 @@ std::string DescribeCasterProgramRequest::getEpisodeType()const void DescribeCasterProgramRequest::setEpisodeType(const std::string& episodeType) { episodeType_ = episodeType; - setParameter("EpisodeType", episodeType); + setCoreParameter("EpisodeType", episodeType); } int DescribeCasterProgramRequest::getPageSize()const @@ -55,7 +55,7 @@ int DescribeCasterProgramRequest::getPageSize()const void DescribeCasterProgramRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeCasterProgramRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeCasterProgramRequest::getEndTime()const void DescribeCasterProgramRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeCasterProgramRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeCasterProgramRequest::getStartTime()const void DescribeCasterProgramRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeCasterProgramRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeCasterProgramRequest::getOwnerId()const void DescribeCasterProgramRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeCasterProgramRequest::getEpisodeId()const @@ -99,7 +99,7 @@ std::string DescribeCasterProgramRequest::getEpisodeId()const void DescribeCasterProgramRequest::setEpisodeId(const std::string& episodeId) { episodeId_ = episodeId; - setParameter("EpisodeId", episodeId); + setCoreParameter("EpisodeId", episodeId); } int DescribeCasterProgramRequest::getPageNum()const @@ -110,7 +110,7 @@ int DescribeCasterProgramRequest::getPageNum()const void DescribeCasterProgramRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } int DescribeCasterProgramRequest::getStatus()const @@ -121,6 +121,6 @@ int DescribeCasterProgramRequest::getStatus()const void DescribeCasterProgramRequest::setStatus(int status) { status_ = status; - setParameter("Status", std::to_string(status)); + setCoreParameter("Status", std::to_string(status)); } diff --git a/live/src/model/DescribeCasterProgramResult.cc b/live/src/model/DescribeCasterProgramResult.cc index a9c6fae2f..5d8493e14 100644 --- a/live/src/model/DescribeCasterProgramResult.cc +++ b/live/src/model/DescribeCasterProgramResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -73,9 +73,9 @@ void DescribeCasterProgramResult::parse(const std::string &payload) programEffect_ = std::stoi(value["ProgramEffect"].asString()); if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + int DescribeCasterProgramResult::getProgramEffect()const { return programEffect_; diff --git a/live/src/model/DescribeCasterRtcInfoRequest.cc b/live/src/model/DescribeCasterRtcInfoRequest.cc index 10a1c9eae..3f13b0d7d 100644 --- a/live/src/model/DescribeCasterRtcInfoRequest.cc +++ b/live/src/model/DescribeCasterRtcInfoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeCasterRtcInfoRequest::getCasterId()const void DescribeCasterRtcInfoRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DescribeCasterRtcInfoRequest::getOwnerId()const @@ -44,6 +44,6 @@ long DescribeCasterRtcInfoRequest::getOwnerId()const void DescribeCasterRtcInfoRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterRtcInfoResult.cc b/live/src/model/DescribeCasterRtcInfoResult.cc index 76b3a342c..ecf1b6d90 100644 --- a/live/src/model/DescribeCasterRtcInfoResult.cc +++ b/live/src/model/DescribeCasterRtcInfoResult.cc @@ -1,52 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/DescribeCasterSceneAudioRequest.cc b/live/src/model/DescribeCasterSceneAudioRequest.cc index 3a9e92de1..c905b3bc8 100644 --- a/live/src/model/DescribeCasterSceneAudioRequest.cc +++ b/live/src/model/DescribeCasterSceneAudioRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterSceneAudioRequest; - -DescribeCasterSceneAudioRequest::DescribeCasterSceneAudioRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterSceneAudio") -{} - -DescribeCasterSceneAudioRequest::~DescribeCasterSceneAudioRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterSceneAudioRequest; + +DescribeCasterSceneAudioRequest::DescribeCasterSceneAudioRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeCasterSceneAudio") +{} + +DescribeCasterSceneAudioRequest::~DescribeCasterSceneAudioRequest() +{} + std::string DescribeCasterSceneAudioRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeCasterSceneAudioRequest::getRegionId()const void DescribeCasterSceneAudioRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeCasterSceneAudioRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DescribeCasterSceneAudioRequest::getCasterId()const void DescribeCasterSceneAudioRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string DescribeCasterSceneAudioRequest::getSceneId()const @@ -55,7 +55,7 @@ std::string DescribeCasterSceneAudioRequest::getSceneId()const void DescribeCasterSceneAudioRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long DescribeCasterSceneAudioRequest::getOwnerId()const @@ -66,6 +66,6 @@ long DescribeCasterSceneAudioRequest::getOwnerId()const void DescribeCasterSceneAudioRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterSceneAudioResult.cc b/live/src/model/DescribeCasterSceneAudioResult.cc index fdead0558..3f50044ef 100644 --- a/live/src/model/DescribeCasterSceneAudioResult.cc +++ b/live/src/model/DescribeCasterSceneAudioResult.cc @@ -1,45 +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; - -DescribeCasterSceneAudioResult::DescribeCasterSceneAudioResult() : - ServiceResult() -{} - -DescribeCasterSceneAudioResult::DescribeCasterSceneAudioResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCasterSceneAudioResult::~DescribeCasterSceneAudioResult() -{} - -void DescribeCasterSceneAudioResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeCasterSceneAudioResult::DescribeCasterSceneAudioResult() : + ServiceResult() +{} + +DescribeCasterSceneAudioResult::DescribeCasterSceneAudioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCasterSceneAudioResult::~DescribeCasterSceneAudioResult() +{} + +void DescribeCasterSceneAudioResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allAudioLayers = value["AudioLayers"]["AudioLayer"]; for (auto value : allAudioLayers) { @@ -59,9 +59,9 @@ void DescribeCasterSceneAudioResult::parse(const std::string &payload) casterId_ = value["CasterId"].asString(); if(!value["FollowEnable"].isNull()) followEnable_ = std::stoi(value["FollowEnable"].asString()); - -} - + +} + std::vector DescribeCasterSceneAudioResult::getMixList()const { return mixList_; diff --git a/live/src/model/DescribeCasterScenesRequest.cc b/live/src/model/DescribeCasterScenesRequest.cc index b11614933..694df8f3c 100644 --- a/live/src/model/DescribeCasterScenesRequest.cc +++ b/live/src/model/DescribeCasterScenesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeCasterScenesRequest::getCasterId()const void DescribeCasterScenesRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string DescribeCasterScenesRequest::getSceneId()const @@ -44,7 +44,7 @@ std::string DescribeCasterScenesRequest::getSceneId()const void DescribeCasterScenesRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long DescribeCasterScenesRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DescribeCasterScenesRequest::getOwnerId()const void DescribeCasterScenesRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterScenesResult.cc b/live/src/model/DescribeCasterScenesResult.cc index a01ad846a..a637f8388 100644 --- a/live/src/model/DescribeCasterScenesResult.cc +++ b/live/src/model/DescribeCasterScenesResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -75,9 +75,9 @@ void DescribeCasterScenesResult::parse(const std::string &payload) } if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + int DescribeCasterScenesResult::getTotal()const { return total_; diff --git a/live/src/model/DescribeCasterStreamUrlRequest.cc b/live/src/model/DescribeCasterStreamUrlRequest.cc index 1777fa350..b40eb1f66 100644 --- a/live/src/model/DescribeCasterStreamUrlRequest.cc +++ b/live/src/model/DescribeCasterStreamUrlRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeCasterStreamUrlRequest::getRegionId()const void DescribeCasterStreamUrlRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeCasterStreamUrlRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DescribeCasterStreamUrlRequest::getCasterId()const void DescribeCasterStreamUrlRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DescribeCasterStreamUrlRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DescribeCasterStreamUrlRequest::getOwnerId()const void DescribeCasterStreamUrlRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterStreamUrlResult.cc b/live/src/model/DescribeCasterStreamUrlResult.cc index 704bc1af0..665c8a51e 100644 --- a/live/src/model/DescribeCasterStreamUrlResult.cc +++ b/live/src/model/DescribeCasterStreamUrlResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -70,9 +70,9 @@ void DescribeCasterStreamUrlResult::parse(const std::string &payload) casterId_ = value["CasterId"].asString(); if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + std::vector DescribeCasterStreamUrlResult::getCasterStreams()const { return casterStreams_; diff --git a/live/src/model/DescribeCasterVideoResourcesRequest.cc b/live/src/model/DescribeCasterVideoResourcesRequest.cc index 5e67b0476..9c5530ef8 100644 --- a/live/src/model/DescribeCasterVideoResourcesRequest.cc +++ b/live/src/model/DescribeCasterVideoResourcesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeCasterVideoResourcesRequest::getRegionId()const void DescribeCasterVideoResourcesRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeCasterVideoResourcesRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string DescribeCasterVideoResourcesRequest::getCasterId()const void DescribeCasterVideoResourcesRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long DescribeCasterVideoResourcesRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DescribeCasterVideoResourcesRequest::getOwnerId()const void DescribeCasterVideoResourcesRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterVideoResourcesResult.cc b/live/src/model/DescribeCasterVideoResourcesResult.cc index b9cce0a75..b2d2d7bf4 100644 --- a/live/src/model/DescribeCasterVideoResourcesResult.cc +++ b/live/src/model/DescribeCasterVideoResourcesResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -68,9 +68,9 @@ void DescribeCasterVideoResourcesResult::parse(const std::string &payload) } if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + int DescribeCasterVideoResourcesResult::getTotal()const { return total_; diff --git a/live/src/model/DescribeCastersRequest.cc b/live/src/model/DescribeCastersRequest.cc index 00dcabf6f..c8dba469b 100644 --- a/live/src/model/DescribeCastersRequest.cc +++ b/live/src/model/DescribeCastersRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeCastersRequest::getRegionId()const void DescribeCastersRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeCastersRequest::getCasterName()const @@ -44,7 +44,7 @@ std::string DescribeCastersRequest::getCasterName()const void DescribeCastersRequest::setCasterName(const std::string& casterName) { casterName_ = casterName; - setParameter("CasterName", casterName); + setCoreParameter("CasterName", casterName); } std::string DescribeCastersRequest::getCasterId()const @@ -55,7 +55,7 @@ std::string DescribeCastersRequest::getCasterId()const void DescribeCastersRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } int DescribeCastersRequest::getPageSize()const @@ -66,7 +66,7 @@ int DescribeCastersRequest::getPageSize()const void DescribeCastersRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeCastersRequest::getEndTime()const @@ -77,7 +77,7 @@ std::string DescribeCastersRequest::getEndTime()const void DescribeCastersRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeCastersRequest::getStartTime()const @@ -88,7 +88,7 @@ std::string DescribeCastersRequest::getStartTime()const void DescribeCastersRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeCastersRequest::getOwnerId()const @@ -99,7 +99,7 @@ long DescribeCastersRequest::getOwnerId()const void DescribeCastersRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeCastersRequest::getPageNum()const @@ -110,7 +110,7 @@ int DescribeCastersRequest::getPageNum()const void DescribeCastersRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } int DescribeCastersRequest::getStatus()const @@ -121,6 +121,6 @@ int DescribeCastersRequest::getStatus()const void DescribeCastersRequest::setStatus(int status) { status_ = status; - setParameter("Status", std::to_string(status)); + setCoreParameter("Status", std::to_string(status)); } diff --git a/live/src/model/DescribeCastersResult.cc b/live/src/model/DescribeCastersResult.cc index 511c41098..3d1e42a83 100644 --- a/live/src/model/DescribeCastersResult.cc +++ b/live/src/model/DescribeCastersResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -70,9 +70,9 @@ void DescribeCastersResult::parse(const std::string &payload) } if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - -} - + +} + int DescribeCastersResult::getTotal()const { return total_; diff --git a/live/src/model/DescribeForbidPushStreamRoomListRequest.cc b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc index 81e8b8e76..f82f62ecd 100644 --- a/live/src/model/DescribeForbidPushStreamRoomListRequest.cc +++ b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeForbidPushStreamRoomListRequest; - -DescribeForbidPushStreamRoomListRequest::DescribeForbidPushStreamRoomListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeForbidPushStreamRoomList") -{} - -DescribeForbidPushStreamRoomListRequest::~DescribeForbidPushStreamRoomListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeForbidPushStreamRoomListRequest; + +DescribeForbidPushStreamRoomListRequest::DescribeForbidPushStreamRoomListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeForbidPushStreamRoomList") +{} + +DescribeForbidPushStreamRoomListRequest::~DescribeForbidPushStreamRoomListRequest() +{} + long DescribeForbidPushStreamRoomListRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeForbidPushStreamRoomListRequest::getCallerParentId()const void DescribeForbidPushStreamRoomListRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeForbidPushStreamRoomListRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeForbidPushStreamRoomListRequest::getProxy_original_security_transpo void DescribeForbidPushStreamRoomListRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeForbidPushStreamRoomListRequest::getProxy_original_source_ip()const @@ -55,7 +55,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getProxy_original_source_ip void DescribeForbidPushStreamRoomListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } int DescribeForbidPushStreamRoomListRequest::getPageNum()const @@ -66,7 +66,7 @@ int DescribeForbidPushStreamRoomListRequest::getPageNum()const void DescribeForbidPushStreamRoomListRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeForbidPushStreamRoomListRequest::getOwnerIdLoginEmail()const @@ -77,7 +77,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getOwnerIdLoginEmail()const void DescribeForbidPushStreamRoomListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeForbidPushStreamRoomListRequest::getCallerType()const @@ -88,7 +88,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getCallerType()const void DescribeForbidPushStreamRoomListRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeForbidPushStreamRoomListRequest::getAccessKeyId()const @@ -99,7 +99,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getAccessKeyId()const void DescribeForbidPushStreamRoomListRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeForbidPushStreamRoomListRequest::getSecurityToken()const @@ -110,7 +110,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getSecurityToken()const void DescribeForbidPushStreamRoomListRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeForbidPushStreamRoomListRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getRegionId()const void DescribeForbidPushStreamRoomListRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeForbidPushStreamRoomListRequest::getRequestContent()const @@ -132,7 +132,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getRequestContent()const void DescribeForbidPushStreamRoomListRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } int DescribeForbidPushStreamRoomListRequest::getPageSize()const @@ -143,7 +143,7 @@ int DescribeForbidPushStreamRoomListRequest::getPageSize()const void DescribeForbidPushStreamRoomListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeForbidPushStreamRoomListRequest::getCallerBidEmail()const @@ -154,7 +154,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getCallerBidEmail()const void DescribeForbidPushStreamRoomListRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeForbidPushStreamRoomListRequest::getCallerUidEmail()const @@ -165,7 +165,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getCallerUidEmail()const void DescribeForbidPushStreamRoomListRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeForbidPushStreamRoomListRequest::getCallerUid()const @@ -176,7 +176,7 @@ long DescribeForbidPushStreamRoomListRequest::getCallerUid()const void DescribeForbidPushStreamRoomListRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeForbidPushStreamRoomListRequest::getOrder()const @@ -187,7 +187,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getOrder()const void DescribeForbidPushStreamRoomListRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } std::string DescribeForbidPushStreamRoomListRequest::getApp_ip()const @@ -198,7 +198,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getApp_ip()const void DescribeForbidPushStreamRoomListRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeForbidPushStreamRoomListRequest::getPopProduct()const @@ -209,18 +209,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getPopProduct()const void DescribeForbidPushStreamRoomListRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); -} - -std::string DescribeForbidPushStreamRoomListRequest::getProduct()const -{ - return product_; -} - -void DescribeForbidPushStreamRoomListRequest::setProduct(const std::string& product) -{ - product_ = product; - setParameter("Product", product); + setCoreParameter("PopProduct", popProduct); } std::string DescribeForbidPushStreamRoomListRequest::getCallerBid()const @@ -231,7 +220,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getCallerBid()const void DescribeForbidPushStreamRoomListRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeForbidPushStreamRoomListRequest::getOwnerId()const @@ -242,7 +231,7 @@ long DescribeForbidPushStreamRoomListRequest::getOwnerId()const void DescribeForbidPushStreamRoomListRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeForbidPushStreamRoomListRequest::getVersion()const @@ -253,7 +242,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getVersion()const void DescribeForbidPushStreamRoomListRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeForbidPushStreamRoomListRequest::getProxy_trust_transport_info()const @@ -264,7 +253,7 @@ bool DescribeForbidPushStreamRoomListRequest::getProxy_trust_transport_info()con void DescribeForbidPushStreamRoomListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeForbidPushStreamRoomListRequest::getAk_mfa_present()const @@ -275,7 +264,7 @@ bool DescribeForbidPushStreamRoomListRequest::getAk_mfa_present()const void DescribeForbidPushStreamRoomListRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool DescribeForbidPushStreamRoomListRequest::getSecurity_transport()const @@ -286,7 +275,7 @@ bool DescribeForbidPushStreamRoomListRequest::getSecurity_transport()const void DescribeForbidPushStreamRoomListRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeForbidPushStreamRoomListRequest::getRequestId()const @@ -297,7 +286,7 @@ std::string DescribeForbidPushStreamRoomListRequest::getRequestId()const void DescribeForbidPushStreamRoomListRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeForbidPushStreamRoomListRequest::getAppId()const @@ -308,6 +297,6 @@ std::string DescribeForbidPushStreamRoomListRequest::getAppId()const void DescribeForbidPushStreamRoomListRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/DescribeForbidPushStreamRoomListResult.cc b/live/src/model/DescribeForbidPushStreamRoomListResult.cc index 2743a3b49..2f87b4452 100644 --- a/live/src/model/DescribeForbidPushStreamRoomListResult.cc +++ b/live/src/model/DescribeForbidPushStreamRoomListResult.cc @@ -1,45 +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; - -DescribeForbidPushStreamRoomListResult::DescribeForbidPushStreamRoomListResult() : - ServiceResult() -{} - -DescribeForbidPushStreamRoomListResult::DescribeForbidPushStreamRoomListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeForbidPushStreamRoomListResult::~DescribeForbidPushStreamRoomListResult() -{} - -void DescribeForbidPushStreamRoomListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeForbidPushStreamRoomListResult::DescribeForbidPushStreamRoomListResult() : + ServiceResult() +{} + +DescribeForbidPushStreamRoomListResult::DescribeForbidPushStreamRoomListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeForbidPushStreamRoomListResult::~DescribeForbidPushStreamRoomListResult() +{} + +void DescribeForbidPushStreamRoomListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRoomList = value["RoomList"]["Room"]; for (auto value : allRoomList) { @@ -58,9 +58,9 @@ void DescribeForbidPushStreamRoomListResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + int DescribeForbidPushStreamRoomListResult::getTotalNum()const { return totalNum_; diff --git a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc index 70a6f372b..289f20a96 100644 --- a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc +++ b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeHlsLiveStreamRealTimeBpsDataRequest; - -DescribeHlsLiveStreamRealTimeBpsDataRequest::DescribeHlsLiveStreamRealTimeBpsDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeHlsLiveStreamRealTimeBpsData") -{} - -DescribeHlsLiveStreamRealTimeBpsDataRequest::~DescribeHlsLiveStreamRealTimeBpsDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeHlsLiveStreamRealTimeBpsDataRequest; + +DescribeHlsLiveStreamRealTimeBpsDataRequest::DescribeHlsLiveStreamRealTimeBpsDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeHlsLiveStreamRealTimeBpsData") +{} + +DescribeHlsLiveStreamRealTimeBpsDataRequest::~DescribeHlsLiveStreamRealTimeBpsDataRequest() +{} + std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getRegionId()const void DescribeHlsLiveStreamRealTimeBpsDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getDomainName()const void DescribeHlsLiveStreamRealTimeBpsDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getTime()const @@ -55,7 +55,7 @@ std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getTime()const void DescribeHlsLiveStreamRealTimeBpsDataRequest::setTime(const std::string& time) { time_ = time; - setParameter("Time", time); + setCoreParameter("Time", time); } long DescribeHlsLiveStreamRealTimeBpsDataRequest::getOwnerId()const @@ -66,6 +66,6 @@ long DescribeHlsLiveStreamRealTimeBpsDataRequest::getOwnerId()const void DescribeHlsLiveStreamRealTimeBpsDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc index 431802f2e..1cc851f1f 100644 --- a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc +++ b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc @@ -1,45 +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; - -DescribeHlsLiveStreamRealTimeBpsDataResult::DescribeHlsLiveStreamRealTimeBpsDataResult() : - ServiceResult() -{} - -DescribeHlsLiveStreamRealTimeBpsDataResult::DescribeHlsLiveStreamRealTimeBpsDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeHlsLiveStreamRealTimeBpsDataResult::~DescribeHlsLiveStreamRealTimeBpsDataResult() -{} - -void DescribeHlsLiveStreamRealTimeBpsDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeHlsLiveStreamRealTimeBpsDataResult::DescribeHlsLiveStreamRealTimeBpsDataResult() : + ServiceResult() +{} + +DescribeHlsLiveStreamRealTimeBpsDataResult::DescribeHlsLiveStreamRealTimeBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeHlsLiveStreamRealTimeBpsDataResult::~DescribeHlsLiveStreamRealTimeBpsDataResult() +{} + +void DescribeHlsLiveStreamRealTimeBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allUsageData = value["UsageData"]["UsageDataPerDomain"]; for (auto value : allUsageData) { @@ -70,9 +70,9 @@ void DescribeHlsLiveStreamRealTimeBpsDataResult::parse(const std::string &payloa } if(!value["Time"].isNull()) time_ = value["Time"].asString(); - -} - + +} + std::vector DescribeHlsLiveStreamRealTimeBpsDataResult::getUsageData()const { return usageData_; diff --git a/live/src/model/DescribeLiveCertificateDetailRequest.cc b/live/src/model/DescribeLiveCertificateDetailRequest.cc index 5ad49a940..98fe2823f 100644 --- a/live/src/model/DescribeLiveCertificateDetailRequest.cc +++ b/live/src/model/DescribeLiveCertificateDetailRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveCertificateDetailRequest; - -DescribeLiveCertificateDetailRequest::DescribeLiveCertificateDetailRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateDetail") -{} - -DescribeLiveCertificateDetailRequest::~DescribeLiveCertificateDetailRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveCertificateDetailRequest; + +DescribeLiveCertificateDetailRequest::DescribeLiveCertificateDetailRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateDetail") +{} + +DescribeLiveCertificateDetailRequest::~DescribeLiveCertificateDetailRequest() +{} + std::string DescribeLiveCertificateDetailRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string DescribeLiveCertificateDetailRequest::getSecurityToken()const void DescribeLiveCertificateDetailRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveCertificateDetailRequest::getCertName()const @@ -44,7 +44,7 @@ std::string DescribeLiveCertificateDetailRequest::getCertName()const void DescribeLiveCertificateDetailRequest::setCertName(const std::string& certName) { certName_ = certName; - setParameter("CertName", certName); + setCoreParameter("CertName", certName); } long DescribeLiveCertificateDetailRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DescribeLiveCertificateDetailRequest::getOwnerId()const void DescribeLiveCertificateDetailRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveCertificateDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveCertificateDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveCertificateDetailResult.cc b/live/src/model/DescribeLiveCertificateDetailResult.cc index 820b8b3e8..06092a5f0 100644 --- a/live/src/model/DescribeLiveCertificateDetailResult.cc +++ b/live/src/model/DescribeLiveCertificateDetailResult.cc @@ -1,45 +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; - -DescribeLiveCertificateDetailResult::DescribeLiveCertificateDetailResult() : - ServiceResult() -{} - -DescribeLiveCertificateDetailResult::DescribeLiveCertificateDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveCertificateDetailResult::~DescribeLiveCertificateDetailResult() -{} - -void DescribeLiveCertificateDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveCertificateDetailResult::DescribeLiveCertificateDetailResult() : + ServiceResult() +{} + +DescribeLiveCertificateDetailResult::DescribeLiveCertificateDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveCertificateDetailResult::~DescribeLiveCertificateDetailResult() +{} + +void DescribeLiveCertificateDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Cert"].isNull()) cert_ = value["Cert"].asString(); if(!value["Key"].isNull()) @@ -48,9 +48,9 @@ void DescribeLiveCertificateDetailResult::parse(const std::string &payload) certId_ = std::stol(value["CertId"].asString()); if(!value["CertName"].isNull()) certName_ = value["CertName"].asString(); - -} - + +} + long DescribeLiveCertificateDetailResult::getCertId()const { return certId_; diff --git a/live/src/model/DescribeLiveCertificateListRequest.cc b/live/src/model/DescribeLiveCertificateListRequest.cc index 5cad396dd..9e990de99 100644 --- a/live/src/model/DescribeLiveCertificateListRequest.cc +++ b/live/src/model/DescribeLiveCertificateListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveCertificateListRequest; - -DescribeLiveCertificateListRequest::DescribeLiveCertificateListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateList") -{} - -DescribeLiveCertificateListRequest::~DescribeLiveCertificateListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveCertificateListRequest; + +DescribeLiveCertificateListRequest::DescribeLiveCertificateListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateList") +{} + +DescribeLiveCertificateListRequest::~DescribeLiveCertificateListRequest() +{} + std::string DescribeLiveCertificateListRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string DescribeLiveCertificateListRequest::getSecurityToken()const void DescribeLiveCertificateListRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveCertificateListRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveCertificateListRequest::getDomainName()const void DescribeLiveCertificateListRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveCertificateListRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DescribeLiveCertificateListRequest::getOwnerId()const void DescribeLiveCertificateListRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveCertificateListRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveCertificateListRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveCertificateListResult.cc b/live/src/model/DescribeLiveCertificateListResult.cc index 7b956b77a..66abdebd9 100644 --- a/live/src/model/DescribeLiveCertificateListResult.cc +++ b/live/src/model/DescribeLiveCertificateListResult.cc @@ -1,45 +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; - -DescribeLiveCertificateListResult::DescribeLiveCertificateListResult() : - ServiceResult() -{} - -DescribeLiveCertificateListResult::DescribeLiveCertificateListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveCertificateListResult::~DescribeLiveCertificateListResult() -{} - -void DescribeLiveCertificateListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveCertificateListResult::DescribeLiveCertificateListResult() : + ServiceResult() +{} + +DescribeLiveCertificateListResult::DescribeLiveCertificateListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveCertificateListResult::~DescribeLiveCertificateListResult() +{} + +void DescribeLiveCertificateListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto certificateListModelNode = value["CertificateListModel"]; if(!certificateListModelNode["Count"].isNull()) certificateListModel_.count = std::stoi(certificateListModelNode["Count"].asString()); @@ -61,9 +61,9 @@ void DescribeLiveCertificateListResult::parse(const std::string &payload) certObject.lastTime = std::stol(value["LastTime"].asString()); certificateListModel_.certList.push_back(certObject); } - -} - + +} + DescribeLiveCertificateListResult::CertificateListModel DescribeLiveCertificateListResult::getCertificateListModel()const { return certificateListModel_; diff --git a/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc b/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc index efe4929ed..a23b58687 100644 --- a/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveDetectNotifyConfigRequest::getSecurityToken()const void DescribeLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveDetectNotifyConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveDetectNotifyConfigRequest::getDomainName()const void DescribeLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveDetectNotifyConfigRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DescribeLiveDetectNotifyConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDetectNotifyConfigResult.cc b/live/src/model/DescribeLiveDetectNotifyConfigResult.cc index 8d67007ad..9ebe32305 100644 --- a/live/src/model/DescribeLiveDetectNotifyConfigResult.cc +++ b/live/src/model/DescribeLiveDetectNotifyConfigResult.cc @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/DescribeLiveDomainBpsDataRequest.cc b/live/src/model/DescribeLiveDomainBpsDataRequest.cc index 03dae7a63..5aaefc303 100644 --- a/live/src/model/DescribeLiveDomainBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainBpsDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveDomainBpsDataRequest; - -DescribeLiveDomainBpsDataRequest::DescribeLiveDomainBpsDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsData") -{} - -DescribeLiveDomainBpsDataRequest::~DescribeLiveDomainBpsDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveDomainBpsDataRequest; + +DescribeLiveDomainBpsDataRequest::DescribeLiveDomainBpsDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsData") +{} + +DescribeLiveDomainBpsDataRequest::~DescribeLiveDomainBpsDataRequest() +{} + std::string DescribeLiveDomainBpsDataRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeLiveDomainBpsDataRequest::getRegionId()const void DescribeLiveDomainBpsDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainBpsDataRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveDomainBpsDataRequest::getDomainName()const void DescribeLiveDomainBpsDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainBpsDataRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainBpsDataRequest::getEndTime()const void DescribeLiveDomainBpsDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainBpsDataRequest::getInterval()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainBpsDataRequest::getInterval()const void DescribeLiveDomainBpsDataRequest::setInterval(const std::string& interval) { interval_ = interval; - setParameter("Interval", interval); + setCoreParameter("Interval", interval); } std::string DescribeLiveDomainBpsDataRequest::getLocationNameEn()const @@ -77,7 +77,7 @@ std::string DescribeLiveDomainBpsDataRequest::getLocationNameEn()const void DescribeLiveDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) { locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); + setCoreParameter("LocationNameEn", locationNameEn); } std::string DescribeLiveDomainBpsDataRequest::getStartTime()const @@ -88,7 +88,7 @@ std::string DescribeLiveDomainBpsDataRequest::getStartTime()const void DescribeLiveDomainBpsDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeLiveDomainBpsDataRequest::getIspNameEn()const @@ -99,7 +99,7 @@ std::string DescribeLiveDomainBpsDataRequest::getIspNameEn()const void DescribeLiveDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn) { ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); + setCoreParameter("IspNameEn", ispNameEn); } long DescribeLiveDomainBpsDataRequest::getOwnerId()const @@ -110,6 +110,6 @@ long DescribeLiveDomainBpsDataRequest::getOwnerId()const void DescribeLiveDomainBpsDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainBpsDataResult.cc b/live/src/model/DescribeLiveDomainBpsDataResult.cc index 2848a7024..e3da83632 100644 --- a/live/src/model/DescribeLiveDomainBpsDataResult.cc +++ b/live/src/model/DescribeLiveDomainBpsDataResult.cc @@ -1,45 +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; - -DescribeLiveDomainBpsDataResult::DescribeLiveDomainBpsDataResult() : - ServiceResult() -{} - -DescribeLiveDomainBpsDataResult::DescribeLiveDomainBpsDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainBpsDataResult::~DescribeLiveDomainBpsDataResult() -{} - -void DescribeLiveDomainBpsDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainBpsDataResult::DescribeLiveDomainBpsDataResult() : + ServiceResult() +{} + +DescribeLiveDomainBpsDataResult::DescribeLiveDomainBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainBpsDataResult::~DescribeLiveDomainBpsDataResult() +{} + +void DescribeLiveDomainBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allBpsDataPerInterval = value["BpsDataPerInterval"]["DataModule"]; for (auto value : allBpsDataPerInterval) { @@ -62,9 +62,9 @@ void DescribeLiveDomainBpsDataResult::parse(const std::string &payload) endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); - -} - + +} + std::string DescribeLiveDomainBpsDataResult::getEndTime()const { return endTime_; diff --git a/live/src/model/DescribeLiveDomainConfigsRequest.cc b/live/src/model/DescribeLiveDomainConfigsRequest.cc index a1d50b519..0f483fe1c 100644 --- a/live/src/model/DescribeLiveDomainConfigsRequest.cc +++ b/live/src/model/DescribeLiveDomainConfigsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveDomainConfigsRequest; - -DescribeLiveDomainConfigsRequest::DescribeLiveDomainConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainConfigs") -{} - -DescribeLiveDomainConfigsRequest::~DescribeLiveDomainConfigsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveDomainConfigsRequest; + +DescribeLiveDomainConfigsRequest::DescribeLiveDomainConfigsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainConfigs") +{} + +DescribeLiveDomainConfigsRequest::~DescribeLiveDomainConfigsRequest() +{} + std::string DescribeLiveDomainConfigsRequest::getFunctionNames()const { return functionNames_; @@ -33,7 +33,7 @@ std::string DescribeLiveDomainConfigsRequest::getFunctionNames()const void DescribeLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames) { functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); + setCoreParameter("FunctionNames", functionNames); } std::string DescribeLiveDomainConfigsRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveDomainConfigsRequest::getSecurityToken()const void DescribeLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveDomainConfigsRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainConfigsRequest::getDomainName()const void DescribeLiveDomainConfigsRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveDomainConfigsRequest::getOwnerId()const @@ -66,17 +66,6 @@ long DescribeLiveDomainConfigsRequest::getOwnerId()const void DescribeLiveDomainConfigsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveDomainConfigsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveDomainConfigsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainConfigsResult.cc b/live/src/model/DescribeLiveDomainConfigsResult.cc index f2b1bcdd0..b5b730306 100644 --- a/live/src/model/DescribeLiveDomainConfigsResult.cc +++ b/live/src/model/DescribeLiveDomainConfigsResult.cc @@ -1,45 +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; - -DescribeLiveDomainConfigsResult::DescribeLiveDomainConfigsResult() : - ServiceResult() -{} - -DescribeLiveDomainConfigsResult::DescribeLiveDomainConfigsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainConfigsResult::~DescribeLiveDomainConfigsResult() -{} - -void DescribeLiveDomainConfigsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainConfigsResult::DescribeLiveDomainConfigsResult() : + ServiceResult() +{} + +DescribeLiveDomainConfigsResult::DescribeLiveDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainConfigsResult::~DescribeLiveDomainConfigsResult() +{} + +void DescribeLiveDomainConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDomainConfigs = value["DomainConfigs"]["DomainConfig"]; for (auto value : allDomainConfigs) { @@ -62,9 +62,9 @@ void DescribeLiveDomainConfigsResult::parse(const std::string &payload) } domainConfigs_.push_back(domainConfigsObject); } - -} - + +} + std::vector DescribeLiveDomainConfigsResult::getDomainConfigs()const { return domainConfigs_; diff --git a/live/src/model/DescribeLiveDomainDetailRequest.cc b/live/src/model/DescribeLiveDomainDetailRequest.cc index a36ddf399..4acc2fd96 100644 --- a/live/src/model/DescribeLiveDomainDetailRequest.cc +++ b/live/src/model/DescribeLiveDomainDetailRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveDomainDetailRequest; - -DescribeLiveDomainDetailRequest::DescribeLiveDomainDetailRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainDetail") -{} - -DescribeLiveDomainDetailRequest::~DescribeLiveDomainDetailRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveDomainDetailRequest; + +DescribeLiveDomainDetailRequest::DescribeLiveDomainDetailRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainDetail") +{} + +DescribeLiveDomainDetailRequest::~DescribeLiveDomainDetailRequest() +{} + std::string DescribeLiveDomainDetailRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string DescribeLiveDomainDetailRequest::getSecurityToken()const void DescribeLiveDomainDetailRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveDomainDetailRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveDomainDetailRequest::getDomainName()const void DescribeLiveDomainDetailRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveDomainDetailRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DescribeLiveDomainDetailRequest::getOwnerId()const void DescribeLiveDomainDetailRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveDomainDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveDomainDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainDetailResult.cc b/live/src/model/DescribeLiveDomainDetailResult.cc index a94dcf267..f923f8774 100644 --- a/live/src/model/DescribeLiveDomainDetailResult.cc +++ b/live/src/model/DescribeLiveDomainDetailResult.cc @@ -1,45 +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; - -DescribeLiveDomainDetailResult::DescribeLiveDomainDetailResult() : - ServiceResult() -{} - -DescribeLiveDomainDetailResult::DescribeLiveDomainDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainDetailResult::~DescribeLiveDomainDetailResult() -{} - -void DescribeLiveDomainDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainDetailResult::DescribeLiveDomainDetailResult() : + ServiceResult() +{} + +DescribeLiveDomainDetailResult::DescribeLiveDomainDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainDetailResult::~DescribeLiveDomainDetailResult() +{} + +void DescribeLiveDomainDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto domainDetailNode = value["DomainDetail"]; if(!domainDetailNode["GmtCreated"].isNull()) domainDetail_.gmtCreated = domainDetailNode["GmtCreated"].asString(); @@ -65,9 +65,9 @@ void DescribeLiveDomainDetailResult::parse(const std::string &payload) domainDetail_.scope = domainDetailNode["Scope"].asString(); if(!domainDetailNode["CertName"].isNull()) domainDetail_.certName = domainDetailNode["CertName"].asString(); - -} - + +} + DescribeLiveDomainDetailResult::DomainDetail DescribeLiveDomainDetailResult::getDomainDetail()const { return domainDetail_; diff --git a/live/src/model/DescribeLiveDomainMappingRequest.cc b/live/src/model/DescribeLiveDomainMappingRequest.cc new file mode 100644 index 000000000..913dc6847 --- /dev/null +++ b/live/src/model/DescribeLiveDomainMappingRequest.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::DescribeLiveDomainMappingRequest; + +DescribeLiveDomainMappingRequest::DescribeLiveDomainMappingRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainMapping") +{} + +DescribeLiveDomainMappingRequest::~DescribeLiveDomainMappingRequest() +{} + +std::string DescribeLiveDomainMappingRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveDomainMappingRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DescribeLiveDomainMappingRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDomainMappingRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +long DescribeLiveDomainMappingRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDomainMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteLiveMixNotifyConfigResult.cc b/live/src/model/DescribeLiveDomainMappingResult.cc similarity index 51% rename from live/src/model/DeleteLiveMixNotifyConfigResult.cc rename to live/src/model/DescribeLiveDomainMappingResult.cc index f18e737f6..1ef75bc0f 100644 --- a/live/src/model/DeleteLiveMixNotifyConfigResult.cc +++ b/live/src/model/DescribeLiveDomainMappingResult.cc @@ -1,45 +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; - -DeleteLiveMixNotifyConfigResult::DeleteLiveMixNotifyConfigResult() : - ServiceResult() -{} - -DeleteLiveMixNotifyConfigResult::DeleteLiveMixNotifyConfigResult(const std::string &payload) : - ServiceResult() +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainMappingResult::DescribeLiveDomainMappingResult() : + ServiceResult() +{} + +DescribeLiveDomainMappingResult::DescribeLiveDomainMappingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainMappingResult::~DescribeLiveDomainMappingResult() +{} + +void DescribeLiveDomainMappingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveDomainModels = value["LiveDomainModels"]["LiveDomainModel"]; + for (auto value : allLiveDomainModels) + { + LiveDomainModel liveDomainModelsObject; + if(!value["DomainName"].isNull()) + liveDomainModelsObject.domainName = value["DomainName"].asString(); + if(!value["Type"].isNull()) + liveDomainModelsObject.type = value["Type"].asString(); + liveDomainModels_.push_back(liveDomainModelsObject); + } + +} + +std::vector DescribeLiveDomainMappingResult::getLiveDomainModels()const { - 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()); - + return liveDomainModels_; } diff --git a/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc index 41b6e5ee8..58a6435c8 100644 --- a/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveDomainRealTimeBpsDataRequest; - -DescribeLiveDomainRealTimeBpsDataRequest::DescribeLiveDomainRealTimeBpsDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeBpsData") -{} - -DescribeLiveDomainRealTimeBpsDataRequest::~DescribeLiveDomainRealTimeBpsDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveDomainRealTimeBpsDataRequest; + +DescribeLiveDomainRealTimeBpsDataRequest::DescribeLiveDomainRealTimeBpsDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeBpsData") +{} + +DescribeLiveDomainRealTimeBpsDataRequest::~DescribeLiveDomainRealTimeBpsDataRequest() +{} + long DescribeLiveDomainRealTimeBpsDataRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeLiveDomainRealTimeBpsDataRequest::getCallerParentId()const void DescribeLiveDomainRealTimeBpsDataRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeLiveDomainRealTimeBpsDataRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeLiveDomainRealTimeBpsDataRequest::getProxy_original_security_transp void DescribeLiveDomainRealTimeBpsDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getLocationNameEn()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getLocationNameEn()const void DescribeLiveDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) { locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); + setCoreParameter("LocationNameEn", locationNameEn); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getIspNameEn()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getIspNameEn()const void DescribeLiveDomainRealTimeBpsDataRequest::setIspNameEn(const std::string& ispNameEn) { ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); + setCoreParameter("IspNameEn", ispNameEn); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getStartTime()const void DescribeLiveDomainRealTimeBpsDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getProxy_original_source_ip()const @@ -88,7 +88,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getProxy_original_source_i void DescribeLiveDomainRealTimeBpsDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getOwnerIdLoginEmail()const @@ -99,7 +99,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getOwnerIdLoginEmail()cons void DescribeLiveDomainRealTimeBpsDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerType()const @@ -110,7 +110,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerType()const void DescribeLiveDomainRealTimeBpsDataRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getAccessKeyId()const @@ -121,7 +121,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getAccessKeyId()const void DescribeLiveDomainRealTimeBpsDataRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getSecurityToken()const @@ -132,7 +132,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getSecurityToken()const void DescribeLiveDomainRealTimeBpsDataRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getRegionId()const @@ -143,7 +143,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getRegionId()const void DescribeLiveDomainRealTimeBpsDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getRequestContent()const @@ -154,7 +154,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getRequestContent()const void DescribeLiveDomainRealTimeBpsDataRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerBidEmail()const @@ -165,7 +165,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerBidEmail()const void DescribeLiveDomainRealTimeBpsDataRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerUidEmail()const @@ -176,7 +176,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerUidEmail()const void DescribeLiveDomainRealTimeBpsDataRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeLiveDomainRealTimeBpsDataRequest::getCallerUid()const @@ -187,7 +187,7 @@ long DescribeLiveDomainRealTimeBpsDataRequest::getCallerUid()const void DescribeLiveDomainRealTimeBpsDataRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getApp_ip()const @@ -198,7 +198,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getApp_ip()const void DescribeLiveDomainRealTimeBpsDataRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getPopProduct()const @@ -209,7 +209,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getPopProduct()const void DescribeLiveDomainRealTimeBpsDataRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getDomainName()const @@ -220,7 +220,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getDomainName()const void DescribeLiveDomainRealTimeBpsDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getEndTime()const @@ -231,7 +231,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getEndTime()const void DescribeLiveDomainRealTimeBpsDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerBid()const @@ -242,7 +242,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getCallerBid()const void DescribeLiveDomainRealTimeBpsDataRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeLiveDomainRealTimeBpsDataRequest::getOwnerId()const @@ -253,7 +253,7 @@ long DescribeLiveDomainRealTimeBpsDataRequest::getOwnerId()const void DescribeLiveDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getVersion()const @@ -264,7 +264,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getVersion()const void DescribeLiveDomainRealTimeBpsDataRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeLiveDomainRealTimeBpsDataRequest::getProxy_trust_transport_info()const @@ -275,7 +275,7 @@ bool DescribeLiveDomainRealTimeBpsDataRequest::getProxy_trust_transport_info()co void DescribeLiveDomainRealTimeBpsDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeLiveDomainRealTimeBpsDataRequest::getAk_mfa_present()const @@ -286,7 +286,7 @@ bool DescribeLiveDomainRealTimeBpsDataRequest::getAk_mfa_present()const void DescribeLiveDomainRealTimeBpsDataRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool DescribeLiveDomainRealTimeBpsDataRequest::getSecurity_transport()const @@ -297,7 +297,7 @@ bool DescribeLiveDomainRealTimeBpsDataRequest::getSecurity_transport()const void DescribeLiveDomainRealTimeBpsDataRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getRequestId()const @@ -308,7 +308,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getRequestId()const void DescribeLiveDomainRealTimeBpsDataRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getInterval()const @@ -319,7 +319,7 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getInterval()const void DescribeLiveDomainRealTimeBpsDataRequest::setInterval(const std::string& interval) { interval_ = interval; - setParameter("Interval", interval); + setCoreParameter("Interval", interval); } std::string DescribeLiveDomainRealTimeBpsDataRequest::getFields()const @@ -330,6 +330,6 @@ std::string DescribeLiveDomainRealTimeBpsDataRequest::getFields()const void DescribeLiveDomainRealTimeBpsDataRequest::setFields(const std::string& fields) { fields_ = fields; - setParameter("Fields", fields); + setCoreParameter("Fields", fields); } diff --git a/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc index 106706de4..01d8b2f9a 100644 --- a/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc +++ b/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc @@ -1,45 +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; - -DescribeLiveDomainRealTimeBpsDataResult::DescribeLiveDomainRealTimeBpsDataResult() : - ServiceResult() -{} - -DescribeLiveDomainRealTimeBpsDataResult::DescribeLiveDomainRealTimeBpsDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainRealTimeBpsDataResult::~DescribeLiveDomainRealTimeBpsDataResult() -{} - -void DescribeLiveDomainRealTimeBpsDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainRealTimeBpsDataResult::DescribeLiveDomainRealTimeBpsDataResult() : + ServiceResult() +{} + +DescribeLiveDomainRealTimeBpsDataResult::DescribeLiveDomainRealTimeBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainRealTimeBpsDataResult::~DescribeLiveDomainRealTimeBpsDataResult() +{} + +void DescribeLiveDomainRealTimeBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRealTimeBpsDataPerInterval = value["RealTimeBpsDataPerInterval"]["DataModule"]; for (auto value : allRealTimeBpsDataPerInterval) { @@ -58,9 +58,9 @@ void DescribeLiveDomainRealTimeBpsDataResult::parse(const std::string &payload) endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); - -} - + +} + std::string DescribeLiveDomainRealTimeBpsDataResult::getEndTime()const { return endTime_; diff --git a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc index d89839750..91f074447 100644 --- a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveDomainRealTimeHttpCodeDataRequest; - -DescribeLiveDomainRealTimeHttpCodeDataRequest::DescribeLiveDomainRealTimeHttpCodeDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeHttpCodeData") -{} - -DescribeLiveDomainRealTimeHttpCodeDataRequest::~DescribeLiveDomainRealTimeHttpCodeDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveDomainRealTimeHttpCodeDataRequest; + +DescribeLiveDomainRealTimeHttpCodeDataRequest::DescribeLiveDomainRealTimeHttpCodeDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeHttpCodeData") +{} + +DescribeLiveDomainRealTimeHttpCodeDataRequest::~DescribeLiveDomainRealTimeHttpCodeDataRequest() +{} + long DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerParentId()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getProxy_original_security_t void DescribeLiveDomainRealTimeHttpCodeDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getLocationNameEn()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getLocationNameEn()co void DescribeLiveDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) { locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); + setCoreParameter("LocationNameEn", locationNameEn); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getStartTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getStartTime()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getIspNameEn()const @@ -77,7 +77,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getIspNameEn()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) { ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); + setCoreParameter("IspNameEn", ispNameEn); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getProxy_original_source_ip()const @@ -88,7 +88,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getProxy_original_sou void DescribeLiveDomainRealTimeHttpCodeDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerIdLoginEmail()const @@ -99,7 +99,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerIdLoginEmail( void DescribeLiveDomainRealTimeHttpCodeDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerType()const @@ -110,7 +110,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerType()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getAccessKeyId()const @@ -121,7 +121,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getAccessKeyId()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getSecurityToken()const @@ -132,7 +132,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getSecurityToken()con void DescribeLiveDomainRealTimeHttpCodeDataRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getRegionId()const @@ -143,7 +143,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getRegionId()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getRequestContent()const @@ -154,7 +154,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getRequestContent()co void DescribeLiveDomainRealTimeHttpCodeDataRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerBidEmail()const @@ -165,7 +165,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerBidEmail()co void DescribeLiveDomainRealTimeHttpCodeDataRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerUidEmail()const @@ -176,7 +176,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerUidEmail()co void DescribeLiveDomainRealTimeHttpCodeDataRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerUid()const @@ -187,7 +187,7 @@ long DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerUid()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getApp_ip()const @@ -198,7 +198,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getApp_ip()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getPopProduct()const @@ -209,7 +209,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getPopProduct()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getDomainName()const @@ -220,7 +220,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getDomainName()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getEndTime()const @@ -231,7 +231,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getEndTime()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerBid()const @@ -242,7 +242,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getCallerBid()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerId()const @@ -253,7 +253,7 @@ long DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerId()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getVersion()const @@ -264,7 +264,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getVersion()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getProxy_trust_transport_info()const @@ -275,7 +275,7 @@ bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getProxy_trust_transport_inf void DescribeLiveDomainRealTimeHttpCodeDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getAk_mfa_present()const @@ -286,7 +286,7 @@ bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getAk_mfa_present()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getSecurity_transport()const @@ -297,7 +297,7 @@ bool DescribeLiveDomainRealTimeHttpCodeDataRequest::getSecurity_transport()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getRequestId()const @@ -308,7 +308,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getRequestId()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getInterval()const @@ -319,7 +319,7 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getInterval()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setInterval(const std::string& interval) { interval_ = interval; - setParameter("Interval", interval); + setCoreParameter("Interval", interval); } std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getFields()const @@ -330,6 +330,6 @@ std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getFields()const void DescribeLiveDomainRealTimeHttpCodeDataRequest::setFields(const std::string& fields) { fields_ = fields; - setParameter("Fields", fields); + setCoreParameter("Fields", fields); } diff --git a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc index 707df0cc7..d99b89767 100644 --- a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc +++ b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc @@ -1,45 +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; - -DescribeLiveDomainRealTimeHttpCodeDataResult::DescribeLiveDomainRealTimeHttpCodeDataResult() : - ServiceResult() -{} - -DescribeLiveDomainRealTimeHttpCodeDataResult::DescribeLiveDomainRealTimeHttpCodeDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainRealTimeHttpCodeDataResult::~DescribeLiveDomainRealTimeHttpCodeDataResult() -{} - -void DescribeLiveDomainRealTimeHttpCodeDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainRealTimeHttpCodeDataResult::DescribeLiveDomainRealTimeHttpCodeDataResult() : + ServiceResult() +{} + +DescribeLiveDomainRealTimeHttpCodeDataResult::DescribeLiveDomainRealTimeHttpCodeDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainRealTimeHttpCodeDataResult::~DescribeLiveDomainRealTimeHttpCodeDataResult() +{} + +void DescribeLiveDomainRealTimeHttpCodeDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRealTimeHttpCodeData = value["RealTimeHttpCodeData"]["UsageData"]; for (auto value : allRealTimeHttpCodeData) { @@ -68,9 +68,9 @@ void DescribeLiveDomainRealTimeHttpCodeDataResult::parse(const std::string &payl endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); - -} - + +} + std::string DescribeLiveDomainRealTimeHttpCodeDataResult::getEndTime()const { return endTime_; diff --git a/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc index 8c6668223..d919ca31a 100644 --- a/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveDomainRealTimeTrafficDataRequest; - -DescribeLiveDomainRealTimeTrafficDataRequest::DescribeLiveDomainRealTimeTrafficDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeTrafficData") -{} - -DescribeLiveDomainRealTimeTrafficDataRequest::~DescribeLiveDomainRealTimeTrafficDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveDomainRealTimeTrafficDataRequest; + +DescribeLiveDomainRealTimeTrafficDataRequest::DescribeLiveDomainRealTimeTrafficDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeTrafficData") +{} + +DescribeLiveDomainRealTimeTrafficDataRequest::~DescribeLiveDomainRealTimeTrafficDataRequest() +{} + long DescribeLiveDomainRealTimeTrafficDataRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeLiveDomainRealTimeTrafficDataRequest::getCallerParentId()const void DescribeLiveDomainRealTimeTrafficDataRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeLiveDomainRealTimeTrafficDataRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeLiveDomainRealTimeTrafficDataRequest::getProxy_original_security_tr void DescribeLiveDomainRealTimeTrafficDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getLocationNameEn()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getLocationNameEn()con void DescribeLiveDomainRealTimeTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) { locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); + setCoreParameter("LocationNameEn", locationNameEn); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getStartTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getStartTime()const void DescribeLiveDomainRealTimeTrafficDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getIspNameEn()const @@ -77,7 +77,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getIspNameEn()const void DescribeLiveDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) { ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); + setCoreParameter("IspNameEn", ispNameEn); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getProxy_original_source_ip()const @@ -88,7 +88,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getProxy_original_sour void DescribeLiveDomainRealTimeTrafficDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerIdLoginEmail()const @@ -99,7 +99,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerIdLoginEmail() void DescribeLiveDomainRealTimeTrafficDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerType()const @@ -110,7 +110,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerType()const void DescribeLiveDomainRealTimeTrafficDataRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getAccessKeyId()const @@ -121,7 +121,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getAccessKeyId()const void DescribeLiveDomainRealTimeTrafficDataRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getSecurityToken()const @@ -132,7 +132,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getSecurityToken()cons void DescribeLiveDomainRealTimeTrafficDataRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getRegionId()const @@ -143,7 +143,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getRegionId()const void DescribeLiveDomainRealTimeTrafficDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getRequestContent()const @@ -154,7 +154,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getRequestContent()con void DescribeLiveDomainRealTimeTrafficDataRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerBidEmail()const @@ -165,7 +165,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerBidEmail()con void DescribeLiveDomainRealTimeTrafficDataRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerUidEmail()const @@ -176,7 +176,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerUidEmail()con void DescribeLiveDomainRealTimeTrafficDataRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeLiveDomainRealTimeTrafficDataRequest::getCallerUid()const @@ -187,7 +187,7 @@ long DescribeLiveDomainRealTimeTrafficDataRequest::getCallerUid()const void DescribeLiveDomainRealTimeTrafficDataRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getApp_ip()const @@ -198,7 +198,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getApp_ip()const void DescribeLiveDomainRealTimeTrafficDataRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getPopProduct()const @@ -209,7 +209,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getPopProduct()const void DescribeLiveDomainRealTimeTrafficDataRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getDomainName()const @@ -220,7 +220,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getDomainName()const void DescribeLiveDomainRealTimeTrafficDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getEndTime()const @@ -231,7 +231,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getEndTime()const void DescribeLiveDomainRealTimeTrafficDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerBid()const @@ -242,7 +242,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getCallerBid()const void DescribeLiveDomainRealTimeTrafficDataRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerId()const @@ -253,7 +253,7 @@ long DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerId()const void DescribeLiveDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getVersion()const @@ -264,7 +264,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getVersion()const void DescribeLiveDomainRealTimeTrafficDataRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeLiveDomainRealTimeTrafficDataRequest::getProxy_trust_transport_info()const @@ -275,7 +275,7 @@ bool DescribeLiveDomainRealTimeTrafficDataRequest::getProxy_trust_transport_info void DescribeLiveDomainRealTimeTrafficDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeLiveDomainRealTimeTrafficDataRequest::getAk_mfa_present()const @@ -286,7 +286,7 @@ bool DescribeLiveDomainRealTimeTrafficDataRequest::getAk_mfa_present()const void DescribeLiveDomainRealTimeTrafficDataRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool DescribeLiveDomainRealTimeTrafficDataRequest::getSecurity_transport()const @@ -297,7 +297,7 @@ bool DescribeLiveDomainRealTimeTrafficDataRequest::getSecurity_transport()const void DescribeLiveDomainRealTimeTrafficDataRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getRequestId()const @@ -308,7 +308,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getRequestId()const void DescribeLiveDomainRealTimeTrafficDataRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getInterval()const @@ -319,7 +319,7 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getInterval()const void DescribeLiveDomainRealTimeTrafficDataRequest::setInterval(const std::string& interval) { interval_ = interval; - setParameter("Interval", interval); + setCoreParameter("Interval", interval); } std::string DescribeLiveDomainRealTimeTrafficDataRequest::getFields()const @@ -330,6 +330,6 @@ std::string DescribeLiveDomainRealTimeTrafficDataRequest::getFields()const void DescribeLiveDomainRealTimeTrafficDataRequest::setFields(const std::string& fields) { fields_ = fields; - setParameter("Fields", fields); + setCoreParameter("Fields", fields); } diff --git a/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc index 460e7e520..bbd43d251 100644 --- a/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc +++ b/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc @@ -1,45 +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; - -DescribeLiveDomainRealTimeTrafficDataResult::DescribeLiveDomainRealTimeTrafficDataResult() : - ServiceResult() -{} - -DescribeLiveDomainRealTimeTrafficDataResult::DescribeLiveDomainRealTimeTrafficDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainRealTimeTrafficDataResult::~DescribeLiveDomainRealTimeTrafficDataResult() -{} - -void DescribeLiveDomainRealTimeTrafficDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainRealTimeTrafficDataResult::DescribeLiveDomainRealTimeTrafficDataResult() : + ServiceResult() +{} + +DescribeLiveDomainRealTimeTrafficDataResult::DescribeLiveDomainRealTimeTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainRealTimeTrafficDataResult::~DescribeLiveDomainRealTimeTrafficDataResult() +{} + +void DescribeLiveDomainRealTimeTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRealTimeTrafficDataPerInterval = value["RealTimeTrafficDataPerInterval"]["DataModule"]; for (auto value : allRealTimeTrafficDataPerInterval) { @@ -58,9 +58,9 @@ void DescribeLiveDomainRealTimeTrafficDataResult::parse(const std::string &paylo endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); - -} - + +} + std::string DescribeLiveDomainRealTimeTrafficDataResult::getEndTime()const { return endTime_; diff --git a/live/src/model/DescribeLiveDomainRecordDataRequest.cc b/live/src/model/DescribeLiveDomainRecordDataRequest.cc index a16a15af0..d59896a52 100644 --- a/live/src/model/DescribeLiveDomainRecordDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRecordDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeLiveDomainRecordDataRequest::getRegionId()const void DescribeLiveDomainRecordDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainRecordDataRequest::getRecordType()const @@ -44,7 +44,7 @@ std::string DescribeLiveDomainRecordDataRequest::getRecordType()const void DescribeLiveDomainRecordDataRequest::setRecordType(const std::string& recordType) { recordType_ = recordType; - setParameter("RecordType", recordType); + setCoreParameter("RecordType", recordType); } std::string DescribeLiveDomainRecordDataRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainRecordDataRequest::getDomainName()const void DescribeLiveDomainRecordDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainRecordDataRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainRecordDataRequest::getEndTime()const void DescribeLiveDomainRecordDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainRecordDataRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveDomainRecordDataRequest::getStartTime()const void DescribeLiveDomainRecordDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveDomainRecordDataRequest::getOwnerId()const @@ -88,6 +88,6 @@ long DescribeLiveDomainRecordDataRequest::getOwnerId()const void DescribeLiveDomainRecordDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRecordDataResult.cc b/live/src/model/DescribeLiveDomainRecordDataResult.cc index b16faa3ff..7dad4cc3a 100644 --- a/live/src/model/DescribeLiveDomainRecordDataResult.cc +++ b/live/src/model/DescribeLiveDomainRecordDataResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -57,9 +57,9 @@ void DescribeLiveDomainRecordDataResult::parse(const std::string &payload) 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 index 220b94879..cfa982869 100644 --- a/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc +++ b/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeLiveDomainSnapshotDataRequest::getRegionId()const void DescribeLiveDomainSnapshotDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainSnapshotDataRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveDomainSnapshotDataRequest::getDomainName()const void DescribeLiveDomainSnapshotDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainSnapshotDataRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainSnapshotDataRequest::getEndTime()const void DescribeLiveDomainSnapshotDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainSnapshotDataRequest::getStartTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainSnapshotDataRequest::getStartTime()const void DescribeLiveDomainSnapshotDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveDomainSnapshotDataRequest::getOwnerId()const @@ -77,6 +77,6 @@ long DescribeLiveDomainSnapshotDataRequest::getOwnerId()const void DescribeLiveDomainSnapshotDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainSnapshotDataResult.cc b/live/src/model/DescribeLiveDomainSnapshotDataResult.cc index c2812e477..3e6a7c5d6 100644 --- a/live/src/model/DescribeLiveDomainSnapshotDataResult.cc +++ b/live/src/model/DescribeLiveDomainSnapshotDataResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -50,9 +50,9 @@ void DescribeLiveDomainSnapshotDataResult::parse(const std::string &payload) snapshotDataInfosObject.total = std::stoi(value["Total"].asString()); snapshotDataInfos_.push_back(snapshotDataInfosObject); } - -} - + +} + std::vector DescribeLiveDomainSnapshotDataResult::getSnapshotDataInfos()const { return snapshotDataInfos_; diff --git a/live/src/model/DescribeLiveDomainTrafficDataRequest.cc b/live/src/model/DescribeLiveDomainTrafficDataRequest.cc index dfb8ed91b..1d4a55db5 100644 --- a/live/src/model/DescribeLiveDomainTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTrafficDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveDomainTrafficDataRequest; - -DescribeLiveDomainTrafficDataRequest::DescribeLiveDomainTrafficDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTrafficData") -{} - -DescribeLiveDomainTrafficDataRequest::~DescribeLiveDomainTrafficDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveDomainTrafficDataRequest; + +DescribeLiveDomainTrafficDataRequest::DescribeLiveDomainTrafficDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTrafficData") +{} + +DescribeLiveDomainTrafficDataRequest::~DescribeLiveDomainTrafficDataRequest() +{} + std::string DescribeLiveDomainTrafficDataRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeLiveDomainTrafficDataRequest::getRegionId()const void DescribeLiveDomainTrafficDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainTrafficDataRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveDomainTrafficDataRequest::getDomainName()const void DescribeLiveDomainTrafficDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainTrafficDataRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainTrafficDataRequest::getEndTime()const void DescribeLiveDomainTrafficDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainTrafficDataRequest::getInterval()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainTrafficDataRequest::getInterval()const void DescribeLiveDomainTrafficDataRequest::setInterval(const std::string& interval) { interval_ = interval; - setParameter("Interval", interval); + setCoreParameter("Interval", interval); } std::string DescribeLiveDomainTrafficDataRequest::getLocationNameEn()const @@ -77,7 +77,7 @@ std::string DescribeLiveDomainTrafficDataRequest::getLocationNameEn()const void DescribeLiveDomainTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) { locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); + setCoreParameter("LocationNameEn", locationNameEn); } std::string DescribeLiveDomainTrafficDataRequest::getStartTime()const @@ -88,7 +88,7 @@ std::string DescribeLiveDomainTrafficDataRequest::getStartTime()const void DescribeLiveDomainTrafficDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeLiveDomainTrafficDataRequest::getIspNameEn()const @@ -99,7 +99,7 @@ std::string DescribeLiveDomainTrafficDataRequest::getIspNameEn()const void DescribeLiveDomainTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) { ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); + setCoreParameter("IspNameEn", ispNameEn); } long DescribeLiveDomainTrafficDataRequest::getOwnerId()const @@ -110,6 +110,6 @@ long DescribeLiveDomainTrafficDataRequest::getOwnerId()const void DescribeLiveDomainTrafficDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainTrafficDataResult.cc b/live/src/model/DescribeLiveDomainTrafficDataResult.cc index daf95fd4f..36f32322e 100644 --- a/live/src/model/DescribeLiveDomainTrafficDataResult.cc +++ b/live/src/model/DescribeLiveDomainTrafficDataResult.cc @@ -1,45 +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; - -DescribeLiveDomainTrafficDataResult::DescribeLiveDomainTrafficDataResult() : - ServiceResult() -{} - -DescribeLiveDomainTrafficDataResult::DescribeLiveDomainTrafficDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainTrafficDataResult::~DescribeLiveDomainTrafficDataResult() -{} - -void DescribeLiveDomainTrafficDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveDomainTrafficDataResult::DescribeLiveDomainTrafficDataResult() : + ServiceResult() +{} + +DescribeLiveDomainTrafficDataResult::DescribeLiveDomainTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainTrafficDataResult::~DescribeLiveDomainTrafficDataResult() +{} + +void DescribeLiveDomainTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTrafficDataPerInterval = value["TrafficDataPerInterval"]["DataModule"]; for (auto value : allTrafficDataPerInterval) { @@ -62,9 +62,9 @@ void DescribeLiveDomainTrafficDataResult::parse(const std::string &payload) endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); - -} - + +} + std::string DescribeLiveDomainTrafficDataResult::getEndTime()const { return endTime_; diff --git a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc index b64aa216a..6fd2adc95 100644 --- a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeLiveDomainTranscodeDataRequest::getRegionId()const void DescribeLiveDomainTranscodeDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveDomainTranscodeDataRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveDomainTranscodeDataRequest::getDomainName()const void DescribeLiveDomainTranscodeDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveDomainTranscodeDataRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeLiveDomainTranscodeDataRequest::getEndTime()const void DescribeLiveDomainTranscodeDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveDomainTranscodeDataRequest::getStartTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveDomainTranscodeDataRequest::getStartTime()const void DescribeLiveDomainTranscodeDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveDomainTranscodeDataRequest::getOwnerId()const @@ -77,6 +77,6 @@ long DescribeLiveDomainTranscodeDataRequest::getOwnerId()const void DescribeLiveDomainTranscodeDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainTranscodeDataResult.cc b/live/src/model/DescribeLiveDomainTranscodeDataResult.cc index 14e96e947..63e7e42c2 100644 --- a/live/src/model/DescribeLiveDomainTranscodeDataResult.cc +++ b/live/src/model/DescribeLiveDomainTranscodeDataResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -52,9 +52,9 @@ void DescribeLiveDomainTranscodeDataResult::parse(const std::string &payload) transcodeDataInfosObject.detail = value["Detail"].asString(); transcodeDataInfos_.push_back(transcodeDataInfosObject); } - -} - + +} + std::vector DescribeLiveDomainTranscodeDataResult::getTranscodeDataInfos()const { return transcodeDataInfos_; diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc index 77b6c6c76..f4f4a7ef4 100644 --- a/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc +++ b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc @@ -1,51 +1,29 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveLazyPullStreamConfigRequest; - -DescribeLiveLazyPullStreamConfigRequest::DescribeLiveLazyPullStreamConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveLazyPullStreamConfig") -{} - -DescribeLiveLazyPullStreamConfigRequest::~DescribeLiveLazyPullStreamConfigRequest() -{} - -std::string DescribeLiveLazyPullStreamConfigRequest::getApp_ip()const -{ - return app_ip_; -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -void DescribeLiveLazyPullStreamConfigRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} +#include -std::string DescribeLiveLazyPullStreamConfigRequest::getPopProduct()const -{ - return popProduct_; -} +using AlibabaCloud::Live::Model::DescribeLiveLazyPullStreamConfigRequest; -void DescribeLiveLazyPullStreamConfigRequest::setPopProduct(const std::string& popProduct) -{ - popProduct_ = popProduct; - setParameter("PopProduct", popProduct); -} +DescribeLiveLazyPullStreamConfigRequest::DescribeLiveLazyPullStreamConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveLazyPullStreamConfig") +{} + +DescribeLiveLazyPullStreamConfigRequest::~DescribeLiveLazyPullStreamConfigRequest() +{} long DescribeLiveLazyPullStreamConfigRequest::getCallerParentId()const { @@ -55,18 +33,7 @@ long DescribeLiveLazyPullStreamConfigRequest::getCallerParentId()const void DescribeLiveLazyPullStreamConfigRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -std::string DescribeLiveLazyPullStreamConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveLazyPullStreamConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeLiveLazyPullStreamConfigRequest::getProxy_original_security_transport()const @@ -77,29 +44,7 @@ bool DescribeLiveLazyPullStreamConfigRequest::getProxy_original_security_transpo void DescribeLiveLazyPullStreamConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string DescribeLiveLazyPullStreamConfigRequest::getCallerBid()const -{ - return callerBid_; -} - -void DescribeLiveLazyPullStreamConfigRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long DescribeLiveLazyPullStreamConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveLazyPullStreamConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeLiveLazyPullStreamConfigRequest::getProxy_original_source_ip()const @@ -110,18 +55,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getProxy_original_source_ip void DescribeLiveLazyPullStreamConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string DescribeLiveLazyPullStreamConfigRequest::getVersion()const -{ - return version_; -} - -void DescribeLiveLazyPullStreamConfigRequest::setVersion(const std::string& version) -{ - version_ = version; - setParameter("Version", version); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeLiveLazyPullStreamConfigRequest::getOwnerIdLoginEmail()const @@ -132,7 +66,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getOwnerIdLoginEmail()const void DescribeLiveLazyPullStreamConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeLiveLazyPullStreamConfigRequest::getCallerType()const @@ -143,29 +77,18 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getCallerType()const void DescribeLiveLazyPullStreamConfigRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } -bool DescribeLiveLazyPullStreamConfigRequest::getProxy_trust_transport_info()const +std::string DescribeLiveLazyPullStreamConfigRequest::getEagleEyeRpcId()const { - return proxy_trust_transport_info_; + return eagleEyeRpcId_; } -void DescribeLiveLazyPullStreamConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +void DescribeLiveLazyPullStreamConfigRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId) { - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool DescribeLiveLazyPullStreamConfigRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void DescribeLiveLazyPullStreamConfigRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + eagleEyeRpcId_ = eagleEyeRpcId; + setCoreParameter("EagleEyeRpcId", eagleEyeRpcId); } std::string DescribeLiveLazyPullStreamConfigRequest::getAccessKeyId()const @@ -176,18 +99,18 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getAccessKeyId()const void DescribeLiveLazyPullStreamConfigRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } -bool DescribeLiveLazyPullStreamConfigRequest::getSecurity_transport()const +std::string DescribeLiveLazyPullStreamConfigRequest::getEagleEyeTraceId()const { - return security_transport_; + return eagleEyeTraceId_; } -void DescribeLiveLazyPullStreamConfigRequest::setSecurity_transport(bool security_transport) +void DescribeLiveLazyPullStreamConfigRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId) { - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + eagleEyeTraceId_ = eagleEyeTraceId; + setCoreParameter("EagleEyeTraceId", eagleEyeTraceId); } std::string DescribeLiveLazyPullStreamConfigRequest::getAppName()const @@ -198,7 +121,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getAppName()const void DescribeLiveLazyPullStreamConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveLazyPullStreamConfigRequest::getSecurityToken()const @@ -209,7 +132,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getSecurityToken()const void DescribeLiveLazyPullStreamConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveLazyPullStreamConfigRequest::getRegionId()const @@ -220,18 +143,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getRegionId()const void DescribeLiveLazyPullStreamConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeLiveLazyPullStreamConfigRequest::getRequestId()const -{ - return requestId_; -} - -void DescribeLiveLazyPullStreamConfigRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveLazyPullStreamConfigRequest::getRequestContent()const @@ -242,7 +154,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getRequestContent()const void DescribeLiveLazyPullStreamConfigRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string DescribeLiveLazyPullStreamConfigRequest::getCallerBidEmail()const @@ -253,7 +165,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getCallerBidEmail()const void DescribeLiveLazyPullStreamConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeLiveLazyPullStreamConfigRequest::getCallerUidEmail()const @@ -264,7 +176,7 @@ std::string DescribeLiveLazyPullStreamConfigRequest::getCallerUidEmail()const void DescribeLiveLazyPullStreamConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeLiveLazyPullStreamConfigRequest::getCallerUid()const @@ -275,6 +187,138 @@ long DescribeLiveLazyPullStreamConfigRequest::getCallerUid()const void DescribeLiveLazyPullStreamConfigRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long DescribeLiveLazyPullStreamConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getVersion()const +{ + return version_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool DescribeLiveLazyPullStreamConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool DescribeLiveLazyPullStreamConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool DescribeLiveLazyPullStreamConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getServiceCode()const +{ + return serviceCode_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setCoreParameter("ServiceCode", serviceCode); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string DescribeLiveLazyPullStreamConfigRequest::getEagleEyeUserData()const +{ + return eagleEyeUserData_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setEagleEyeUserData(const std::string& eagleEyeUserData) +{ + eagleEyeUserData_ = eagleEyeUserData; + setCoreParameter("EagleEyeUserData", eagleEyeUserData); } diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc index f7eb3b7d5..8579d296b 100644 --- a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc +++ b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc @@ -1,45 +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; - -DescribeLiveLazyPullStreamConfigResult::DescribeLiveLazyPullStreamConfigResult() : - ServiceResult() -{} - -DescribeLiveLazyPullStreamConfigResult::DescribeLiveLazyPullStreamConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveLazyPullStreamConfigResult::~DescribeLiveLazyPullStreamConfigResult() -{} - -void DescribeLiveLazyPullStreamConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveLazyPullStreamConfigResult::DescribeLiveLazyPullStreamConfigResult() : + ServiceResult() +{} + +DescribeLiveLazyPullStreamConfigResult::DescribeLiveLazyPullStreamConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveLazyPullStreamConfigResult::~DescribeLiveLazyPullStreamConfigResult() +{} + +void DescribeLiveLazyPullStreamConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allLiveLazyPullConfigList = value["LiveLazyPullConfigList"]["LiveLazyPullConfig"]; for (auto value : allLiveLazyPullConfigList) { @@ -58,11 +58,13 @@ void DescribeLiveLazyPullStreamConfigResult::parse(const std::string &payload) liveLazyPullConfigListObject.pullAuthType = value["PullAuthType"].asString(); if(!value["PullAuthKey"].isNull()) liveLazyPullConfigListObject.pullAuthKey = value["PullAuthKey"].asString(); + if(!value["PullArgs"].isNull()) + liveLazyPullConfigListObject.pullArgs = value["PullArgs"].asString(); liveLazyPullConfigList_.push_back(liveLazyPullConfigListObject); } - -} - + +} + std::vector DescribeLiveLazyPullStreamConfigResult::getLiveLazyPullConfigList()const { return liveLazyPullConfigList_; diff --git a/live/src/model/DescribeLiveMixConfigRequest.cc b/live/src/model/DescribeLiveMixConfigRequest.cc deleted file mode 100644 index e15de7537..000000000 --- a/live/src/model/DescribeLiveMixConfigRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 5da59e5a6..000000000 --- a/live/src/model/DescribeLiveMixConfigResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index f51692538..000000000 --- a/live/src/model/DescribeLiveMixNotifyConfigRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 8c82e8229..000000000 --- a/live/src/model/DescribeLiveMixNotifyConfigResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 index ae98d08c1..054397c3c 100644 --- a/live/src/model/DescribeLivePullStreamConfigRequest.cc +++ b/live/src/model/DescribeLivePullStreamConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLivePullStreamConfigRequest::getSecurityToken()const void DescribeLivePullStreamConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLivePullStreamConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLivePullStreamConfigRequest::getDomainName()const void DescribeLivePullStreamConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLivePullStreamConfigRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DescribeLivePullStreamConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLivePullStreamConfigResult.cc b/live/src/model/DescribeLivePullStreamConfigResult.cc index 0fe0784f7..dbb4b2ba2 100644 --- a/live/src/model/DescribeLivePullStreamConfigResult.cc +++ b/live/src/model/DescribeLivePullStreamConfigResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -58,9 +58,9 @@ void DescribeLivePullStreamConfigResult::parse(const std::string &payload) 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 index f926c5bbe..5881133da 100644 --- a/live/src/model/DescribeLiveRecordConfigRequest.cc +++ b/live/src/model/DescribeLiveRecordConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveRecordConfigRequest::getAppName()const void DescribeLiveRecordConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveRecordConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveRecordConfigRequest::getSecurityToken()const void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveRecordConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveRecordConfigRequest::getDomainName()const void DescribeLiveRecordConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int DescribeLiveRecordConfigRequest::getPageSize()const @@ -66,7 +66,7 @@ int DescribeLiveRecordConfigRequest::getPageSize()const void DescribeLiveRecordConfigRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } long DescribeLiveRecordConfigRequest::getOwnerId()const @@ -77,7 +77,7 @@ long DescribeLiveRecordConfigRequest::getOwnerId()const void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveRecordConfigRequest::getPageNum()const @@ -88,7 +88,7 @@ int DescribeLiveRecordConfigRequest::getPageNum()const void DescribeLiveRecordConfigRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeLiveRecordConfigRequest::getStreamName()const @@ -99,18 +99,7 @@ std::string DescribeLiveRecordConfigRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } std::string DescribeLiveRecordConfigRequest::getOrder()const @@ -121,6 +110,6 @@ std::string DescribeLiveRecordConfigRequest::getOrder()const void DescribeLiveRecordConfigRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } diff --git a/live/src/model/DescribeLiveRecordConfigResult.cc b/live/src/model/DescribeLiveRecordConfigResult.cc index 9dbc28748..811d5c9c2 100644 --- a/live/src/model/DescribeLiveRecordConfigResult.cc +++ b/live/src/model/DescribeLiveRecordConfigResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -88,9 +88,9 @@ void DescribeLiveRecordConfigResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + std::string DescribeLiveRecordConfigResult::getOrder()const { return order_; diff --git a/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc b/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc index 6c07c4eb9..953943ebc 100644 --- a/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveRecordNotifyConfigRequest::getSecurityToken()const void DescribeLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveRecordNotifyConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveRecordNotifyConfigRequest::getDomainName()const void DescribeLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveRecordNotifyConfigRequest::getOwnerId()const @@ -55,17 +55,6 @@ long DescribeLiveRecordNotifyConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveRecordNotifyConfigResult.cc b/live/src/model/DescribeLiveRecordNotifyConfigResult.cc index 3f1140ed4..b4abc5f30 100644 --- a/live/src/model/DescribeLiveRecordNotifyConfigResult.cc +++ b/live/src/model/DescribeLiveRecordNotifyConfigResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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(); @@ -49,9 +49,9 @@ void DescribeLiveRecordNotifyConfigResult::parse(const std::string &payload) 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 index 8695b63cb..59c2062a8 100644 --- a/live/src/model/DescribeLiveRecordVodConfigsRequest.cc +++ b/live/src/model/DescribeLiveRecordVodConfigsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveRecordVodConfigsRequest::getAppName()const void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveRecordVodConfigsRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveRecordVodConfigsRequest::getDomainName()const void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveRecordVodConfigsRequest::getPageSize()const @@ -55,7 +55,7 @@ long DescribeLiveRecordVodConfigsRequest::getPageSize()const void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } long DescribeLiveRecordVodConfigsRequest::getOwnerId()const @@ -66,7 +66,7 @@ long DescribeLiveRecordVodConfigsRequest::getOwnerId()const void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } long DescribeLiveRecordVodConfigsRequest::getPageNum()const @@ -77,7 +77,7 @@ long DescribeLiveRecordVodConfigsRequest::getPageNum()const void DescribeLiveRecordVodConfigsRequest::setPageNum(long pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeLiveRecordVodConfigsRequest::getStreamName()const @@ -88,6 +88,6 @@ std::string DescribeLiveRecordVodConfigsRequest::getStreamName()const void DescribeLiveRecordVodConfigsRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DescribeLiveRecordVodConfigsResult.cc b/live/src/model/DescribeLiveRecordVodConfigsResult.cc index 74cdd5fe9..e5234c2e0 100644 --- a/live/src/model/DescribeLiveRecordVodConfigsResult.cc +++ b/live/src/model/DescribeLiveRecordVodConfigsResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -68,9 +68,9 @@ void DescribeLiveRecordVodConfigsResult::parse(const std::string &payload) pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["Total"].isNull()) total_ = value["Total"].asString(); - -} - + +} + std::vector DescribeLiveRecordVodConfigsResult::getLiveRecordVodConfigs()const { return liveRecordVodConfigs_; diff --git a/live/src/model/DescribeLiveSnapshotConfigRequest.cc b/live/src/model/DescribeLiveSnapshotConfigRequest.cc index ec31c91f8..5f8d69e48 100644 --- a/live/src/model/DescribeLiveSnapshotConfigRequest.cc +++ b/live/src/model/DescribeLiveSnapshotConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveSnapshotConfigRequest::getAppName()const void DescribeLiveSnapshotConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveSnapshotConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveSnapshotConfigRequest::getDomainName()const void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int DescribeLiveSnapshotConfigRequest::getPageSize()const @@ -66,7 +66,7 @@ int DescribeLiveSnapshotConfigRequest::getPageSize()const void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } long DescribeLiveSnapshotConfigRequest::getOwnerId()const @@ -77,7 +77,7 @@ long DescribeLiveSnapshotConfigRequest::getOwnerId()const void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveSnapshotConfigRequest::getPageNum()const @@ -88,18 +88,7 @@ int DescribeLiveSnapshotConfigRequest::getPageNum()const 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); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeLiveSnapshotConfigRequest::getOrder()const @@ -110,6 +99,6 @@ std::string DescribeLiveSnapshotConfigRequest::getOrder()const void DescribeLiveSnapshotConfigRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } diff --git a/live/src/model/DescribeLiveSnapshotConfigResult.cc b/live/src/model/DescribeLiveSnapshotConfigResult.cc index a4b2427a0..418c48b9d 100644 --- a/live/src/model/DescribeLiveSnapshotConfigResult.cc +++ b/live/src/model/DescribeLiveSnapshotConfigResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -72,9 +72,9 @@ void DescribeLiveSnapshotConfigResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + std::string DescribeLiveSnapshotConfigResult::getOrder()const { return order_; diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc index 335778fd9..f95549c00 100644 --- a/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveSnapshotDetectPornConfigRequest::getAppName()const void DescribeLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveSnapshotDetectPornConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveSnapshotDetectPornConfigRequest::getSecurityToken()const void DescribeLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveSnapshotDetectPornConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveSnapshotDetectPornConfigRequest::getDomainName()const void DescribeLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int DescribeLiveSnapshotDetectPornConfigRequest::getPageSize()const @@ -66,7 +66,7 @@ int DescribeLiveSnapshotDetectPornConfigRequest::getPageSize()const void DescribeLiveSnapshotDetectPornConfigRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } long DescribeLiveSnapshotDetectPornConfigRequest::getOwnerId()const @@ -77,7 +77,7 @@ long DescribeLiveSnapshotDetectPornConfigRequest::getOwnerId()const void DescribeLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveSnapshotDetectPornConfigRequest::getPageNum()const @@ -88,18 +88,7 @@ int DescribeLiveSnapshotDetectPornConfigRequest::getPageNum()const 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); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeLiveSnapshotDetectPornConfigRequest::getOrder()const @@ -110,6 +99,6 @@ std::string DescribeLiveSnapshotDetectPornConfigRequest::getOrder()const void DescribeLiveSnapshotDetectPornConfigRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc index c3b9012be..bca7314b1 100644 --- a/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc +++ b/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -71,9 +71,9 @@ void DescribeLiveSnapshotDetectPornConfigResult::parse(const std::string &payloa totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + std::string DescribeLiveSnapshotDetectPornConfigResult::getOrder()const { return order_; diff --git a/live/src/model/DescribeLiveStreamBitRateDataRequest.cc b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc index 3ad733331..44fe729a8 100644 --- a/live/src/model/DescribeLiveStreamBitRateDataRequest.cc +++ b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamBitRateDataRequest::getAppName()const void DescribeLiveStreamBitRateDataRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken()const void DescribeLiveStreamBitRateDataRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamBitRateDataRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamBitRateDataRequest::getDomainName()const void DescribeLiveStreamBitRateDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamBitRateDataRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamBitRateDataRequest::getEndTime()const void DescribeLiveStreamBitRateDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamBitRateDataRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamBitRateDataRequest::getStartTime()const void DescribeLiveStreamBitRateDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamBitRateDataRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeLiveStreamBitRateDataRequest::getOwnerId()const void DescribeLiveStreamBitRateDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamBitRateDataRequest::getStreamName()const @@ -99,17 +99,6 @@ std::string DescribeLiveStreamBitRateDataRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DescribeLiveStreamBitRateDataResult.cc b/live/src/model/DescribeLiveStreamBitRateDataResult.cc index 1cc88eba6..17e1c5e60 100644 --- a/live/src/model/DescribeLiveStreamBitRateDataResult.cc +++ b/live/src/model/DescribeLiveStreamBitRateDataResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -56,9 +56,9 @@ void DescribeLiveStreamBitRateDataResult::parse(const std::string &payload) frameRateAndBitRateInfosObject.time = value["Time"].asString(); frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject); } - -} - + +} + std::vector DescribeLiveStreamBitRateDataResult::getFrameRateAndBitRateInfos()const { return frameRateAndBitRateInfos_; diff --git a/live/src/model/DescribeLiveStreamCountRequest.cc b/live/src/model/DescribeLiveStreamCountRequest.cc index 4663803c1..1924e529b 100644 --- a/live/src/model/DescribeLiveStreamCountRequest.cc +++ b/live/src/model/DescribeLiveStreamCountRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveStreamCountRequest; - -DescribeLiveStreamCountRequest::DescribeLiveStreamCountRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamCount") -{} - -DescribeLiveStreamCountRequest::~DescribeLiveStreamCountRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveStreamCountRequest; + +DescribeLiveStreamCountRequest::DescribeLiveStreamCountRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamCount") +{} + +DescribeLiveStreamCountRequest::~DescribeLiveStreamCountRequest() +{} + std::string DescribeLiveStreamCountRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamCountRequest::getRegionId()const void DescribeLiveStreamCountRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveStreamCountRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamCountRequest::getDomainName()const void DescribeLiveStreamCountRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveStreamCountRequest::getOwnerId()const @@ -55,6 +55,6 @@ long DescribeLiveStreamCountRequest::getOwnerId()const void DescribeLiveStreamCountRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamCountResult.cc b/live/src/model/DescribeLiveStreamCountResult.cc index d9a7b1426..e8c9c1835 100644 --- a/live/src/model/DescribeLiveStreamCountResult.cc +++ b/live/src/model/DescribeLiveStreamCountResult.cc @@ -1,45 +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; - -DescribeLiveStreamCountResult::DescribeLiveStreamCountResult() : - ServiceResult() -{} - -DescribeLiveStreamCountResult::DescribeLiveStreamCountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveStreamCountResult::~DescribeLiveStreamCountResult() -{} - -void DescribeLiveStreamCountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveStreamCountResult::DescribeLiveStreamCountResult() : + ServiceResult() +{} + +DescribeLiveStreamCountResult::DescribeLiveStreamCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamCountResult::~DescribeLiveStreamCountResult() +{} + +void DescribeLiveStreamCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allStreamCountInfos = value["StreamCountInfos"]["StreamCountInfo"]; for (auto value : allStreamCountInfos) { @@ -64,9 +64,9 @@ void DescribeLiveStreamCountResult::parse(const std::string &payload) } streamCountInfos_.push_back(streamCountInfosObject); } - -} - + +} + std::vector DescribeLiveStreamCountResult::getStreamCountInfos()const { return streamCountInfos_; diff --git a/live/src/model/DescribeLiveStreamDelayConfigRequest.cc b/live/src/model/DescribeLiveStreamDelayConfigRequest.cc new file mode 100644 index 000000000..f2854ad3f --- /dev/null +++ b/live/src/model/DescribeLiveStreamDelayConfigRequest.cc @@ -0,0 +1,302 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamDelayConfigRequest; + +DescribeLiveStreamDelayConfigRequest::DescribeLiveStreamDelayConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamDelayConfig") +{} + +DescribeLiveStreamDelayConfigRequest::~DescribeLiveStreamDelayConfigRequest() +{} + +long DescribeLiveStreamDelayConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeLiveStreamDelayConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeLiveStreamDelayConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeLiveStreamDelayConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string DescribeLiveStreamDelayConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeLiveStreamDelayConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeLiveStreamDelayConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeLiveStreamDelayConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeLiveStreamDelayConfigRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeLiveStreamDelayConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string DescribeLiveStreamDelayConfigRequest::getEagleEyeRpcId()const +{ + return eagleEyeRpcId_; +} + +void DescribeLiveStreamDelayConfigRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId) +{ + eagleEyeRpcId_ = eagleEyeRpcId; + setCoreParameter("EagleEyeRpcId", eagleEyeRpcId); +} + +std::string DescribeLiveStreamDelayConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamDelayConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLiveStreamDelayConfigRequest::getEagleEyeTraceId()const +{ + return eagleEyeTraceId_; +} + +void DescribeLiveStreamDelayConfigRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId) +{ + eagleEyeTraceId_ = eagleEyeTraceId; + setCoreParameter("EagleEyeTraceId", eagleEyeTraceId); +} + +std::string DescribeLiveStreamDelayConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamDelayConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamDelayConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveStreamDelayConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DescribeLiveStreamDelayConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeLiveStreamDelayConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string DescribeLiveStreamDelayConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeLiveStreamDelayConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeLiveStreamDelayConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeLiveStreamDelayConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeLiveStreamDelayConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeLiveStreamDelayConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeLiveStreamDelayConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeLiveStreamDelayConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string DescribeLiveStreamDelayConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeLiveStreamDelayConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string DescribeLiveStreamDelayConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamDelayConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamDelayConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeLiveStreamDelayConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long DescribeLiveStreamDelayConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamDelayConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamDelayConfigRequest::getVersion()const +{ + return version_; +} + +void DescribeLiveStreamDelayConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool DescribeLiveStreamDelayConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeLiveStreamDelayConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool DescribeLiveStreamDelayConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeLiveStreamDelayConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool DescribeLiveStreamDelayConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeLiveStreamDelayConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string DescribeLiveStreamDelayConfigRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeLiveStreamDelayConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string DescribeLiveStreamDelayConfigRequest::getEagleEyeUserData()const +{ + return eagleEyeUserData_; +} + +void DescribeLiveStreamDelayConfigRequest::setEagleEyeUserData(const std::string& eagleEyeUserData) +{ + eagleEyeUserData_ = eagleEyeUserData; + setCoreParameter("EagleEyeUserData", eagleEyeUserData); +} + diff --git a/live/src/model/DescribeLiveStreamDelayConfigResult.cc b/live/src/model/DescribeLiveStreamDelayConfigResult.cc new file mode 100644 index 000000000..806f07c9e --- /dev/null +++ b/live/src/model/DescribeLiveStreamDelayConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamDelayConfigResult::DescribeLiveStreamDelayConfigResult() : + ServiceResult() +{} + +DescribeLiveStreamDelayConfigResult::DescribeLiveStreamDelayConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamDelayConfigResult::~DescribeLiveStreamDelayConfigResult() +{} + +void DescribeLiveStreamDelayConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto liveStreamHlsDelayConfigNode = value["LiveStreamHlsDelayConfig"]; + if(!liveStreamHlsDelayConfigNode["Level"].isNull()) + liveStreamHlsDelayConfig_.level = liveStreamHlsDelayConfigNode["Level"].asString(); + if(!liveStreamHlsDelayConfigNode["Delay"].isNull()) + liveStreamHlsDelayConfig_.delay = std::stoi(liveStreamHlsDelayConfigNode["Delay"].asString()); + auto liveStreamFlvDelayConfigNode = value["LiveStreamFlvDelayConfig"]; + if(!liveStreamFlvDelayConfigNode["Level"].isNull()) + liveStreamFlvDelayConfig_.level = liveStreamFlvDelayConfigNode["Level"].asString(); + if(!liveStreamFlvDelayConfigNode["Delay"].isNull()) + liveStreamFlvDelayConfig_.delay = std::stoi(liveStreamFlvDelayConfigNode["Delay"].asString()); + auto liveStreamRtmpDelayConfigNode = value["LiveStreamRtmpDelayConfig"]; + if(!liveStreamRtmpDelayConfigNode["Level"].isNull()) + liveStreamRtmpDelayConfig_.level = liveStreamRtmpDelayConfigNode["Level"].asString(); + if(!liveStreamRtmpDelayConfigNode["Delay"].isNull()) + liveStreamRtmpDelayConfig_.delay = std::stoi(liveStreamRtmpDelayConfigNode["Delay"].asString()); + +} + +DescribeLiveStreamDelayConfigResult::LiveStreamFlvDelayConfig DescribeLiveStreamDelayConfigResult::getLiveStreamFlvDelayConfig()const +{ + return liveStreamFlvDelayConfig_; +} + +DescribeLiveStreamDelayConfigResult::LiveStreamRtmpDelayConfig DescribeLiveStreamDelayConfigResult::getLiveStreamRtmpDelayConfig()const +{ + return liveStreamRtmpDelayConfig_; +} + +DescribeLiveStreamDelayConfigResult::LiveStreamHlsDelayConfig DescribeLiveStreamDelayConfigResult::getLiveStreamHlsDelayConfig()const +{ + return liveStreamHlsDelayConfig_; +} + diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc index 86ff28051..710ee6509 100644 --- a/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc +++ b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamHistoryUserNumRequest::getAppName()const void DescribeLiveStreamHistoryUserNumRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamHistoryUserNumRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamHistoryUserNumRequest::getSecurityToken()const void DescribeLiveStreamHistoryUserNumRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamHistoryUserNumRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamHistoryUserNumRequest::getDomainName()const void DescribeLiveStreamHistoryUserNumRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamHistoryUserNumRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamHistoryUserNumRequest::getEndTime()const void DescribeLiveStreamHistoryUserNumRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamHistoryUserNumRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamHistoryUserNumRequest::getStartTime()const void DescribeLiveStreamHistoryUserNumRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamHistoryUserNumRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeLiveStreamHistoryUserNumRequest::getOwnerId()const void DescribeLiveStreamHistoryUserNumRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamHistoryUserNumRequest::getStreamName()const @@ -99,17 +99,6 @@ std::string DescribeLiveStreamHistoryUserNumRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc b/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc index f19099937..08ba4e9a2 100644 --- a/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc +++ b/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -50,9 +50,9 @@ void DescribeLiveStreamHistoryUserNumResult::parse(const std::string &payload) 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 index 3a671a582..e44304f88 100644 --- a/live/src/model/DescribeLiveStreamOnlineUserNumRequest.cc +++ b/live/src/model/DescribeLiveStreamOnlineUserNumRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamOnlineUserNumRequest::getAppName()const void DescribeLiveStreamOnlineUserNumRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamOnlineUserNumRequest::getSecurityToken()const @@ -44,18 +44,7 @@ std::string DescribeLiveStreamOnlineUserNumRequest::getSecurityToken()const 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); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamOnlineUserNumRequest::getDomainName()const @@ -66,7 +55,7 @@ std::string DescribeLiveStreamOnlineUserNumRequest::getDomainName()const void DescribeLiveStreamOnlineUserNumRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamOnlineUserNumRequest::getEndTime()const @@ -77,7 +66,7 @@ std::string DescribeLiveStreamOnlineUserNumRequest::getEndTime()const void DescribeLiveStreamOnlineUserNumRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamOnlineUserNumRequest::getStartTime()const @@ -88,7 +77,7 @@ std::string DescribeLiveStreamOnlineUserNumRequest::getStartTime()const void DescribeLiveStreamOnlineUserNumRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamOnlineUserNumRequest::getOwnerId()const @@ -99,7 +88,7 @@ long DescribeLiveStreamOnlineUserNumRequest::getOwnerId()const void DescribeLiveStreamOnlineUserNumRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamOnlineUserNumRequest::getStreamName()const @@ -110,17 +99,6 @@ std::string DescribeLiveStreamOnlineUserNumRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DescribeLiveStreamOnlineUserNumResult.cc b/live/src/model/DescribeLiveStreamOnlineUserNumResult.cc index e8c22c541..d6aa46391 100644 --- a/live/src/model/DescribeLiveStreamOnlineUserNumResult.cc +++ b/live/src/model/DescribeLiveStreamOnlineUserNumResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -54,9 +54,9 @@ void DescribeLiveStreamOnlineUserNumResult::parse(const std::string &payload) } if(!value["TotalUserNumber"].isNull()) totalUserNumber_ = std::stol(value["TotalUserNumber"].asString()); - -} - + +} + std::vector DescribeLiveStreamOnlineUserNumResult::getOnlineUserInfo()const { return onlineUserInfo_; diff --git a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc new file mode 100644 index 000000000..0f117ad30 --- /dev/null +++ b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc @@ -0,0 +1,324 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamOptimizedFeatureConfigRequest; + +DescribeLiveStreamOptimizedFeatureConfigRequest::DescribeLiveStreamOptimizedFeatureConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamOptimizedFeatureConfig") +{} + +DescribeLiveStreamOptimizedFeatureConfigRequest::~DescribeLiveStreamOptimizedFeatureConfigRequest() +{} + +long DescribeLiveStreamOptimizedFeatureConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeLiveStreamOptimizedFeatureConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getEagleEyeRpcId()const +{ + return eagleEyeRpcId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId) +{ + eagleEyeRpcId_ = eagleEyeRpcId; + setCoreParameter("EagleEyeRpcId", eagleEyeRpcId); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getEagleEyeTraceId()const +{ + return eagleEyeTraceId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId) +{ + eagleEyeTraceId_ = eagleEyeTraceId; + setCoreParameter("EagleEyeTraceId", eagleEyeTraceId); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getConfigName()const +{ + return configName_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string& configName) +{ + configName_ = configName; + setCoreParameter("ConfigName", configName); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeLiveStreamOptimizedFeatureConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long DescribeLiveStreamOptimizedFeatureConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getVersion()const +{ + return version_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool DescribeLiveStreamOptimizedFeatureConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool DescribeLiveStreamOptimizedFeatureConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool DescribeLiveStreamOptimizedFeatureConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getServiceCode()const +{ + return serviceCode_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setCoreParameter("ServiceCode", serviceCode); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getEagleEyeUserData()const +{ + return eagleEyeUserData_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setEagleEyeUserData(const std::string& eagleEyeUserData) +{ + eagleEyeUserData_ = eagleEyeUserData; + setCoreParameter("EagleEyeUserData", eagleEyeUserData); +} + diff --git a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc new file mode 100644 index 000000000..f04167418 --- /dev/null +++ b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.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; + +DescribeLiveStreamOptimizedFeatureConfigResult::DescribeLiveStreamOptimizedFeatureConfigResult() : + ServiceResult() +{} + +DescribeLiveStreamOptimizedFeatureConfigResult::DescribeLiveStreamOptimizedFeatureConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamOptimizedFeatureConfigResult::~DescribeLiveStreamOptimizedFeatureConfigResult() +{} + +void DescribeLiveStreamOptimizedFeatureConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLiveStreamOptimizedFeatureConfigList = value["LiveStreamOptimizedFeatureConfigList"]["LiveStreamOptimizedFeatureConfig"]; + for (auto value : allLiveStreamOptimizedFeatureConfigList) + { + LiveStreamOptimizedFeatureConfig liveStreamOptimizedFeatureConfigListObject; + if(!value["DomainName"].isNull()) + liveStreamOptimizedFeatureConfigListObject.domainName = value["DomainName"].asString(); + if(!value["ConfigName"].isNull()) + liveStreamOptimizedFeatureConfigListObject.configName = value["ConfigName"].asString(); + if(!value["ConfigStatus"].isNull()) + liveStreamOptimizedFeatureConfigListObject.configStatus = value["ConfigStatus"].asString(); + if(!value["ConfigValue"].isNull()) + liveStreamOptimizedFeatureConfigListObject.configValue = value["ConfigValue"].asString(); + liveStreamOptimizedFeatureConfigList_.push_back(liveStreamOptimizedFeatureConfigListObject); + } + +} + +std::vector DescribeLiveStreamOptimizedFeatureConfigResult::getLiveStreamOptimizedFeatureConfigList()const +{ + return liveStreamOptimizedFeatureConfigList_; +} + diff --git a/live/src/model/DescribeLiveStreamRecordContentRequest.cc b/live/src/model/DescribeLiveStreamRecordContentRequest.cc index 8395728e8..7dbd91796 100644 --- a/live/src/model/DescribeLiveStreamRecordContentRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordContentRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamRecordContentRequest::getAppName()const void DescribeLiveStreamRecordContentRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamRecordContentRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamRecordContentRequest::getSecurityToken()const void DescribeLiveStreamRecordContentRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamRecordContentRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamRecordContentRequest::getDomainName()const void DescribeLiveStreamRecordContentRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamRecordContentRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamRecordContentRequest::getEndTime()const void DescribeLiveStreamRecordContentRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamRecordContentRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamRecordContentRequest::getStartTime()const void DescribeLiveStreamRecordContentRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamRecordContentRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeLiveStreamRecordContentRequest::getOwnerId()const void DescribeLiveStreamRecordContentRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamRecordContentRequest::getStreamName()const @@ -99,17 +99,6 @@ std::string DescribeLiveStreamRecordContentRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DescribeLiveStreamRecordContentResult.cc b/live/src/model/DescribeLiveStreamRecordContentResult.cc index 6685cf776..2eaccfd2b 100644 --- a/live/src/model/DescribeLiveStreamRecordContentResult.cc +++ b/live/src/model/DescribeLiveStreamRecordContentResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -58,9 +58,9 @@ void DescribeLiveStreamRecordContentResult::parse(const std::string &payload) 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 index 3f8171462..3cb1721b2 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamRecordIndexFileRequest::getRecordId()const void DescribeLiveStreamRecordIndexFileRequest::setRecordId(const std::string& recordId) { recordId_ = recordId; - setParameter("RecordId", recordId); + setCoreParameter("RecordId", recordId); } std::string DescribeLiveStreamRecordIndexFileRequest::getAppName()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamRecordIndexFileRequest::getAppName()const void DescribeLiveStreamRecordIndexFileRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken()const void DescribeLiveStreamRecordIndexFileRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName()const void DescribeLiveStreamRecordIndexFileRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long DescribeLiveStreamRecordIndexFileRequest::getOwnerId()const @@ -77,7 +77,7 @@ long DescribeLiveStreamRecordIndexFileRequest::getOwnerId()const void DescribeLiveStreamRecordIndexFileRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName()const @@ -88,17 +88,6 @@ std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc index b09975e3f..331646fa1 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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(); @@ -69,9 +69,9 @@ void DescribeLiveStreamRecordIndexFileResult::parse(const std::string &payload) 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 index 6027c88bd..ce524fff6 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamRecordIndexFilesRequest::getAppName()const void DescribeLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken()const void DescribeLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName()const void DescribeLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int DescribeLiveStreamRecordIndexFilesRequest::getPageSize()const @@ -66,7 +66,7 @@ int DescribeLiveStreamRecordIndexFilesRequest::getPageSize()const void DescribeLiveStreamRecordIndexFilesRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime()const void DescribeLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamRecordIndexFilesRequest::getStartTime()const @@ -88,7 +88,7 @@ std::string DescribeLiveStreamRecordIndexFilesRequest::getStartTime()const void DescribeLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId()const @@ -99,7 +99,7 @@ long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId()const void DescribeLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveStreamRecordIndexFilesRequest::getPageNum()const @@ -110,7 +110,7 @@ int DescribeLiveStreamRecordIndexFilesRequest::getPageNum()const void DescribeLiveStreamRecordIndexFilesRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName()const @@ -121,18 +121,7 @@ std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } std::string DescribeLiveStreamRecordIndexFilesRequest::getOrder()const @@ -143,6 +132,6 @@ std::string DescribeLiveStreamRecordIndexFilesRequest::getOrder()const void DescribeLiveStreamRecordIndexFilesRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc index 01a02f153..748a5655c 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -84,9 +84,9 @@ void DescribeLiveStreamRecordIndexFilesResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + std::string DescribeLiveStreamRecordIndexFilesResult::getOrder()const { return order_; diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc index 84b93032f..b09be8c09 100644 --- a/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc +++ b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamSnapshotInfoRequest::getAppName()const void DescribeLiveStreamSnapshotInfoRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken()const void DescribeLiveStreamSnapshotInfoRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName()const void DescribeLiveStreamSnapshotInfoRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int DescribeLiveStreamSnapshotInfoRequest::getLimit()const @@ -66,7 +66,7 @@ int DescribeLiveStreamSnapshotInfoRequest::getLimit()const void DescribeLiveStreamSnapshotInfoRequest::setLimit(int limit) { limit_ = limit; - setParameter("Limit", std::to_string(limit)); + setCoreParameter("Limit", std::to_string(limit)); } std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime()const void DescribeLiveStreamSnapshotInfoRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamSnapshotInfoRequest::getStartTime()const @@ -88,7 +88,7 @@ std::string DescribeLiveStreamSnapshotInfoRequest::getStartTime()const void DescribeLiveStreamSnapshotInfoRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamSnapshotInfoRequest::getOwnerId()const @@ -99,7 +99,7 @@ long DescribeLiveStreamSnapshotInfoRequest::getOwnerId()const void DescribeLiveStreamSnapshotInfoRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName()const @@ -110,18 +110,7 @@ std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } std::string DescribeLiveStreamSnapshotInfoRequest::getOrder()const @@ -132,6 +121,6 @@ std::string DescribeLiveStreamSnapshotInfoRequest::getOrder()const void DescribeLiveStreamSnapshotInfoRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc b/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc index 550ddc324..60b753199 100644 --- a/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc +++ b/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -56,9 +56,9 @@ void DescribeLiveStreamSnapshotInfoResult::parse(const std::string &payload) } if(!value["NextStartTime"].isNull()) nextStartTime_ = value["NextStartTime"].asString(); - -} - + +} + std::vector DescribeLiveStreamSnapshotInfoResult::getLiveStreamSnapshotInfoList()const { return liveStreamSnapshotInfoList_; diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc index 7fd481887..82faf1c3f 100644 --- a/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc +++ b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamTranscodeInfoRequest::getSecurityToken()const void DescribeLiveStreamTranscodeInfoRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } long DescribeLiveStreamTranscodeInfoRequest::getOwnerId()const @@ -44,7 +44,7 @@ long DescribeLiveStreamTranscodeInfoRequest::getOwnerId()const void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()const @@ -55,17 +55,6 @@ std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()cons 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); + setCoreParameter("DomainTranscodeName", domainTranscodeName); } diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc index 3017fbfd4..a59b3efc7 100644 --- a/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc +++ b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -63,9 +63,9 @@ void DescribeLiveStreamTranscodeInfoResult::parse(const std::string &payload) 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 index e23e6c632..5bff27769 100644 --- a/live/src/model/DescribeLiveStreamsBlockListRequest.cc +++ b/live/src/model/DescribeLiveStreamsBlockListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamsBlockListRequest::getSecurityToken()const void DescribeLiveStreamsBlockListRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamsBlockListRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamsBlockListRequest::getDomainName()const void DescribeLiveStreamsBlockListRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int DescribeLiveStreamsBlockListRequest::getPageSize()const @@ -55,7 +55,7 @@ int DescribeLiveStreamsBlockListRequest::getPageSize()const void DescribeLiveStreamsBlockListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } long DescribeLiveStreamsBlockListRequest::getOwnerId()const @@ -66,7 +66,7 @@ long DescribeLiveStreamsBlockListRequest::getOwnerId()const void DescribeLiveStreamsBlockListRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveStreamsBlockListRequest::getPageNum()const @@ -77,17 +77,6 @@ int DescribeLiveStreamsBlockListRequest::getPageNum()const 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); + setCoreParameter("PageNum", std::to_string(pageNum)); } diff --git a/live/src/model/DescribeLiveStreamsBlockListResult.cc b/live/src/model/DescribeLiveStreamsBlockListResult.cc index 555473abc..45567e846 100644 --- a/live/src/model/DescribeLiveStreamsBlockListResult.cc +++ b/live/src/model/DescribeLiveStreamsBlockListResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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()); @@ -53,9 +53,9 @@ void DescribeLiveStreamsBlockListResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + int DescribeLiveStreamsBlockListResult::getTotalNum()const { return totalNum_; diff --git a/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc b/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc index 891bd0772..de0cd3501 100644 --- a/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc +++ b/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamsControlHistoryRequest::getAppName()const void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamsControlHistoryRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamsControlHistoryRequest::getSecurityToken()const void DescribeLiveStreamsControlHistoryRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamsControlHistoryRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamsControlHistoryRequest::getStartTime()const void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const @@ -88,17 +88,6 @@ long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsControlHistoryResult.cc b/live/src/model/DescribeLiveStreamsControlHistoryResult.cc index c494e6504..667f27d10 100644 --- a/live/src/model/DescribeLiveStreamsControlHistoryResult.cc +++ b/live/src/model/DescribeLiveStreamsControlHistoryResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -54,9 +54,9 @@ void DescribeLiveStreamsControlHistoryResult::parse(const std::string &payload) 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 index fdbbb497a..6c9333cce 100644 --- a/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc +++ b/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getAppName()const void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getSecurityToken( void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getDomainName()co void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getEndTime()const void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStartTime()con void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamsFrameRateAndBitRateDataRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeLiveStreamsFrameRateAndBitRateDataRequest::getOwnerId()const void DescribeLiveStreamsFrameRateAndBitRateDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStreamName()const @@ -99,17 +99,6 @@ std::string DescribeLiveStreamsFrameRateAndBitRateDataRequest::getStreamName()co 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc b/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc index 395ada651..98f4bbe1f 100644 --- a/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc +++ b/live/src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -56,9 +56,9 @@ void DescribeLiveStreamsFrameRateAndBitRateDataResult::parse(const std::string & 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 index ea5bd39cc..e0255eebb 100644 --- a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc @@ -1,61 +1,39 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::getApp_ip()const +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getRegionId()const { - return app_ip_; + return regionId_; } -void DescribeLiveStreamsNotifyUrlConfigRequest::setApp_ip(const std::string& app_ip) +void DescribeLiveStreamsNotifyUrlConfigRequest::setRegionId(const std::string& regionId) { - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getPopProduct()const -{ - return popProduct_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setPopProduct(const std::string& popProduct) -{ - popProduct_ = popProduct; - setParameter("PopProduct", popProduct); -} - -long DescribeLiveStreamsNotifyUrlConfigRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + regionId_ = regionId; + setCoreParameter("RegionId", regionId); } std::string DescribeLiveStreamsNotifyUrlConfigRequest::getDomainName()const @@ -66,29 +44,7 @@ std::string DescribeLiveStreamsNotifyUrlConfigRequest::getDomainName()const void DescribeLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); -} - -bool DescribeLiveStreamsNotifyUrlConfigRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerBid()const -{ - return callerBid_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("DomainName", domainName); } long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId()const @@ -99,171 +55,6 @@ long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId()const void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getVersion()const -{ - return version_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setVersion(const std::string& version) -{ - version_ = version; - setParameter("Version", version); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerType()const -{ - return callerType_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -bool DescribeLiveStreamsNotifyUrlConfigRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool DescribeLiveStreamsNotifyUrlConfigRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -bool DescribeLiveStreamsNotifyUrlConfigRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getRequestId()const -{ - return requestId_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getRequestContent()const -{ - return requestContent_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long DescribeLiveStreamsNotifyUrlConfigRequest::getCallerUid()const -{ - return callerUid_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc index 0da538600..1c3cb469f 100644 --- a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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(); @@ -49,9 +49,9 @@ void DescribeLiveStreamsNotifyUrlConfigResult::parse(const std::string &payload) liveStreamsNotifyConfig_.authType = liveStreamsNotifyConfigNode["AuthType"].asString(); if(!liveStreamsNotifyConfigNode["AuthKey"].isNull()) liveStreamsNotifyConfig_.authKey = liveStreamsNotifyConfigNode["AuthKey"].asString(); - -} - + +} + DescribeLiveStreamsNotifyUrlConfigResult::LiveStreamsNotifyConfig DescribeLiveStreamsNotifyUrlConfigResult::getLiveStreamsNotifyConfig()const { return liveStreamsNotifyConfig_; diff --git a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc index 95068055e..38f16c86a 100644 --- a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc +++ b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getStreamType()const void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string& streamType) { streamType_ = streamType; - setParameter("StreamType", streamType); + setCoreParameter("StreamType", streamType); } std::string DescribeLiveStreamsOnlineListRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getDomainName()const void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamsOnlineListRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getEndTime()const void DescribeLiveStreamsOnlineListRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamsOnlineListRequest::getOrderBy()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getOrderBy()const void DescribeLiveStreamsOnlineListRequest::setOrderBy(const std::string& orderBy) { orderBy_ = orderBy; - setParameter("OrderBy", orderBy); + setCoreParameter("OrderBy", orderBy); } std::string DescribeLiveStreamsOnlineListRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getStartTime()const void DescribeLiveStreamsOnlineListRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamsOnlineListRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeLiveStreamsOnlineListRequest::getOwnerId()const void DescribeLiveStreamsOnlineListRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveStreamsOnlineListRequest::getPageNum()const @@ -99,7 +99,7 @@ int DescribeLiveStreamsOnlineListRequest::getPageNum()const void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeLiveStreamsOnlineListRequest::getAppName()const @@ -110,7 +110,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getAppName()const void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamsOnlineListRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getRegionId()const void DescribeLiveStreamsOnlineListRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } int DescribeLiveStreamsOnlineListRequest::getPageSize()const @@ -132,7 +132,7 @@ int DescribeLiveStreamsOnlineListRequest::getPageSize()const void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeLiveStreamsOnlineListRequest::getStreamName()const @@ -143,7 +143,7 @@ std::string DescribeLiveStreamsOnlineListRequest::getStreamName()const void DescribeLiveStreamsOnlineListRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } std::string DescribeLiveStreamsOnlineListRequest::getQueryType()const @@ -154,6 +154,6 @@ std::string DescribeLiveStreamsOnlineListRequest::getQueryType()const void DescribeLiveStreamsOnlineListRequest::setQueryType(const std::string& queryType) { queryType_ = queryType; - setParameter("QueryType", queryType); + setCoreParameter("QueryType", queryType); } diff --git a/live/src/model/DescribeLiveStreamsOnlineListResult.cc b/live/src/model/DescribeLiveStreamsOnlineListResult.cc index 0687afb3d..4f6257358 100644 --- a/live/src/model/DescribeLiveStreamsOnlineListResult.cc +++ b/live/src/model/DescribeLiveStreamsOnlineListResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -62,6 +62,24 @@ void DescribeLiveStreamsOnlineListResult::parse(const std::string &payload) onlineInfoObject.transcoded = value["Transcoded"].asString(); if(!value["TranscodeId"].isNull()) onlineInfoObject.transcodeId = value["TranscodeId"].asString(); + if(!value["ServerIp"].isNull()) + onlineInfoObject.serverIp = value["ServerIp"].asString(); + if(!value["ClientIp"].isNull()) + onlineInfoObject.clientIp = value["ClientIp"].asString(); + if(!value["VideoCodecId"].isNull()) + onlineInfoObject.videoCodecId = std::stoi(value["VideoCodecId"].asString()); + if(!value["VideoDataRate"].isNull()) + onlineInfoObject.videoDataRate = std::stoi(value["VideoDataRate"].asString()); + if(!value["FrameRate"].isNull()) + onlineInfoObject.frameRate = std::stoi(value["FrameRate"].asString()); + if(!value["Width"].isNull()) + onlineInfoObject.width = std::stoi(value["Width"].asString()); + if(!value["Height"].isNull()) + onlineInfoObject.height = std::stoi(value["Height"].asString()); + if(!value["AudioCodecId"].isNull()) + onlineInfoObject.audioCodecId = std::stoi(value["AudioCodecId"].asString()); + if(!value["AudioDataRate"].isNull()) + onlineInfoObject.audioDataRate = std::stoi(value["AudioDataRate"].asString()); onlineInfo_.push_back(onlineInfoObject); } if(!value["PageNum"].isNull()) @@ -72,9 +90,9 @@ void DescribeLiveStreamsOnlineListResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + int DescribeLiveStreamsOnlineListResult::getTotalNum()const { return totalNum_; diff --git a/live/src/model/DescribeLiveStreamsPublishListRequest.cc b/live/src/model/DescribeLiveStreamsPublishListRequest.cc index 08ca7647a..bfd7008e5 100644 --- a/live/src/model/DescribeLiveStreamsPublishListRequest.cc +++ b/live/src/model/DescribeLiveStreamsPublishListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string DescribeLiveStreamsPublishListRequest::getStreamType()const void DescribeLiveStreamsPublishListRequest::setStreamType(const std::string& streamType) { streamType_ = streamType; - setParameter("StreamType", streamType); + setCoreParameter("StreamType", streamType); } std::string DescribeLiveStreamsPublishListRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeLiveStreamsPublishListRequest::getDomainName()const void DescribeLiveStreamsPublishListRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveStreamsPublishListRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeLiveStreamsPublishListRequest::getEndTime()const void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveStreamsPublishListRequest::getOrderBy()const @@ -66,7 +66,7 @@ std::string DescribeLiveStreamsPublishListRequest::getOrderBy()const void DescribeLiveStreamsPublishListRequest::setOrderBy(const std::string& orderBy) { orderBy_ = orderBy; - setParameter("OrderBy", orderBy); + setCoreParameter("OrderBy", orderBy); } std::string DescribeLiveStreamsPublishListRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeLiveStreamsPublishListRequest::getStartTime()const void DescribeLiveStreamsPublishListRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeLiveStreamsPublishListRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeLiveStreamsPublishListRequest::getOwnerId()const void DescribeLiveStreamsPublishListRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveStreamsPublishListRequest::getPageNumber()const @@ -99,7 +99,7 @@ int DescribeLiveStreamsPublishListRequest::getPageNumber()const void DescribeLiveStreamsPublishListRequest::setPageNumber(int pageNumber) { pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); + setCoreParameter("PageNumber", std::to_string(pageNumber)); } std::string DescribeLiveStreamsPublishListRequest::getAppName()const @@ -110,7 +110,7 @@ std::string DescribeLiveStreamsPublishListRequest::getAppName()const void DescribeLiveStreamsPublishListRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string DescribeLiveStreamsPublishListRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string DescribeLiveStreamsPublishListRequest::getRegionId()const void DescribeLiveStreamsPublishListRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } int DescribeLiveStreamsPublishListRequest::getPageSize()const @@ -132,7 +132,7 @@ int DescribeLiveStreamsPublishListRequest::getPageSize()const void DescribeLiveStreamsPublishListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeLiveStreamsPublishListRequest::getStreamName()const @@ -143,7 +143,7 @@ std::string DescribeLiveStreamsPublishListRequest::getStreamName()const void DescribeLiveStreamsPublishListRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } std::string DescribeLiveStreamsPublishListRequest::getQueryType()const @@ -154,6 +154,6 @@ std::string DescribeLiveStreamsPublishListRequest::getQueryType()const void DescribeLiveStreamsPublishListRequest::setQueryType(const std::string& queryType) { queryType_ = queryType; - setParameter("QueryType", queryType); + setCoreParameter("QueryType", queryType); } diff --git a/live/src/model/DescribeLiveStreamsPublishListResult.cc b/live/src/model/DescribeLiveStreamsPublishListResult.cc index 4605a48f4..07fd730fb 100644 --- a/live/src/model/DescribeLiveStreamsPublishListResult.cc +++ b/live/src/model/DescribeLiveStreamsPublishListResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -80,9 +80,9 @@ void DescribeLiveStreamsPublishListResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + int DescribeLiveStreamsPublishListResult::getTotalNum()const { return totalNum_; diff --git a/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc b/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc index 7c09b6e62..8c53b6332 100644 --- a/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc +++ b/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveTopDomainsByFlowRequest; - -DescribeLiveTopDomainsByFlowRequest::DescribeLiveTopDomainsByFlowRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveTopDomainsByFlow") -{} - -DescribeLiveTopDomainsByFlowRequest::~DescribeLiveTopDomainsByFlowRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveTopDomainsByFlowRequest; + +DescribeLiveTopDomainsByFlowRequest::DescribeLiveTopDomainsByFlowRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveTopDomainsByFlow") +{} + +DescribeLiveTopDomainsByFlowRequest::~DescribeLiveTopDomainsByFlowRequest() +{} + long DescribeLiveTopDomainsByFlowRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeLiveTopDomainsByFlowRequest::getCallerParentId()const void DescribeLiveTopDomainsByFlowRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeLiveTopDomainsByFlowRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeLiveTopDomainsByFlowRequest::getProxy_original_security_transport() void DescribeLiveTopDomainsByFlowRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeLiveTopDomainsByFlowRequest::getStartTime()const @@ -55,7 +55,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getStartTime()const void DescribeLiveTopDomainsByFlowRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeLiveTopDomainsByFlowRequest::getProxy_original_source_ip()const @@ -66,7 +66,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getProxy_original_source_ip()co void DescribeLiveTopDomainsByFlowRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeLiveTopDomainsByFlowRequest::getOwnerIdLoginEmail()const @@ -77,7 +77,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getOwnerIdLoginEmail()const void DescribeLiveTopDomainsByFlowRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeLiveTopDomainsByFlowRequest::getCallerType()const @@ -88,7 +88,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getCallerType()const void DescribeLiveTopDomainsByFlowRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeLiveTopDomainsByFlowRequest::getAccessKeyId()const @@ -99,7 +99,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getAccessKeyId()const void DescribeLiveTopDomainsByFlowRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeLiveTopDomainsByFlowRequest::getSecurityToken()const @@ -110,7 +110,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getSecurityToken()const void DescribeLiveTopDomainsByFlowRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeLiveTopDomainsByFlowRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getRegionId()const void DescribeLiveTopDomainsByFlowRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeLiveTopDomainsByFlowRequest::getRequestContent()const @@ -132,7 +132,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getRequestContent()const void DescribeLiveTopDomainsByFlowRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } long DescribeLiveTopDomainsByFlowRequest::getLimit()const @@ -143,7 +143,7 @@ long DescribeLiveTopDomainsByFlowRequest::getLimit()const void DescribeLiveTopDomainsByFlowRequest::setLimit(long limit) { limit_ = limit; - setParameter("Limit", std::to_string(limit)); + setCoreParameter("Limit", std::to_string(limit)); } std::string DescribeLiveTopDomainsByFlowRequest::getCallerBidEmail()const @@ -154,7 +154,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getCallerBidEmail()const void DescribeLiveTopDomainsByFlowRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeLiveTopDomainsByFlowRequest::getCallerUidEmail()const @@ -165,7 +165,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getCallerUidEmail()const void DescribeLiveTopDomainsByFlowRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeLiveTopDomainsByFlowRequest::getCallerUid()const @@ -176,7 +176,7 @@ long DescribeLiveTopDomainsByFlowRequest::getCallerUid()const void DescribeLiveTopDomainsByFlowRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeLiveTopDomainsByFlowRequest::getApp_ip()const @@ -187,7 +187,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getApp_ip()const void DescribeLiveTopDomainsByFlowRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeLiveTopDomainsByFlowRequest::getPopProduct()const @@ -198,7 +198,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getPopProduct()const void DescribeLiveTopDomainsByFlowRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string DescribeLiveTopDomainsByFlowRequest::getProduct()const @@ -209,7 +209,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getProduct()const void DescribeLiveTopDomainsByFlowRequest::setProduct(const std::string& product) { product_ = product; - setParameter("Product", product); + setCoreParameter("Product", product); } std::string DescribeLiveTopDomainsByFlowRequest::getEndTime()const @@ -220,7 +220,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getEndTime()const void DescribeLiveTopDomainsByFlowRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeLiveTopDomainsByFlowRequest::getCallerBid()const @@ -231,7 +231,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getCallerBid()const void DescribeLiveTopDomainsByFlowRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeLiveTopDomainsByFlowRequest::getOwnerId()const @@ -242,7 +242,7 @@ long DescribeLiveTopDomainsByFlowRequest::getOwnerId()const void DescribeLiveTopDomainsByFlowRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeLiveTopDomainsByFlowRequest::getVersion()const @@ -253,7 +253,7 @@ std::string DescribeLiveTopDomainsByFlowRequest::getVersion()const void DescribeLiveTopDomainsByFlowRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeLiveTopDomainsByFlowRequest::getProxy_trust_transport_info()const @@ -264,7 +264,7 @@ bool DescribeLiveTopDomainsByFlowRequest::getProxy_trust_transport_info()const void DescribeLiveTopDomainsByFlowRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeLiveTopDomainsByFlowRequest::getAk_mfa_present()const @@ -275,7 +275,7 @@ bool DescribeLiveTopDomainsByFlowRequest::getAk_mfa_present()const void DescribeLiveTopDomainsByFlowRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool DescribeLiveTopDomainsByFlowRequest::getSecurity_transport()const @@ -286,7 +286,7 @@ bool DescribeLiveTopDomainsByFlowRequest::getSecurity_transport()const void DescribeLiveTopDomainsByFlowRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeLiveTopDomainsByFlowRequest::getRequestId()const @@ -297,6 +297,6 @@ std::string DescribeLiveTopDomainsByFlowRequest::getRequestId()const void DescribeLiveTopDomainsByFlowRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } diff --git a/live/src/model/DescribeLiveTopDomainsByFlowResult.cc b/live/src/model/DescribeLiveTopDomainsByFlowResult.cc index 8630b0881..fc53553d8 100644 --- a/live/src/model/DescribeLiveTopDomainsByFlowResult.cc +++ b/live/src/model/DescribeLiveTopDomainsByFlowResult.cc @@ -1,45 +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; - -DescribeLiveTopDomainsByFlowResult::DescribeLiveTopDomainsByFlowResult() : - ServiceResult() -{} - -DescribeLiveTopDomainsByFlowResult::DescribeLiveTopDomainsByFlowResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveTopDomainsByFlowResult::~DescribeLiveTopDomainsByFlowResult() -{} - -void DescribeLiveTopDomainsByFlowResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveTopDomainsByFlowResult::DescribeLiveTopDomainsByFlowResult() : + ServiceResult() +{} + +DescribeLiveTopDomainsByFlowResult::DescribeLiveTopDomainsByFlowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveTopDomainsByFlowResult::~DescribeLiveTopDomainsByFlowResult() +{} + +void DescribeLiveTopDomainsByFlowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTopDomains = value["TopDomains"]["TopDomain"]; for (auto value : allTopDomains) { @@ -68,9 +68,9 @@ void DescribeLiveTopDomainsByFlowResult::parse(const std::string &payload) domainCount_ = std::stol(value["DomainCount"].asString()); if(!value["DomainOnlineCount"].isNull()) domainOnlineCount_ = std::stol(value["DomainOnlineCount"].asString()); - -} - + +} + std::vector DescribeLiveTopDomainsByFlowResult::getTopDomains()const { return topDomains_; diff --git a/live/src/model/DescribeLiveUserDomainsRequest.cc b/live/src/model/DescribeLiveUserDomainsRequest.cc index ce66c3cf9..cd1a45851 100644 --- a/live/src/model/DescribeLiveUserDomainsRequest.cc +++ b/live/src/model/DescribeLiveUserDomainsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeLiveUserDomainsRequest; - -DescribeLiveUserDomainsRequest::DescribeLiveUserDomainsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserDomains") -{} - -DescribeLiveUserDomainsRequest::~DescribeLiveUserDomainsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeLiveUserDomainsRequest; + +DescribeLiveUserDomainsRequest::DescribeLiveUserDomainsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserDomains") +{} + +DescribeLiveUserDomainsRequest::~DescribeLiveUserDomainsRequest() +{} + std::string DescribeLiveUserDomainsRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string DescribeLiveUserDomainsRequest::getSecurityToken()const void DescribeLiveUserDomainsRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } int DescribeLiveUserDomainsRequest::getPageSize()const @@ -44,7 +44,7 @@ int DescribeLiveUserDomainsRequest::getPageSize()const void DescribeLiveUserDomainsRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeLiveUserDomainsRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeLiveUserDomainsRequest::getDomainName()const void DescribeLiveUserDomainsRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeLiveUserDomainsRequest::getRegionName()const @@ -66,7 +66,7 @@ std::string DescribeLiveUserDomainsRequest::getRegionName()const void DescribeLiveUserDomainsRequest::setRegionName(const std::string& regionName) { regionName_ = regionName; - setParameter("RegionName", regionName); + setCoreParameter("RegionName", regionName); } long DescribeLiveUserDomainsRequest::getOwnerId()const @@ -77,7 +77,7 @@ long DescribeLiveUserDomainsRequest::getOwnerId()const void DescribeLiveUserDomainsRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int DescribeLiveUserDomainsRequest::getPageNumber()const @@ -88,7 +88,7 @@ int DescribeLiveUserDomainsRequest::getPageNumber()const void DescribeLiveUserDomainsRequest::setPageNumber(int pageNumber) { pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); + setCoreParameter("PageNumber", std::to_string(pageNumber)); } std::string DescribeLiveUserDomainsRequest::getDomainStatus()const @@ -99,18 +99,7 @@ std::string DescribeLiveUserDomainsRequest::getDomainStatus()const void DescribeLiveUserDomainsRequest::setDomainStatus(const std::string& domainStatus) { domainStatus_ = domainStatus; - setParameter("DomainStatus", domainStatus); -} - -std::string DescribeLiveUserDomainsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLiveUserDomainsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("DomainStatus", domainStatus); } std::string DescribeLiveUserDomainsRequest::getLiveDomainType()const @@ -121,7 +110,7 @@ std::string DescribeLiveUserDomainsRequest::getLiveDomainType()const void DescribeLiveUserDomainsRequest::setLiveDomainType(const std::string& liveDomainType) { liveDomainType_ = liveDomainType; - setParameter("LiveDomainType", liveDomainType); + setCoreParameter("LiveDomainType", liveDomainType); } std::string DescribeLiveUserDomainsRequest::getDomainSearchType()const @@ -132,6 +121,6 @@ std::string DescribeLiveUserDomainsRequest::getDomainSearchType()const void DescribeLiveUserDomainsRequest::setDomainSearchType(const std::string& domainSearchType) { domainSearchType_ = domainSearchType; - setParameter("DomainSearchType", domainSearchType); + setCoreParameter("DomainSearchType", domainSearchType); } diff --git a/live/src/model/DescribeLiveUserDomainsResult.cc b/live/src/model/DescribeLiveUserDomainsResult.cc index ea75f9542..28b078d24 100644 --- a/live/src/model/DescribeLiveUserDomainsResult.cc +++ b/live/src/model/DescribeLiveUserDomainsResult.cc @@ -1,45 +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; - -DescribeLiveUserDomainsResult::DescribeLiveUserDomainsResult() : - ServiceResult() -{} - -DescribeLiveUserDomainsResult::DescribeLiveUserDomainsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveUserDomainsResult::~DescribeLiveUserDomainsResult() -{} - -void DescribeLiveUserDomainsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeLiveUserDomainsResult::DescribeLiveUserDomainsResult() : + ServiceResult() +{} + +DescribeLiveUserDomainsResult::DescribeLiveUserDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveUserDomainsResult::~DescribeLiveUserDomainsResult() +{} + +void DescribeLiveUserDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDomains = value["Domains"]["PageData"]; for (auto value : allDomains) { @@ -68,9 +68,9 @@ void DescribeLiveUserDomainsResult::parse(const std::string &payload) pageSize_ = std::stol(value["PageSize"].asString()); if(!value["TotalCount"].isNull()) totalCount_ = std::stol(value["TotalCount"].asString()); - -} - + +} + std::vector DescribeLiveUserDomainsResult::getDomains()const { return domains_; diff --git a/live/src/model/DescribeRecordRequest.cc b/live/src/model/DescribeRecordRequest.cc new file mode 100644 index 000000000..520497874 --- /dev/null +++ b/live/src/model/DescribeRecordRequest.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeRecordRequest; + +DescribeRecordRequest::DescribeRecordRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRecord") +{} + +DescribeRecordRequest::~DescribeRecordRequest() +{} + +std::string DescribeRecordRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeRecordRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string DescribeRecordRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeRecordRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +long DescribeRecordRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeRecordRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeRecordRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeRecordRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string DescribeRecordRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeRecordRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long DescribeRecordRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRecordRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRecordRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeRecordRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string DescribeRecordRequest::getVersion()const +{ + return version_; +} + +void DescribeRecordRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +std::string DescribeRecordRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeRecordRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeRecordRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeRecordRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +bool DescribeRecordRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeRecordRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool DescribeRecordRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeRecordRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +std::string DescribeRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +bool DescribeRecordRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeRecordRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string DescribeRecordRequest::getRecordId()const +{ + return recordId_; +} + +void DescribeRecordRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setCoreParameter("RecordId", recordId); +} + +std::string DescribeRecordRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeRecordRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeRecordRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeRecordRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DescribeRecordRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeRecordRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string DescribeRecordRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeRecordRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string DescribeRecordRequest::getAppId()const +{ + return appId_; +} + +void DescribeRecordRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + +std::string DescribeRecordRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeRecordRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeRecordRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeRecordRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeRecordRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeRecordRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + diff --git a/live/src/model/DescribeRecordResult.cc b/live/src/model/DescribeRecordResult.cc new file mode 100644 index 000000000..4648fdeea --- /dev/null +++ b/live/src/model/DescribeRecordResult.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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeRecordResult::DescribeRecordResult() : + ServiceResult() +{} + +DescribeRecordResult::DescribeRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRecordResult::~DescribeRecordResult() +{} + +void DescribeRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + if(!value["AppId"].isNull()) + appId_ = value["AppId"].asString(); + if(!value["BoardId"].isNull()) + boardId_ = std::stoi(value["BoardId"].asString()); + if(!value["RecordStartTime"].isNull()) + recordStartTime_ = std::stol(value["RecordStartTime"].asString()); + if(!value["StartTime"].isNull()) + startTime_ = std::stol(value["StartTime"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = std::stol(value["EndTime"].asString()); + if(!value["State"].isNull()) + state_ = std::stoi(value["State"].asString()); + if(!value["OssPath"].isNull()) + ossPath_ = value["OssPath"].asString(); + if(!value["OssBucket"].isNull()) + ossBucket_ = value["OssBucket"].asString(); + if(!value["OssEndpoint"].isNull()) + ossEndpoint_ = value["OssEndpoint"].asString(); + +} + +int DescribeRecordResult::getBoardId()const +{ + return boardId_; +} + +std::string DescribeRecordResult::getAppId()const +{ + return appId_; +} + +long DescribeRecordResult::getRecordStartTime()const +{ + return recordStartTime_; +} + +long DescribeRecordResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeRecordResult::getOssEndpoint()const +{ + return ossEndpoint_; +} + +int DescribeRecordResult::getState()const +{ + return state_; +} + +std::string DescribeRecordResult::getOssPath()const +{ + return ossPath_; +} + +long DescribeRecordResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeRecordResult::getOssBucket()const +{ + return ossBucket_; +} + +std::string DescribeRecordResult::getRecordId()const +{ + return recordId_; +} + diff --git a/live/src/model/DescribeRecordsRequest.cc b/live/src/model/DescribeRecordsRequest.cc new file mode 100644 index 000000000..591ee73c5 --- /dev/null +++ b/live/src/model/DescribeRecordsRequest.cc @@ -0,0 +1,302 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeRecordsRequest; + +DescribeRecordsRequest::DescribeRecordsRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRecords") +{} + +DescribeRecordsRequest::~DescribeRecordsRequest() +{} + +std::string DescribeRecordsRequest::getRecordState()const +{ + return recordState_; +} + +void DescribeRecordsRequest::setRecordState(const std::string& recordState) +{ + recordState_ = recordState; + setCoreParameter("RecordState", recordState); +} + +long DescribeRecordsRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void DescribeRecordsRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeRecordsRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeRecordsRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string DescribeRecordsRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeRecordsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +int DescribeRecordsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeRecordsRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeRecordsRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeRecordsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeRecordsRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeRecordsRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string DescribeRecordsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRecordsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeRecordsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeRecordsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeRecordsRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeRecordsRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DescribeRecordsRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeRecordsRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +int DescribeRecordsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRecordsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRecordsRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeRecordsRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeRecordsRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeRecordsRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeRecordsRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeRecordsRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string DescribeRecordsRequest::getApp_ip()const +{ + return app_ip_; +} + +void DescribeRecordsRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string DescribeRecordsRequest::getPopProduct()const +{ + return popProduct_; +} + +void DescribeRecordsRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string DescribeRecordsRequest::getCallerBid()const +{ + return callerBid_; +} + +void DescribeRecordsRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long DescribeRecordsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRecordsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRecordsRequest::getVersion()const +{ + return version_; +} + +void DescribeRecordsRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool DescribeRecordsRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void DescribeRecordsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool DescribeRecordsRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void DescribeRecordsRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool DescribeRecordsRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void DescribeRecordsRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string DescribeRecordsRequest::getRequestId()const +{ + return requestId_; +} + +void DescribeRecordsRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string DescribeRecordsRequest::getAppId()const +{ + return appId_; +} + +void DescribeRecordsRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + diff --git a/live/src/model/DescribeRecordsResult.cc b/live/src/model/DescribeRecordsResult.cc new file mode 100644 index 000000000..29f3da911 --- /dev/null +++ b/live/src/model/DescribeRecordsResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeRecordsResult::DescribeRecordsResult() : + ServiceResult() +{} + +DescribeRecordsResult::DescribeRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRecordsResult::~DescribeRecordsResult() +{} + +void DescribeRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRecords = value["Records"]["Record"]; + for (auto value : allRecords) + { + Record recordsObject; + if(!value["RecordId"].isNull()) + recordsObject.recordId = value["RecordId"].asString(); + if(!value["AppId"].isNull()) + recordsObject.appId = value["AppId"].asString(); + if(!value["BoardId"].isNull()) + recordsObject.boardId = std::stoi(value["BoardId"].asString()); + if(!value["RecordStartTime"].isNull()) + recordsObject.recordStartTime = std::stol(value["RecordStartTime"].asString()); + if(!value["StartTime"].isNull()) + recordsObject.startTime = std::stol(value["StartTime"].asString()); + if(!value["EndTime"].isNull()) + recordsObject.endTime = std::stol(value["EndTime"].asString()); + if(!value["State"].isNull()) + recordsObject.state = std::stoi(value["State"].asString()); + if(!value["OssPath"].isNull()) + recordsObject.ossPath = value["OssPath"].asString(); + if(!value["OssBucket"].isNull()) + recordsObject.ossBucket = value["OssBucket"].asString(); + if(!value["OssEndpoint"].isNull()) + recordsObject.ossEndpoint = value["OssEndpoint"].asString(); + records_.push_back(recordsObject); + } + +} + +std::vector DescribeRecordsResult::getRecords()const +{ + return records_; +} + diff --git a/live/src/model/DescribeRoomKickoutUserListRequest.cc b/live/src/model/DescribeRoomKickoutUserListRequest.cc index 7bfd148e0..e25fa2a67 100644 --- a/live/src/model/DescribeRoomKickoutUserListRequest.cc +++ b/live/src/model/DescribeRoomKickoutUserListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeRoomKickoutUserListRequest; - -DescribeRoomKickoutUserListRequest::DescribeRoomKickoutUserListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeRoomKickoutUserList") -{} - -DescribeRoomKickoutUserListRequest::~DescribeRoomKickoutUserListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeRoomKickoutUserListRequest; + +DescribeRoomKickoutUserListRequest::DescribeRoomKickoutUserListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRoomKickoutUserList") +{} + +DescribeRoomKickoutUserListRequest::~DescribeRoomKickoutUserListRequest() +{} + long DescribeRoomKickoutUserListRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeRoomKickoutUserListRequest::getCallerParentId()const void DescribeRoomKickoutUserListRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeRoomKickoutUserListRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeRoomKickoutUserListRequest::getProxy_original_security_transport()c void DescribeRoomKickoutUserListRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeRoomKickoutUserListRequest::getProxy_original_source_ip()const @@ -55,7 +55,7 @@ std::string DescribeRoomKickoutUserListRequest::getProxy_original_source_ip()con void DescribeRoomKickoutUserListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } int DescribeRoomKickoutUserListRequest::getPageNum()const @@ -66,7 +66,7 @@ int DescribeRoomKickoutUserListRequest::getPageNum()const void DescribeRoomKickoutUserListRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeRoomKickoutUserListRequest::getOwnerIdLoginEmail()const @@ -77,7 +77,7 @@ std::string DescribeRoomKickoutUserListRequest::getOwnerIdLoginEmail()const void DescribeRoomKickoutUserListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeRoomKickoutUserListRequest::getCallerType()const @@ -88,7 +88,7 @@ std::string DescribeRoomKickoutUserListRequest::getCallerType()const void DescribeRoomKickoutUserListRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeRoomKickoutUserListRequest::getAccessKeyId()const @@ -99,7 +99,7 @@ std::string DescribeRoomKickoutUserListRequest::getAccessKeyId()const void DescribeRoomKickoutUserListRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeRoomKickoutUserListRequest::getSecurityToken()const @@ -110,7 +110,7 @@ std::string DescribeRoomKickoutUserListRequest::getSecurityToken()const void DescribeRoomKickoutUserListRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeRoomKickoutUserListRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string DescribeRoomKickoutUserListRequest::getRegionId()const void DescribeRoomKickoutUserListRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeRoomKickoutUserListRequest::getRequestContent()const @@ -132,7 +132,7 @@ std::string DescribeRoomKickoutUserListRequest::getRequestContent()const void DescribeRoomKickoutUserListRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } int DescribeRoomKickoutUserListRequest::getPageSize()const @@ -143,7 +143,7 @@ int DescribeRoomKickoutUserListRequest::getPageSize()const void DescribeRoomKickoutUserListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeRoomKickoutUserListRequest::getCallerBidEmail()const @@ -154,7 +154,7 @@ std::string DescribeRoomKickoutUserListRequest::getCallerBidEmail()const void DescribeRoomKickoutUserListRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeRoomKickoutUserListRequest::getCallerUidEmail()const @@ -165,7 +165,7 @@ std::string DescribeRoomKickoutUserListRequest::getCallerUidEmail()const void DescribeRoomKickoutUserListRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeRoomKickoutUserListRequest::getCallerUid()const @@ -176,7 +176,7 @@ long DescribeRoomKickoutUserListRequest::getCallerUid()const void DescribeRoomKickoutUserListRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeRoomKickoutUserListRequest::getOrder()const @@ -187,7 +187,7 @@ std::string DescribeRoomKickoutUserListRequest::getOrder()const void DescribeRoomKickoutUserListRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } std::string DescribeRoomKickoutUserListRequest::getApp_ip()const @@ -198,7 +198,7 @@ std::string DescribeRoomKickoutUserListRequest::getApp_ip()const void DescribeRoomKickoutUserListRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeRoomKickoutUserListRequest::getPopProduct()const @@ -209,18 +209,7 @@ std::string DescribeRoomKickoutUserListRequest::getPopProduct()const void DescribeRoomKickoutUserListRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); -} - -std::string DescribeRoomKickoutUserListRequest::getProduct()const -{ - return product_; -} - -void DescribeRoomKickoutUserListRequest::setProduct(const std::string& product) -{ - product_ = product; - setParameter("Product", product); + setCoreParameter("PopProduct", popProduct); } std::string DescribeRoomKickoutUserListRequest::getCallerBid()const @@ -231,7 +220,7 @@ std::string DescribeRoomKickoutUserListRequest::getCallerBid()const void DescribeRoomKickoutUserListRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeRoomKickoutUserListRequest::getOwnerId()const @@ -242,7 +231,7 @@ long DescribeRoomKickoutUserListRequest::getOwnerId()const void DescribeRoomKickoutUserListRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeRoomKickoutUserListRequest::getVersion()const @@ -253,7 +242,7 @@ std::string DescribeRoomKickoutUserListRequest::getVersion()const void DescribeRoomKickoutUserListRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeRoomKickoutUserListRequest::getProxy_trust_transport_info()const @@ -264,7 +253,7 @@ bool DescribeRoomKickoutUserListRequest::getProxy_trust_transport_info()const void DescribeRoomKickoutUserListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeRoomKickoutUserListRequest::getAk_mfa_present()const @@ -275,7 +264,7 @@ bool DescribeRoomKickoutUserListRequest::getAk_mfa_present()const void DescribeRoomKickoutUserListRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string DescribeRoomKickoutUserListRequest::getRoomId()const @@ -286,7 +275,7 @@ std::string DescribeRoomKickoutUserListRequest::getRoomId()const void DescribeRoomKickoutUserListRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); } bool DescribeRoomKickoutUserListRequest::getSecurity_transport()const @@ -297,7 +286,7 @@ bool DescribeRoomKickoutUserListRequest::getSecurity_transport()const void DescribeRoomKickoutUserListRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeRoomKickoutUserListRequest::getRequestId()const @@ -308,7 +297,7 @@ std::string DescribeRoomKickoutUserListRequest::getRequestId()const void DescribeRoomKickoutUserListRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeRoomKickoutUserListRequest::getAppId()const @@ -319,6 +308,6 @@ std::string DescribeRoomKickoutUserListRequest::getAppId()const void DescribeRoomKickoutUserListRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/DescribeRoomKickoutUserListResult.cc b/live/src/model/DescribeRoomKickoutUserListResult.cc index 9d40abf75..553c7f631 100644 --- a/live/src/model/DescribeRoomKickoutUserListResult.cc +++ b/live/src/model/DescribeRoomKickoutUserListResult.cc @@ -1,45 +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; - -DescribeRoomKickoutUserListResult::DescribeRoomKickoutUserListResult() : - ServiceResult() -{} - -DescribeRoomKickoutUserListResult::DescribeRoomKickoutUserListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRoomKickoutUserListResult::~DescribeRoomKickoutUserListResult() -{} - -void DescribeRoomKickoutUserListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeRoomKickoutUserListResult::DescribeRoomKickoutUserListResult() : + ServiceResult() +{} + +DescribeRoomKickoutUserListResult::DescribeRoomKickoutUserListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoomKickoutUserListResult::~DescribeRoomKickoutUserListResult() +{} + +void DescribeRoomKickoutUserListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allUserList = value["UserList"]["User"]; for (auto value : allUserList) { @@ -56,9 +56,9 @@ void DescribeRoomKickoutUserListResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + int DescribeRoomKickoutUserListResult::getTotalNum()const { return totalNum_; diff --git a/live/src/model/DescribeRoomListRequest.cc b/live/src/model/DescribeRoomListRequest.cc index 9fe8c3830..491c6e3af 100644 --- a/live/src/model/DescribeRoomListRequest.cc +++ b/live/src/model/DescribeRoomListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeRoomListRequest; - -DescribeRoomListRequest::DescribeRoomListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeRoomList") -{} - -DescribeRoomListRequest::~DescribeRoomListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeRoomListRequest; + +DescribeRoomListRequest::DescribeRoomListRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRoomList") +{} + +DescribeRoomListRequest::~DescribeRoomListRequest() +{} + long DescribeRoomListRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long DescribeRoomListRequest::getCallerParentId()const void DescribeRoomListRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool DescribeRoomListRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool DescribeRoomListRequest::getProxy_original_security_transport()const void DescribeRoomListRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeRoomListRequest::getStartTime()const @@ -55,7 +55,7 @@ std::string DescribeRoomListRequest::getStartTime()const void DescribeRoomListRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string DescribeRoomListRequest::getProxy_original_source_ip()const @@ -66,7 +66,7 @@ std::string DescribeRoomListRequest::getProxy_original_source_ip()const void DescribeRoomListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeRoomListRequest::getAnchorId()const @@ -77,7 +77,7 @@ std::string DescribeRoomListRequest::getAnchorId()const void DescribeRoomListRequest::setAnchorId(const std::string& anchorId) { anchorId_ = anchorId; - setParameter("AnchorId", anchorId); + setCoreParameter("AnchorId", anchorId); } int DescribeRoomListRequest::getPageNum()const @@ -88,7 +88,7 @@ int DescribeRoomListRequest::getPageNum()const void DescribeRoomListRequest::setPageNum(int pageNum) { pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); + setCoreParameter("PageNum", std::to_string(pageNum)); } std::string DescribeRoomListRequest::getOwnerIdLoginEmail()const @@ -99,7 +99,7 @@ std::string DescribeRoomListRequest::getOwnerIdLoginEmail()const void DescribeRoomListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string DescribeRoomListRequest::getCallerType()const @@ -110,7 +110,7 @@ std::string DescribeRoomListRequest::getCallerType()const void DescribeRoomListRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string DescribeRoomListRequest::getAccessKeyId()const @@ -121,7 +121,7 @@ std::string DescribeRoomListRequest::getAccessKeyId()const void DescribeRoomListRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string DescribeRoomListRequest::getSecurityToken()const @@ -132,7 +132,7 @@ std::string DescribeRoomListRequest::getSecurityToken()const void DescribeRoomListRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string DescribeRoomListRequest::getRegionId()const @@ -143,7 +143,7 @@ std::string DescribeRoomListRequest::getRegionId()const void DescribeRoomListRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } int DescribeRoomListRequest::getRoomStatus()const @@ -154,7 +154,7 @@ int DescribeRoomListRequest::getRoomStatus()const void DescribeRoomListRequest::setRoomStatus(int roomStatus) { roomStatus_ = roomStatus; - setParameter("RoomStatus", std::to_string(roomStatus)); + setCoreParameter("RoomStatus", std::to_string(roomStatus)); } std::string DescribeRoomListRequest::getRequestContent()const @@ -165,7 +165,7 @@ std::string DescribeRoomListRequest::getRequestContent()const void DescribeRoomListRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } int DescribeRoomListRequest::getPageSize()const @@ -176,7 +176,7 @@ int DescribeRoomListRequest::getPageSize()const void DescribeRoomListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeRoomListRequest::getCallerBidEmail()const @@ -187,7 +187,7 @@ std::string DescribeRoomListRequest::getCallerBidEmail()const void DescribeRoomListRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string DescribeRoomListRequest::getCallerUidEmail()const @@ -198,7 +198,7 @@ std::string DescribeRoomListRequest::getCallerUidEmail()const void DescribeRoomListRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long DescribeRoomListRequest::getCallerUid()const @@ -209,7 +209,7 @@ long DescribeRoomListRequest::getCallerUid()const void DescribeRoomListRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string DescribeRoomListRequest::getOrder()const @@ -220,7 +220,7 @@ std::string DescribeRoomListRequest::getOrder()const void DescribeRoomListRequest::setOrder(const std::string& order) { order_ = order; - setParameter("Order", order); + setCoreParameter("Order", order); } std::string DescribeRoomListRequest::getApp_ip()const @@ -231,7 +231,7 @@ std::string DescribeRoomListRequest::getApp_ip()const void DescribeRoomListRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeRoomListRequest::getPopProduct()const @@ -242,7 +242,7 @@ std::string DescribeRoomListRequest::getPopProduct()const void DescribeRoomListRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string DescribeRoomListRequest::getEndTime()const @@ -253,7 +253,7 @@ std::string DescribeRoomListRequest::getEndTime()const void DescribeRoomListRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeRoomListRequest::getCallerBid()const @@ -264,7 +264,7 @@ std::string DescribeRoomListRequest::getCallerBid()const void DescribeRoomListRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeRoomListRequest::getOwnerId()const @@ -275,7 +275,7 @@ long DescribeRoomListRequest::getOwnerId()const void DescribeRoomListRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeRoomListRequest::getVersion()const @@ -286,7 +286,7 @@ std::string DescribeRoomListRequest::getVersion()const void DescribeRoomListRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool DescribeRoomListRequest::getProxy_trust_transport_info()const @@ -297,7 +297,7 @@ bool DescribeRoomListRequest::getProxy_trust_transport_info()const void DescribeRoomListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeRoomListRequest::getAk_mfa_present()const @@ -308,7 +308,7 @@ bool DescribeRoomListRequest::getAk_mfa_present()const void DescribeRoomListRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string DescribeRoomListRequest::getRoomId()const @@ -319,7 +319,7 @@ std::string DescribeRoomListRequest::getRoomId()const void DescribeRoomListRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); } bool DescribeRoomListRequest::getSecurity_transport()const @@ -330,7 +330,7 @@ bool DescribeRoomListRequest::getSecurity_transport()const void DescribeRoomListRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string DescribeRoomListRequest::getRequestId()const @@ -341,7 +341,7 @@ std::string DescribeRoomListRequest::getRequestId()const void DescribeRoomListRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string DescribeRoomListRequest::getAppId()const @@ -352,6 +352,6 @@ std::string DescribeRoomListRequest::getAppId()const void DescribeRoomListRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/DescribeRoomListResult.cc b/live/src/model/DescribeRoomListResult.cc index c99762b3f..e88ca7b8d 100644 --- a/live/src/model/DescribeRoomListResult.cc +++ b/live/src/model/DescribeRoomListResult.cc @@ -1,45 +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; - -DescribeRoomListResult::DescribeRoomListResult() : - ServiceResult() -{} - -DescribeRoomListResult::DescribeRoomListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRoomListResult::~DescribeRoomListResult() -{} - -void DescribeRoomListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeRoomListResult::DescribeRoomListResult() : + ServiceResult() +{} + +DescribeRoomListResult::DescribeRoomListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoomListResult::~DescribeRoomListResult() +{} + +void DescribeRoomListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRoomList = value["RoomList"]["Room"]; for (auto value : allRoomList) { @@ -60,9 +60,9 @@ void DescribeRoomListResult::parse(const std::string &payload) totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); - -} - + +} + int DescribeRoomListResult::getTotalNum()const { return totalNum_; diff --git a/live/src/model/DescribeRoomStatusRequest.cc b/live/src/model/DescribeRoomStatusRequest.cc index 475013049..aff0491be 100644 --- a/live/src/model/DescribeRoomStatusRequest.cc +++ b/live/src/model/DescribeRoomStatusRequest.cc @@ -1,161 +1,29 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeRoomStatusRequest; - -DescribeRoomStatusRequest::DescribeRoomStatusRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeRoomStatus") -{} - -DescribeRoomStatusRequest::~DescribeRoomStatusRequest() -{} - -long DescribeRoomStatusRequest::getCallerParentId()const -{ - return callerParentId_; -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -void DescribeRoomStatusRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} +#include -bool DescribeRoomStatusRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} +using AlibabaCloud::Live::Model::DescribeRoomStatusRequest; -void DescribeRoomStatusRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} +DescribeRoomStatusRequest::DescribeRoomStatusRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeRoomStatus") +{} -std::string DescribeRoomStatusRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void DescribeRoomStatusRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string DescribeRoomStatusRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void DescribeRoomStatusRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string DescribeRoomStatusRequest::getCallerType()const -{ - return callerType_; -} - -void DescribeRoomStatusRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -std::string DescribeRoomStatusRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeRoomStatusRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeRoomStatusRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeRoomStatusRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeRoomStatusRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeRoomStatusRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeRoomStatusRequest::getRequestContent()const -{ - return requestContent_; -} - -void DescribeRoomStatusRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string DescribeRoomStatusRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void DescribeRoomStatusRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string DescribeRoomStatusRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void DescribeRoomStatusRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long DescribeRoomStatusRequest::getCallerUid()const -{ - return callerUid_; -} - -void DescribeRoomStatusRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} +DescribeRoomStatusRequest::~DescribeRoomStatusRequest() +{} std::string DescribeRoomStatusRequest::getApp_ip()const { @@ -165,7 +33,7 @@ std::string DescribeRoomStatusRequest::getApp_ip()const void DescribeRoomStatusRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string DescribeRoomStatusRequest::getPopProduct()const @@ -176,18 +44,29 @@ std::string DescribeRoomStatusRequest::getPopProduct()const void DescribeRoomStatusRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } -std::string DescribeRoomStatusRequest::getProduct()const +long DescribeRoomStatusRequest::getCallerParentId()const { - return product_; + return callerParentId_; } -void DescribeRoomStatusRequest::setProduct(const std::string& product) +void DescribeRoomStatusRequest::setCallerParentId(long callerParentId) { - product_ = product; - setParameter("Product", product); + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool DescribeRoomStatusRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void DescribeRoomStatusRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string DescribeRoomStatusRequest::getCallerBid()const @@ -198,7 +77,7 @@ std::string DescribeRoomStatusRequest::getCallerBid()const void DescribeRoomStatusRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long DescribeRoomStatusRequest::getOwnerId()const @@ -209,7 +88,18 @@ long DescribeRoomStatusRequest::getOwnerId()const void DescribeRoomStatusRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRoomStatusRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void DescribeRoomStatusRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string DescribeRoomStatusRequest::getVersion()const @@ -220,7 +110,29 @@ std::string DescribeRoomStatusRequest::getVersion()const void DescribeRoomStatusRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); +} + +std::string DescribeRoomStatusRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void DescribeRoomStatusRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string DescribeRoomStatusRequest::getCallerType()const +{ + return callerType_; +} + +void DescribeRoomStatusRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); } bool DescribeRoomStatusRequest::getProxy_trust_transport_info()const @@ -231,7 +143,7 @@ bool DescribeRoomStatusRequest::getProxy_trust_transport_info()const void DescribeRoomStatusRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool DescribeRoomStatusRequest::getAk_mfa_present()const @@ -242,7 +154,7 @@ bool DescribeRoomStatusRequest::getAk_mfa_present()const void DescribeRoomStatusRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string DescribeRoomStatusRequest::getRoomId()const @@ -253,7 +165,18 @@ std::string DescribeRoomStatusRequest::getRoomId()const void DescribeRoomStatusRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); +} + +std::string DescribeRoomStatusRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRoomStatusRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); } bool DescribeRoomStatusRequest::getSecurity_transport()const @@ -264,7 +187,29 @@ bool DescribeRoomStatusRequest::getSecurity_transport()const void DescribeRoomStatusRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string DescribeRoomStatusRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeRoomStatusRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeRoomStatusRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeRoomStatusRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); } std::string DescribeRoomStatusRequest::getRequestId()const @@ -275,7 +220,18 @@ std::string DescribeRoomStatusRequest::getRequestId()const void DescribeRoomStatusRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); +} + +std::string DescribeRoomStatusRequest::getRequestContent()const +{ + return requestContent_; +} + +void DescribeRoomStatusRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); } std::string DescribeRoomStatusRequest::getAppId()const @@ -286,6 +242,39 @@ std::string DescribeRoomStatusRequest::getAppId()const void DescribeRoomStatusRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); +} + +std::string DescribeRoomStatusRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void DescribeRoomStatusRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string DescribeRoomStatusRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void DescribeRoomStatusRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long DescribeRoomStatusRequest::getCallerUid()const +{ + return callerUid_; +} + +void DescribeRoomStatusRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/DescribeRoomStatusResult.cc b/live/src/model/DescribeRoomStatusResult.cc index 359030c7a..2d5ebb72a 100644 --- a/live/src/model/DescribeRoomStatusResult.cc +++ b/live/src/model/DescribeRoomStatusResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -DescribeRoomStatusResult::DescribeRoomStatusResult() : - ServiceResult() -{} - -DescribeRoomStatusResult::DescribeRoomStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRoomStatusResult::~DescribeRoomStatusResult() -{} - -void DescribeRoomStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeRoomStatusResult::DescribeRoomStatusResult() : + ServiceResult() +{} + +DescribeRoomStatusResult::DescribeRoomStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoomStatusResult::~DescribeRoomStatusResult() +{} + +void DescribeRoomStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["RoomStatus"].isNull()) roomStatus_ = std::stoi(value["RoomStatus"].asString()); - -} - + +} + int DescribeRoomStatusResult::getRoomStatus()const { return roomStatus_; diff --git a/live/src/model/DescribeUpBpsPeakDataRequest.cc b/live/src/model/DescribeUpBpsPeakDataRequest.cc index 5101773c2..54ecdff1b 100644 --- a/live/src/model/DescribeUpBpsPeakDataRequest.cc +++ b/live/src/model/DescribeUpBpsPeakDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeUpBpsPeakDataRequest; - -DescribeUpBpsPeakDataRequest::DescribeUpBpsPeakDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakData") -{} - -DescribeUpBpsPeakDataRequest::~DescribeUpBpsPeakDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeUpBpsPeakDataRequest; + +DescribeUpBpsPeakDataRequest::DescribeUpBpsPeakDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakData") +{} + +DescribeUpBpsPeakDataRequest::~DescribeUpBpsPeakDataRequest() +{} + std::string DescribeUpBpsPeakDataRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeUpBpsPeakDataRequest::getRegionId()const void DescribeUpBpsPeakDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeUpBpsPeakDataRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeUpBpsPeakDataRequest::getDomainName()const void DescribeUpBpsPeakDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeUpBpsPeakDataRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeUpBpsPeakDataRequest::getEndTime()const void DescribeUpBpsPeakDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeUpBpsPeakDataRequest::getStartTime()const @@ -66,7 +66,7 @@ std::string DescribeUpBpsPeakDataRequest::getStartTime()const void DescribeUpBpsPeakDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeUpBpsPeakDataRequest::getOwnerId()const @@ -77,7 +77,7 @@ long DescribeUpBpsPeakDataRequest::getOwnerId()const void DescribeUpBpsPeakDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeUpBpsPeakDataRequest::getDomainSwitch()const @@ -88,6 +88,6 @@ std::string DescribeUpBpsPeakDataRequest::getDomainSwitch()const void DescribeUpBpsPeakDataRequest::setDomainSwitch(const std::string& domainSwitch) { domainSwitch_ = domainSwitch; - setParameter("DomainSwitch", domainSwitch); + setCoreParameter("DomainSwitch", domainSwitch); } diff --git a/live/src/model/DescribeUpBpsPeakDataResult.cc b/live/src/model/DescribeUpBpsPeakDataResult.cc index 32c35256b..138588d39 100644 --- a/live/src/model/DescribeUpBpsPeakDataResult.cc +++ b/live/src/model/DescribeUpBpsPeakDataResult.cc @@ -1,45 +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; - -DescribeUpBpsPeakDataResult::DescribeUpBpsPeakDataResult() : - ServiceResult() -{} - -DescribeUpBpsPeakDataResult::DescribeUpBpsPeakDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUpBpsPeakDataResult::~DescribeUpBpsPeakDataResult() -{} - -void DescribeUpBpsPeakDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeUpBpsPeakDataResult::DescribeUpBpsPeakDataResult() : + ServiceResult() +{} + +DescribeUpBpsPeakDataResult::DescribeUpBpsPeakDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUpBpsPeakDataResult::~DescribeUpBpsPeakDataResult() +{} + +void DescribeUpBpsPeakDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDescribeUpPeakTraffics = value["DescribeUpPeakTraffics"]["DescribeUpPeakTraffic"]; for (auto value : allDescribeUpPeakTraffics) { @@ -54,9 +54,9 @@ void DescribeUpBpsPeakDataResult::parse(const std::string &payload) describeUpPeakTrafficsObject.bandWidth = value["BandWidth"].asString(); describeUpPeakTraffics_.push_back(describeUpPeakTrafficsObject); } - -} - + +} + std::vector DescribeUpBpsPeakDataResult::getDescribeUpPeakTraffics()const { return describeUpPeakTraffics_; diff --git a/live/src/model/DescribeUpBpsPeakOfLineRequest.cc b/live/src/model/DescribeUpBpsPeakOfLineRequest.cc index 89c168493..4cdd20abf 100644 --- a/live/src/model/DescribeUpBpsPeakOfLineRequest.cc +++ b/live/src/model/DescribeUpBpsPeakOfLineRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeUpBpsPeakOfLineRequest; - -DescribeUpBpsPeakOfLineRequest::DescribeUpBpsPeakOfLineRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakOfLine") -{} - -DescribeUpBpsPeakOfLineRequest::~DescribeUpBpsPeakOfLineRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeUpBpsPeakOfLineRequest; + +DescribeUpBpsPeakOfLineRequest::DescribeUpBpsPeakOfLineRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakOfLine") +{} + +DescribeUpBpsPeakOfLineRequest::~DescribeUpBpsPeakOfLineRequest() +{} + std::string DescribeUpBpsPeakOfLineRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeUpBpsPeakOfLineRequest::getRegionId()const void DescribeUpBpsPeakOfLineRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeUpBpsPeakOfLineRequest::getLine()const @@ -44,7 +44,7 @@ std::string DescribeUpBpsPeakOfLineRequest::getLine()const void DescribeUpBpsPeakOfLineRequest::setLine(const std::string& line) { line_ = line; - setParameter("Line", line); + setCoreParameter("Line", line); } std::string DescribeUpBpsPeakOfLineRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string DescribeUpBpsPeakOfLineRequest::getDomainName()const void DescribeUpBpsPeakOfLineRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeUpBpsPeakOfLineRequest::getEndTime()const @@ -66,7 +66,7 @@ std::string DescribeUpBpsPeakOfLineRequest::getEndTime()const void DescribeUpBpsPeakOfLineRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeUpBpsPeakOfLineRequest::getStartTime()const @@ -77,7 +77,7 @@ std::string DescribeUpBpsPeakOfLineRequest::getStartTime()const void DescribeUpBpsPeakOfLineRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeUpBpsPeakOfLineRequest::getOwnerId()const @@ -88,7 +88,7 @@ long DescribeUpBpsPeakOfLineRequest::getOwnerId()const void DescribeUpBpsPeakOfLineRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeUpBpsPeakOfLineRequest::getDomainSwitch()const @@ -99,6 +99,6 @@ std::string DescribeUpBpsPeakOfLineRequest::getDomainSwitch()const void DescribeUpBpsPeakOfLineRequest::setDomainSwitch(const std::string& domainSwitch) { domainSwitch_ = domainSwitch; - setParameter("DomainSwitch", domainSwitch); + setCoreParameter("DomainSwitch", domainSwitch); } diff --git a/live/src/model/DescribeUpBpsPeakOfLineResult.cc b/live/src/model/DescribeUpBpsPeakOfLineResult.cc index 6c9215446..6a6c9a8e3 100644 --- a/live/src/model/DescribeUpBpsPeakOfLineResult.cc +++ b/live/src/model/DescribeUpBpsPeakOfLineResult.cc @@ -1,45 +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; - -DescribeUpBpsPeakOfLineResult::DescribeUpBpsPeakOfLineResult() : - ServiceResult() -{} - -DescribeUpBpsPeakOfLineResult::DescribeUpBpsPeakOfLineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUpBpsPeakOfLineResult::~DescribeUpBpsPeakOfLineResult() -{} - -void DescribeUpBpsPeakOfLineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeUpBpsPeakOfLineResult::DescribeUpBpsPeakOfLineResult() : + ServiceResult() +{} + +DescribeUpBpsPeakOfLineResult::DescribeUpBpsPeakOfLineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUpBpsPeakOfLineResult::~DescribeUpBpsPeakOfLineResult() +{} + +void DescribeUpBpsPeakOfLineResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDescribeUpBpsPeakOfLines = value["DescribeUpBpsPeakOfLines"]["DescribeUpBpsPeakOfLine"]; for (auto value : allDescribeUpBpsPeakOfLines) { @@ -54,9 +54,9 @@ void DescribeUpBpsPeakOfLineResult::parse(const std::string &payload) describeUpBpsPeakOfLinesObject.statName = value["StatName"].asString(); describeUpBpsPeakOfLines_.push_back(describeUpBpsPeakOfLinesObject); } - -} - + +} + std::vector DescribeUpBpsPeakOfLineResult::getDescribeUpBpsPeakOfLines()const { return describeUpBpsPeakOfLines_; diff --git a/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc b/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc index 689c40099..3282a9ca9 100644 --- a/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc +++ b/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::DescribeUpPeakPublishStreamDataRequest; - -DescribeUpPeakPublishStreamDataRequest::DescribeUpPeakPublishStreamDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeUpPeakPublishStreamData") -{} - -DescribeUpPeakPublishStreamDataRequest::~DescribeUpPeakPublishStreamDataRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::DescribeUpPeakPublishStreamDataRequest; + +DescribeUpPeakPublishStreamDataRequest::DescribeUpPeakPublishStreamDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeUpPeakPublishStreamData") +{} + +DescribeUpPeakPublishStreamDataRequest::~DescribeUpPeakPublishStreamDataRequest() +{} + std::string DescribeUpPeakPublishStreamDataRequest::getRegionId()const { return regionId_; @@ -33,7 +33,7 @@ std::string DescribeUpPeakPublishStreamDataRequest::getRegionId()const void DescribeUpPeakPublishStreamDataRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DescribeUpPeakPublishStreamDataRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string DescribeUpPeakPublishStreamDataRequest::getDomainName()const void DescribeUpPeakPublishStreamDataRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string DescribeUpPeakPublishStreamDataRequest::getEndTime()const @@ -55,7 +55,7 @@ std::string DescribeUpPeakPublishStreamDataRequest::getEndTime()const void DescribeUpPeakPublishStreamDataRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string DescribeUpPeakPublishStreamDataRequest::getStartTime()const @@ -66,7 +66,7 @@ std::string DescribeUpPeakPublishStreamDataRequest::getStartTime()const void DescribeUpPeakPublishStreamDataRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long DescribeUpPeakPublishStreamDataRequest::getOwnerId()const @@ -77,7 +77,7 @@ long DescribeUpPeakPublishStreamDataRequest::getOwnerId()const void DescribeUpPeakPublishStreamDataRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string DescribeUpPeakPublishStreamDataRequest::getDomainSwitch()const @@ -88,6 +88,6 @@ std::string DescribeUpPeakPublishStreamDataRequest::getDomainSwitch()const void DescribeUpPeakPublishStreamDataRequest::setDomainSwitch(const std::string& domainSwitch) { domainSwitch_ = domainSwitch; - setParameter("DomainSwitch", domainSwitch); + setCoreParameter("DomainSwitch", domainSwitch); } diff --git a/live/src/model/DescribeUpPeakPublishStreamDataResult.cc b/live/src/model/DescribeUpPeakPublishStreamDataResult.cc index d93ebf3ce..abf2c4449 100644 --- a/live/src/model/DescribeUpPeakPublishStreamDataResult.cc +++ b/live/src/model/DescribeUpPeakPublishStreamDataResult.cc @@ -1,45 +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; - -DescribeUpPeakPublishStreamDataResult::DescribeUpPeakPublishStreamDataResult() : - ServiceResult() -{} - -DescribeUpPeakPublishStreamDataResult::DescribeUpPeakPublishStreamDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUpPeakPublishStreamDataResult::~DescribeUpPeakPublishStreamDataResult() -{} - -void DescribeUpPeakPublishStreamDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeUpPeakPublishStreamDataResult::DescribeUpPeakPublishStreamDataResult() : + ServiceResult() +{} + +DescribeUpPeakPublishStreamDataResult::DescribeUpPeakPublishStreamDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUpPeakPublishStreamDataResult::~DescribeUpPeakPublishStreamDataResult() +{} + +void DescribeUpPeakPublishStreamDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDescribeUpPeakPublishStreamDatas = value["DescribeUpPeakPublishStreamDatas"]["DescribeUpPeakPublishStreamData"]; for (auto value : allDescribeUpPeakPublishStreamDatas) { @@ -56,9 +56,9 @@ void DescribeUpPeakPublishStreamDataResult::parse(const std::string &payload) describeUpPeakPublishStreamDatasObject.bandWidth = value["BandWidth"].asString(); describeUpPeakPublishStreamDatas_.push_back(describeUpPeakPublishStreamDatasObject); } - -} - + +} + std::vector DescribeUpPeakPublishStreamDataResult::getDescribeUpPeakPublishStreamDatas()const { return describeUpPeakPublishStreamDatas_; diff --git a/live/src/model/EffectCasterUrgentRequest.cc b/live/src/model/EffectCasterUrgentRequest.cc index c9846a28e..a774ad805 100644 --- a/live/src/model/EffectCasterUrgentRequest.cc +++ b/live/src/model/EffectCasterUrgentRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string EffectCasterUrgentRequest::getCasterId()const void EffectCasterUrgentRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string EffectCasterUrgentRequest::getSceneId()const @@ -44,7 +44,7 @@ std::string EffectCasterUrgentRequest::getSceneId()const void EffectCasterUrgentRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long EffectCasterUrgentRequest::getOwnerId()const @@ -55,6 +55,6 @@ long EffectCasterUrgentRequest::getOwnerId()const void EffectCasterUrgentRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/EffectCasterUrgentResult.cc b/live/src/model/EffectCasterUrgentResult.cc index 6a23c8735..9a129ea93 100644 --- a/live/src/model/EffectCasterUrgentResult.cc +++ b/live/src/model/EffectCasterUrgentResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index d20f83cbd..4bbc50e1d 100644 --- a/live/src/model/EffectCasterVideoResourceRequest.cc +++ b/live/src/model/EffectCasterVideoResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string EffectCasterVideoResourceRequest::getResourceId()const void EffectCasterVideoResourceRequest::setResourceId(const std::string& resourceId) { resourceId_ = resourceId; - setParameter("ResourceId", resourceId); + setCoreParameter("ResourceId", resourceId); } std::string EffectCasterVideoResourceRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string EffectCasterVideoResourceRequest::getCasterId()const void EffectCasterVideoResourceRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string EffectCasterVideoResourceRequest::getSceneId()const @@ -55,7 +55,7 @@ std::string EffectCasterVideoResourceRequest::getSceneId()const void EffectCasterVideoResourceRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long EffectCasterVideoResourceRequest::getOwnerId()const @@ -66,6 +66,6 @@ long EffectCasterVideoResourceRequest::getOwnerId()const void EffectCasterVideoResourceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/EffectCasterVideoResourceResult.cc b/live/src/model/EffectCasterVideoResourceResult.cc index 8798d74fb..9ee9e08ce 100644 --- a/live/src/model/EffectCasterVideoResourceResult.cc +++ b/live/src/model/EffectCasterVideoResourceResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 55b60ea76..13d092178 100644 --- a/live/src/model/ForbidLiveStreamRequest.cc +++ b/live/src/model/ForbidLiveStreamRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string ForbidLiveStreamRequest::getResumeTime()const void ForbidLiveStreamRequest::setResumeTime(const std::string& resumeTime) { resumeTime_ = resumeTime; - setParameter("ResumeTime", resumeTime); + setCoreParameter("ResumeTime", resumeTime); } std::string ForbidLiveStreamRequest::getAppName()const @@ -44,7 +44,7 @@ std::string ForbidLiveStreamRequest::getAppName()const void ForbidLiveStreamRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string ForbidLiveStreamRequest::getRegionId()const @@ -55,7 +55,7 @@ std::string ForbidLiveStreamRequest::getRegionId()const void ForbidLiveStreamRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string ForbidLiveStreamRequest::getLiveStreamType()const @@ -66,7 +66,7 @@ std::string ForbidLiveStreamRequest::getLiveStreamType()const void ForbidLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) { liveStreamType_ = liveStreamType; - setParameter("LiveStreamType", liveStreamType); + setCoreParameter("LiveStreamType", liveStreamType); } std::string ForbidLiveStreamRequest::getDomainName()const @@ -77,7 +77,7 @@ std::string ForbidLiveStreamRequest::getDomainName()const void ForbidLiveStreamRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long ForbidLiveStreamRequest::getOwnerId()const @@ -88,7 +88,7 @@ long ForbidLiveStreamRequest::getOwnerId()const void ForbidLiveStreamRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ForbidLiveStreamRequest::getOneshot()const @@ -99,7 +99,7 @@ std::string ForbidLiveStreamRequest::getOneshot()const void ForbidLiveStreamRequest::setOneshot(const std::string& oneshot) { oneshot_ = oneshot; - setParameter("Oneshot", oneshot); + setCoreParameter("Oneshot", oneshot); } std::string ForbidLiveStreamRequest::getStreamName()const @@ -110,7 +110,7 @@ std::string ForbidLiveStreamRequest::getStreamName()const void ForbidLiveStreamRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } std::string ForbidLiveStreamRequest::getControlStreamAction()const @@ -121,6 +121,6 @@ std::string ForbidLiveStreamRequest::getControlStreamAction()const void ForbidLiveStreamRequest::setControlStreamAction(const std::string& controlStreamAction) { controlStreamAction_ = controlStreamAction; - setParameter("ControlStreamAction", controlStreamAction); + setCoreParameter("ControlStreamAction", controlStreamAction); } diff --git a/live/src/model/ForbidLiveStreamResult.cc b/live/src/model/ForbidLiveStreamResult.cc index a3a76b8dc..a8d08b075 100644 --- a/live/src/model/ForbidLiveStreamResult.cc +++ b/live/src/model/ForbidLiveStreamResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/ForbidPushStreamRequest.cc b/live/src/model/ForbidPushStreamRequest.cc index 97f61f4dc..e524e6cda 100644 --- a/live/src/model/ForbidPushStreamRequest.cc +++ b/live/src/model/ForbidPushStreamRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ForbidPushStreamRequest; - -ForbidPushStreamRequest::ForbidPushStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "ForbidPushStream") -{} - -ForbidPushStreamRequest::~ForbidPushStreamRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ForbidPushStreamRequest; + +ForbidPushStreamRequest::ForbidPushStreamRequest() : + RpcServiceRequest("live", "2016-11-01", "ForbidPushStream") +{} + +ForbidPushStreamRequest::~ForbidPushStreamRequest() +{} + long ForbidPushStreamRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long ForbidPushStreamRequest::getCallerParentId()const void ForbidPushStreamRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool ForbidPushStreamRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool ForbidPushStreamRequest::getProxy_original_security_transport()const void ForbidPushStreamRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string ForbidPushStreamRequest::getProxy_original_source_ip()const @@ -55,7 +55,7 @@ std::string ForbidPushStreamRequest::getProxy_original_source_ip()const void ForbidPushStreamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string ForbidPushStreamRequest::getOwnerIdLoginEmail()const @@ -66,7 +66,7 @@ std::string ForbidPushStreamRequest::getOwnerIdLoginEmail()const void ForbidPushStreamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string ForbidPushStreamRequest::getCallerType()const @@ -77,7 +77,7 @@ std::string ForbidPushStreamRequest::getCallerType()const void ForbidPushStreamRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string ForbidPushStreamRequest::getAccessKeyId()const @@ -88,7 +88,7 @@ std::string ForbidPushStreamRequest::getAccessKeyId()const void ForbidPushStreamRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string ForbidPushStreamRequest::getUserData()const @@ -99,7 +99,7 @@ std::string ForbidPushStreamRequest::getUserData()const void ForbidPushStreamRequest::setUserData(const std::string& userData) { userData_ = userData; - setParameter("UserData", userData); + setCoreParameter("UserData", userData); } std::string ForbidPushStreamRequest::getSecurityToken()const @@ -110,7 +110,7 @@ std::string ForbidPushStreamRequest::getSecurityToken()const void ForbidPushStreamRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string ForbidPushStreamRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string ForbidPushStreamRequest::getRegionId()const void ForbidPushStreamRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string ForbidPushStreamRequest::getRequestContent()const @@ -132,7 +132,7 @@ std::string ForbidPushStreamRequest::getRequestContent()const void ForbidPushStreamRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string ForbidPushStreamRequest::getCallerBidEmail()const @@ -143,7 +143,7 @@ std::string ForbidPushStreamRequest::getCallerBidEmail()const void ForbidPushStreamRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string ForbidPushStreamRequest::getCallerUidEmail()const @@ -154,7 +154,7 @@ std::string ForbidPushStreamRequest::getCallerUidEmail()const void ForbidPushStreamRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long ForbidPushStreamRequest::getCallerUid()const @@ -165,7 +165,7 @@ long ForbidPushStreamRequest::getCallerUid()const void ForbidPushStreamRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string ForbidPushStreamRequest::getApp_ip()const @@ -176,7 +176,7 @@ std::string ForbidPushStreamRequest::getApp_ip()const void ForbidPushStreamRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string ForbidPushStreamRequest::getPopProduct()const @@ -187,7 +187,7 @@ std::string ForbidPushStreamRequest::getPopProduct()const void ForbidPushStreamRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string ForbidPushStreamRequest::getEndTime()const @@ -198,7 +198,7 @@ std::string ForbidPushStreamRequest::getEndTime()const void ForbidPushStreamRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string ForbidPushStreamRequest::getCallerBid()const @@ -209,7 +209,7 @@ std::string ForbidPushStreamRequest::getCallerBid()const void ForbidPushStreamRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long ForbidPushStreamRequest::getOwnerId()const @@ -220,7 +220,7 @@ long ForbidPushStreamRequest::getOwnerId()const void ForbidPushStreamRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ForbidPushStreamRequest::getVersion()const @@ -231,7 +231,7 @@ std::string ForbidPushStreamRequest::getVersion()const void ForbidPushStreamRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool ForbidPushStreamRequest::getProxy_trust_transport_info()const @@ -242,7 +242,7 @@ bool ForbidPushStreamRequest::getProxy_trust_transport_info()const void ForbidPushStreamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool ForbidPushStreamRequest::getAk_mfa_present()const @@ -253,7 +253,7 @@ bool ForbidPushStreamRequest::getAk_mfa_present()const void ForbidPushStreamRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string ForbidPushStreamRequest::getRoomId()const @@ -264,7 +264,7 @@ std::string ForbidPushStreamRequest::getRoomId()const void ForbidPushStreamRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); } bool ForbidPushStreamRequest::getSecurity_transport()const @@ -275,7 +275,7 @@ bool ForbidPushStreamRequest::getSecurity_transport()const void ForbidPushStreamRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string ForbidPushStreamRequest::getRequestId()const @@ -286,7 +286,7 @@ std::string ForbidPushStreamRequest::getRequestId()const void ForbidPushStreamRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string ForbidPushStreamRequest::getAppId()const @@ -297,6 +297,6 @@ std::string ForbidPushStreamRequest::getAppId()const void ForbidPushStreamRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/ForbidPushStreamResult.cc b/live/src/model/ForbidPushStreamResult.cc index 3365816dd..d719f612b 100644 --- a/live/src/model/ForbidPushStreamResult.cc +++ b/live/src/model/ForbidPushStreamResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -ForbidPushStreamResult::ForbidPushStreamResult() : - ServiceResult() -{} - -ForbidPushStreamResult::ForbidPushStreamResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ForbidPushStreamResult::~ForbidPushStreamResult() -{} - -void ForbidPushStreamResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ForbidPushStreamResult::ForbidPushStreamResult() : + ServiceResult() +{} + +ForbidPushStreamResult::ForbidPushStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ForbidPushStreamResult::~ForbidPushStreamResult() +{} + +void ForbidPushStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/JoinBoardRequest.cc b/live/src/model/JoinBoardRequest.cc index b8d921c73..65f79421a 100644 --- a/live/src/model/JoinBoardRequest.cc +++ b/live/src/model/JoinBoardRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::JoinBoardRequest; - -JoinBoardRequest::JoinBoardRequest() : - RpcServiceRequest("live", "2016-11-01", "JoinBoard") -{} - -JoinBoardRequest::~JoinBoardRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::JoinBoardRequest; + +JoinBoardRequest::JoinBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "JoinBoard") +{} + +JoinBoardRequest::~JoinBoardRequest() +{} + long JoinBoardRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +33,7 @@ long JoinBoardRequest::getCallerParentId()const void JoinBoardRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool JoinBoardRequest::getProxy_original_security_transport()const @@ -44,7 +44,7 @@ bool JoinBoardRequest::getProxy_original_security_transport()const void JoinBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string JoinBoardRequest::getProxy_original_source_ip()const @@ -55,7 +55,7 @@ std::string JoinBoardRequest::getProxy_original_source_ip()const void JoinBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string JoinBoardRequest::getOwnerIdLoginEmail()const @@ -66,7 +66,7 @@ std::string JoinBoardRequest::getOwnerIdLoginEmail()const void JoinBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string JoinBoardRequest::getCallerType()const @@ -77,7 +77,7 @@ std::string JoinBoardRequest::getCallerType()const void JoinBoardRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string JoinBoardRequest::getAccessKeyId()const @@ -88,7 +88,7 @@ std::string JoinBoardRequest::getAccessKeyId()const void JoinBoardRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string JoinBoardRequest::getSecurityToken()const @@ -99,7 +99,7 @@ std::string JoinBoardRequest::getSecurityToken()const void JoinBoardRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string JoinBoardRequest::getRegionId()const @@ -110,7 +110,7 @@ std::string JoinBoardRequest::getRegionId()const void JoinBoardRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string JoinBoardRequest::getRequestContent()const @@ -121,7 +121,7 @@ std::string JoinBoardRequest::getRequestContent()const void JoinBoardRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string JoinBoardRequest::getCallerBidEmail()const @@ -132,7 +132,7 @@ std::string JoinBoardRequest::getCallerBidEmail()const void JoinBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string JoinBoardRequest::getBoardId()const @@ -143,7 +143,7 @@ std::string JoinBoardRequest::getBoardId()const void JoinBoardRequest::setBoardId(const std::string& boardId) { boardId_ = boardId; - setParameter("BoardId", boardId); + setCoreParameter("BoardId", boardId); } std::string JoinBoardRequest::getCallerUidEmail()const @@ -154,7 +154,7 @@ std::string JoinBoardRequest::getCallerUidEmail()const void JoinBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long JoinBoardRequest::getCallerUid()const @@ -165,7 +165,7 @@ long JoinBoardRequest::getCallerUid()const void JoinBoardRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string JoinBoardRequest::getApp_ip()const @@ -176,7 +176,7 @@ std::string JoinBoardRequest::getApp_ip()const void JoinBoardRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string JoinBoardRequest::getPopProduct()const @@ -187,7 +187,7 @@ std::string JoinBoardRequest::getPopProduct()const void JoinBoardRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string JoinBoardRequest::getAppUid()const @@ -198,7 +198,7 @@ std::string JoinBoardRequest::getAppUid()const void JoinBoardRequest::setAppUid(const std::string& appUid) { appUid_ = appUid; - setParameter("AppUid", appUid); + setCoreParameter("AppUid", appUid); } std::string JoinBoardRequest::getCallerBid()const @@ -209,7 +209,7 @@ std::string JoinBoardRequest::getCallerBid()const void JoinBoardRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long JoinBoardRequest::getOwnerId()const @@ -220,7 +220,7 @@ long JoinBoardRequest::getOwnerId()const void JoinBoardRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string JoinBoardRequest::getVersion()const @@ -231,7 +231,7 @@ std::string JoinBoardRequest::getVersion()const void JoinBoardRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool JoinBoardRequest::getProxy_trust_transport_info()const @@ -242,7 +242,7 @@ bool JoinBoardRequest::getProxy_trust_transport_info()const void JoinBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool JoinBoardRequest::getAk_mfa_present()const @@ -253,7 +253,7 @@ bool JoinBoardRequest::getAk_mfa_present()const void JoinBoardRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool JoinBoardRequest::getSecurity_transport()const @@ -264,7 +264,7 @@ bool JoinBoardRequest::getSecurity_transport()const void JoinBoardRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string JoinBoardRequest::getRequestId()const @@ -275,7 +275,7 @@ std::string JoinBoardRequest::getRequestId()const void JoinBoardRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string JoinBoardRequest::getAppId()const @@ -286,6 +286,6 @@ std::string JoinBoardRequest::getAppId()const void JoinBoardRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/JoinBoardResult.cc b/live/src/model/JoinBoardResult.cc index 1f4ceb494..5f6bfdc72 100644 --- a/live/src/model/JoinBoardResult.cc +++ b/live/src/model/JoinBoardResult.cc @@ -1,45 +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; - -JoinBoardResult::JoinBoardResult() : - ServiceResult() -{} - -JoinBoardResult::JoinBoardResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -JoinBoardResult::~JoinBoardResult() -{} - -void JoinBoardResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +JoinBoardResult::JoinBoardResult() : + ServiceResult() +{} + +JoinBoardResult::JoinBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +JoinBoardResult::~JoinBoardResult() +{} + +void JoinBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Token"].isNull()) token_ = value["Token"].asString(); if(!value["BoardId"].isNull()) @@ -50,9 +50,9 @@ void JoinBoardResult::parse(const std::string &payload) keepaliveTopic_ = value["KeepaliveTopic"].asString(); if(!value["KeepaliveInterval"].isNull()) keepaliveInterval_ = std::stoi(value["KeepaliveInterval"].asString()); - -} - + +} + std::string JoinBoardResult::getBoardId()const { return boardId_; diff --git a/live/src/model/ModifyCasterComponentRequest.cc b/live/src/model/ModifyCasterComponentRequest.cc index 0572d6d2c..99b2ba7ce 100644 --- a/live/src/model/ModifyCasterComponentRequest.cc +++ b/live/src/model/ModifyCasterComponentRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string ModifyCasterComponentRequest::getComponentId()const void ModifyCasterComponentRequest::setComponentId(const std::string& componentId) { componentId_ = componentId; - setParameter("ComponentId", componentId); + setCoreParameter("ComponentId", componentId); } std::string ModifyCasterComponentRequest::getComponentType()const @@ -44,7 +44,7 @@ std::string ModifyCasterComponentRequest::getComponentType()const void ModifyCasterComponentRequest::setComponentType(const std::string& componentType) { componentType_ = componentType; - setParameter("ComponentType", componentType); + setCoreParameter("ComponentType", componentType); } std::string ModifyCasterComponentRequest::getImageLayerContent()const @@ -55,7 +55,7 @@ std::string ModifyCasterComponentRequest::getImageLayerContent()const void ModifyCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) { imageLayerContent_ = imageLayerContent; - setParameter("ImageLayerContent", imageLayerContent); + setCoreParameter("ImageLayerContent", imageLayerContent); } std::string ModifyCasterComponentRequest::getCasterId()const @@ -66,7 +66,7 @@ std::string ModifyCasterComponentRequest::getCasterId()const void ModifyCasterComponentRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string ModifyCasterComponentRequest::getEffect()const @@ -77,7 +77,7 @@ std::string ModifyCasterComponentRequest::getEffect()const void ModifyCasterComponentRequest::setEffect(const std::string& effect) { effect_ = effect; - setParameter("Effect", effect); + setCoreParameter("Effect", effect); } std::string ModifyCasterComponentRequest::getComponentLayer()const @@ -88,7 +88,7 @@ std::string ModifyCasterComponentRequest::getComponentLayer()const void ModifyCasterComponentRequest::setComponentLayer(const std::string& componentLayer) { componentLayer_ = componentLayer; - setParameter("ComponentLayer", componentLayer); + setCoreParameter("ComponentLayer", componentLayer); } std::string ModifyCasterComponentRequest::getCaptionLayerContent()const @@ -99,7 +99,7 @@ std::string ModifyCasterComponentRequest::getCaptionLayerContent()const void ModifyCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) { captionLayerContent_ = captionLayerContent; - setParameter("CaptionLayerContent", captionLayerContent); + setCoreParameter("CaptionLayerContent", captionLayerContent); } std::string ModifyCasterComponentRequest::getComponentName()const @@ -110,7 +110,7 @@ std::string ModifyCasterComponentRequest::getComponentName()const void ModifyCasterComponentRequest::setComponentName(const std::string& componentName) { componentName_ = componentName; - setParameter("ComponentName", componentName); + setCoreParameter("ComponentName", componentName); } long ModifyCasterComponentRequest::getOwnerId()const @@ -121,7 +121,7 @@ long ModifyCasterComponentRequest::getOwnerId()const void ModifyCasterComponentRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ModifyCasterComponentRequest::getTextLayerContent()const @@ -132,6 +132,6 @@ std::string ModifyCasterComponentRequest::getTextLayerContent()const void ModifyCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) { textLayerContent_ = textLayerContent; - setParameter("TextLayerContent", textLayerContent); + setCoreParameter("TextLayerContent", textLayerContent); } diff --git a/live/src/model/ModifyCasterComponentResult.cc b/live/src/model/ModifyCasterComponentResult.cc index 1a3e14745..5543c47b8 100644 --- a/live/src/model/ModifyCasterComponentResult.cc +++ b/live/src/model/ModifyCasterComponentResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index b6317f7a6..ce15e9d06 100644 --- a/live/src/model/ModifyCasterEpisodeRequest.cc +++ b/live/src/model/ModifyCasterEpisodeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string ModifyCasterEpisodeRequest::getResourceId()const void ModifyCasterEpisodeRequest::setResourceId(const std::string& resourceId) { resourceId_ = resourceId; - setParameter("ResourceId", resourceId); + setCoreParameter("ResourceId", resourceId); } std::vector ModifyCasterEpisodeRequest::getComponentId()const @@ -45,7 +45,7 @@ void ModifyCasterEpisodeRequest::setComponentId(const std::vector& { componentId_ = componentId; for(int i = 0; i!= componentId.size(); i++) - setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); + setCoreParameter("ComponentId."+ std::to_string(i), componentId.at(i)); } std::string ModifyCasterEpisodeRequest::getSwitchType()const @@ -56,7 +56,7 @@ std::string ModifyCasterEpisodeRequest::getSwitchType()const void ModifyCasterEpisodeRequest::setSwitchType(const std::string& switchType) { switchType_ = switchType; - setParameter("SwitchType", switchType); + setCoreParameter("SwitchType", switchType); } std::string ModifyCasterEpisodeRequest::getCasterId()const @@ -67,7 +67,7 @@ std::string ModifyCasterEpisodeRequest::getCasterId()const void ModifyCasterEpisodeRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string ModifyCasterEpisodeRequest::getEpisodeName()const @@ -78,7 +78,7 @@ std::string ModifyCasterEpisodeRequest::getEpisodeName()const void ModifyCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) { episodeName_ = episodeName; - setParameter("EpisodeName", episodeName); + setCoreParameter("EpisodeName", episodeName); } std::string ModifyCasterEpisodeRequest::getEndTime()const @@ -89,7 +89,7 @@ std::string ModifyCasterEpisodeRequest::getEndTime()const void ModifyCasterEpisodeRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string ModifyCasterEpisodeRequest::getStartTime()const @@ -100,7 +100,7 @@ std::string ModifyCasterEpisodeRequest::getStartTime()const void ModifyCasterEpisodeRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } long ModifyCasterEpisodeRequest::getOwnerId()const @@ -111,7 +111,7 @@ long ModifyCasterEpisodeRequest::getOwnerId()const void ModifyCasterEpisodeRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ModifyCasterEpisodeRequest::getEpisodeId()const @@ -122,6 +122,6 @@ std::string ModifyCasterEpisodeRequest::getEpisodeId()const void ModifyCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) { episodeId_ = episodeId; - setParameter("EpisodeId", episodeId); + setCoreParameter("EpisodeId", episodeId); } diff --git a/live/src/model/ModifyCasterEpisodeResult.cc b/live/src/model/ModifyCasterEpisodeResult.cc index d665be1ed..2be275b43 100644 --- a/live/src/model/ModifyCasterEpisodeResult.cc +++ b/live/src/model/ModifyCasterEpisodeResult.cc @@ -1,52 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/ModifyCasterLayoutRequest.cc b/live/src/model/ModifyCasterLayoutRequest.cc index 626364726..0029360cf 100644 --- a/live/src/model/ModifyCasterLayoutRequest.cc +++ b/live/src/model/ModifyCasterLayoutRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -34,7 +34,7 @@ void ModifyCasterLayoutRequest::setBlendList(const std::vector& ble { blendList_ = blendList; for(int i = 0; i!= blendList.size(); i++) - setParameter("BlendList."+ std::to_string(i), blendList.at(i)); + setCoreParameter("BlendList."+ std::to_string(i), blendList.at(i)); } std::vector ModifyCasterLayoutRequest::getAudioLayer()const @@ -49,9 +49,9 @@ void ModifyCasterLayoutRequest::setAudioLayer(const std::vector& aud for(int i = 0; i!= audioLayer.size(); i++) { auto obj = audioLayer.at(i); std::string str ="AudioLayer."+ std::to_string(i); - setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); - setParameter(str + ".VolumeRate", std::to_string(obj.volumeRate)); - setParameter(str + ".ValidChannel", obj.validChannel); + setCoreParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + setCoreParameter(str + ".VolumeRate", std::to_string(obj.volumeRate)); + setCoreParameter(str + ".ValidChannel", obj.validChannel); } } @@ -67,12 +67,12 @@ void ModifyCasterLayoutRequest::setVideoLayer(const std::vector& vid 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 + ".WidthNormalized", std::to_string(obj.widthNormalized)); - setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); - 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 + ".HeightNormalized", std::to_string(obj.heightNormalized)); + setCoreParameter(str + ".FillMode", obj.fillMode); + setCoreParameter(str + ".WidthNormalized", std::to_string(obj.widthNormalized)); + setCoreParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + setCoreParameter(str + ".PositionRefer", obj.positionRefer); + for(int i = 0; i!= obj.positionNormalized.size(); i++) setCoreParameter(str + ".PositionNormalized."+ std::to_string(i), std::to_string(obj.positionNormalized.at(i))); + setCoreParameter(str + ".HeightNormalized", std::to_string(obj.heightNormalized)); } } @@ -84,7 +84,7 @@ std::string ModifyCasterLayoutRequest::getCasterId()const void ModifyCasterLayoutRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::vector ModifyCasterLayoutRequest::getMixList()const @@ -96,7 +96,7 @@ void ModifyCasterLayoutRequest::setMixList(const std::vector& mixLi { mixList_ = mixList; for(int i = 0; i!= mixList.size(); i++) - setParameter("MixList."+ std::to_string(i), mixList.at(i)); + setCoreParameter("MixList."+ std::to_string(i), mixList.at(i)); } long ModifyCasterLayoutRequest::getOwnerId()const @@ -107,7 +107,7 @@ long ModifyCasterLayoutRequest::getOwnerId()const void ModifyCasterLayoutRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ModifyCasterLayoutRequest::getLayoutId()const @@ -118,6 +118,6 @@ std::string ModifyCasterLayoutRequest::getLayoutId()const void ModifyCasterLayoutRequest::setLayoutId(const std::string& layoutId) { layoutId_ = layoutId; - setParameter("LayoutId", layoutId); + setCoreParameter("LayoutId", layoutId); } diff --git a/live/src/model/ModifyCasterLayoutResult.cc b/live/src/model/ModifyCasterLayoutResult.cc index 937345d2e..e1182c07e 100644 --- a/live/src/model/ModifyCasterLayoutResult.cc +++ b/live/src/model/ModifyCasterLayoutResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 321767627..06756c39d 100644 --- a/live/src/model/ModifyCasterProgramRequest.cc +++ b/live/src/model/ModifyCasterProgramRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string ModifyCasterProgramRequest::getCasterId()const void ModifyCasterProgramRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::vector ModifyCasterProgramRequest::getEpisode()const @@ -48,14 +48,14 @@ void ModifyCasterProgramRequest::setEpisode(const std::vector& episode) for(int i = 0; i!= episode.size(); i++) { auto obj = episode.at(i); std::string str ="Episode."+ std::to_string(i); - 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 + ".SwitchType", obj.switchType); - setParameter(str + ".EpisodeType", obj.episodeType); - setParameter(str + ".EpisodeName", obj.episodeName); - setParameter(str + ".EndTime", obj.endTime); - setParameter(str + ".StartTime", obj.startTime); - setParameter(str + ".EpisodeId", obj.episodeId); + setCoreParameter(str + ".ResourceId", obj.resourceId); + for(int i = 0; i!= obj.componentId.size(); i++) setCoreParameter(str + ".ComponentId."+ std::to_string(i), obj.componentId.at(i)); + setCoreParameter(str + ".SwitchType", obj.switchType); + setCoreParameter(str + ".EpisodeType", obj.episodeType); + setCoreParameter(str + ".EpisodeName", obj.episodeName); + setCoreParameter(str + ".EndTime", obj.endTime); + setCoreParameter(str + ".StartTime", obj.startTime); + setCoreParameter(str + ".EpisodeId", obj.episodeId); } } @@ -67,6 +67,6 @@ long ModifyCasterProgramRequest::getOwnerId()const void ModifyCasterProgramRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/ModifyCasterProgramResult.cc b/live/src/model/ModifyCasterProgramResult.cc index 35d394121..8bf7cd10e 100644 --- a/live/src/model/ModifyCasterProgramResult.cc +++ b/live/src/model/ModifyCasterProgramResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index b4e189bac..6f1e3e0eb 100644 --- a/live/src/model/ModifyCasterVideoResourceRequest.cc +++ b/live/src/model/ModifyCasterVideoResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string ModifyCasterVideoResourceRequest::getResourceId()const void ModifyCasterVideoResourceRequest::setResourceId(const std::string& resourceId) { resourceId_ = resourceId; - setParameter("ResourceId", resourceId); + setCoreParameter("ResourceId", resourceId); } std::string ModifyCasterVideoResourceRequest::getVodUrl()const @@ -44,7 +44,7 @@ std::string ModifyCasterVideoResourceRequest::getVodUrl()const void ModifyCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) { vodUrl_ = vodUrl; - setParameter("VodUrl", vodUrl); + setCoreParameter("VodUrl", vodUrl); } std::string ModifyCasterVideoResourceRequest::getCasterId()const @@ -55,7 +55,7 @@ std::string ModifyCasterVideoResourceRequest::getCasterId()const void ModifyCasterVideoResourceRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } int ModifyCasterVideoResourceRequest::getEndOffset()const @@ -66,7 +66,7 @@ int ModifyCasterVideoResourceRequest::getEndOffset()const void ModifyCasterVideoResourceRequest::setEndOffset(int endOffset) { endOffset_ = endOffset; - setParameter("EndOffset", std::to_string(endOffset)); + setCoreParameter("EndOffset", std::to_string(endOffset)); } long ModifyCasterVideoResourceRequest::getOwnerId()const @@ -77,7 +77,7 @@ long ModifyCasterVideoResourceRequest::getOwnerId()const void ModifyCasterVideoResourceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ModifyCasterVideoResourceRequest::getMaterialId()const @@ -88,7 +88,7 @@ std::string ModifyCasterVideoResourceRequest::getMaterialId()const void ModifyCasterVideoResourceRequest::setMaterialId(const std::string& materialId) { materialId_ = materialId; - setParameter("MaterialId", materialId); + setCoreParameter("MaterialId", materialId); } int ModifyCasterVideoResourceRequest::getBeginOffset()const @@ -99,7 +99,7 @@ int ModifyCasterVideoResourceRequest::getBeginOffset()const void ModifyCasterVideoResourceRequest::setBeginOffset(int beginOffset) { beginOffset_ = beginOffset; - setParameter("BeginOffset", std::to_string(beginOffset)); + setCoreParameter("BeginOffset", std::to_string(beginOffset)); } std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl()const @@ -110,7 +110,7 @@ std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl()const void ModifyCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) { liveStreamUrl_ = liveStreamUrl; - setParameter("LiveStreamUrl", liveStreamUrl); + setCoreParameter("LiveStreamUrl", liveStreamUrl); } std::string ModifyCasterVideoResourceRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string ModifyCasterVideoResourceRequest::getRegionId()const void ModifyCasterVideoResourceRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } int ModifyCasterVideoResourceRequest::getPtsCallbackInterval()const @@ -132,7 +132,7 @@ int ModifyCasterVideoResourceRequest::getPtsCallbackInterval()const void ModifyCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) { ptsCallbackInterval_ = ptsCallbackInterval; - setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); + setCoreParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); } std::string ModifyCasterVideoResourceRequest::getResourceName()const @@ -143,7 +143,7 @@ std::string ModifyCasterVideoResourceRequest::getResourceName()const void ModifyCasterVideoResourceRequest::setResourceName(const std::string& resourceName) { resourceName_ = resourceName; - setParameter("ResourceName", resourceName); + setCoreParameter("ResourceName", resourceName); } int ModifyCasterVideoResourceRequest::getRepeatNum()const @@ -154,6 +154,6 @@ int ModifyCasterVideoResourceRequest::getRepeatNum()const void ModifyCasterVideoResourceRequest::setRepeatNum(int repeatNum) { repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); + setCoreParameter("RepeatNum", std::to_string(repeatNum)); } diff --git a/live/src/model/ModifyCasterVideoResourceResult.cc b/live/src/model/ModifyCasterVideoResourceResult.cc index 96f2e581a..42a5cc30d 100644 --- a/live/src/model/ModifyCasterVideoResourceResult.cc +++ b/live/src/model/ModifyCasterVideoResourceResult.cc @@ -1,52 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; diff --git a/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc b/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc new file mode 100644 index 000000000..730aa0dc0 --- /dev/null +++ b/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc @@ -0,0 +1,324 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ModifyLiveDomainSchdmByPropertyRequest; + +ModifyLiveDomainSchdmByPropertyRequest::ModifyLiveDomainSchdmByPropertyRequest() : + RpcServiceRequest("live", "2016-11-01", "ModifyLiveDomainSchdmByProperty") +{} + +ModifyLiveDomainSchdmByPropertyRequest::~ModifyLiveDomainSchdmByPropertyRequest() +{} + +long ModifyLiveDomainSchdmByPropertyRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool ModifyLiveDomainSchdmByPropertyRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getCallerType()const +{ + return callerType_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getEagleEyeRpcId()const +{ + return eagleEyeRpcId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId) +{ + eagleEyeRpcId_ = eagleEyeRpcId; + setCoreParameter("EagleEyeRpcId", eagleEyeRpcId); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getEagleEyeTraceId()const +{ + return eagleEyeTraceId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId) +{ + eagleEyeTraceId_ = eagleEyeTraceId; + setCoreParameter("EagleEyeTraceId", eagleEyeTraceId); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getRequestContent()const +{ + return requestContent_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getProperty()const +{ + return property_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setProperty(const std::string& property) +{ + property_ = property; + setCoreParameter("Property", property); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long ModifyLiveDomainSchdmByPropertyRequest::getCallerUid()const +{ + return callerUid_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getApp_ip()const +{ + return app_ip_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getPopProduct()const +{ + return popProduct_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getDomainName()const +{ + return domainName_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getCallerBid()const +{ + return callerBid_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long ModifyLiveDomainSchdmByPropertyRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getVersion()const +{ + return version_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool ModifyLiveDomainSchdmByPropertyRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool ModifyLiveDomainSchdmByPropertyRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool ModifyLiveDomainSchdmByPropertyRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getServiceCode()const +{ + return serviceCode_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setCoreParameter("ServiceCode", serviceCode); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getRequestId()const +{ + return requestId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getEagleEyeUserData()const +{ + return eagleEyeUserData_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setEagleEyeUserData(const std::string& eagleEyeUserData) +{ + eagleEyeUserData_ = eagleEyeUserData; + setCoreParameter("EagleEyeUserData", eagleEyeUserData); +} + diff --git a/live/src/model/AddMultipleStreamMixServiceResult.cc b/live/src/model/ModifyLiveDomainSchdmByPropertyResult.cc similarity index 66% rename from live/src/model/AddMultipleStreamMixServiceResult.cc rename to live/src/model/ModifyLiveDomainSchdmByPropertyResult.cc index 534165c5e..6e7cb1c47 100644 --- a/live/src/model/AddMultipleStreamMixServiceResult.cc +++ b/live/src/model/ModifyLiveDomainSchdmByPropertyResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +ModifyLiveDomainSchdmByPropertyResult::ModifyLiveDomainSchdmByPropertyResult() : + ServiceResult() +{} + +ModifyLiveDomainSchdmByPropertyResult::ModifyLiveDomainSchdmByPropertyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyLiveDomainSchdmByPropertyResult::~ModifyLiveDomainSchdmByPropertyResult() +{} + +void ModifyLiveDomainSchdmByPropertyResult::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/RealTimeRecordCommandRequest.cc b/live/src/model/RealTimeRecordCommandRequest.cc index 3b1269331..1f480cf51 100644 --- a/live/src/model/RealTimeRecordCommandRequest.cc +++ b/live/src/model/RealTimeRecordCommandRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string RealTimeRecordCommandRequest::getAppName()const void RealTimeRecordCommandRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string RealTimeRecordCommandRequest::getRegionId()const @@ -44,7 +44,7 @@ std::string RealTimeRecordCommandRequest::getRegionId()const void RealTimeRecordCommandRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string RealTimeRecordCommandRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string RealTimeRecordCommandRequest::getDomainName()const void RealTimeRecordCommandRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long RealTimeRecordCommandRequest::getOwnerId()const @@ -66,7 +66,7 @@ long RealTimeRecordCommandRequest::getOwnerId()const void RealTimeRecordCommandRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string RealTimeRecordCommandRequest::getCommand()const @@ -77,7 +77,7 @@ std::string RealTimeRecordCommandRequest::getCommand()const void RealTimeRecordCommandRequest::setCommand(const std::string& command) { command_ = command; - setParameter("Command", command); + setCoreParameter("Command", command); } std::string RealTimeRecordCommandRequest::getStreamName()const @@ -88,6 +88,6 @@ std::string RealTimeRecordCommandRequest::getStreamName()const void RealTimeRecordCommandRequest::setStreamName(const std::string& streamName) { streamName_ = streamName; - setParameter("StreamName", streamName); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/RealTimeRecordCommandResult.cc b/live/src/model/RealTimeRecordCommandResult.cc index a1db6bb1d..99138ae49 100644 --- a/live/src/model/RealTimeRecordCommandResult.cc +++ b/live/src/model/RealTimeRecordCommandResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/RealTimeSnapshotCommandRequest.cc b/live/src/model/RealTimeSnapshotCommandRequest.cc new file mode 100644 index 000000000..a66d7a975 --- /dev/null +++ b/live/src/model/RealTimeSnapshotCommandRequest.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::RealTimeSnapshotCommandRequest; + +RealTimeSnapshotCommandRequest::RealTimeSnapshotCommandRequest() : + RpcServiceRequest("live", "2016-11-01", "RealTimeSnapshotCommand") +{} + +RealTimeSnapshotCommandRequest::~RealTimeSnapshotCommandRequest() +{} + +int RealTimeSnapshotCommandRequest::getMode()const +{ + return mode_; +} + +void RealTimeSnapshotCommandRequest::setMode(int mode) +{ + mode_ = mode; + setCoreParameter("Mode", std::to_string(mode)); +} + +std::string RealTimeSnapshotCommandRequest::getAppName()const +{ + return appName_; +} + +void RealTimeSnapshotCommandRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setCoreParameter("AppName", appName); +} + +std::string RealTimeSnapshotCommandRequest::getRegionId()const +{ + return regionId_; +} + +void RealTimeSnapshotCommandRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string RealTimeSnapshotCommandRequest::getDomainName()const +{ + return domainName_; +} + +void RealTimeSnapshotCommandRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +int RealTimeSnapshotCommandRequest::getInterval()const +{ + return interval_; +} + +void RealTimeSnapshotCommandRequest::setInterval(int interval) +{ + interval_ = interval; + setCoreParameter("Interval", std::to_string(interval)); +} + +long RealTimeSnapshotCommandRequest::getOwnerId()const +{ + return ownerId_; +} + +void RealTimeSnapshotCommandRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string RealTimeSnapshotCommandRequest::getCommand()const +{ + return command_; +} + +void RealTimeSnapshotCommandRequest::setCommand(const std::string& command) +{ + command_ = command; + setCoreParameter("Command", command); +} + +std::string RealTimeSnapshotCommandRequest::getStreamName()const +{ + return streamName_; +} + +void RealTimeSnapshotCommandRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setCoreParameter("StreamName", streamName); +} + diff --git a/live/src/model/AddLivePullStreamInfoConfigResult.cc b/live/src/model/RealTimeSnapshotCommandResult.cc similarity index 69% rename from live/src/model/AddLivePullStreamInfoConfigResult.cc rename to live/src/model/RealTimeSnapshotCommandResult.cc index b0ec113c0..b1ef3aa28 100644 --- a/live/src/model/AddLivePullStreamInfoConfigResult.cc +++ b/live/src/model/RealTimeSnapshotCommandResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +RealTimeSnapshotCommandResult::RealTimeSnapshotCommandResult() : + ServiceResult() +{} + +RealTimeSnapshotCommandResult::RealTimeSnapshotCommandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RealTimeSnapshotCommandResult::~RealTimeSnapshotCommandResult() +{} + +void RealTimeSnapshotCommandResult::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 deleted file mode 100644 index e28da180b..000000000 --- a/live/src/model/RemoveMultipleStreamMixServiceRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 22e48e3b4..000000000 --- a/live/src/model/RemoveMultipleStreamMixServiceResult.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 index 5d5fb61d3..6875d0d38 100644 --- a/live/src/model/ResumeLiveStreamRequest.cc +++ b/live/src/model/ResumeLiveStreamRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string ResumeLiveStreamRequest::getAppName()const void ResumeLiveStreamRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string ResumeLiveStreamRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string ResumeLiveStreamRequest::getSecurityToken()const void ResumeLiveStreamRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string ResumeLiveStreamRequest::getLiveStreamType()const @@ -55,7 +55,7 @@ std::string ResumeLiveStreamRequest::getLiveStreamType()const void ResumeLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) { liveStreamType_ = liveStreamType; - setParameter("LiveStreamType", liveStreamType); + setCoreParameter("LiveStreamType", liveStreamType); } std::string ResumeLiveStreamRequest::getDomainName()const @@ -66,7 +66,7 @@ std::string ResumeLiveStreamRequest::getDomainName()const void ResumeLiveStreamRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long ResumeLiveStreamRequest::getOwnerId()const @@ -77,7 +77,7 @@ long ResumeLiveStreamRequest::getOwnerId()const void ResumeLiveStreamRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string ResumeLiveStreamRequest::getStreamName()const @@ -88,17 +88,6 @@ std::string ResumeLiveStreamRequest::getStreamName()const 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); + setCoreParameter("StreamName", streamName); } diff --git a/live/src/model/ResumeLiveStreamResult.cc b/live/src/model/ResumeLiveStreamResult.cc index 409f123e1..6b62e7fa3 100644 --- a/live/src/model/ResumeLiveStreamResult.cc +++ b/live/src/model/ResumeLiveStreamResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/SendRoomNotificationRequest.cc b/live/src/model/SendRoomNotificationRequest.cc index 24e853a4f..d9c2f25e5 100644 --- a/live/src/model/SendRoomNotificationRequest.cc +++ b/live/src/model/SendRoomNotificationRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SendRoomNotificationRequest; - -SendRoomNotificationRequest::SendRoomNotificationRequest() : - RpcServiceRequest("live", "2016-11-01", "SendRoomNotification") -{} - -SendRoomNotificationRequest::~SendRoomNotificationRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::SendRoomNotificationRequest; + +SendRoomNotificationRequest::SendRoomNotificationRequest() : + RpcServiceRequest("live", "2016-11-01", "SendRoomNotification") +{} + +SendRoomNotificationRequest::~SendRoomNotificationRequest() +{} + std::string SendRoomNotificationRequest::getData()const { return data_; @@ -33,7 +33,7 @@ std::string SendRoomNotificationRequest::getData()const void SendRoomNotificationRequest::setData(const std::string& data) { data_ = data; - setParameter("Data", data); + setCoreParameter("Data", data); } long SendRoomNotificationRequest::getCallerParentId()const @@ -44,7 +44,7 @@ long SendRoomNotificationRequest::getCallerParentId()const void SendRoomNotificationRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool SendRoomNotificationRequest::getProxy_original_security_transport()const @@ -55,7 +55,7 @@ bool SendRoomNotificationRequest::getProxy_original_security_transport()const void SendRoomNotificationRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string SendRoomNotificationRequest::getProxy_original_source_ip()const @@ -66,7 +66,7 @@ std::string SendRoomNotificationRequest::getProxy_original_source_ip()const void SendRoomNotificationRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string SendRoomNotificationRequest::getOwnerIdLoginEmail()const @@ -77,7 +77,7 @@ std::string SendRoomNotificationRequest::getOwnerIdLoginEmail()const void SendRoomNotificationRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string SendRoomNotificationRequest::getCallerType()const @@ -88,7 +88,7 @@ std::string SendRoomNotificationRequest::getCallerType()const void SendRoomNotificationRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string SendRoomNotificationRequest::getAccessKeyId()const @@ -99,7 +99,7 @@ std::string SendRoomNotificationRequest::getAccessKeyId()const void SendRoomNotificationRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string SendRoomNotificationRequest::getSecurityToken()const @@ -110,7 +110,7 @@ std::string SendRoomNotificationRequest::getSecurityToken()const void SendRoomNotificationRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string SendRoomNotificationRequest::getRegionId()const @@ -121,7 +121,7 @@ std::string SendRoomNotificationRequest::getRegionId()const void SendRoomNotificationRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SendRoomNotificationRequest::getRequestContent()const @@ -132,7 +132,7 @@ std::string SendRoomNotificationRequest::getRequestContent()const void SendRoomNotificationRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string SendRoomNotificationRequest::getCallerBidEmail()const @@ -143,7 +143,7 @@ std::string SendRoomNotificationRequest::getCallerBidEmail()const void SendRoomNotificationRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string SendRoomNotificationRequest::getCallerUidEmail()const @@ -154,7 +154,7 @@ std::string SendRoomNotificationRequest::getCallerUidEmail()const void SendRoomNotificationRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long SendRoomNotificationRequest::getCallerUid()const @@ -165,7 +165,7 @@ long SendRoomNotificationRequest::getCallerUid()const void SendRoomNotificationRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string SendRoomNotificationRequest::getApp_ip()const @@ -176,7 +176,7 @@ std::string SendRoomNotificationRequest::getApp_ip()const void SendRoomNotificationRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string SendRoomNotificationRequest::getPopProduct()const @@ -187,7 +187,7 @@ std::string SendRoomNotificationRequest::getPopProduct()const void SendRoomNotificationRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string SendRoomNotificationRequest::getAppUid()const @@ -198,7 +198,7 @@ std::string SendRoomNotificationRequest::getAppUid()const void SendRoomNotificationRequest::setAppUid(const std::string& appUid) { appUid_ = appUid; - setParameter("AppUid", appUid); + setCoreParameter("AppUid", appUid); } std::string SendRoomNotificationRequest::getCallerBid()const @@ -209,7 +209,7 @@ std::string SendRoomNotificationRequest::getCallerBid()const void SendRoomNotificationRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long SendRoomNotificationRequest::getOwnerId()const @@ -220,7 +220,7 @@ long SendRoomNotificationRequest::getOwnerId()const void SendRoomNotificationRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int SendRoomNotificationRequest::getPriority()const @@ -231,7 +231,7 @@ int SendRoomNotificationRequest::getPriority()const void SendRoomNotificationRequest::setPriority(int priority) { priority_ = priority; - setParameter("Priority", std::to_string(priority)); + setCoreParameter("Priority", std::to_string(priority)); } std::string SendRoomNotificationRequest::getVersion()const @@ -242,7 +242,7 @@ std::string SendRoomNotificationRequest::getVersion()const void SendRoomNotificationRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool SendRoomNotificationRequest::getProxy_trust_transport_info()const @@ -253,7 +253,7 @@ bool SendRoomNotificationRequest::getProxy_trust_transport_info()const void SendRoomNotificationRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool SendRoomNotificationRequest::getAk_mfa_present()const @@ -264,7 +264,7 @@ bool SendRoomNotificationRequest::getAk_mfa_present()const void SendRoomNotificationRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string SendRoomNotificationRequest::getRoomId()const @@ -275,7 +275,7 @@ std::string SendRoomNotificationRequest::getRoomId()const void SendRoomNotificationRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); } bool SendRoomNotificationRequest::getSecurity_transport()const @@ -286,7 +286,7 @@ bool SendRoomNotificationRequest::getSecurity_transport()const void SendRoomNotificationRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string SendRoomNotificationRequest::getRequestId()const @@ -297,7 +297,7 @@ std::string SendRoomNotificationRequest::getRequestId()const void SendRoomNotificationRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string SendRoomNotificationRequest::getAppId()const @@ -308,6 +308,6 @@ std::string SendRoomNotificationRequest::getAppId()const void SendRoomNotificationRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/SendRoomNotificationResult.cc b/live/src/model/SendRoomNotificationResult.cc index 15be89833..ead1f1720 100644 --- a/live/src/model/SendRoomNotificationResult.cc +++ b/live/src/model/SendRoomNotificationResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -SendRoomNotificationResult::SendRoomNotificationResult() : - ServiceResult() -{} - -SendRoomNotificationResult::SendRoomNotificationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SendRoomNotificationResult::~SendRoomNotificationResult() -{} - -void SendRoomNotificationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SendRoomNotificationResult::SendRoomNotificationResult() : + ServiceResult() +{} + +SendRoomNotificationResult::SendRoomNotificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendRoomNotificationResult::~SendRoomNotificationResult() +{} + +void SendRoomNotificationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["MessageId"].isNull()) messageId_ = value["MessageId"].asString(); - -} - + +} + std::string SendRoomNotificationResult::getMessageId()const { return messageId_; diff --git a/live/src/model/SendRoomUserNotificationRequest.cc b/live/src/model/SendRoomUserNotificationRequest.cc index 787e7a376..a89dfa986 100644 --- a/live/src/model/SendRoomUserNotificationRequest.cc +++ b/live/src/model/SendRoomUserNotificationRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SendRoomUserNotificationRequest; - -SendRoomUserNotificationRequest::SendRoomUserNotificationRequest() : - RpcServiceRequest("live", "2016-11-01", "SendRoomUserNotification") -{} - -SendRoomUserNotificationRequest::~SendRoomUserNotificationRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::SendRoomUserNotificationRequest; + +SendRoomUserNotificationRequest::SendRoomUserNotificationRequest() : + RpcServiceRequest("live", "2016-11-01", "SendRoomUserNotification") +{} + +SendRoomUserNotificationRequest::~SendRoomUserNotificationRequest() +{} + std::string SendRoomUserNotificationRequest::getData()const { return data_; @@ -33,7 +33,7 @@ std::string SendRoomUserNotificationRequest::getData()const void SendRoomUserNotificationRequest::setData(const std::string& data) { data_ = data; - setParameter("Data", data); + setCoreParameter("Data", data); } long SendRoomUserNotificationRequest::getCallerParentId()const @@ -44,7 +44,7 @@ long SendRoomUserNotificationRequest::getCallerParentId()const void SendRoomUserNotificationRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool SendRoomUserNotificationRequest::getProxy_original_security_transport()const @@ -55,7 +55,7 @@ bool SendRoomUserNotificationRequest::getProxy_original_security_transport()cons void SendRoomUserNotificationRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string SendRoomUserNotificationRequest::getToAppUid()const @@ -66,7 +66,7 @@ std::string SendRoomUserNotificationRequest::getToAppUid()const void SendRoomUserNotificationRequest::setToAppUid(const std::string& toAppUid) { toAppUid_ = toAppUid; - setParameter("ToAppUid", toAppUid); + setCoreParameter("ToAppUid", toAppUid); } std::string SendRoomUserNotificationRequest::getProxy_original_source_ip()const @@ -77,7 +77,7 @@ std::string SendRoomUserNotificationRequest::getProxy_original_source_ip()const void SendRoomUserNotificationRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string SendRoomUserNotificationRequest::getOwnerIdLoginEmail()const @@ -88,7 +88,7 @@ std::string SendRoomUserNotificationRequest::getOwnerIdLoginEmail()const void SendRoomUserNotificationRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string SendRoomUserNotificationRequest::getCallerType()const @@ -99,7 +99,7 @@ std::string SendRoomUserNotificationRequest::getCallerType()const void SendRoomUserNotificationRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } std::string SendRoomUserNotificationRequest::getAccessKeyId()const @@ -110,7 +110,7 @@ std::string SendRoomUserNotificationRequest::getAccessKeyId()const void SendRoomUserNotificationRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } std::string SendRoomUserNotificationRequest::getSecurityToken()const @@ -121,7 +121,7 @@ std::string SendRoomUserNotificationRequest::getSecurityToken()const void SendRoomUserNotificationRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string SendRoomUserNotificationRequest::getRegionId()const @@ -132,7 +132,7 @@ std::string SendRoomUserNotificationRequest::getRegionId()const void SendRoomUserNotificationRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SendRoomUserNotificationRequest::getRequestContent()const @@ -143,7 +143,7 @@ std::string SendRoomUserNotificationRequest::getRequestContent()const void SendRoomUserNotificationRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string SendRoomUserNotificationRequest::getCallerBidEmail()const @@ -154,7 +154,7 @@ std::string SendRoomUserNotificationRequest::getCallerBidEmail()const void SendRoomUserNotificationRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string SendRoomUserNotificationRequest::getCallerUidEmail()const @@ -165,7 +165,7 @@ std::string SendRoomUserNotificationRequest::getCallerUidEmail()const void SendRoomUserNotificationRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long SendRoomUserNotificationRequest::getCallerUid()const @@ -176,7 +176,7 @@ long SendRoomUserNotificationRequest::getCallerUid()const void SendRoomUserNotificationRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string SendRoomUserNotificationRequest::getApp_ip()const @@ -187,7 +187,7 @@ std::string SendRoomUserNotificationRequest::getApp_ip()const void SendRoomUserNotificationRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string SendRoomUserNotificationRequest::getPopProduct()const @@ -198,18 +198,7 @@ std::string SendRoomUserNotificationRequest::getPopProduct()const void SendRoomUserNotificationRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); -} - -std::string SendRoomUserNotificationRequest::getProduct()const -{ - return product_; -} - -void SendRoomUserNotificationRequest::setProduct(const std::string& product) -{ - product_ = product; - setParameter("Product", product); + setCoreParameter("PopProduct", popProduct); } std::string SendRoomUserNotificationRequest::getAppUid()const @@ -220,7 +209,7 @@ std::string SendRoomUserNotificationRequest::getAppUid()const void SendRoomUserNotificationRequest::setAppUid(const std::string& appUid) { appUid_ = appUid; - setParameter("AppUid", appUid); + setCoreParameter("AppUid", appUid); } std::string SendRoomUserNotificationRequest::getCallerBid()const @@ -231,7 +220,7 @@ std::string SendRoomUserNotificationRequest::getCallerBid()const void SendRoomUserNotificationRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long SendRoomUserNotificationRequest::getOwnerId()const @@ -242,7 +231,7 @@ long SendRoomUserNotificationRequest::getOwnerId()const void SendRoomUserNotificationRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int SendRoomUserNotificationRequest::getPriority()const @@ -253,7 +242,7 @@ int SendRoomUserNotificationRequest::getPriority()const void SendRoomUserNotificationRequest::setPriority(int priority) { priority_ = priority; - setParameter("Priority", std::to_string(priority)); + setCoreParameter("Priority", std::to_string(priority)); } std::string SendRoomUserNotificationRequest::getVersion()const @@ -264,7 +253,7 @@ std::string SendRoomUserNotificationRequest::getVersion()const void SendRoomUserNotificationRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool SendRoomUserNotificationRequest::getProxy_trust_transport_info()const @@ -275,7 +264,7 @@ bool SendRoomUserNotificationRequest::getProxy_trust_transport_info()const void SendRoomUserNotificationRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool SendRoomUserNotificationRequest::getAk_mfa_present()const @@ -286,7 +275,7 @@ bool SendRoomUserNotificationRequest::getAk_mfa_present()const void SendRoomUserNotificationRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string SendRoomUserNotificationRequest::getRoomId()const @@ -297,7 +286,7 @@ std::string SendRoomUserNotificationRequest::getRoomId()const void SendRoomUserNotificationRequest::setRoomId(const std::string& roomId) { roomId_ = roomId; - setParameter("RoomId", roomId); + setCoreParameter("RoomId", roomId); } bool SendRoomUserNotificationRequest::getSecurity_transport()const @@ -308,7 +297,7 @@ bool SendRoomUserNotificationRequest::getSecurity_transport()const void SendRoomUserNotificationRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string SendRoomUserNotificationRequest::getRequestId()const @@ -319,7 +308,7 @@ std::string SendRoomUserNotificationRequest::getRequestId()const void SendRoomUserNotificationRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string SendRoomUserNotificationRequest::getAppId()const @@ -330,6 +319,6 @@ std::string SendRoomUserNotificationRequest::getAppId()const void SendRoomUserNotificationRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } diff --git a/live/src/model/SendRoomUserNotificationResult.cc b/live/src/model/SendRoomUserNotificationResult.cc index e5890d994..6b0521124 100644 --- a/live/src/model/SendRoomUserNotificationResult.cc +++ b/live/src/model/SendRoomUserNotificationResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -SendRoomUserNotificationResult::SendRoomUserNotificationResult() : - ServiceResult() -{} - -SendRoomUserNotificationResult::SendRoomUserNotificationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SendRoomUserNotificationResult::~SendRoomUserNotificationResult() -{} - -void SendRoomUserNotificationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SendRoomUserNotificationResult::SendRoomUserNotificationResult() : + ServiceResult() +{} + +SendRoomUserNotificationResult::SendRoomUserNotificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendRoomUserNotificationResult::~SendRoomUserNotificationResult() +{} + +void SendRoomUserNotificationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["MessageId"].isNull()) messageId_ = value["MessageId"].asString(); - -} - + +} + std::string SendRoomUserNotificationResult::getMessageId()const { return messageId_; diff --git a/live/src/model/SetBoardCallbackRequest.cc b/live/src/model/SetBoardCallbackRequest.cc new file mode 100644 index 000000000..014b32a0c --- /dev/null +++ b/live/src/model/SetBoardCallbackRequest.cc @@ -0,0 +1,324 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::SetBoardCallbackRequest; + +SetBoardCallbackRequest::SetBoardCallbackRequest() : + RpcServiceRequest("live", "2016-11-01", "SetBoardCallback") +{} + +SetBoardCallbackRequest::~SetBoardCallbackRequest() +{} + +std::string SetBoardCallbackRequest::getAuthKey()const +{ + return authKey_; +} + +void SetBoardCallbackRequest::setAuthKey(const std::string& authKey) +{ + authKey_ = authKey; + setCoreParameter("AuthKey", authKey); +} + +long SetBoardCallbackRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void SetBoardCallbackRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool SetBoardCallbackRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void SetBoardCallbackRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string SetBoardCallbackRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void SetBoardCallbackRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string SetBoardCallbackRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void SetBoardCallbackRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string SetBoardCallbackRequest::getCallerType()const +{ + return callerType_; +} + +void SetBoardCallbackRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string SetBoardCallbackRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetBoardCallbackRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +int SetBoardCallbackRequest::getCallbackEnable()const +{ + return callbackEnable_; +} + +void SetBoardCallbackRequest::setCallbackEnable(int callbackEnable) +{ + callbackEnable_ = callbackEnable; + setCoreParameter("CallbackEnable", std::to_string(callbackEnable)); +} + +std::string SetBoardCallbackRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetBoardCallbackRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetBoardCallbackRequest::getRegionId()const +{ + return regionId_; +} + +void SetBoardCallbackRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string SetBoardCallbackRequest::getRequestContent()const +{ + return requestContent_; +} + +void SetBoardCallbackRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string SetBoardCallbackRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void SetBoardCallbackRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string SetBoardCallbackRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void SetBoardCallbackRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long SetBoardCallbackRequest::getCallerUid()const +{ + return callerUid_; +} + +void SetBoardCallbackRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string SetBoardCallbackRequest::getApp_ip()const +{ + return app_ip_; +} + +void SetBoardCallbackRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string SetBoardCallbackRequest::getPopProduct()const +{ + return popProduct_; +} + +void SetBoardCallbackRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string SetBoardCallbackRequest::getCallbackEvents()const +{ + return callbackEvents_; +} + +void SetBoardCallbackRequest::setCallbackEvents(const std::string& callbackEvents) +{ + callbackEvents_ = callbackEvents; + setCoreParameter("CallbackEvents", callbackEvents); +} + +std::string SetBoardCallbackRequest::getCallerBid()const +{ + return callerBid_; +} + +void SetBoardCallbackRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long SetBoardCallbackRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetBoardCallbackRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetBoardCallbackRequest::getVersion()const +{ + return version_; +} + +void SetBoardCallbackRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool SetBoardCallbackRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void SetBoardCallbackRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool SetBoardCallbackRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void SetBoardCallbackRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool SetBoardCallbackRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void SetBoardCallbackRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string SetBoardCallbackRequest::getRequestId()const +{ + return requestId_; +} + +void SetBoardCallbackRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string SetBoardCallbackRequest::getCallbackUri()const +{ + return callbackUri_; +} + +void SetBoardCallbackRequest::setCallbackUri(const std::string& callbackUri) +{ + callbackUri_ = callbackUri; + setCoreParameter("CallbackUri", callbackUri); +} + +std::string SetBoardCallbackRequest::getAppId()const +{ + return appId_; +} + +void SetBoardCallbackRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + +std::string SetBoardCallbackRequest::getAuthSwitch()const +{ + return authSwitch_; +} + +void SetBoardCallbackRequest::setAuthSwitch(const std::string& authSwitch) +{ + authSwitch_ = authSwitch; + setCoreParameter("AuthSwitch", authSwitch); +} + diff --git a/live/src/model/AddLiveMixNotifyConfigResult.cc b/live/src/model/SetBoardCallbackResult.cc similarity index 72% rename from live/src/model/AddLiveMixNotifyConfigResult.cc rename to live/src/model/SetBoardCallbackResult.cc index 4006331de..b2ce03d66 100644 --- a/live/src/model/AddLiveMixNotifyConfigResult.cc +++ b/live/src/model/SetBoardCallbackResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +SetBoardCallbackResult::SetBoardCallbackResult() : + ServiceResult() +{} + +SetBoardCallbackResult::SetBoardCallbackResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetBoardCallbackResult::~SetBoardCallbackResult() +{} + +void SetBoardCallbackResult::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/SetCasterChannelRequest.cc b/live/src/model/SetCasterChannelRequest.cc index e17984bc4..2442a0cbd 100644 --- a/live/src/model/SetCasterChannelRequest.cc +++ b/live/src/model/SetCasterChannelRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterChannelRequest; - -SetCasterChannelRequest::SetCasterChannelRequest() : - RpcServiceRequest("live", "2016-11-01", "SetCasterChannel") -{} - -SetCasterChannelRequest::~SetCasterChannelRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::SetCasterChannelRequest; + +SetCasterChannelRequest::SetCasterChannelRequest() : + RpcServiceRequest("live", "2016-11-01", "SetCasterChannel") +{} + +SetCasterChannelRequest::~SetCasterChannelRequest() +{} + std::string SetCasterChannelRequest::getResourceId()const { return resourceId_; @@ -33,7 +33,7 @@ std::string SetCasterChannelRequest::getResourceId()const void SetCasterChannelRequest::setResourceId(const std::string& resourceId) { resourceId_ = resourceId; - setParameter("ResourceId", resourceId); + setCoreParameter("ResourceId", resourceId); } int SetCasterChannelRequest::getPlayStatus()const @@ -44,7 +44,7 @@ int SetCasterChannelRequest::getPlayStatus()const void SetCasterChannelRequest::setPlayStatus(int playStatus) { playStatus_ = playStatus; - setParameter("PlayStatus", std::to_string(playStatus)); + setCoreParameter("PlayStatus", std::to_string(playStatus)); } std::string SetCasterChannelRequest::getRegionId()const @@ -55,7 +55,7 @@ std::string SetCasterChannelRequest::getRegionId()const void SetCasterChannelRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SetCasterChannelRequest::getCasterId()const @@ -66,7 +66,7 @@ std::string SetCasterChannelRequest::getCasterId()const void SetCasterChannelRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long SetCasterChannelRequest::getOwnerId()const @@ -77,7 +77,7 @@ long SetCasterChannelRequest::getOwnerId()const void SetCasterChannelRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int SetCasterChannelRequest::getSeekOffset()const @@ -88,7 +88,7 @@ int SetCasterChannelRequest::getSeekOffset()const void SetCasterChannelRequest::setSeekOffset(int seekOffset) { seekOffset_ = seekOffset; - setParameter("SeekOffset", std::to_string(seekOffset)); + setCoreParameter("SeekOffset", std::to_string(seekOffset)); } std::string SetCasterChannelRequest::getChannelId()const @@ -99,6 +99,6 @@ std::string SetCasterChannelRequest::getChannelId()const void SetCasterChannelRequest::setChannelId(const std::string& channelId) { channelId_ = channelId; - setParameter("ChannelId", channelId); + setCoreParameter("ChannelId", channelId); } diff --git a/live/src/model/SetCasterChannelResult.cc b/live/src/model/SetCasterChannelResult.cc index 79ca364d4..141ec0096 100644 --- a/live/src/model/SetCasterChannelResult.cc +++ b/live/src/model/SetCasterChannelResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -SetCasterChannelResult::SetCasterChannelResult() : - ServiceResult() -{} - -SetCasterChannelResult::SetCasterChannelResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetCasterChannelResult::~SetCasterChannelResult() -{} - -void SetCasterChannelResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SetCasterChannelResult::SetCasterChannelResult() : + ServiceResult() +{} + +SetCasterChannelResult::SetCasterChannelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetCasterChannelResult::~SetCasterChannelResult() +{} + +void SetCasterChannelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/SetCasterConfigRequest.cc b/live/src/model/SetCasterConfigRequest.cc index 776d70f32..54c44d050 100644 --- a/live/src/model/SetCasterConfigRequest.cc +++ b/live/src/model/SetCasterConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string SetCasterConfigRequest::getSideOutputUrl()const void SetCasterConfigRequest::setSideOutputUrl(const std::string& sideOutputUrl) { sideOutputUrl_ = sideOutputUrl; - setParameter("SideOutputUrl", sideOutputUrl); + setCoreParameter("SideOutputUrl", sideOutputUrl); } std::string SetCasterConfigRequest::getCasterId()const @@ -44,7 +44,7 @@ std::string SetCasterConfigRequest::getCasterId()const void SetCasterConfigRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } int SetCasterConfigRequest::getChannelEnable()const @@ -55,7 +55,7 @@ int SetCasterConfigRequest::getChannelEnable()const void SetCasterConfigRequest::setChannelEnable(int channelEnable) { channelEnable_ = channelEnable; - setParameter("ChannelEnable", std::to_string(channelEnable)); + setCoreParameter("ChannelEnable", std::to_string(channelEnable)); } std::string SetCasterConfigRequest::getDomainName()const @@ -66,7 +66,7 @@ std::string SetCasterConfigRequest::getDomainName()const void SetCasterConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } int SetCasterConfigRequest::getProgramEffect()const @@ -77,7 +77,7 @@ int SetCasterConfigRequest::getProgramEffect()const void SetCasterConfigRequest::setProgramEffect(int programEffect) { programEffect_ = programEffect; - setParameter("ProgramEffect", std::to_string(programEffect)); + setCoreParameter("ProgramEffect", std::to_string(programEffect)); } std::string SetCasterConfigRequest::getProgramName()const @@ -88,7 +88,7 @@ std::string SetCasterConfigRequest::getProgramName()const void SetCasterConfigRequest::setProgramName(const std::string& programName) { programName_ = programName; - setParameter("ProgramName", programName); + setCoreParameter("ProgramName", programName); } long SetCasterConfigRequest::getOwnerId()const @@ -99,7 +99,7 @@ long SetCasterConfigRequest::getOwnerId()const void SetCasterConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string SetCasterConfigRequest::getRecordConfig()const @@ -110,7 +110,7 @@ std::string SetCasterConfigRequest::getRecordConfig()const void SetCasterConfigRequest::setRecordConfig(const std::string& recordConfig) { recordConfig_ = recordConfig; - setParameter("RecordConfig", recordConfig); + setCoreParameter("RecordConfig", recordConfig); } std::string SetCasterConfigRequest::getUrgentMaterialId()const @@ -121,7 +121,7 @@ std::string SetCasterConfigRequest::getUrgentMaterialId()const void SetCasterConfigRequest::setUrgentMaterialId(const std::string& urgentMaterialId) { urgentMaterialId_ = urgentMaterialId; - setParameter("UrgentMaterialId", urgentMaterialId); + setCoreParameter("UrgentMaterialId", urgentMaterialId); } std::string SetCasterConfigRequest::getTranscodeConfig()const @@ -132,7 +132,7 @@ std::string SetCasterConfigRequest::getTranscodeConfig()const void SetCasterConfigRequest::setTranscodeConfig(const std::string& transcodeConfig) { transcodeConfig_ = transcodeConfig; - setParameter("TranscodeConfig", transcodeConfig); + setCoreParameter("TranscodeConfig", transcodeConfig); } float SetCasterConfigRequest::getDelay()const @@ -143,7 +143,7 @@ float SetCasterConfigRequest::getDelay()const void SetCasterConfigRequest::setDelay(float delay) { delay_ = delay; - setParameter("Delay", std::to_string(delay)); + setCoreParameter("Delay", std::to_string(delay)); } std::string SetCasterConfigRequest::getRegionId()const @@ -154,7 +154,7 @@ std::string SetCasterConfigRequest::getRegionId()const void SetCasterConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SetCasterConfigRequest::getCasterName()const @@ -165,7 +165,7 @@ std::string SetCasterConfigRequest::getCasterName()const void SetCasterConfigRequest::setCasterName(const std::string& casterName) { casterName_ = casterName; - setParameter("CasterName", casterName); + setCoreParameter("CasterName", casterName); } std::string SetCasterConfigRequest::getCallbackUrl()const @@ -176,6 +176,6 @@ std::string SetCasterConfigRequest::getCallbackUrl()const void SetCasterConfigRequest::setCallbackUrl(const std::string& callbackUrl) { callbackUrl_ = callbackUrl; - setParameter("CallbackUrl", callbackUrl); + setCoreParameter("CallbackUrl", callbackUrl); } diff --git a/live/src/model/SetCasterConfigResult.cc b/live/src/model/SetCasterConfigResult.cc index b9b53da5a..851033499 100644 --- a/live/src/model/SetCasterConfigResult.cc +++ b/live/src/model/SetCasterConfigResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index a3fd0685e..3c64ac857 100644 --- a/live/src/model/SetCasterSceneConfigRequest.cc +++ b/live/src/model/SetCasterSceneConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -34,7 +34,7 @@ void SetCasterSceneConfigRequest::setComponentId(const std::vector& { componentId_ = componentId; for(int i = 0; i!= componentId.size(); i++) - setParameter("ComponentId."+ std::to_string(i), componentId.at(i)); + setCoreParameter("ComponentId."+ std::to_string(i), componentId.at(i)); } std::string SetCasterSceneConfigRequest::getRegionId()const @@ -45,7 +45,7 @@ std::string SetCasterSceneConfigRequest::getRegionId()const void SetCasterSceneConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SetCasterSceneConfigRequest::getCasterId()const @@ -56,7 +56,7 @@ std::string SetCasterSceneConfigRequest::getCasterId()const void SetCasterSceneConfigRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string SetCasterSceneConfigRequest::getSceneId()const @@ -67,7 +67,7 @@ std::string SetCasterSceneConfigRequest::getSceneId()const void SetCasterSceneConfigRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long SetCasterSceneConfigRequest::getOwnerId()const @@ -78,7 +78,7 @@ long SetCasterSceneConfigRequest::getOwnerId()const void SetCasterSceneConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string SetCasterSceneConfigRequest::getLayoutId()const @@ -89,6 +89,6 @@ std::string SetCasterSceneConfigRequest::getLayoutId()const void SetCasterSceneConfigRequest::setLayoutId(const std::string& layoutId) { layoutId_ = layoutId; - setParameter("LayoutId", layoutId); + setCoreParameter("LayoutId", layoutId); } diff --git a/live/src/model/SetCasterSceneConfigResult.cc b/live/src/model/SetCasterSceneConfigResult.cc index 4d203b6e4..a0b44c8ab 100644 --- a/live/src/model/SetCasterSceneConfigResult.cc +++ b/live/src/model/SetCasterSceneConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/SetLiveDomainCertificateRequest.cc b/live/src/model/SetLiveDomainCertificateRequest.cc index 1b8e348da..308715b2c 100644 --- a/live/src/model/SetLiveDomainCertificateRequest.cc +++ b/live/src/model/SetLiveDomainCertificateRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::SetLiveDomainCertificateRequest; - -SetLiveDomainCertificateRequest::SetLiveDomainCertificateRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveDomainCertificate") -{} - -SetLiveDomainCertificateRequest::~SetLiveDomainCertificateRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::SetLiveDomainCertificateRequest; + +SetLiveDomainCertificateRequest::SetLiveDomainCertificateRequest() : + RpcServiceRequest("live", "2016-11-01", "SetLiveDomainCertificate") +{} + +SetLiveDomainCertificateRequest::~SetLiveDomainCertificateRequest() +{} + std::string SetLiveDomainCertificateRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string SetLiveDomainCertificateRequest::getSecurityToken()const void SetLiveDomainCertificateRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string SetLiveDomainCertificateRequest::getSSLPub()const @@ -44,7 +44,7 @@ std::string SetLiveDomainCertificateRequest::getSSLPub()const void SetLiveDomainCertificateRequest::setSSLPub(const std::string& sSLPub) { sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); + setCoreParameter("SSLPub", sSLPub); } std::string SetLiveDomainCertificateRequest::getCertName()const @@ -55,7 +55,7 @@ std::string SetLiveDomainCertificateRequest::getCertName()const void SetLiveDomainCertificateRequest::setCertName(const std::string& certName) { certName_ = certName; - setParameter("CertName", certName); + setCoreParameter("CertName", certName); } std::string SetLiveDomainCertificateRequest::getSSLProtocol()const @@ -66,7 +66,7 @@ std::string SetLiveDomainCertificateRequest::getSSLProtocol()const void SetLiveDomainCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) { sSLProtocol_ = sSLProtocol; - setParameter("SSLProtocol", sSLProtocol); + setCoreParameter("SSLProtocol", sSLProtocol); } std::string SetLiveDomainCertificateRequest::getDomainName()const @@ -77,7 +77,7 @@ std::string SetLiveDomainCertificateRequest::getDomainName()const void SetLiveDomainCertificateRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long SetLiveDomainCertificateRequest::getOwnerId()const @@ -88,18 +88,7 @@ long SetLiveDomainCertificateRequest::getOwnerId()const void SetLiveDomainCertificateRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetLiveDomainCertificateRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SetLiveDomainCertificateRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string SetLiveDomainCertificateRequest::getSSLPri()const @@ -110,6 +99,6 @@ std::string SetLiveDomainCertificateRequest::getSSLPri()const void SetLiveDomainCertificateRequest::setSSLPri(const std::string& sSLPri) { sSLPri_ = sSLPri; - setParameter("SSLPri", sSLPri); + setCoreParameter("SSLPri", sSLPri); } diff --git a/live/src/model/SetLiveDomainCertificateResult.cc b/live/src/model/SetLiveDomainCertificateResult.cc index ff2932aa3..ef39e5c23 100644 --- a/live/src/model/SetLiveDomainCertificateResult.cc +++ b/live/src/model/SetLiveDomainCertificateResult.cc @@ -1,45 +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; - -SetLiveDomainCertificateResult::SetLiveDomainCertificateResult() : - ServiceResult() -{} - -SetLiveDomainCertificateResult::SetLiveDomainCertificateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetLiveDomainCertificateResult::~SetLiveDomainCertificateResult() -{} - -void SetLiveDomainCertificateResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +SetLiveDomainCertificateResult::SetLiveDomainCertificateResult() : + ServiceResult() +{} + +SetLiveDomainCertificateResult::SetLiveDomainCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveDomainCertificateResult::~SetLiveDomainCertificateResult() +{} + +void SetLiveDomainCertificateResult::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/SetLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc index 7d35eda07..54508fa28 100644 --- a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc +++ b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc @@ -1,30 +1,41 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveLazyPullStreamInfoConfigRequest; - -SetLiveLazyPullStreamInfoConfigRequest::SetLiveLazyPullStreamInfoConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveLazyPullStreamInfoConfig") -{} - -SetLiveLazyPullStreamInfoConfigRequest::~SetLiveLazyPullStreamInfoConfigRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveLazyPullStreamInfoConfigRequest; + +SetLiveLazyPullStreamInfoConfigRequest::SetLiveLazyPullStreamInfoConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetLiveLazyPullStreamInfoConfig") +{} + +SetLiveLazyPullStreamInfoConfigRequest::~SetLiveLazyPullStreamInfoConfigRequest() +{} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullArgs()const +{ + return pullArgs_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPullArgs(const std::string& pullArgs) +{ + pullArgs_ = pullArgs; + setCoreParameter("PullArgs", pullArgs); +} + long SetLiveLazyPullStreamInfoConfigRequest::getCallerParentId()const { return callerParentId_; @@ -33,7 +44,7 @@ long SetLiveLazyPullStreamInfoConfigRequest::getCallerParentId()const void SetLiveLazyPullStreamInfoConfigRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool SetLiveLazyPullStreamInfoConfigRequest::getProxy_original_security_transport()const @@ -44,7 +55,7 @@ bool SetLiveLazyPullStreamInfoConfigRequest::getProxy_original_security_transpor void SetLiveLazyPullStreamInfoConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string SetLiveLazyPullStreamInfoConfigRequest::getProxy_original_source_ip()const @@ -55,7 +66,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getProxy_original_source_ip( void SetLiveLazyPullStreamInfoConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string SetLiveLazyPullStreamInfoConfigRequest::getOwnerIdLoginEmail()const @@ -66,7 +77,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getOwnerIdLoginEmail()const void SetLiveLazyPullStreamInfoConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerType()const @@ -77,7 +88,18 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerType()const void SetLiveLazyPullStreamInfoConfigRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getEagleEyeRpcId()const +{ + return eagleEyeRpcId_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId) +{ + eagleEyeRpcId_ = eagleEyeRpcId; + setCoreParameter("EagleEyeRpcId", eagleEyeRpcId); } std::string SetLiveLazyPullStreamInfoConfigRequest::getAccessKeyId()const @@ -88,7 +110,18 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getAccessKeyId()const void SetLiveLazyPullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getEagleEyeTraceId()const +{ + return eagleEyeTraceId_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId) +{ + eagleEyeTraceId_ = eagleEyeTraceId; + setCoreParameter("EagleEyeTraceId", eagleEyeTraceId); } std::string SetLiveLazyPullStreamInfoConfigRequest::getAppName()const @@ -99,7 +132,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getAppName()const void SetLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string SetLiveLazyPullStreamInfoConfigRequest::getSecurityToken()const @@ -110,7 +143,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getSecurityToken()const void SetLiveLazyPullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string SetLiveLazyPullStreamInfoConfigRequest::getRegionId()const @@ -121,7 +154,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getRegionId()const void SetLiveLazyPullStreamInfoConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SetLiveLazyPullStreamInfoConfigRequest::getRequestContent()const @@ -132,7 +165,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getRequestContent()const void SetLiveLazyPullStreamInfoConfigRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerBidEmail()const @@ -143,7 +176,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerBidEmail()const void SetLiveLazyPullStreamInfoConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerUidEmail()const @@ -154,7 +187,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerUidEmail()const void SetLiveLazyPullStreamInfoConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long SetLiveLazyPullStreamInfoConfigRequest::getCallerUid()const @@ -165,7 +198,7 @@ long SetLiveLazyPullStreamInfoConfigRequest::getCallerUid()const void SetLiveLazyPullStreamInfoConfigRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } std::string SetLiveLazyPullStreamInfoConfigRequest::getApp_ip()const @@ -176,7 +209,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getApp_ip()const void SetLiveLazyPullStreamInfoConfigRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string SetLiveLazyPullStreamInfoConfigRequest::getPopProduct()const @@ -187,7 +220,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getPopProduct()const void SetLiveLazyPullStreamInfoConfigRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthKey()const @@ -198,7 +231,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthKey()const void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthKey(const std::string& pullAuthKey) { pullAuthKey_ = pullAuthKey; - setParameter("PullAuthKey", pullAuthKey); + setCoreParameter("PullAuthKey", pullAuthKey); } std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthType()const @@ -209,7 +242,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthType()const void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthType(const std::string& pullAuthType) { pullAuthType_ = pullAuthType; - setParameter("PullAuthType", pullAuthType); + setCoreParameter("PullAuthType", pullAuthType); } std::string SetLiveLazyPullStreamInfoConfigRequest::getDomainName()const @@ -220,7 +253,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getDomainName()const void SetLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string SetLiveLazyPullStreamInfoConfigRequest::getPullDomainName()const @@ -231,7 +264,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getPullDomainName()const void SetLiveLazyPullStreamInfoConfigRequest::setPullDomainName(const std::string& pullDomainName) { pullDomainName_ = pullDomainName; - setParameter("PullDomainName", pullDomainName); + setCoreParameter("PullDomainName", pullDomainName); } std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerBid()const @@ -242,7 +275,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getCallerBid()const void SetLiveLazyPullStreamInfoConfigRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long SetLiveLazyPullStreamInfoConfigRequest::getOwnerId()const @@ -253,7 +286,7 @@ long SetLiveLazyPullStreamInfoConfigRequest::getOwnerId()const void SetLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string SetLiveLazyPullStreamInfoConfigRequest::getVersion()const @@ -264,7 +297,7 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getVersion()const void SetLiveLazyPullStreamInfoConfigRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } bool SetLiveLazyPullStreamInfoConfigRequest::getProxy_trust_transport_info()const @@ -275,7 +308,7 @@ bool SetLiveLazyPullStreamInfoConfigRequest::getProxy_trust_transport_info()cons void SetLiveLazyPullStreamInfoConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool SetLiveLazyPullStreamInfoConfigRequest::getAk_mfa_present()const @@ -286,7 +319,7 @@ bool SetLiveLazyPullStreamInfoConfigRequest::getAk_mfa_present()const void SetLiveLazyPullStreamInfoConfigRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } bool SetLiveLazyPullStreamInfoConfigRequest::getSecurity_transport()const @@ -297,7 +330,7 @@ bool SetLiveLazyPullStreamInfoConfigRequest::getSecurity_transport()const void SetLiveLazyPullStreamInfoConfigRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAppName()const @@ -308,7 +341,18 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAppName()const void SetLiveLazyPullStreamInfoConfigRequest::setPullAppName(const std::string& pullAppName) { pullAppName_ = pullAppName; - setParameter("PullAppName", pullAppName); + setCoreParameter("PullAppName", pullAppName); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getServiceCode()const +{ + return serviceCode_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setCoreParameter("ServiceCode", serviceCode); } std::string SetLiveLazyPullStreamInfoConfigRequest::getRequestId()const @@ -319,7 +363,18 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getRequestId()const void SetLiveLazyPullStreamInfoConfigRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); +} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getEagleEyeUserData()const +{ + return eagleEyeUserData_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setEagleEyeUserData(const std::string& eagleEyeUserData) +{ + eagleEyeUserData_ = eagleEyeUserData; + setCoreParameter("EagleEyeUserData", eagleEyeUserData); } std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol()const @@ -330,6 +385,6 @@ std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol()const void SetLiveLazyPullStreamInfoConfigRequest::setPullProtocol(const std::string& pullProtocol) { pullProtocol_ = pullProtocol; - setParameter("PullProtocol", pullProtocol); + setCoreParameter("PullProtocol", pullProtocol); } diff --git a/live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc b/live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc index 1546c05fa..4d5445b52 100644 --- a/live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc +++ b/live/src/model/SetLiveLazyPullStreamInfoConfigResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -SetLiveLazyPullStreamInfoConfigResult::SetLiveLazyPullStreamInfoConfigResult() : - ServiceResult() -{} - -SetLiveLazyPullStreamInfoConfigResult::SetLiveLazyPullStreamInfoConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetLiveLazyPullStreamInfoConfigResult::~SetLiveLazyPullStreamInfoConfigResult() -{} - -void SetLiveLazyPullStreamInfoConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SetLiveLazyPullStreamInfoConfigResult::SetLiveLazyPullStreamInfoConfigResult() : + ServiceResult() +{} + +SetLiveLazyPullStreamInfoConfigResult::SetLiveLazyPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveLazyPullStreamInfoConfigResult::~SetLiveLazyPullStreamInfoConfigResult() +{} + +void SetLiveLazyPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/SetLiveStreamDelayConfigRequest.cc b/live/src/model/SetLiveStreamDelayConfigRequest.cc new file mode 100644 index 000000000..89aec7bee --- /dev/null +++ b/live/src/model/SetLiveStreamDelayConfigRequest.cc @@ -0,0 +1,335 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveStreamDelayConfigRequest; + +SetLiveStreamDelayConfigRequest::SetLiveStreamDelayConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetLiveStreamDelayConfig") +{} + +SetLiveStreamDelayConfigRequest::~SetLiveStreamDelayConfigRequest() +{} + +std::string SetLiveStreamDelayConfigRequest::getFlvLevel()const +{ + return flvLevel_; +} + +void SetLiveStreamDelayConfigRequest::setFlvLevel(const std::string& flvLevel) +{ + flvLevel_ = flvLevel; + setCoreParameter("FlvLevel", flvLevel); +} + +long SetLiveStreamDelayConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void SetLiveStreamDelayConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool SetLiveStreamDelayConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void SetLiveStreamDelayConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string SetLiveStreamDelayConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void SetLiveStreamDelayConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string SetLiveStreamDelayConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void SetLiveStreamDelayConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string SetLiveStreamDelayConfigRequest::getCallerType()const +{ + return callerType_; +} + +void SetLiveStreamDelayConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string SetLiveStreamDelayConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetLiveStreamDelayConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SetLiveStreamDelayConfigRequest::getHlsLevel()const +{ + return hlsLevel_; +} + +void SetLiveStreamDelayConfigRequest::setHlsLevel(const std::string& hlsLevel) +{ + hlsLevel_ = hlsLevel; + setCoreParameter("HlsLevel", hlsLevel); +} + +std::string SetLiveStreamDelayConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetLiveStreamDelayConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetLiveStreamDelayConfigRequest::getRegionId()const +{ + return regionId_; +} + +void SetLiveStreamDelayConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string SetLiveStreamDelayConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void SetLiveStreamDelayConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string SetLiveStreamDelayConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void SetLiveStreamDelayConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string SetLiveStreamDelayConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void SetLiveStreamDelayConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long SetLiveStreamDelayConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void SetLiveStreamDelayConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string SetLiveStreamDelayConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void SetLiveStreamDelayConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string SetLiveStreamDelayConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void SetLiveStreamDelayConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +int SetLiveStreamDelayConfigRequest::getRtmpDelay()const +{ + return rtmpDelay_; +} + +void SetLiveStreamDelayConfigRequest::setRtmpDelay(int rtmpDelay) +{ + rtmpDelay_ = rtmpDelay; + setCoreParameter("RtmpDelay", std::to_string(rtmpDelay)); +} + +std::string SetLiveStreamDelayConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetLiveStreamDelayConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string SetLiveStreamDelayConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void SetLiveStreamDelayConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long SetLiveStreamDelayConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetLiveStreamDelayConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetLiveStreamDelayConfigRequest::getVersion()const +{ + return version_; +} + +void SetLiveStreamDelayConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool SetLiveStreamDelayConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void SetLiveStreamDelayConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool SetLiveStreamDelayConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void SetLiveStreamDelayConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool SetLiveStreamDelayConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void SetLiveStreamDelayConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string SetLiveStreamDelayConfigRequest::getRequestId()const +{ + return requestId_; +} + +void SetLiveStreamDelayConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +int SetLiveStreamDelayConfigRequest::getFlvDelay()const +{ + return flvDelay_; +} + +void SetLiveStreamDelayConfigRequest::setFlvDelay(int flvDelay) +{ + flvDelay_ = flvDelay; + setCoreParameter("FlvDelay", std::to_string(flvDelay)); +} + +std::string SetLiveStreamDelayConfigRequest::getRtmpLevel()const +{ + return rtmpLevel_; +} + +void SetLiveStreamDelayConfigRequest::setRtmpLevel(const std::string& rtmpLevel) +{ + rtmpLevel_ = rtmpLevel; + setCoreParameter("RtmpLevel", rtmpLevel); +} + +int SetLiveStreamDelayConfigRequest::getHlsDelay()const +{ + return hlsDelay_; +} + +void SetLiveStreamDelayConfigRequest::setHlsDelay(int hlsDelay) +{ + hlsDelay_ = hlsDelay; + setCoreParameter("HlsDelay", std::to_string(hlsDelay)); +} + diff --git a/live/src/model/DeleteLiveSpecificConfigResult.cc b/live/src/model/SetLiveStreamDelayConfigResult.cc similarity index 72% rename from live/src/model/DeleteLiveSpecificConfigResult.cc rename to live/src/model/SetLiveStreamDelayConfigResult.cc index 29d327d3e..f30b1eadc 100644 --- a/live/src/model/DeleteLiveSpecificConfigResult.cc +++ b/live/src/model/SetLiveStreamDelayConfigResult.cc @@ -1,45 +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; - -DeleteLiveSpecificConfigResult::DeleteLiveSpecificConfigResult() : - ServiceResult() -{} - -DeleteLiveSpecificConfigResult::DeleteLiveSpecificConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveSpecificConfigResult::~DeleteLiveSpecificConfigResult() -{} - -void DeleteLiveSpecificConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +SetLiveStreamDelayConfigResult::SetLiveStreamDelayConfigResult() : + ServiceResult() +{} + +SetLiveStreamDelayConfigResult::SetLiveStreamDelayConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveStreamDelayConfigResult::~SetLiveStreamDelayConfigResult() +{} + +void SetLiveStreamDelayConfigResult::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/SetLiveStreamOptimizedFeatureConfigRequest.cc b/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc new file mode 100644 index 000000000..2aa6277c7 --- /dev/null +++ b/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc @@ -0,0 +1,346 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::SetLiveStreamOptimizedFeatureConfigRequest; + +SetLiveStreamOptimizedFeatureConfigRequest::SetLiveStreamOptimizedFeatureConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetLiveStreamOptimizedFeatureConfig") +{} + +SetLiveStreamOptimizedFeatureConfigRequest::~SetLiveStreamOptimizedFeatureConfigRequest() +{} + +long SetLiveStreamOptimizedFeatureConfigRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool SetLiveStreamOptimizedFeatureConfigRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getCallerType()const +{ + return callerType_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getEagleEyeRpcId()const +{ + return eagleEyeRpcId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId) +{ + eagleEyeRpcId_ = eagleEyeRpcId; + setCoreParameter("EagleEyeRpcId", eagleEyeRpcId); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigStatus()const +{ + return configStatus_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigStatus(const std::string& configStatus) +{ + configStatus_ = configStatus; + setCoreParameter("ConfigStatus", configStatus); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getEagleEyeTraceId()const +{ + return eagleEyeTraceId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId) +{ + eagleEyeTraceId_ = eagleEyeTraceId; + setCoreParameter("EagleEyeTraceId", eagleEyeTraceId); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getRegionId()const +{ + return regionId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getRequestContent()const +{ + return requestContent_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigName()const +{ + return configName_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string& configName) +{ + configName_ = configName; + setCoreParameter("ConfigName", configName); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long SetLiveStreamOptimizedFeatureConfigRequest::getCallerUid()const +{ + return callerUid_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getApp_ip()const +{ + return app_ip_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getPopProduct()const +{ + return popProduct_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigValue()const +{ + return configValue_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigValue(const std::string& configValue) +{ + configValue_ = configValue; + setCoreParameter("ConfigValue", configValue); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getCallerBid()const +{ + return callerBid_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long SetLiveStreamOptimizedFeatureConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getVersion()const +{ + return version_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool SetLiveStreamOptimizedFeatureConfigRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool SetLiveStreamOptimizedFeatureConfigRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool SetLiveStreamOptimizedFeatureConfigRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getServiceCode()const +{ + return serviceCode_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setCoreParameter("ServiceCode", serviceCode); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getRequestId()const +{ + return requestId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getEagleEyeUserData()const +{ + return eagleEyeUserData_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setEagleEyeUserData(const std::string& eagleEyeUserData) +{ + eagleEyeUserData_ = eagleEyeUserData; + setCoreParameter("EagleEyeUserData", eagleEyeUserData); +} + diff --git a/live/src/model/SetLiveStreamOptimizedFeatureConfigResult.cc b/live/src/model/SetLiveStreamOptimizedFeatureConfigResult.cc new file mode 100644 index 000000000..7aad95eaf --- /dev/null +++ b/live/src/model/SetLiveStreamOptimizedFeatureConfigResult.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; + +SetLiveStreamOptimizedFeatureConfigResult::SetLiveStreamOptimizedFeatureConfigResult() : + ServiceResult() +{} + +SetLiveStreamOptimizedFeatureConfigResult::SetLiveStreamOptimizedFeatureConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveStreamOptimizedFeatureConfigResult::~SetLiveStreamOptimizedFeatureConfigResult() +{} + +void SetLiveStreamOptimizedFeatureConfigResult::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 index ad384305a..ff5408bc3 100644 --- a/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::getAuthKey()const { return authKey_; @@ -33,7 +33,7 @@ std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthKey()const void SetLiveStreamsNotifyUrlConfigRequest::setAuthKey(const std::string& authKey) { authKey_ = authKey; - setParameter("AuthKey", authKey); + setCoreParameter("AuthKey", authKey); } std::string SetLiveStreamsNotifyUrlConfigRequest::getRegionId()const @@ -44,7 +44,7 @@ std::string SetLiveStreamsNotifyUrlConfigRequest::getRegionId()const void SetLiveStreamsNotifyUrlConfigRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName()const void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl()const @@ -66,7 +66,7 @@ std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl()const void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string& notifyUrl) { notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); + setCoreParameter("NotifyUrl", notifyUrl); } long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId()const @@ -77,7 +77,7 @@ long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId()const void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthType()const @@ -88,6 +88,6 @@ std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthType()const void SetLiveStreamsNotifyUrlConfigRequest::setAuthType(const std::string& authType) { authType_ = authType; - setParameter("AuthType", authType); + setCoreParameter("AuthType", authType); } diff --git a/live/src/model/SetLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/SetLiveStreamsNotifyUrlConfigResult.cc index d299cd116..a2b721702 100644 --- a/live/src/model/SetLiveStreamsNotifyUrlConfigResult.cc +++ b/live/src/model/SetLiveStreamsNotifyUrlConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/StartBoardRecordRequest.cc b/live/src/model/StartBoardRecordRequest.cc new file mode 100644 index 000000000..027d43b8a --- /dev/null +++ b/live/src/model/StartBoardRecordRequest.cc @@ -0,0 +1,291 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::StartBoardRecordRequest; + +StartBoardRecordRequest::StartBoardRecordRequest() : + RpcServiceRequest("live", "2016-11-01", "StartBoardRecord") +{} + +StartBoardRecordRequest::~StartBoardRecordRequest() +{} + +long StartBoardRecordRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void StartBoardRecordRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool StartBoardRecordRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void StartBoardRecordRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string StartBoardRecordRequest::getStartTime()const +{ + return startTime_; +} + +void StartBoardRecordRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +std::string StartBoardRecordRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void StartBoardRecordRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string StartBoardRecordRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void StartBoardRecordRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string StartBoardRecordRequest::getCallerType()const +{ + return callerType_; +} + +void StartBoardRecordRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string StartBoardRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void StartBoardRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string StartBoardRecordRequest::getSecurityToken()const +{ + return securityToken_; +} + +void StartBoardRecordRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string StartBoardRecordRequest::getRegionId()const +{ + return regionId_; +} + +void StartBoardRecordRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string StartBoardRecordRequest::getRequestContent()const +{ + return requestContent_; +} + +void StartBoardRecordRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string StartBoardRecordRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void StartBoardRecordRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string StartBoardRecordRequest::getBoardId()const +{ + return boardId_; +} + +void StartBoardRecordRequest::setBoardId(const std::string& boardId) +{ + boardId_ = boardId; + setCoreParameter("BoardId", boardId); +} + +std::string StartBoardRecordRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void StartBoardRecordRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long StartBoardRecordRequest::getCallerUid()const +{ + return callerUid_; +} + +void StartBoardRecordRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string StartBoardRecordRequest::getApp_ip()const +{ + return app_ip_; +} + +void StartBoardRecordRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string StartBoardRecordRequest::getPopProduct()const +{ + return popProduct_; +} + +void StartBoardRecordRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string StartBoardRecordRequest::getCallerBid()const +{ + return callerBid_; +} + +void StartBoardRecordRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long StartBoardRecordRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartBoardRecordRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StartBoardRecordRequest::getVersion()const +{ + return version_; +} + +void StartBoardRecordRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool StartBoardRecordRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void StartBoardRecordRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool StartBoardRecordRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void StartBoardRecordRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool StartBoardRecordRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void StartBoardRecordRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string StartBoardRecordRequest::getRequestId()const +{ + return requestId_; +} + +void StartBoardRecordRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string StartBoardRecordRequest::getAppId()const +{ + return appId_; +} + +void StartBoardRecordRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + diff --git a/live/src/model/StartBoardRecordResult.cc b/live/src/model/StartBoardRecordResult.cc new file mode 100644 index 000000000..89f7a86f9 --- /dev/null +++ b/live/src/model/StartBoardRecordResult.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; + +StartBoardRecordResult::StartBoardRecordResult() : + ServiceResult() +{} + +StartBoardRecordResult::StartBoardRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartBoardRecordResult::~StartBoardRecordResult() +{} + +void StartBoardRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + +} + +std::string StartBoardRecordResult::getRecordId()const +{ + return recordId_; +} + diff --git a/live/src/model/StartCasterRequest.cc b/live/src/model/StartCasterRequest.cc index c349051e3..ebf2c8bfb 100644 --- a/live/src/model/StartCasterRequest.cc +++ b/live/src/model/StartCasterRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string StartCasterRequest::getCasterId()const void StartCasterRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long StartCasterRequest::getOwnerId()const @@ -44,6 +44,6 @@ long StartCasterRequest::getOwnerId()const void StartCasterRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StartCasterResult.cc b/live/src/model/StartCasterResult.cc index 9d4448770..ddbf459da 100644 --- a/live/src/model/StartCasterResult.cc +++ b/live/src/model/StartCasterResult.cc @@ -1,45 +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; - -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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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) { @@ -72,9 +72,9 @@ void StartCasterResult::parse(const std::string &payload) } pgmSceneInfos_.push_back(pgmSceneInfosObject); } - -} - + +} + std::vector StartCasterResult::getPvwSceneInfos()const { return pvwSceneInfos_; diff --git a/live/src/model/StartCasterSceneRequest.cc b/live/src/model/StartCasterSceneRequest.cc index 8c9aef163..ae25bbac4 100644 --- a/live/src/model/StartCasterSceneRequest.cc +++ b/live/src/model/StartCasterSceneRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string StartCasterSceneRequest::getCasterId()const void StartCasterSceneRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string StartCasterSceneRequest::getSceneId()const @@ -44,7 +44,7 @@ std::string StartCasterSceneRequest::getSceneId()const void StartCasterSceneRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long StartCasterSceneRequest::getOwnerId()const @@ -55,6 +55,6 @@ long StartCasterSceneRequest::getOwnerId()const void StartCasterSceneRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StartCasterSceneResult.cc b/live/src/model/StartCasterSceneResult.cc index 9bc09352c..e4392ed24 100644 --- a/live/src/model/StartCasterSceneResult.cc +++ b/live/src/model/StartCasterSceneResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/StartLiveDomainRequest.cc b/live/src/model/StartLiveDomainRequest.cc index bd306083d..5bdf5a2c3 100644 --- a/live/src/model/StartLiveDomainRequest.cc +++ b/live/src/model/StartLiveDomainRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::StartLiveDomainRequest; - -StartLiveDomainRequest::StartLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "StartLiveDomain") -{} - -StartLiveDomainRequest::~StartLiveDomainRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::StartLiveDomainRequest; + +StartLiveDomainRequest::StartLiveDomainRequest() : + RpcServiceRequest("live", "2016-11-01", "StartLiveDomain") +{} + +StartLiveDomainRequest::~StartLiveDomainRequest() +{} + std::string StartLiveDomainRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string StartLiveDomainRequest::getSecurityToken()const void StartLiveDomainRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string StartLiveDomainRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string StartLiveDomainRequest::getDomainName()const void StartLiveDomainRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long StartLiveDomainRequest::getOwnerId()const @@ -55,17 +55,6 @@ long StartLiveDomainRequest::getOwnerId()const void StartLiveDomainRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string StartLiveDomainRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void StartLiveDomainRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StartLiveDomainResult.cc b/live/src/model/StartLiveDomainResult.cc index 6c1be8cc7..eabc4beb4 100644 --- a/live/src/model/StartLiveDomainResult.cc +++ b/live/src/model/StartLiveDomainResult.cc @@ -1,45 +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; - -StartLiveDomainResult::StartLiveDomainResult() : - ServiceResult() -{} - -StartLiveDomainResult::StartLiveDomainResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StartLiveDomainResult::~StartLiveDomainResult() -{} - -void StartLiveDomainResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +StartLiveDomainResult::StartLiveDomainResult() : + ServiceResult() +{} + +StartLiveDomainResult::StartLiveDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartLiveDomainResult::~StartLiveDomainResult() +{} + +void StartLiveDomainResult::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/StartLiveIndexRequest.cc b/live/src/model/StartLiveIndexRequest.cc new file mode 100644 index 000000000..dc62c3986 --- /dev/null +++ b/live/src/model/StartLiveIndexRequest.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::StartLiveIndexRequest; + +StartLiveIndexRequest::StartLiveIndexRequest() : + RpcServiceRequest("live", "2016-11-01", "StartLiveIndex") +{} + +StartLiveIndexRequest::~StartLiveIndexRequest() +{} + +std::string StartLiveIndexRequest::getOssBucket()const +{ + return ossBucket_; +} + +void StartLiveIndexRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setCoreParameter("OssBucket", ossBucket); +} + +std::string StartLiveIndexRequest::getTokenId()const +{ + return tokenId_; +} + +void StartLiveIndexRequest::setTokenId(const std::string& tokenId) +{ + tokenId_ = tokenId; + setCoreParameter("TokenId", tokenId); +} + +std::string StartLiveIndexRequest::getDomainName()const +{ + return domainName_; +} + +void StartLiveIndexRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string StartLiveIndexRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void StartLiveIndexRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setCoreParameter("OssEndpoint", ossEndpoint); +} + +std::string StartLiveIndexRequest::getInputUrl()const +{ + return inputUrl_; +} + +void StartLiveIndexRequest::setInputUrl(const std::string& inputUrl) +{ + inputUrl_ = inputUrl; + setCoreParameter("InputUrl", inputUrl); +} + +long StartLiveIndexRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartLiveIndexRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StartLiveIndexRequest::getAppName()const +{ + return appName_; +} + +void StartLiveIndexRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setCoreParameter("AppName", appName); +} + +std::string StartLiveIndexRequest::getRegionId()const +{ + return regionId_; +} + +void StartLiveIndexRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +int StartLiveIndexRequest::getInterval()const +{ + return interval_; +} + +void StartLiveIndexRequest::setInterval(int interval) +{ + interval_ = interval; + setCoreParameter("Interval", std::to_string(interval)); +} + +std::string StartLiveIndexRequest::getOssRamRole()const +{ + return ossRamRole_; +} + +void StartLiveIndexRequest::setOssRamRole(const std::string& ossRamRole) +{ + ossRamRole_ = ossRamRole; + setCoreParameter("OssRamRole", ossRamRole); +} + +std::string StartLiveIndexRequest::getStreamName()const +{ + return streamName_; +} + +void StartLiveIndexRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setCoreParameter("StreamName", streamName); +} + +std::string StartLiveIndexRequest::getOssUserId()const +{ + return ossUserId_; +} + +void StartLiveIndexRequest::setOssUserId(const std::string& ossUserId) +{ + ossUserId_ = ossUserId; + setCoreParameter("OssUserId", ossUserId); +} + diff --git a/live/src/model/StartLiveIndexResult.cc b/live/src/model/StartLiveIndexResult.cc new file mode 100644 index 000000000..2a3553cda --- /dev/null +++ b/live/src/model/StartLiveIndexResult.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; + +StartLiveIndexResult::StartLiveIndexResult() : + ServiceResult() +{} + +StartLiveIndexResult::StartLiveIndexResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartLiveIndexResult::~StartLiveIndexResult() +{} + +void StartLiveIndexResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["TaskId"].isNull()) + taskId_ = value["TaskId"].asString(); + +} + +std::string StartLiveIndexResult::getTaskId()const +{ + return taskId_; +} + diff --git a/live/src/model/StartMixStreamsServiceRequest.cc b/live/src/model/StartMixStreamsServiceRequest.cc deleted file mode 100644 index 5b125b590..000000000 --- a/live/src/model/StartMixStreamsServiceRequest.cc +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index af48b1997..000000000 --- a/live/src/model/StartMixStreamsServiceResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index ab2b90cd7..000000000 --- a/live/src/model/StartMultipleStreamMixServiceRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 5e977069a..000000000 --- a/live/src/model/StartMultipleStreamMixServiceResult.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 index bbf9ad277..40dced69e 100644 --- a/live/src/model/StopCasterRequest.cc +++ b/live/src/model/StopCasterRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string StopCasterRequest::getCasterId()const void StopCasterRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } long StopCasterRequest::getOwnerId()const @@ -44,6 +44,6 @@ long StopCasterRequest::getOwnerId()const void StopCasterRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StopCasterResult.cc b/live/src/model/StopCasterResult.cc index 27f251f20..b4c1163dc 100644 --- a/live/src/model/StopCasterResult.cc +++ b/live/src/model/StopCasterResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 6b79e65ef..2c5c4be37 100644 --- a/live/src/model/StopCasterSceneRequest.cc +++ b/live/src/model/StopCasterSceneRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string StopCasterSceneRequest::getCasterId()const void StopCasterSceneRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string StopCasterSceneRequest::getSceneId()const @@ -44,7 +44,7 @@ std::string StopCasterSceneRequest::getSceneId()const void StopCasterSceneRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } long StopCasterSceneRequest::getOwnerId()const @@ -55,6 +55,6 @@ long StopCasterSceneRequest::getOwnerId()const void StopCasterSceneRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StopCasterSceneResult.cc b/live/src/model/StopCasterSceneResult.cc index 7a807bbfd..267f81ae9 100644 --- a/live/src/model/StopCasterSceneResult.cc +++ b/live/src/model/StopCasterSceneResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/StopLiveDomainRequest.cc b/live/src/model/StopLiveDomainRequest.cc index 7731cac46..0b4de0bca 100644 --- a/live/src/model/StopLiveDomainRequest.cc +++ b/live/src/model/StopLiveDomainRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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::StopLiveDomainRequest; - -StopLiveDomainRequest::StopLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "StopLiveDomain") -{} - -StopLiveDomainRequest::~StopLiveDomainRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::StopLiveDomainRequest; + +StopLiveDomainRequest::StopLiveDomainRequest() : + RpcServiceRequest("live", "2016-11-01", "StopLiveDomain") +{} + +StopLiveDomainRequest::~StopLiveDomainRequest() +{} + std::string StopLiveDomainRequest::getSecurityToken()const { return securityToken_; @@ -33,7 +33,7 @@ std::string StopLiveDomainRequest::getSecurityToken()const void StopLiveDomainRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string StopLiveDomainRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string StopLiveDomainRequest::getDomainName()const void StopLiveDomainRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } long StopLiveDomainRequest::getOwnerId()const @@ -55,17 +55,6 @@ long StopLiveDomainRequest::getOwnerId()const void StopLiveDomainRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string StopLiveDomainRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void StopLiveDomainRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StopLiveDomainResult.cc b/live/src/model/StopLiveDomainResult.cc index 938561b76..ad4517be4 100644 --- a/live/src/model/StopLiveDomainResult.cc +++ b/live/src/model/StopLiveDomainResult.cc @@ -1,45 +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; - -StopLiveDomainResult::StopLiveDomainResult() : - ServiceResult() -{} - -StopLiveDomainResult::StopLiveDomainResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StopLiveDomainResult::~StopLiveDomainResult() -{} - -void StopLiveDomainResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +StopLiveDomainResult::StopLiveDomainResult() : + ServiceResult() +{} + +StopLiveDomainResult::StopLiveDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopLiveDomainResult::~StopLiveDomainResult() +{} + +void StopLiveDomainResult::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/StopLiveIndexRequest.cc b/live/src/model/StopLiveIndexRequest.cc new file mode 100644 index 000000000..032e78a67 --- /dev/null +++ b/live/src/model/StopLiveIndexRequest.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::StopLiveIndexRequest; + +StopLiveIndexRequest::StopLiveIndexRequest() : + RpcServiceRequest("live", "2016-11-01", "StopLiveIndex") +{} + +StopLiveIndexRequest::~StopLiveIndexRequest() +{} + +std::string StopLiveIndexRequest::getAppName()const +{ + return appName_; +} + +void StopLiveIndexRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setCoreParameter("AppName", appName); +} + +std::string StopLiveIndexRequest::getRegionId()const +{ + return regionId_; +} + +void StopLiveIndexRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string StopLiveIndexRequest::getDomainName()const +{ + return domainName_; +} + +void StopLiveIndexRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +long StopLiveIndexRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopLiveIndexRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StopLiveIndexRequest::getStreamName()const +{ + return streamName_; +} + +void StopLiveIndexRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setCoreParameter("StreamName", streamName); +} + +std::string StopLiveIndexRequest::getTaskId()const +{ + return taskId_; +} + +void StopLiveIndexRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setCoreParameter("TaskId", taskId); +} + diff --git a/live/src/model/AddLiveMixConfigResult.cc b/live/src/model/StopLiveIndexResult.cc similarity index 74% rename from live/src/model/AddLiveMixConfigResult.cc rename to live/src/model/StopLiveIndexResult.cc index e6482dd72..0feaaedfc 100644 --- a/live/src/model/AddLiveMixConfigResult.cc +++ b/live/src/model/StopLiveIndexResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +StopLiveIndexResult::StopLiveIndexResult() : + ServiceResult() +{} + +StopLiveIndexResult::StopLiveIndexResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopLiveIndexResult::~StopLiveIndexResult() +{} + +void StopLiveIndexResult::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 deleted file mode 100644 index e72cb9d62..000000000 --- a/live/src/model/StopMixStreamsServiceRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 8262831d3..000000000 --- a/live/src/model/StopMixStreamsServiceResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index 4103a683c..000000000 --- a/live/src/model/StopMultipleStreamMixServiceRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 2821bcbca..000000000 --- a/live/src/model/StopMultipleStreamMixServiceResult.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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/UpdateBoardCallbackRequest.cc b/live/src/model/UpdateBoardCallbackRequest.cc new file mode 100644 index 000000000..0fbe8dfd1 --- /dev/null +++ b/live/src/model/UpdateBoardCallbackRequest.cc @@ -0,0 +1,324 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateBoardCallbackRequest; + +UpdateBoardCallbackRequest::UpdateBoardCallbackRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateBoardCallback") +{} + +UpdateBoardCallbackRequest::~UpdateBoardCallbackRequest() +{} + +std::string UpdateBoardCallbackRequest::getAuthKey()const +{ + return authKey_; +} + +void UpdateBoardCallbackRequest::setAuthKey(const std::string& authKey) +{ + authKey_ = authKey; + setCoreParameter("AuthKey", authKey); +} + +long UpdateBoardCallbackRequest::getCallerParentId()const +{ + return callerParentId_; +} + +void UpdateBoardCallbackRequest::setCallerParentId(long callerParentId) +{ + callerParentId_ = callerParentId; + setCoreParameter("CallerParentId", std::to_string(callerParentId)); +} + +bool UpdateBoardCallbackRequest::getProxy_original_security_transport()const +{ + return proxy_original_security_transport_; +} + +void UpdateBoardCallbackRequest::setProxy_original_security_transport(bool proxy_original_security_transport) +{ + proxy_original_security_transport_ = proxy_original_security_transport; + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); +} + +std::string UpdateBoardCallbackRequest::getProxy_original_source_ip()const +{ + return proxy_original_source_ip_; +} + +void UpdateBoardCallbackRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) +{ + proxy_original_source_ip_ = proxy_original_source_ip; + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); +} + +std::string UpdateBoardCallbackRequest::getOwnerIdLoginEmail()const +{ + return ownerIdLoginEmail_; +} + +void UpdateBoardCallbackRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) +{ + ownerIdLoginEmail_ = ownerIdLoginEmail; + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); +} + +std::string UpdateBoardCallbackRequest::getCallerType()const +{ + return callerType_; +} + +void UpdateBoardCallbackRequest::setCallerType(const std::string& callerType) +{ + callerType_ = callerType; + setCoreParameter("CallerType", callerType); +} + +std::string UpdateBoardCallbackRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateBoardCallbackRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +int UpdateBoardCallbackRequest::getCallbackEnable()const +{ + return callbackEnable_; +} + +void UpdateBoardCallbackRequest::setCallbackEnable(int callbackEnable) +{ + callbackEnable_ = callbackEnable; + setCoreParameter("CallbackEnable", std::to_string(callbackEnable)); +} + +std::string UpdateBoardCallbackRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UpdateBoardCallbackRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string UpdateBoardCallbackRequest::getRegionId()const +{ + return regionId_; +} + +void UpdateBoardCallbackRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string UpdateBoardCallbackRequest::getRequestContent()const +{ + return requestContent_; +} + +void UpdateBoardCallbackRequest::setRequestContent(const std::string& requestContent) +{ + requestContent_ = requestContent; + setCoreParameter("RequestContent", requestContent); +} + +std::string UpdateBoardCallbackRequest::getCallerBidEmail()const +{ + return callerBidEmail_; +} + +void UpdateBoardCallbackRequest::setCallerBidEmail(const std::string& callerBidEmail) +{ + callerBidEmail_ = callerBidEmail; + setCoreParameter("CallerBidEmail", callerBidEmail); +} + +std::string UpdateBoardCallbackRequest::getCallerUidEmail()const +{ + return callerUidEmail_; +} + +void UpdateBoardCallbackRequest::setCallerUidEmail(const std::string& callerUidEmail) +{ + callerUidEmail_ = callerUidEmail; + setCoreParameter("CallerUidEmail", callerUidEmail); +} + +long UpdateBoardCallbackRequest::getCallerUid()const +{ + return callerUid_; +} + +void UpdateBoardCallbackRequest::setCallerUid(long callerUid) +{ + callerUid_ = callerUid; + setCoreParameter("CallerUid", std::to_string(callerUid)); +} + +std::string UpdateBoardCallbackRequest::getApp_ip()const +{ + return app_ip_; +} + +void UpdateBoardCallbackRequest::setApp_ip(const std::string& app_ip) +{ + app_ip_ = app_ip; + setCoreParameter("App_ip", app_ip); +} + +std::string UpdateBoardCallbackRequest::getPopProduct()const +{ + return popProduct_; +} + +void UpdateBoardCallbackRequest::setPopProduct(const std::string& popProduct) +{ + popProduct_ = popProduct; + setCoreParameter("PopProduct", popProduct); +} + +std::string UpdateBoardCallbackRequest::getCallbackEvents()const +{ + return callbackEvents_; +} + +void UpdateBoardCallbackRequest::setCallbackEvents(const std::string& callbackEvents) +{ + callbackEvents_ = callbackEvents; + setCoreParameter("CallbackEvents", callbackEvents); +} + +std::string UpdateBoardCallbackRequest::getCallerBid()const +{ + return callerBid_; +} + +void UpdateBoardCallbackRequest::setCallerBid(const std::string& callerBid) +{ + callerBid_ = callerBid; + setCoreParameter("CallerBid", callerBid); +} + +long UpdateBoardCallbackRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateBoardCallbackRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateBoardCallbackRequest::getVersion()const +{ + return version_; +} + +void UpdateBoardCallbackRequest::setVersion(const std::string& version) +{ + version_ = version; + setCoreParameter("Version", version); +} + +bool UpdateBoardCallbackRequest::getProxy_trust_transport_info()const +{ + return proxy_trust_transport_info_; +} + +void UpdateBoardCallbackRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) +{ + proxy_trust_transport_info_ = proxy_trust_transport_info; + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); +} + +bool UpdateBoardCallbackRequest::getAk_mfa_present()const +{ + return ak_mfa_present_; +} + +void UpdateBoardCallbackRequest::setAk_mfa_present(bool ak_mfa_present) +{ + ak_mfa_present_ = ak_mfa_present; + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); +} + +bool UpdateBoardCallbackRequest::getSecurity_transport()const +{ + return security_transport_; +} + +void UpdateBoardCallbackRequest::setSecurity_transport(bool security_transport) +{ + security_transport_ = security_transport; + setCoreParameter("Security_transport", security_transport ? "true" : "false"); +} + +std::string UpdateBoardCallbackRequest::getRequestId()const +{ + return requestId_; +} + +void UpdateBoardCallbackRequest::setRequestId(const std::string& requestId) +{ + requestId_ = requestId; + setCoreParameter("RequestId", requestId); +} + +std::string UpdateBoardCallbackRequest::getCallbackUri()const +{ + return callbackUri_; +} + +void UpdateBoardCallbackRequest::setCallbackUri(const std::string& callbackUri) +{ + callbackUri_ = callbackUri; + setCoreParameter("CallbackUri", callbackUri); +} + +std::string UpdateBoardCallbackRequest::getAppId()const +{ + return appId_; +} + +void UpdateBoardCallbackRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + +std::string UpdateBoardCallbackRequest::getAuthSwitch()const +{ + return authSwitch_; +} + +void UpdateBoardCallbackRequest::setAuthSwitch(const std::string& authSwitch) +{ + authSwitch_ = authSwitch; + setCoreParameter("AuthSwitch", authSwitch); +} + diff --git a/live/src/model/DeleteLiveMixConfigResult.cc b/live/src/model/UpdateBoardCallbackResult.cc similarity index 72% rename from live/src/model/DeleteLiveMixConfigResult.cc rename to live/src/model/UpdateBoardCallbackResult.cc index 00b2b1080..b7d5be1ec 100644 --- a/live/src/model/DeleteLiveMixConfigResult.cc +++ b/live/src/model/UpdateBoardCallbackResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +UpdateBoardCallbackResult::UpdateBoardCallbackResult() : + ServiceResult() +{} + +UpdateBoardCallbackResult::UpdateBoardCallbackResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateBoardCallbackResult::~UpdateBoardCallbackResult() +{} + +void UpdateBoardCallbackResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateBoardRequest.cc b/live/src/model/UpdateBoardRequest.cc index b43e3981c..39896a53b 100644 --- a/live/src/model/UpdateBoardRequest.cc +++ b/live/src/model/UpdateBoardRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateBoardRequest; - -UpdateBoardRequest::UpdateBoardRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateBoard") -{} - -UpdateBoardRequest::~UpdateBoardRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateBoardRequest; + +UpdateBoardRequest::UpdateBoardRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateBoard") +{} + +UpdateBoardRequest::~UpdateBoardRequest() +{} + std::string UpdateBoardRequest::getApp_ip()const { return app_ip_; @@ -33,7 +33,7 @@ std::string UpdateBoardRequest::getApp_ip()const void UpdateBoardRequest::setApp_ip(const std::string& app_ip) { app_ip_ = app_ip; - setParameter("App_ip", app_ip); + setCoreParameter("App_ip", app_ip); } std::string UpdateBoardRequest::getPopProduct()const @@ -44,7 +44,7 @@ std::string UpdateBoardRequest::getPopProduct()const void UpdateBoardRequest::setPopProduct(const std::string& popProduct) { popProduct_ = popProduct; - setParameter("PopProduct", popProduct); + setCoreParameter("PopProduct", popProduct); } long UpdateBoardRequest::getCallerParentId()const @@ -55,7 +55,7 @@ long UpdateBoardRequest::getCallerParentId()const void UpdateBoardRequest::setCallerParentId(long callerParentId) { callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); + setCoreParameter("CallerParentId", std::to_string(callerParentId)); } bool UpdateBoardRequest::getProxy_original_security_transport()const @@ -66,7 +66,7 @@ bool UpdateBoardRequest::getProxy_original_security_transport()const void UpdateBoardRequest::setProxy_original_security_transport(bool proxy_original_security_transport) { proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); + setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false"); } std::string UpdateBoardRequest::getCallerBid()const @@ -77,7 +77,7 @@ std::string UpdateBoardRequest::getCallerBid()const void UpdateBoardRequest::setCallerBid(const std::string& callerBid) { callerBid_ = callerBid; - setParameter("CallerBid", callerBid); + setCoreParameter("CallerBid", callerBid); } long UpdateBoardRequest::getOwnerId()const @@ -88,7 +88,7 @@ long UpdateBoardRequest::getOwnerId()const void UpdateBoardRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string UpdateBoardRequest::getProxy_original_source_ip()const @@ -99,7 +99,7 @@ std::string UpdateBoardRequest::getProxy_original_source_ip()const void UpdateBoardRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) { proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); + setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip); } std::string UpdateBoardRequest::getVersion()const @@ -110,7 +110,7 @@ std::string UpdateBoardRequest::getVersion()const void UpdateBoardRequest::setVersion(const std::string& version) { version_ = version; - setParameter("Version", version); + setCoreParameter("Version", version); } std::string UpdateBoardRequest::getOwnerIdLoginEmail()const @@ -121,7 +121,7 @@ std::string UpdateBoardRequest::getOwnerIdLoginEmail()const void UpdateBoardRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) { ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); + setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail); } std::string UpdateBoardRequest::getCallerType()const @@ -132,7 +132,7 @@ std::string UpdateBoardRequest::getCallerType()const void UpdateBoardRequest::setCallerType(const std::string& callerType) { callerType_ = callerType; - setParameter("CallerType", callerType); + setCoreParameter("CallerType", callerType); } bool UpdateBoardRequest::getProxy_trust_transport_info()const @@ -143,7 +143,7 @@ bool UpdateBoardRequest::getProxy_trust_transport_info()const void UpdateBoardRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) { proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); + setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false"); } bool UpdateBoardRequest::getAk_mfa_present()const @@ -154,7 +154,7 @@ bool UpdateBoardRequest::getAk_mfa_present()const void UpdateBoardRequest::setAk_mfa_present(bool ak_mfa_present) { ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); + setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false"); } std::string UpdateBoardRequest::getAccessKeyId()const @@ -165,7 +165,7 @@ std::string UpdateBoardRequest::getAccessKeyId()const void UpdateBoardRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); + setCoreParameter("AccessKeyId", accessKeyId); } bool UpdateBoardRequest::getSecurity_transport()const @@ -176,7 +176,7 @@ bool UpdateBoardRequest::getSecurity_transport()const void UpdateBoardRequest::setSecurity_transport(bool security_transport) { security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); + setCoreParameter("Security_transport", security_transport ? "true" : "false"); } std::string UpdateBoardRequest::getSecurityToken()const @@ -187,7 +187,7 @@ std::string UpdateBoardRequest::getSecurityToken()const void UpdateBoardRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string UpdateBoardRequest::getRegionId()const @@ -198,7 +198,7 @@ std::string UpdateBoardRequest::getRegionId()const void UpdateBoardRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string UpdateBoardRequest::getRequestId()const @@ -209,7 +209,7 @@ std::string UpdateBoardRequest::getRequestId()const void UpdateBoardRequest::setRequestId(const std::string& requestId) { requestId_ = requestId; - setParameter("RequestId", requestId); + setCoreParameter("RequestId", requestId); } std::string UpdateBoardRequest::getRequestContent()const @@ -220,7 +220,7 @@ std::string UpdateBoardRequest::getRequestContent()const void UpdateBoardRequest::setRequestContent(const std::string& requestContent) { requestContent_ = requestContent; - setParameter("RequestContent", requestContent); + setCoreParameter("RequestContent", requestContent); } std::string UpdateBoardRequest::getAppId()const @@ -231,7 +231,7 @@ std::string UpdateBoardRequest::getAppId()const void UpdateBoardRequest::setAppId(const std::string& appId) { appId_ = appId; - setParameter("AppId", appId); + setCoreParameter("AppId", appId); } std::string UpdateBoardRequest::getCallerBidEmail()const @@ -242,7 +242,7 @@ std::string UpdateBoardRequest::getCallerBidEmail()const void UpdateBoardRequest::setCallerBidEmail(const std::string& callerBidEmail) { callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); + setCoreParameter("CallerBidEmail", callerBidEmail); } std::string UpdateBoardRequest::getBoardData()const @@ -253,7 +253,7 @@ std::string UpdateBoardRequest::getBoardData()const void UpdateBoardRequest::setBoardData(const std::string& boardData) { boardData_ = boardData; - setParameter("BoardData", boardData); + setCoreParameter("BoardData", boardData); } std::string UpdateBoardRequest::getCallerUidEmail()const @@ -264,7 +264,7 @@ std::string UpdateBoardRequest::getCallerUidEmail()const void UpdateBoardRequest::setCallerUidEmail(const std::string& callerUidEmail) { callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); + setCoreParameter("CallerUidEmail", callerUidEmail); } long UpdateBoardRequest::getCallerUid()const @@ -275,6 +275,6 @@ long UpdateBoardRequest::getCallerUid()const void UpdateBoardRequest::setCallerUid(long callerUid) { callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); + setCoreParameter("CallerUid", std::to_string(callerUid)); } diff --git a/live/src/model/UpdateBoardResult.cc b/live/src/model/UpdateBoardResult.cc index 6fad19643..54e12c723 100644 --- a/live/src/model/UpdateBoardResult.cc +++ b/live/src/model/UpdateBoardResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -UpdateBoardResult::UpdateBoardResult() : - ServiceResult() -{} - -UpdateBoardResult::UpdateBoardResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateBoardResult::~UpdateBoardResult() -{} - -void UpdateBoardResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +UpdateBoardResult::UpdateBoardResult() : + ServiceResult() +{} + +UpdateBoardResult::UpdateBoardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateBoardResult::~UpdateBoardResult() +{} + +void UpdateBoardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateCasterSceneAudioRequest.cc b/live/src/model/UpdateCasterSceneAudioRequest.cc index 141a72573..0f26b6138 100644 --- a/live/src/model/UpdateCasterSceneAudioRequest.cc +++ b/live/src/model/UpdateCasterSceneAudioRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateCasterSceneAudioRequest; - -UpdateCasterSceneAudioRequest::UpdateCasterSceneAudioRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneAudio") -{} - -UpdateCasterSceneAudioRequest::~UpdateCasterSceneAudioRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateCasterSceneAudioRequest; + +UpdateCasterSceneAudioRequest::UpdateCasterSceneAudioRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneAudio") +{} + +UpdateCasterSceneAudioRequest::~UpdateCasterSceneAudioRequest() +{} + std::vector UpdateCasterSceneAudioRequest::getAudioLayer()const { return audioLayer_; @@ -37,9 +37,9 @@ void UpdateCasterSceneAudioRequest::setAudioLayer(const std::vector& for(int i = 0; i!= audioLayer.size(); i++) { auto obj = audioLayer.at(i); std::string str ="AudioLayer."+ std::to_string(i); - setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); - setParameter(str + ".VolumeRate", std::to_string(obj.volumeRate)); - setParameter(str + ".ValidChannel", obj.validChannel); + setCoreParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration)); + setCoreParameter(str + ".VolumeRate", std::to_string(obj.volumeRate)); + setCoreParameter(str + ".ValidChannel", obj.validChannel); } } @@ -51,7 +51,7 @@ std::string UpdateCasterSceneAudioRequest::getRegionId()const void UpdateCasterSceneAudioRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string UpdateCasterSceneAudioRequest::getCasterId()const @@ -62,7 +62,7 @@ std::string UpdateCasterSceneAudioRequest::getCasterId()const void UpdateCasterSceneAudioRequest::setCasterId(const std::string& casterId) { casterId_ = casterId; - setParameter("CasterId", casterId); + setCoreParameter("CasterId", casterId); } std::string UpdateCasterSceneAudioRequest::getSceneId()const @@ -73,7 +73,7 @@ std::string UpdateCasterSceneAudioRequest::getSceneId()const void UpdateCasterSceneAudioRequest::setSceneId(const std::string& sceneId) { sceneId_ = sceneId; - setParameter("SceneId", sceneId); + setCoreParameter("SceneId", sceneId); } std::vector UpdateCasterSceneAudioRequest::getMixList()const @@ -85,7 +85,7 @@ void UpdateCasterSceneAudioRequest::setMixList(const std::vector& m { mixList_ = mixList; for(int i = 0; i!= mixList.size(); i++) - setParameter("MixList."+ std::to_string(i), mixList.at(i)); + setCoreParameter("MixList."+ std::to_string(i), mixList.at(i)); } long UpdateCasterSceneAudioRequest::getOwnerId()const @@ -96,7 +96,7 @@ long UpdateCasterSceneAudioRequest::getOwnerId()const void UpdateCasterSceneAudioRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int UpdateCasterSceneAudioRequest::getFollowEnable()const @@ -107,6 +107,6 @@ int UpdateCasterSceneAudioRequest::getFollowEnable()const void UpdateCasterSceneAudioRequest::setFollowEnable(int followEnable) { followEnable_ = followEnable; - setParameter("FollowEnable", std::to_string(followEnable)); + setCoreParameter("FollowEnable", std::to_string(followEnable)); } diff --git a/live/src/model/UpdateCasterSceneAudioResult.cc b/live/src/model/UpdateCasterSceneAudioResult.cc index 339025bd7..287799160 100644 --- a/live/src/model/UpdateCasterSceneAudioResult.cc +++ b/live/src/model/UpdateCasterSceneAudioResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -UpdateCasterSceneAudioResult::UpdateCasterSceneAudioResult() : - ServiceResult() -{} - -UpdateCasterSceneAudioResult::UpdateCasterSceneAudioResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateCasterSceneAudioResult::~UpdateCasterSceneAudioResult() -{} - -void UpdateCasterSceneAudioResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +UpdateCasterSceneAudioResult::UpdateCasterSceneAudioResult() : + ServiceResult() +{} + +UpdateCasterSceneAudioResult::UpdateCasterSceneAudioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCasterSceneAudioResult::~UpdateCasterSceneAudioResult() +{} + +void UpdateCasterSceneAudioResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateCasterSceneConfigRequest.cc b/live/src/model/UpdateCasterSceneConfigRequest.cc index e90f05a64..7223c11bd 100644 --- a/live/src/model/UpdateCasterSceneConfigRequest.cc +++ b/live/src/model/UpdateCasterSceneConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -34,7 +34,7 @@ void UpdateCasterSceneConfigRequest::setComponentId(const std::vector -#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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 9c162403d..e25e05007 100644 --- a/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ int UpdateLiveAppSnapshotConfigRequest::getTimeInterval()const void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) { timeInterval_ = timeInterval; - setParameter("TimeInterval", std::to_string(timeInterval)); + setCoreParameter("TimeInterval", std::to_string(timeInterval)); } std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket()const @@ -44,7 +44,7 @@ std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket()const void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) { ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); + setCoreParameter("OssBucket", ossBucket); } std::string UpdateLiveAppSnapshotConfigRequest::getAppName()const @@ -55,7 +55,7 @@ std::string UpdateLiveAppSnapshotConfigRequest::getAppName()const void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken()const @@ -66,7 +66,7 @@ std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken()const void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string UpdateLiveAppSnapshotConfigRequest::getDomainName()const @@ -77,7 +77,7 @@ std::string UpdateLiveAppSnapshotConfigRequest::getDomainName()const void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint()const @@ -88,7 +88,7 @@ std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint()const void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) { ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); + setCoreParameter("OssEndpoint", ossEndpoint); } std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject()const @@ -99,7 +99,7 @@ std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject()const void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) { sequenceOssObject_ = sequenceOssObject; - setParameter("SequenceOssObject", sequenceOssObject); + setCoreParameter("SequenceOssObject", sequenceOssObject); } std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject()const @@ -110,7 +110,7 @@ std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject()const void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) { overwriteOssObject_ = overwriteOssObject; - setParameter("OverwriteOssObject", overwriteOssObject); + setCoreParameter("OverwriteOssObject", overwriteOssObject); } long UpdateLiveAppSnapshotConfigRequest::getOwnerId()const @@ -121,17 +121,6 @@ long UpdateLiveAppSnapshotConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/UpdateLiveAppSnapshotConfigResult.cc b/live/src/model/UpdateLiveAppSnapshotConfigResult.cc index f5a85f420..acc5fee6a 100644 --- a/live/src/model/UpdateLiveAppSnapshotConfigResult.cc +++ b/live/src/model/UpdateLiveAppSnapshotConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 0fcccbead..04600e6fd 100644 --- a/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string UpdateLiveDetectNotifyConfigRequest::getSecurityToken()const void UpdateLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string UpdateLiveDetectNotifyConfigRequest::getDomainName()const @@ -44,7 +44,7 @@ std::string UpdateLiveDetectNotifyConfigRequest::getDomainName()const void UpdateLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string UpdateLiveDetectNotifyConfigRequest::getNotifyUrl()const @@ -55,7 +55,7 @@ std::string UpdateLiveDetectNotifyConfigRequest::getNotifyUrl()const void UpdateLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) { notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); + setCoreParameter("NotifyUrl", notifyUrl); } long UpdateLiveDetectNotifyConfigRequest::getOwnerId()const @@ -66,17 +66,6 @@ long UpdateLiveDetectNotifyConfigRequest::getOwnerId()const 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); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/UpdateLiveDetectNotifyConfigResult.cc b/live/src/model/UpdateLiveDetectNotifyConfigResult.cc index d37eb5ec2..32ede5d92 100644 --- a/live/src/model/UpdateLiveDetectNotifyConfigResult.cc +++ b/live/src/model/UpdateLiveDetectNotifyConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 deleted file mode 100644 index b6b662b6f..000000000 --- a/live/src/model/UpdateLiveMixNotifyConfigRequest.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 7d81f3b2e..000000000 --- a/live/src/model/UpdateLiveMixNotifyConfigResult.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 index 5791cca3b..1bbe46248 100644 --- a/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string UpdateLiveRecordNotifyConfigRequest::getOnDemandUrl()const void UpdateLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) { onDemandUrl_ = onDemandUrl; - setParameter("OnDemandUrl", onDemandUrl); + setCoreParameter("OnDemandUrl", onDemandUrl); } std::string UpdateLiveRecordNotifyConfigRequest::getSecurityToken()const @@ -44,7 +44,7 @@ std::string UpdateLiveRecordNotifyConfigRequest::getSecurityToken()const void UpdateLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string UpdateLiveRecordNotifyConfigRequest::getDomainName()const @@ -55,7 +55,7 @@ std::string UpdateLiveRecordNotifyConfigRequest::getDomainName()const void UpdateLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string UpdateLiveRecordNotifyConfigRequest::getNotifyUrl()const @@ -66,7 +66,7 @@ std::string UpdateLiveRecordNotifyConfigRequest::getNotifyUrl()const void UpdateLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) { notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); + setCoreParameter("NotifyUrl", notifyUrl); } long UpdateLiveRecordNotifyConfigRequest::getOwnerId()const @@ -77,7 +77,7 @@ long UpdateLiveRecordNotifyConfigRequest::getOwnerId()const void UpdateLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } bool UpdateLiveRecordNotifyConfigRequest::getNeedStatusNotify()const @@ -88,17 +88,6 @@ bool UpdateLiveRecordNotifyConfigRequest::getNeedStatusNotify()const 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); + setCoreParameter("NeedStatusNotify", needStatusNotify ? "true" : "false"); } diff --git a/live/src/model/UpdateLiveRecordNotifyConfigResult.cc b/live/src/model/UpdateLiveRecordNotifyConfigResult.cc index 3f905006b..d17617643 100644 --- a/live/src/model/UpdateLiveRecordNotifyConfigResult.cc +++ b/live/src/model/UpdateLiveRecordNotifyConfigResult.cc @@ -1,45 +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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 index 9ef4c07eb..6f622c221 100644 --- a/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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_; @@ -33,7 +33,7 @@ std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssBucket()const void UpdateLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) { ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); + setCoreParameter("OssBucket", ossBucket); } std::string UpdateLiveSnapshotDetectPornConfigRequest::getAppName()const @@ -44,7 +44,7 @@ std::string UpdateLiveSnapshotDetectPornConfigRequest::getAppName()const void UpdateLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) { appName_ = appName; - setParameter("AppName", appName); + setCoreParameter("AppName", appName); } std::string UpdateLiveSnapshotDetectPornConfigRequest::getSecurityToken()const @@ -55,7 +55,7 @@ std::string UpdateLiveSnapshotDetectPornConfigRequest::getSecurityToken()const void UpdateLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) { securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); + setCoreParameter("SecurityToken", securityToken); } std::string UpdateLiveSnapshotDetectPornConfigRequest::getDomainName()const @@ -66,7 +66,7 @@ std::string UpdateLiveSnapshotDetectPornConfigRequest::getDomainName()const void UpdateLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) { domainName_ = domainName; - setParameter("DomainName", domainName); + setCoreParameter("DomainName", domainName); } std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const @@ -77,7 +77,7 @@ std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const void UpdateLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) { ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); + setCoreParameter("OssEndpoint", ossEndpoint); } int UpdateLiveSnapshotDetectPornConfigRequest::getInterval()const @@ -88,7 +88,7 @@ int UpdateLiveSnapshotDetectPornConfigRequest::getInterval()const void UpdateLiveSnapshotDetectPornConfigRequest::setInterval(int interval) { interval_ = interval; - setParameter("Interval", std::to_string(interval)); + setCoreParameter("Interval", std::to_string(interval)); } long UpdateLiveSnapshotDetectPornConfigRequest::getOwnerId()const @@ -99,7 +99,7 @@ long UpdateLiveSnapshotDetectPornConfigRequest::getOwnerId()const void UpdateLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssObject()const @@ -110,18 +110,7 @@ std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssObject()const 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); + setCoreParameter("OssObject", ossObject); } std::vector UpdateLiveSnapshotDetectPornConfigRequest::getScene()const @@ -133,6 +122,6 @@ void UpdateLiveSnapshotDetectPornConfigRequest::setScene(const std::vector -#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()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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()); + +} +