diff --git a/VERSION b/VERSION index 899ec400b..39e923bd4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1976 \ No newline at end of file +1.36.1977 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index f7dc535ca..a42950e0f 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -59,6 +59,8 @@ set(live_public_header_model include/alibabacloud/live/model/AddLiveDomainMappingResult.h include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h include/alibabacloud/live/model/AddLiveDomainPlayMappingResult.h + include/alibabacloud/live/model/AddLiveMessageGroupBandRequest.h + include/alibabacloud/live/model/AddLiveMessageGroupBandResult.h include/alibabacloud/live/model/AddLivePackageConfigRequest.h include/alibabacloud/live/model/AddLivePackageConfigResult.h include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h @@ -89,6 +91,8 @@ set(live_public_header_model include/alibabacloud/live/model/AddStudioLayoutResult.h include/alibabacloud/live/model/AddTrancodeSEIRequest.h include/alibabacloud/live/model/AddTrancodeSEIResult.h + include/alibabacloud/live/model/BanLiveMessageGroupRequest.h + include/alibabacloud/live/model/BanLiveMessageGroupResult.h include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h include/alibabacloud/live/model/BatchGetOnlineUsersRequest.h @@ -273,8 +277,6 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeCasterScenesResult.h include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h - include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h - include/alibabacloud/live/model/DescribeCasterSyncGroupResult.h include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h include/alibabacloud/live/model/DescribeCastersRequest.h @@ -359,8 +361,6 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataResult.h include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryResult.h - include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h - include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataResult.h include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h @@ -373,8 +373,6 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataResult.h include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h - include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h - include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h include/alibabacloud/live/model/DescribeLiveDomainTranscodeParamsRequest.h include/alibabacloud/live/model/DescribeLiveDomainTranscodeParamsResult.h include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h @@ -487,8 +485,6 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h include/alibabacloud/live/model/DescribeLiveStreamsTotalCountRequest.h include/alibabacloud/live/model/DescribeLiveStreamsTotalCountResult.h - include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h - include/alibabacloud/live/model/DescribeLiveTagResourcesResult.h include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.h include/alibabacloud/live/model/DescribeLiveUpVideoAudioInfoRequest.h @@ -501,10 +497,6 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveUserTagsResult.h include/alibabacloud/live/model/DescribeMeterLiveBypassDurationRequest.h include/alibabacloud/live/model/DescribeMeterLiveBypassDurationResult.h - include/alibabacloud/live/model/DescribeMeterLiveInteractionDauRequest.h - include/alibabacloud/live/model/DescribeMeterLiveInteractionDauResult.h - include/alibabacloud/live/model/DescribeMeterLiveRtcDurationRequest.h - include/alibabacloud/live/model/DescribeMeterLiveRtcDurationResult.h include/alibabacloud/live/model/DescribeMixStreamListRequest.h include/alibabacloud/live/model/DescribeMixStreamListResult.h include/alibabacloud/live/model/DescribeRTSNativeSDKFirstFrameCostRequest.h @@ -679,6 +671,8 @@ set(live_public_header_model include/alibabacloud/live/model/RealTimeRecordCommandResult.h include/alibabacloud/live/model/RecoverLiveMessageDeletedGroupRequest.h include/alibabacloud/live/model/RecoverLiveMessageDeletedGroupResult.h + include/alibabacloud/live/model/RemoveLiveMessageGroupBandRequest.h + include/alibabacloud/live/model/RemoveLiveMessageGroupBandResult.h include/alibabacloud/live/model/RemoveShowFromShowListRequest.h include/alibabacloud/live/model/RemoveShowFromShowListResult.h include/alibabacloud/live/model/RemoveTerminalsRequest.h @@ -707,10 +701,6 @@ set(live_public_header_model include/alibabacloud/live/model/SetCasterConfigResult.h include/alibabacloud/live/model/SetCasterSceneConfigRequest.h include/alibabacloud/live/model/SetCasterSceneConfigResult.h - include/alibabacloud/live/model/SetCasterSyncGroupRequest.h - include/alibabacloud/live/model/SetCasterSyncGroupResult.h - include/alibabacloud/live/model/SetCasterTimedEventRequest.h - include/alibabacloud/live/model/SetCasterTimedEventResult.h include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h include/alibabacloud/live/model/SetLiveDomainCertificateResult.h include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h @@ -763,10 +753,8 @@ set(live_public_header_model include/alibabacloud/live/model/StopPlaylistResult.h include/alibabacloud/live/model/StopRtcAsrTaskRequest.h include/alibabacloud/live/model/StopRtcAsrTaskResult.h - include/alibabacloud/live/model/TagLiveResourcesRequest.h - include/alibabacloud/live/model/TagLiveResourcesResult.h - include/alibabacloud/live/model/UnTagLiveResourcesRequest.h - include/alibabacloud/live/model/UnTagLiveResourcesResult.h + include/alibabacloud/live/model/UnbanLiveMessageGroupRequest.h + include/alibabacloud/live/model/UnbanLiveMessageGroupResult.h include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h @@ -813,8 +801,6 @@ set(live_public_header_model include/alibabacloud/live/model/UpdateLiveStreamWatermarkResult.h include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleResult.h - include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h - include/alibabacloud/live/model/UpdateLiveTopLevelDomainResult.h include/alibabacloud/live/model/UpdateMessageAppRequest.h include/alibabacloud/live/model/UpdateMessageAppResult.h include/alibabacloud/live/model/UpdateMessageGroupRequest.h @@ -866,6 +852,8 @@ set(live_src src/model/AddLiveDomainMappingResult.cc src/model/AddLiveDomainPlayMappingRequest.cc src/model/AddLiveDomainPlayMappingResult.cc + src/model/AddLiveMessageGroupBandRequest.cc + src/model/AddLiveMessageGroupBandResult.cc src/model/AddLivePackageConfigRequest.cc src/model/AddLivePackageConfigResult.cc src/model/AddLivePullStreamInfoConfigRequest.cc @@ -896,6 +884,8 @@ set(live_src src/model/AddStudioLayoutResult.cc src/model/AddTrancodeSEIRequest.cc src/model/AddTrancodeSEIResult.cc + src/model/BanLiveMessageGroupRequest.cc + src/model/BanLiveMessageGroupResult.cc src/model/BatchDeleteLiveDomainConfigsRequest.cc src/model/BatchDeleteLiveDomainConfigsResult.cc src/model/BatchGetOnlineUsersRequest.cc @@ -1080,8 +1070,6 @@ set(live_src src/model/DescribeCasterScenesResult.cc src/model/DescribeCasterStreamUrlRequest.cc src/model/DescribeCasterStreamUrlResult.cc - src/model/DescribeCasterSyncGroupRequest.cc - src/model/DescribeCasterSyncGroupResult.cc src/model/DescribeCasterVideoResourcesRequest.cc src/model/DescribeCasterVideoResourcesResult.cc src/model/DescribeCastersRequest.cc @@ -1166,8 +1154,6 @@ set(live_src src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc - src/model/DescribeLiveDomainRecordDataRequest.cc - src/model/DescribeLiveDomainRecordDataResult.cc src/model/DescribeLiveDomainRecordUsageDataRequest.cc src/model/DescribeLiveDomainRecordUsageDataResult.cc src/model/DescribeLiveDomainSnapshotDataRequest.cc @@ -1180,8 +1166,6 @@ set(live_src src/model/DescribeLiveDomainTimeShiftDataResult.cc src/model/DescribeLiveDomainTrafficDataRequest.cc src/model/DescribeLiveDomainTrafficDataResult.cc - src/model/DescribeLiveDomainTranscodeDataRequest.cc - src/model/DescribeLiveDomainTranscodeDataResult.cc src/model/DescribeLiveDomainTranscodeParamsRequest.cc src/model/DescribeLiveDomainTranscodeParamsResult.cc src/model/DescribeLiveDrmUsageDataRequest.cc @@ -1294,8 +1278,6 @@ set(live_src src/model/DescribeLiveStreamsPublishListResult.cc src/model/DescribeLiveStreamsTotalCountRequest.cc src/model/DescribeLiveStreamsTotalCountResult.cc - src/model/DescribeLiveTagResourcesRequest.cc - src/model/DescribeLiveTagResourcesResult.cc src/model/DescribeLiveTopDomainsByFlowRequest.cc src/model/DescribeLiveTopDomainsByFlowResult.cc src/model/DescribeLiveUpVideoAudioInfoRequest.cc @@ -1308,10 +1290,6 @@ set(live_src src/model/DescribeLiveUserTagsResult.cc src/model/DescribeMeterLiveBypassDurationRequest.cc src/model/DescribeMeterLiveBypassDurationResult.cc - src/model/DescribeMeterLiveInteractionDauRequest.cc - src/model/DescribeMeterLiveInteractionDauResult.cc - src/model/DescribeMeterLiveRtcDurationRequest.cc - src/model/DescribeMeterLiveRtcDurationResult.cc src/model/DescribeMixStreamListRequest.cc src/model/DescribeMixStreamListResult.cc src/model/DescribeRTSNativeSDKFirstFrameCostRequest.cc @@ -1486,6 +1464,8 @@ set(live_src src/model/RealTimeRecordCommandResult.cc src/model/RecoverLiveMessageDeletedGroupRequest.cc src/model/RecoverLiveMessageDeletedGroupResult.cc + src/model/RemoveLiveMessageGroupBandRequest.cc + src/model/RemoveLiveMessageGroupBandResult.cc src/model/RemoveShowFromShowListRequest.cc src/model/RemoveShowFromShowListResult.cc src/model/RemoveTerminalsRequest.cc @@ -1514,10 +1494,6 @@ set(live_src src/model/SetCasterConfigResult.cc src/model/SetCasterSceneConfigRequest.cc src/model/SetCasterSceneConfigResult.cc - src/model/SetCasterSyncGroupRequest.cc - src/model/SetCasterSyncGroupResult.cc - src/model/SetCasterTimedEventRequest.cc - src/model/SetCasterTimedEventResult.cc src/model/SetLiveDomainCertificateRequest.cc src/model/SetLiveDomainCertificateResult.cc src/model/SetLiveDomainStagingConfigRequest.cc @@ -1570,10 +1546,8 @@ set(live_src src/model/StopPlaylistResult.cc src/model/StopRtcAsrTaskRequest.cc src/model/StopRtcAsrTaskResult.cc - src/model/TagLiveResourcesRequest.cc - src/model/TagLiveResourcesResult.cc - src/model/UnTagLiveResourcesRequest.cc - src/model/UnTagLiveResourcesResult.cc + src/model/UnbanLiveMessageGroupRequest.cc + src/model/UnbanLiveMessageGroupResult.cc src/model/UpdateCasterSceneAudioRequest.cc src/model/UpdateCasterSceneAudioResult.cc src/model/UpdateCasterSceneConfigRequest.cc @@ -1620,8 +1594,6 @@ set(live_src src/model/UpdateLiveStreamWatermarkResult.cc src/model/UpdateLiveStreamWatermarkRuleRequest.cc src/model/UpdateLiveStreamWatermarkRuleResult.cc - src/model/UpdateLiveTopLevelDomainRequest.cc - src/model/UpdateLiveTopLevelDomainResult.cc src/model/UpdateMessageAppRequest.cc src/model/UpdateMessageAppResult.cc src/model/UpdateMessageGroupRequest.cc diff --git a/live/include/alibabacloud/live/LiveClient.h b/live/include/alibabacloud/live/LiveClient.h index 61287c746..c816c4e32 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -60,6 +60,8 @@ #include "model/AddLiveDomainMappingResult.h" #include "model/AddLiveDomainPlayMappingRequest.h" #include "model/AddLiveDomainPlayMappingResult.h" +#include "model/AddLiveMessageGroupBandRequest.h" +#include "model/AddLiveMessageGroupBandResult.h" #include "model/AddLivePackageConfigRequest.h" #include "model/AddLivePackageConfigResult.h" #include "model/AddLivePullStreamInfoConfigRequest.h" @@ -90,6 +92,8 @@ #include "model/AddStudioLayoutResult.h" #include "model/AddTrancodeSEIRequest.h" #include "model/AddTrancodeSEIResult.h" +#include "model/BanLiveMessageGroupRequest.h" +#include "model/BanLiveMessageGroupResult.h" #include "model/BatchDeleteLiveDomainConfigsRequest.h" #include "model/BatchDeleteLiveDomainConfigsResult.h" #include "model/BatchGetOnlineUsersRequest.h" @@ -274,8 +278,6 @@ #include "model/DescribeCasterScenesResult.h" #include "model/DescribeCasterStreamUrlRequest.h" #include "model/DescribeCasterStreamUrlResult.h" -#include "model/DescribeCasterSyncGroupRequest.h" -#include "model/DescribeCasterSyncGroupResult.h" #include "model/DescribeCasterVideoResourcesRequest.h" #include "model/DescribeCasterVideoResourcesResult.h" #include "model/DescribeCastersRequest.h" @@ -360,8 +362,6 @@ #include "model/DescribeLiveDomainRealTimeTrafficDataResult.h" #include "model/DescribeLiveDomainRealtimeLogDeliveryRequest.h" #include "model/DescribeLiveDomainRealtimeLogDeliveryResult.h" -#include "model/DescribeLiveDomainRecordDataRequest.h" -#include "model/DescribeLiveDomainRecordDataResult.h" #include "model/DescribeLiveDomainRecordUsageDataRequest.h" #include "model/DescribeLiveDomainRecordUsageDataResult.h" #include "model/DescribeLiveDomainSnapshotDataRequest.h" @@ -374,8 +374,6 @@ #include "model/DescribeLiveDomainTimeShiftDataResult.h" #include "model/DescribeLiveDomainTrafficDataRequest.h" #include "model/DescribeLiveDomainTrafficDataResult.h" -#include "model/DescribeLiveDomainTranscodeDataRequest.h" -#include "model/DescribeLiveDomainTranscodeDataResult.h" #include "model/DescribeLiveDomainTranscodeParamsRequest.h" #include "model/DescribeLiveDomainTranscodeParamsResult.h" #include "model/DescribeLiveDrmUsageDataRequest.h" @@ -488,8 +486,6 @@ #include "model/DescribeLiveStreamsPublishListResult.h" #include "model/DescribeLiveStreamsTotalCountRequest.h" #include "model/DescribeLiveStreamsTotalCountResult.h" -#include "model/DescribeLiveTagResourcesRequest.h" -#include "model/DescribeLiveTagResourcesResult.h" #include "model/DescribeLiveTopDomainsByFlowRequest.h" #include "model/DescribeLiveTopDomainsByFlowResult.h" #include "model/DescribeLiveUpVideoAudioInfoRequest.h" @@ -502,10 +498,6 @@ #include "model/DescribeLiveUserTagsResult.h" #include "model/DescribeMeterLiveBypassDurationRequest.h" #include "model/DescribeMeterLiveBypassDurationResult.h" -#include "model/DescribeMeterLiveInteractionDauRequest.h" -#include "model/DescribeMeterLiveInteractionDauResult.h" -#include "model/DescribeMeterLiveRtcDurationRequest.h" -#include "model/DescribeMeterLiveRtcDurationResult.h" #include "model/DescribeMixStreamListRequest.h" #include "model/DescribeMixStreamListResult.h" #include "model/DescribeRTSNativeSDKFirstFrameCostRequest.h" @@ -680,6 +672,8 @@ #include "model/RealTimeRecordCommandResult.h" #include "model/RecoverLiveMessageDeletedGroupRequest.h" #include "model/RecoverLiveMessageDeletedGroupResult.h" +#include "model/RemoveLiveMessageGroupBandRequest.h" +#include "model/RemoveLiveMessageGroupBandResult.h" #include "model/RemoveShowFromShowListRequest.h" #include "model/RemoveShowFromShowListResult.h" #include "model/RemoveTerminalsRequest.h" @@ -708,10 +702,6 @@ #include "model/SetCasterConfigResult.h" #include "model/SetCasterSceneConfigRequest.h" #include "model/SetCasterSceneConfigResult.h" -#include "model/SetCasterSyncGroupRequest.h" -#include "model/SetCasterSyncGroupResult.h" -#include "model/SetCasterTimedEventRequest.h" -#include "model/SetCasterTimedEventResult.h" #include "model/SetLiveDomainCertificateRequest.h" #include "model/SetLiveDomainCertificateResult.h" #include "model/SetLiveDomainStagingConfigRequest.h" @@ -764,10 +754,8 @@ #include "model/StopPlaylistResult.h" #include "model/StopRtcAsrTaskRequest.h" #include "model/StopRtcAsrTaskResult.h" -#include "model/TagLiveResourcesRequest.h" -#include "model/TagLiveResourcesResult.h" -#include "model/UnTagLiveResourcesRequest.h" -#include "model/UnTagLiveResourcesResult.h" +#include "model/UnbanLiveMessageGroupRequest.h" +#include "model/UnbanLiveMessageGroupResult.h" #include "model/UpdateCasterSceneAudioRequest.h" #include "model/UpdateCasterSceneAudioResult.h" #include "model/UpdateCasterSceneConfigRequest.h" @@ -814,8 +802,6 @@ #include "model/UpdateLiveStreamWatermarkResult.h" #include "model/UpdateLiveStreamWatermarkRuleRequest.h" #include "model/UpdateLiveStreamWatermarkRuleResult.h" -#include "model/UpdateLiveTopLevelDomainRequest.h" -#include "model/UpdateLiveTopLevelDomainResult.h" #include "model/UpdateMessageAppRequest.h" #include "model/UpdateMessageAppResult.h" #include "model/UpdateMessageGroupRequest.h" @@ -892,6 +878,9 @@ namespace AlibabaCloud typedef Outcome AddLiveDomainPlayMappingOutcome; typedef std::future AddLiveDomainPlayMappingOutcomeCallable; typedef std::function&)> AddLiveDomainPlayMappingAsyncHandler; + typedef Outcome AddLiveMessageGroupBandOutcome; + typedef std::future AddLiveMessageGroupBandOutcomeCallable; + typedef std::function&)> AddLiveMessageGroupBandAsyncHandler; typedef Outcome AddLivePackageConfigOutcome; typedef std::future AddLivePackageConfigOutcomeCallable; typedef std::function&)> AddLivePackageConfigAsyncHandler; @@ -937,6 +926,9 @@ namespace AlibabaCloud typedef Outcome AddTrancodeSEIOutcome; typedef std::future AddTrancodeSEIOutcomeCallable; typedef std::function&)> AddTrancodeSEIAsyncHandler; + typedef Outcome BanLiveMessageGroupOutcome; + typedef std::future BanLiveMessageGroupOutcomeCallable; + typedef std::function&)> BanLiveMessageGroupAsyncHandler; typedef Outcome BatchDeleteLiveDomainConfigsOutcome; typedef std::future BatchDeleteLiveDomainConfigsOutcomeCallable; typedef std::function&)> BatchDeleteLiveDomainConfigsAsyncHandler; @@ -1213,9 +1205,6 @@ namespace AlibabaCloud typedef Outcome DescribeCasterStreamUrlOutcome; typedef std::future DescribeCasterStreamUrlOutcomeCallable; typedef std::function&)> DescribeCasterStreamUrlAsyncHandler; - typedef Outcome DescribeCasterSyncGroupOutcome; - typedef std::future DescribeCasterSyncGroupOutcomeCallable; - typedef std::function&)> DescribeCasterSyncGroupAsyncHandler; typedef Outcome DescribeCasterVideoResourcesOutcome; typedef std::future DescribeCasterVideoResourcesOutcomeCallable; typedef std::function&)> DescribeCasterVideoResourcesAsyncHandler; @@ -1342,9 +1331,6 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainRealtimeLogDeliveryOutcome; typedef std::future DescribeLiveDomainRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> DescribeLiveDomainRealtimeLogDeliveryAsyncHandler; - typedef Outcome DescribeLiveDomainRecordDataOutcome; - typedef std::future DescribeLiveDomainRecordDataOutcomeCallable; - typedef std::function&)> DescribeLiveDomainRecordDataAsyncHandler; typedef Outcome DescribeLiveDomainRecordUsageDataOutcome; typedef std::future DescribeLiveDomainRecordUsageDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainRecordUsageDataAsyncHandler; @@ -1363,9 +1349,6 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainTrafficDataOutcome; typedef std::future DescribeLiveDomainTrafficDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainTrafficDataAsyncHandler; - typedef Outcome DescribeLiveDomainTranscodeDataOutcome; - typedef std::future DescribeLiveDomainTranscodeDataOutcomeCallable; - typedef std::function&)> DescribeLiveDomainTranscodeDataAsyncHandler; typedef Outcome DescribeLiveDomainTranscodeParamsOutcome; typedef std::future DescribeLiveDomainTranscodeParamsOutcomeCallable; typedef std::function&)> DescribeLiveDomainTranscodeParamsAsyncHandler; @@ -1534,9 +1517,6 @@ namespace AlibabaCloud typedef Outcome DescribeLiveStreamsTotalCountOutcome; typedef std::future DescribeLiveStreamsTotalCountOutcomeCallable; typedef std::function&)> DescribeLiveStreamsTotalCountAsyncHandler; - typedef Outcome DescribeLiveTagResourcesOutcome; - typedef std::future DescribeLiveTagResourcesOutcomeCallable; - typedef std::function&)> DescribeLiveTagResourcesAsyncHandler; typedef Outcome DescribeLiveTopDomainsByFlowOutcome; typedef std::future DescribeLiveTopDomainsByFlowOutcomeCallable; typedef std::function&)> DescribeLiveTopDomainsByFlowAsyncHandler; @@ -1555,12 +1535,6 @@ namespace AlibabaCloud typedef Outcome DescribeMeterLiveBypassDurationOutcome; typedef std::future DescribeMeterLiveBypassDurationOutcomeCallable; typedef std::function&)> DescribeMeterLiveBypassDurationAsyncHandler; - typedef Outcome DescribeMeterLiveInteractionDauOutcome; - typedef std::future DescribeMeterLiveInteractionDauOutcomeCallable; - typedef std::function&)> DescribeMeterLiveInteractionDauAsyncHandler; - typedef Outcome DescribeMeterLiveRtcDurationOutcome; - typedef std::future DescribeMeterLiveRtcDurationOutcomeCallable; - typedef std::function&)> DescribeMeterLiveRtcDurationAsyncHandler; typedef Outcome DescribeMixStreamListOutcome; typedef std::future DescribeMixStreamListOutcomeCallable; typedef std::function&)> DescribeMixStreamListAsyncHandler; @@ -1822,6 +1796,9 @@ namespace AlibabaCloud typedef Outcome RecoverLiveMessageDeletedGroupOutcome; typedef std::future RecoverLiveMessageDeletedGroupOutcomeCallable; typedef std::function&)> RecoverLiveMessageDeletedGroupAsyncHandler; + typedef Outcome RemoveLiveMessageGroupBandOutcome; + typedef std::future RemoveLiveMessageGroupBandOutcomeCallable; + typedef std::function&)> RemoveLiveMessageGroupBandAsyncHandler; typedef Outcome RemoveShowFromShowListOutcome; typedef std::future RemoveShowFromShowListOutcomeCallable; typedef std::function&)> RemoveShowFromShowListAsyncHandler; @@ -1864,12 +1841,6 @@ namespace AlibabaCloud typedef Outcome SetCasterSceneConfigOutcome; typedef std::future SetCasterSceneConfigOutcomeCallable; typedef std::function&)> SetCasterSceneConfigAsyncHandler; - typedef Outcome SetCasterSyncGroupOutcome; - typedef std::future SetCasterSyncGroupOutcomeCallable; - typedef std::function&)> SetCasterSyncGroupAsyncHandler; - typedef Outcome SetCasterTimedEventOutcome; - typedef std::future SetCasterTimedEventOutcomeCallable; - typedef std::function&)> SetCasterTimedEventAsyncHandler; typedef Outcome SetLiveDomainCertificateOutcome; typedef std::future SetLiveDomainCertificateOutcomeCallable; typedef std::function&)> SetLiveDomainCertificateAsyncHandler; @@ -1948,12 +1919,9 @@ namespace AlibabaCloud typedef Outcome StopRtcAsrTaskOutcome; typedef std::future StopRtcAsrTaskOutcomeCallable; typedef std::function&)> StopRtcAsrTaskAsyncHandler; - typedef Outcome TagLiveResourcesOutcome; - typedef std::future TagLiveResourcesOutcomeCallable; - typedef std::function&)> TagLiveResourcesAsyncHandler; - typedef Outcome UnTagLiveResourcesOutcome; - typedef std::future UnTagLiveResourcesOutcomeCallable; - typedef std::function&)> UnTagLiveResourcesAsyncHandler; + typedef Outcome UnbanLiveMessageGroupOutcome; + typedef std::future UnbanLiveMessageGroupOutcomeCallable; + typedef std::function&)> UnbanLiveMessageGroupAsyncHandler; typedef Outcome UpdateCasterSceneAudioOutcome; typedef std::future UpdateCasterSceneAudioOutcomeCallable; typedef std::function&)> UpdateCasterSceneAudioAsyncHandler; @@ -2023,9 +1991,6 @@ namespace AlibabaCloud typedef Outcome UpdateLiveStreamWatermarkRuleOutcome; typedef std::future UpdateLiveStreamWatermarkRuleOutcomeCallable; typedef std::function&)> UpdateLiveStreamWatermarkRuleAsyncHandler; - typedef Outcome UpdateLiveTopLevelDomainOutcome; - typedef std::future UpdateLiveTopLevelDomainOutcomeCallable; - typedef std::function&)> UpdateLiveTopLevelDomainAsyncHandler; typedef Outcome UpdateMessageAppOutcome; typedef std::future UpdateMessageAppOutcomeCallable; typedef std::function&)> UpdateMessageAppAsyncHandler; @@ -2103,6 +2068,9 @@ namespace AlibabaCloud AddLiveDomainPlayMappingOutcome addLiveDomainPlayMapping(const Model::AddLiveDomainPlayMappingRequest &request)const; void addLiveDomainPlayMappingAsync(const Model::AddLiveDomainPlayMappingRequest& request, const AddLiveDomainPlayMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveDomainPlayMappingOutcomeCallable addLiveDomainPlayMappingCallable(const Model::AddLiveDomainPlayMappingRequest& request) const; + AddLiveMessageGroupBandOutcome addLiveMessageGroupBand(const Model::AddLiveMessageGroupBandRequest &request)const; + void addLiveMessageGroupBandAsync(const Model::AddLiveMessageGroupBandRequest& request, const AddLiveMessageGroupBandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveMessageGroupBandOutcomeCallable addLiveMessageGroupBandCallable(const Model::AddLiveMessageGroupBandRequest& request) const; AddLivePackageConfigOutcome addLivePackageConfig(const Model::AddLivePackageConfigRequest &request)const; void addLivePackageConfigAsync(const Model::AddLivePackageConfigRequest& request, const AddLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLivePackageConfigOutcomeCallable addLivePackageConfigCallable(const Model::AddLivePackageConfigRequest& request) const; @@ -2148,6 +2116,9 @@ namespace AlibabaCloud AddTrancodeSEIOutcome addTrancodeSEI(const Model::AddTrancodeSEIRequest &request)const; void addTrancodeSEIAsync(const Model::AddTrancodeSEIRequest& request, const AddTrancodeSEIAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddTrancodeSEIOutcomeCallable addTrancodeSEICallable(const Model::AddTrancodeSEIRequest& request) const; + BanLiveMessageGroupOutcome banLiveMessageGroup(const Model::BanLiveMessageGroupRequest &request)const; + void banLiveMessageGroupAsync(const Model::BanLiveMessageGroupRequest& request, const BanLiveMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BanLiveMessageGroupOutcomeCallable banLiveMessageGroupCallable(const Model::BanLiveMessageGroupRequest& 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; BatchDeleteLiveDomainConfigsOutcomeCallable batchDeleteLiveDomainConfigsCallable(const Model::BatchDeleteLiveDomainConfigsRequest& request) const; @@ -2424,9 +2395,6 @@ namespace AlibabaCloud 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; - DescribeCasterSyncGroupOutcome describeCasterSyncGroup(const Model::DescribeCasterSyncGroupRequest &request)const; - void describeCasterSyncGroupAsync(const Model::DescribeCasterSyncGroupRequest& request, const DescribeCasterSyncGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeCasterSyncGroupOutcomeCallable describeCasterSyncGroupCallable(const Model::DescribeCasterSyncGroupRequest& 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; @@ -2553,9 +2521,6 @@ namespace AlibabaCloud DescribeLiveDomainRealtimeLogDeliveryOutcome describeLiveDomainRealtimeLogDelivery(const Model::DescribeLiveDomainRealtimeLogDeliveryRequest &request)const; void describeLiveDomainRealtimeLogDeliveryAsync(const Model::DescribeLiveDomainRealtimeLogDeliveryRequest& request, const DescribeLiveDomainRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainRealtimeLogDeliveryOutcomeCallable describeLiveDomainRealtimeLogDeliveryCallable(const Model::DescribeLiveDomainRealtimeLogDeliveryRequest& request) const; - DescribeLiveDomainRecordDataOutcome describeLiveDomainRecordData(const Model::DescribeLiveDomainRecordDataRequest &request)const; - void describeLiveDomainRecordDataAsync(const Model::DescribeLiveDomainRecordDataRequest& request, const DescribeLiveDomainRecordDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveDomainRecordDataOutcomeCallable describeLiveDomainRecordDataCallable(const Model::DescribeLiveDomainRecordDataRequest& request) const; DescribeLiveDomainRecordUsageDataOutcome describeLiveDomainRecordUsageData(const Model::DescribeLiveDomainRecordUsageDataRequest &request)const; void describeLiveDomainRecordUsageDataAsync(const Model::DescribeLiveDomainRecordUsageDataRequest& request, const DescribeLiveDomainRecordUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainRecordUsageDataOutcomeCallable describeLiveDomainRecordUsageDataCallable(const Model::DescribeLiveDomainRecordUsageDataRequest& request) const; @@ -2574,9 +2539,6 @@ namespace AlibabaCloud 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; - 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; DescribeLiveDomainTranscodeParamsOutcome describeLiveDomainTranscodeParams(const Model::DescribeLiveDomainTranscodeParamsRequest &request)const; void describeLiveDomainTranscodeParamsAsync(const Model::DescribeLiveDomainTranscodeParamsRequest& request, const DescribeLiveDomainTranscodeParamsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainTranscodeParamsOutcomeCallable describeLiveDomainTranscodeParamsCallable(const Model::DescribeLiveDomainTranscodeParamsRequest& request) const; @@ -2745,9 +2707,6 @@ namespace AlibabaCloud DescribeLiveStreamsTotalCountOutcome describeLiveStreamsTotalCount(const Model::DescribeLiveStreamsTotalCountRequest &request)const; void describeLiveStreamsTotalCountAsync(const Model::DescribeLiveStreamsTotalCountRequest& request, const DescribeLiveStreamsTotalCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamsTotalCountOutcomeCallable describeLiveStreamsTotalCountCallable(const Model::DescribeLiveStreamsTotalCountRequest& request) const; - DescribeLiveTagResourcesOutcome describeLiveTagResources(const Model::DescribeLiveTagResourcesRequest &request)const; - void describeLiveTagResourcesAsync(const Model::DescribeLiveTagResourcesRequest& request, const DescribeLiveTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveTagResourcesOutcomeCallable describeLiveTagResourcesCallable(const Model::DescribeLiveTagResourcesRequest& 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; @@ -2766,12 +2725,6 @@ namespace AlibabaCloud DescribeMeterLiveBypassDurationOutcome describeMeterLiveBypassDuration(const Model::DescribeMeterLiveBypassDurationRequest &request)const; void describeMeterLiveBypassDurationAsync(const Model::DescribeMeterLiveBypassDurationRequest& request, const DescribeMeterLiveBypassDurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeMeterLiveBypassDurationOutcomeCallable describeMeterLiveBypassDurationCallable(const Model::DescribeMeterLiveBypassDurationRequest& request) const; - DescribeMeterLiveInteractionDauOutcome describeMeterLiveInteractionDau(const Model::DescribeMeterLiveInteractionDauRequest &request)const; - void describeMeterLiveInteractionDauAsync(const Model::DescribeMeterLiveInteractionDauRequest& request, const DescribeMeterLiveInteractionDauAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeMeterLiveInteractionDauOutcomeCallable describeMeterLiveInteractionDauCallable(const Model::DescribeMeterLiveInteractionDauRequest& request) const; - DescribeMeterLiveRtcDurationOutcome describeMeterLiveRtcDuration(const Model::DescribeMeterLiveRtcDurationRequest &request)const; - void describeMeterLiveRtcDurationAsync(const Model::DescribeMeterLiveRtcDurationRequest& request, const DescribeMeterLiveRtcDurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeMeterLiveRtcDurationOutcomeCallable describeMeterLiveRtcDurationCallable(const Model::DescribeMeterLiveRtcDurationRequest& request) const; DescribeMixStreamListOutcome describeMixStreamList(const Model::DescribeMixStreamListRequest &request)const; void describeMixStreamListAsync(const Model::DescribeMixStreamListRequest& request, const DescribeMixStreamListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeMixStreamListOutcomeCallable describeMixStreamListCallable(const Model::DescribeMixStreamListRequest& request) const; @@ -3033,6 +2986,9 @@ namespace AlibabaCloud RecoverLiveMessageDeletedGroupOutcome recoverLiveMessageDeletedGroup(const Model::RecoverLiveMessageDeletedGroupRequest &request)const; void recoverLiveMessageDeletedGroupAsync(const Model::RecoverLiveMessageDeletedGroupRequest& request, const RecoverLiveMessageDeletedGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RecoverLiveMessageDeletedGroupOutcomeCallable recoverLiveMessageDeletedGroupCallable(const Model::RecoverLiveMessageDeletedGroupRequest& request) const; + RemoveLiveMessageGroupBandOutcome removeLiveMessageGroupBand(const Model::RemoveLiveMessageGroupBandRequest &request)const; + void removeLiveMessageGroupBandAsync(const Model::RemoveLiveMessageGroupBandRequest& request, const RemoveLiveMessageGroupBandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveLiveMessageGroupBandOutcomeCallable removeLiveMessageGroupBandCallable(const Model::RemoveLiveMessageGroupBandRequest& request) const; RemoveShowFromShowListOutcome removeShowFromShowList(const Model::RemoveShowFromShowListRequest &request)const; void removeShowFromShowListAsync(const Model::RemoveShowFromShowListRequest& request, const RemoveShowFromShowListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RemoveShowFromShowListOutcomeCallable removeShowFromShowListCallable(const Model::RemoveShowFromShowListRequest& request) const; @@ -3075,12 +3031,6 @@ namespace AlibabaCloud 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; - SetCasterSyncGroupOutcome setCasterSyncGroup(const Model::SetCasterSyncGroupRequest &request)const; - void setCasterSyncGroupAsync(const Model::SetCasterSyncGroupRequest& request, const SetCasterSyncGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetCasterSyncGroupOutcomeCallable setCasterSyncGroupCallable(const Model::SetCasterSyncGroupRequest& request) const; - SetCasterTimedEventOutcome setCasterTimedEvent(const Model::SetCasterTimedEventRequest &request)const; - void setCasterTimedEventAsync(const Model::SetCasterTimedEventRequest& request, const SetCasterTimedEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetCasterTimedEventOutcomeCallable setCasterTimedEventCallable(const Model::SetCasterTimedEventRequest& 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; @@ -3159,12 +3109,9 @@ namespace AlibabaCloud StopRtcAsrTaskOutcome stopRtcAsrTask(const Model::StopRtcAsrTaskRequest &request)const; void stopRtcAsrTaskAsync(const Model::StopRtcAsrTaskRequest& request, const StopRtcAsrTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopRtcAsrTaskOutcomeCallable stopRtcAsrTaskCallable(const Model::StopRtcAsrTaskRequest& request) const; - TagLiveResourcesOutcome tagLiveResources(const Model::TagLiveResourcesRequest &request)const; - void tagLiveResourcesAsync(const Model::TagLiveResourcesRequest& request, const TagLiveResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - TagLiveResourcesOutcomeCallable tagLiveResourcesCallable(const Model::TagLiveResourcesRequest& request) const; - UnTagLiveResourcesOutcome unTagLiveResources(const Model::UnTagLiveResourcesRequest &request)const; - void unTagLiveResourcesAsync(const Model::UnTagLiveResourcesRequest& request, const UnTagLiveResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UnTagLiveResourcesOutcomeCallable unTagLiveResourcesCallable(const Model::UnTagLiveResourcesRequest& request) const; + UnbanLiveMessageGroupOutcome unbanLiveMessageGroup(const Model::UnbanLiveMessageGroupRequest &request)const; + void unbanLiveMessageGroupAsync(const Model::UnbanLiveMessageGroupRequest& request, const UnbanLiveMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbanLiveMessageGroupOutcomeCallable unbanLiveMessageGroupCallable(const Model::UnbanLiveMessageGroupRequest& 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; @@ -3234,9 +3181,6 @@ namespace AlibabaCloud UpdateLiveStreamWatermarkRuleOutcome updateLiveStreamWatermarkRule(const Model::UpdateLiveStreamWatermarkRuleRequest &request)const; void updateLiveStreamWatermarkRuleAsync(const Model::UpdateLiveStreamWatermarkRuleRequest& request, const UpdateLiveStreamWatermarkRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateLiveStreamWatermarkRuleOutcomeCallable updateLiveStreamWatermarkRuleCallable(const Model::UpdateLiveStreamWatermarkRuleRequest& request) const; - UpdateLiveTopLevelDomainOutcome updateLiveTopLevelDomain(const Model::UpdateLiveTopLevelDomainRequest &request)const; - void updateLiveTopLevelDomainAsync(const Model::UpdateLiveTopLevelDomainRequest& request, const UpdateLiveTopLevelDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateLiveTopLevelDomainOutcomeCallable updateLiveTopLevelDomainCallable(const Model::UpdateLiveTopLevelDomainRequest& request) const; UpdateMessageAppOutcome updateMessageApp(const Model::UpdateMessageAppRequest &request)const; void updateMessageAppAsync(const Model::UpdateMessageAppRequest& request, const UpdateMessageAppAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateMessageAppOutcomeCallable updateMessageAppCallable(const Model::UpdateMessageAppRequest& request) const; diff --git a/live/include/alibabacloud/live/model/DescribeMeterLiveInteractionDauRequest.h b/live/include/alibabacloud/live/model/AddLiveMessageGroupBandRequest.h similarity index 56% rename from live/include/alibabacloud/live/model/DescribeMeterLiveInteractionDauRequest.h rename to live/include/alibabacloud/live/model/AddLiveMessageGroupBandRequest.h index 13f554c56..e74a5f703 100644 --- a/live/include/alibabacloud/live/model/DescribeMeterLiveInteractionDauRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveMessageGroupBandRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVEINTERACTIONDAUREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVEINTERACTIONDAUREQUEST_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEMESSAGEGROUPBANDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMESSAGEGROUPBANDREQUEST_H_ #include #include @@ -26,29 +26,26 @@ namespace AlibabaCloud { namespace Live { namespace Model { -class ALIBABACLOUD_LIVE_EXPORT DescribeMeterLiveInteractionDauRequest : public RpcServiceRequest { +class ALIBABACLOUD_LIVE_EXPORT AddLiveMessageGroupBandRequest : public RpcServiceRequest { public: - DescribeMeterLiveInteractionDauRequest(); - ~DescribeMeterLiveInteractionDauRequest(); - long getStartTs() const; - void setStartTs(long startTs); - std::string getServiceArea() const; - void setServiceArea(const std::string &serviceArea); + AddLiveMessageGroupBandRequest(); + ~AddLiveMessageGroupBandRequest(); + std::vector getBannedUsers() const; + void setBannedUsers(const std::vector &bannedUsers); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getDataCenter() const; + void setDataCenter(const std::string &dataCenter); std::string getAppId() const; void setAppId(const std::string &appId); - long getEndTs() const; - void setEndTs(long endTs); - long getInterval() const; - void setInterval(long interval); private: - long startTs_; - std::string serviceArea_; + std::vector bannedUsers_; + std::string groupId_; + std::string dataCenter_; std::string appId_; - long endTs_; - long interval_; }; } // namespace Model } // namespace Live } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVEINTERACTIONDAUREQUEST_H_ +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMESSAGEGROUPBANDREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/TagLiveResourcesResult.h b/live/include/alibabacloud/live/model/AddLiveMessageGroupBandResult.h similarity index 68% rename from live/include/alibabacloud/live/model/TagLiveResourcesResult.h rename to live/include/alibabacloud/live/model/AddLiveMessageGroupBandResult.h index fc984d0bf..ad1a88b60 100644 --- a/live/include/alibabacloud/live/model/TagLiveResourcesResult.h +++ b/live/include/alibabacloud/live/model/AddLiveMessageGroupBandResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESRESULT_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEMESSAGEGROUPBANDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMESSAGEGROUPBANDRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT TagLiveResourcesResult : public ServiceResult + class ALIBABACLOUD_LIVE_EXPORT AddLiveMessageGroupBandResult : public ServiceResult { public: - TagLiveResourcesResult(); - explicit TagLiveResourcesResult(const std::string &payload); - ~TagLiveResourcesResult(); + AddLiveMessageGroupBandResult(); + explicit AddLiveMessageGroupBandResult(const std::string &payload); + ~AddLiveMessageGroupBandResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMESSAGEGROUPBANDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationRequest.h b/live/include/alibabacloud/live/model/BanLiveMessageGroupRequest.h similarity index 53% rename from live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationRequest.h rename to live/include/alibabacloud/live/model/BanLiveMessageGroupRequest.h index 6663bdab7..5a6c13c14 100644 --- a/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationRequest.h +++ b/live/include/alibabacloud/live/model/BanLiveMessageGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONREQUEST_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_BANLIVEMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_BANLIVEMESSAGEGROUPREQUEST_H_ #include #include @@ -26,29 +26,26 @@ namespace AlibabaCloud { namespace Live { namespace Model { -class ALIBABACLOUD_LIVE_EXPORT DescribeMeterLiveRtcDurationRequest : public RpcServiceRequest { +class ALIBABACLOUD_LIVE_EXPORT BanLiveMessageGroupRequest : public RpcServiceRequest { public: - DescribeMeterLiveRtcDurationRequest(); - ~DescribeMeterLiveRtcDurationRequest(); - std::string getEndTime() const; - void setEndTime(const std::string &endTime); - std::string getStartTime() const; - void setStartTime(const std::string &startTime); - std::string getServiceArea() const; - void setServiceArea(const std::string &serviceArea); + BanLiveMessageGroupRequest(); + ~BanLiveMessageGroupRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::vector getExceptUsers() const; + void setExceptUsers(const std::vector &exceptUsers); + std::string getDataCenter() const; + void setDataCenter(const std::string &dataCenter); std::string getAppId() const; void setAppId(const std::string &appId); - std::string getInterval() const; - void setInterval(const std::string &interval); private: - std::string endTime_; - std::string startTime_; - std::string serviceArea_; + std::string groupId_; + std::vector exceptUsers_; + std::string dataCenter_; std::string appId_; - std::string interval_; }; } // namespace Model } // namespace Live } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONREQUEST_H_ +#endif // !ALIBABACLOUD_LIVE_MODEL_BANLIVEMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetCasterTimedEventResult.h b/live/include/alibabacloud/live/model/BanLiveMessageGroupResult.h similarity index 71% rename from live/include/alibabacloud/live/model/SetCasterTimedEventResult.h rename to live/include/alibabacloud/live/model/BanLiveMessageGroupResult.h index 6fb962cb9..01843ec60 100644 --- a/live/include/alibabacloud/live/model/SetCasterTimedEventResult.h +++ b/live/include/alibabacloud/live/model/BanLiveMessageGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTRESULT_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_BANLIVEMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_BANLIVEMESSAGEGROUPRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT SetCasterTimedEventResult : public ServiceResult + class ALIBABACLOUD_LIVE_EXPORT BanLiveMessageGroupResult : public ServiceResult { public: - SetCasterTimedEventResult(); - explicit SetCasterTimedEventResult(const std::string &payload); - ~SetCasterTimedEventResult(); + BanLiveMessageGroupResult(); + explicit BanLiveMessageGroupResult(const std::string &payload); + ~BanLiveMessageGroupResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_BANLIVEMESSAGEGROUPRESULT_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 0ea52f22b..d5c5a6ed0 100644 --- a/live/include/alibabacloud/live/model/CreateCasterRequest.h +++ b/live/include/alibabacloud/live/model/CreateCasterRequest.h @@ -32,6 +32,8 @@ public: ~CreateCasterRequest(); std::string getClientToken() const; void setClientToken(const std::string &clientToken); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); std::string getCasterName() const; void setCasterName(const std::string &casterName); std::string getCasterTemplate() const; @@ -51,6 +53,7 @@ public: private: std::string clientToken_; + std::string resourceGroupId_; std::string casterName_; std::string casterTemplate_; std::string expireTime_; diff --git a/live/include/alibabacloud/live/model/DescribeCasterSyncGroupResult.h b/live/include/alibabacloud/live/model/DescribeCasterSyncGroupResult.h deleted file mode 100644 index 9825023bf..000000000 --- a/live/include/alibabacloud/live/model/DescribeCasterSyncGroupResult.h +++ /dev/null @@ -1,59 +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_DESCRIBECASTERSYNCGROUPRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSyncGroupResult : public ServiceResult - { - public: - struct SyncGroup - { - std::vector resourceIds; - int mode; - std::string hostResourceId; - }; - - - DescribeCasterSyncGroupResult(); - explicit DescribeCasterSyncGroupResult(const std::string &payload); - ~DescribeCasterSyncGroupResult(); - std::vector getSyncGroups()const; - std::string getCasterId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector syncGroups_; - std::string casterId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPRESULT_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 753648868..bf9af8a89 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCastersRequest.h @@ -34,6 +34,8 @@ public: void setStartTime(const std::string &startTime); int getPageNum() const; void setPageNum(int pageNum); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); std::string getCasterName() const; void setCasterName(const std::string &casterName); int getPageSize() const; @@ -56,6 +58,7 @@ public: private: std::string startTime_; int pageNum_; + std::string resourceGroupId_; std::string casterName_; int pageSize_; std::string normType_; diff --git a/live/include/alibabacloud/live/model/DescribeCastersResult.h b/live/include/alibabacloud/live/model/DescribeCastersResult.h index 0f7f08ac9..a4d205e45 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersResult.h +++ b/live/include/alibabacloud/live/model/DescribeCastersResult.h @@ -37,6 +37,7 @@ namespace AlibabaCloud int status; std::string casterTemplate; int channelEnable; + int resourceGroupId; std::string createTime; std::string startTime; int normType; @@ -45,6 +46,7 @@ namespace AlibabaCloud std::string lastModified; std::string purchaseTime; std::string casterName; + std::string clientTokenId; std::string chargeType; std::string expireTime; std::string casterId; diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h deleted file mode 100644 index 7bb34fc3b..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordDataRequest : public RpcServiceRequest { -public: - DescribeLiveDomainRecordDataRequest(); - ~DescribeLiveDomainRecordDataRequest(); - std::string getStartTime() const; - void setStartTime(const std::string &startTime); - std::string getRecordType() const; - void setRecordType(const std::string &recordType); - std::string getDomainName() const; - void setDomainName(const std::string &domainName); - std::string getEndTime() const; - void setEndTime(const std::string &endTime); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - std::string startTime_; - std::string recordType_; - std::string domainName_; - std::string endTime_; - long ownerId_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h deleted file mode 100644 index d4f59980d..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.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_DESCRIBELIVEDOMAINRECORDDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordDataResult : public ServiceResult - { - public: - struct RecordDataInfo - { - struct Detail - { - int mP4; - int fLV; - int tS; - }; - int total; - Detail detail; - std::string date; - }; - - - DescribeLiveDomainRecordDataResult(); - explicit DescribeLiveDomainRecordDataResult(const std::string &payload); - ~DescribeLiveDomainRecordDataResult(); - std::vector getRecordDataInfos()const; - - protected: - void parse(const std::string &payload); - private: - std::vector recordDataInfos_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h deleted file mode 100644 index 3b3005b68..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.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_DESCRIBELIVEDOMAINTRANSCODEDATARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTranscodeDataResult : public ServiceResult - { - public: - struct TranscodeDataInfo - { - int total; - std::string date; - std::string detail; - }; - - - DescribeLiveDomainTranscodeDataResult(); - explicit DescribeLiveDomainTranscodeDataResult(const std::string &payload); - ~DescribeLiveDomainTranscodeDataResult(); - std::vector getTranscodeDataInfos()const; - - protected: - void parse(const std::string &payload); - private: - std::vector transcodeDataInfos_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h b/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h deleted file mode 100644 index 03f02ada4..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h +++ /dev/null @@ -1,58 +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_DESCRIBELIVETAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTagResourcesRequest : public RpcServiceRequest { -public: - struct Tag { - std::string key; - std::string value; - }; - DescribeLiveTagResourcesRequest(); - ~DescribeLiveTagResourcesRequest(); - std::string getScope() const; - void setScope(const std::string &scope); - std::vector getTag() const; - void setTag(const std::vector &tag); - std::vector getResourceId() const; - void setResourceId(const std::vector &resourceId); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getResourceType() const; - void setResourceType(const std::string &resourceType); - -private: - std::string scope_; - std::vector tag_; - std::vector resourceId_; - long ownerId_; - std::string resourceType_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveTagResourcesResult.h b/live/include/alibabacloud/live/model/DescribeLiveTagResourcesResult.h deleted file mode 100644 index ed9819d10..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveTagResourcesResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTagResourcesResult : public ServiceResult - { - public: - struct TagResource - { - struct TagItem - { - std::string value; - std::string key; - }; - std::string resourceId; - std::vector tag; - }; - - - DescribeLiveTagResourcesResult(); - explicit DescribeLiveTagResourcesResult(const std::string &payload); - ~DescribeLiveTagResourcesResult(); - std::vector getTagResources()const; - - protected: - void parse(const std::string &payload); - private: - std::vector tagResources_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeMeterLiveInteractionDauResult.h b/live/include/alibabacloud/live/model/DescribeMeterLiveInteractionDauResult.h deleted file mode 100644 index 340b78c6a..000000000 --- a/live/include/alibabacloud/live/model/DescribeMeterLiveInteractionDauResult.h +++ /dev/null @@ -1,58 +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_DESCRIBEMETERLIVEINTERACTIONDAURESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVEINTERACTIONDAURESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeMeterLiveInteractionDauResult : public ServiceResult - { - public: - struct DataItem - { - double dau; - long timestamp; - }; - - - DescribeMeterLiveInteractionDauResult(); - explicit DescribeMeterLiveInteractionDauResult(const std::string &payload); - ~DescribeMeterLiveInteractionDauResult(); - std::vector getData()const; - double getPeakDau()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - double peakDau_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVEINTERACTIONDAURESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationResult.h b/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationResult.h deleted file mode 100644 index f8173870a..000000000 --- a/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationResult.h +++ /dev/null @@ -1,70 +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_DESCRIBEMETERLIVERTCDURATIONRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeMeterLiveRtcDurationResult : public ServiceResult - { - public: - struct DataItem - { - long v720Duration; - long v1080Duration; - long v480Duration; - std::string timestamp; - long audioDuration; - long totalDuration; - }; - - - DescribeMeterLiveRtcDurationResult(); - explicit DescribeMeterLiveRtcDurationResult(const std::string &payload); - ~DescribeMeterLiveRtcDurationResult(); - long getV480SummaryDuration()const; - long getV1080SummaryDuration()const; - long getV720SummaryDuration()const; - std::vector getData()const; - long getAudioSummaryDuration()const; - long getTotalSummaryDuration()const; - - protected: - void parse(const std::string &payload); - private: - long v480SummaryDuration_; - long v1080SummaryDuration_; - long v720SummaryDuration_; - std::vector data_; - long audioSummaryDuration_; - long totalSummaryDuration_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h b/live/include/alibabacloud/live/model/RemoveLiveMessageGroupBandRequest.h similarity index 50% rename from live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h rename to live/include/alibabacloud/live/model/RemoveLiveMessageGroupBandRequest.h index a575336fa..ddc1ece52 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/RemoveLiveMessageGroupBandRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_REMOVELIVEMESSAGEGROUPBANDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_REMOVELIVEMESSAGEGROUPBANDREQUEST_H_ #include #include @@ -26,26 +26,26 @@ namespace AlibabaCloud { namespace Live { namespace Model { -class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTranscodeDataRequest : public RpcServiceRequest { +class ALIBABACLOUD_LIVE_EXPORT RemoveLiveMessageGroupBandRequest : public RpcServiceRequest { public: - DescribeLiveDomainTranscodeDataRequest(); - ~DescribeLiveDomainTranscodeDataRequest(); - std::string getStartTime() const; - void setStartTime(const std::string &startTime); - std::string getDomainName() const; - void setDomainName(const std::string &domainName); - std::string getEndTime() const; - void setEndTime(const std::string &endTime); - long getOwnerId() const; - void setOwnerId(long ownerId); + RemoveLiveMessageGroupBandRequest(); + ~RemoveLiveMessageGroupBandRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getDataCenter() const; + void setDataCenter(const std::string &dataCenter); + std::vector getUnbannedUsers() const; + void setUnbannedUsers(const std::vector &unbannedUsers); + std::string getAppId() const; + void setAppId(const std::string &appId); private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; + std::string groupId_; + std::string dataCenter_; + std::vector unbannedUsers_; + std::string appId_; }; } // namespace Model } // namespace Live } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ +#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVELIVEMESSAGEGROUPBANDREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UnTagLiveResourcesResult.h b/live/include/alibabacloud/live/model/RemoveLiveMessageGroupBandResult.h similarity index 67% rename from live/include/alibabacloud/live/model/UnTagLiveResourcesResult.h rename to live/include/alibabacloud/live/model/RemoveLiveMessageGroupBandResult.h index aa8061eba..c0435aaf5 100644 --- a/live/include/alibabacloud/live/model/UnTagLiveResourcesResult.h +++ b/live/include/alibabacloud/live/model/RemoveLiveMessageGroupBandResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESRESULT_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_REMOVELIVEMESSAGEGROUPBANDRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_REMOVELIVEMESSAGEGROUPBANDRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT UnTagLiveResourcesResult : public ServiceResult + class ALIBABACLOUD_LIVE_EXPORT RemoveLiveMessageGroupBandResult : public ServiceResult { public: - UnTagLiveResourcesResult(); - explicit UnTagLiveResourcesResult(const std::string &payload); - ~UnTagLiveResourcesResult(); + RemoveLiveMessageGroupBandResult(); + explicit RemoveLiveMessageGroupBandResult(const std::string &payload); + ~RemoveLiveMessageGroupBandResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVELIVEMESSAGEGROUPBANDRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h b/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h deleted file mode 100644 index 1938e552b..000000000 --- a/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h +++ /dev/null @@ -1,53 +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_SETCASTERSYNCGROUPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT SetCasterSyncGroupRequest : public RpcServiceRequest { -public: - struct SyncGroup { - std::string hostResourceId; - int mode; - long syncDelayThreshold; - }; - SetCasterSyncGroupRequest(); - ~SetCasterSyncGroupRequest(); - std::string getCasterId() const; - void setCasterId(const std::string &casterId); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::vector getSyncGroup() const; - void setSyncGroup(const std::vector &syncGroup); - -private: - std::string casterId_; - long ownerId_; - std::vector syncGroup_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetCasterTimedEventRequest.h b/live/include/alibabacloud/live/model/SetCasterTimedEventRequest.h deleted file mode 100644 index 0f90a797a..000000000 --- a/live/include/alibabacloud/live/model/SetCasterTimedEventRequest.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_SETCASTERTIMEDEVENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT SetCasterTimedEventRequest : public RpcServiceRequest { -public: - SetCasterTimedEventRequest(); - ~SetCasterTimedEventRequest(); - std::string getEventName() const; - void setEventName(const std::string &eventName); - std::string getStartTimeUTC() const; - void setStartTimeUTC(const std::string &startTimeUTC); - std::string getCasterId() const; - void setCasterId(const std::string &casterId); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - std::string eventName_; - std::string startTimeUTC_; - std::string casterId_; - long ownerId_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h b/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h deleted file mode 100644 index 7461f4253..000000000 --- a/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h +++ /dev/null @@ -1,55 +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_TAGLIVERESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT TagLiveResourcesRequest : public RpcServiceRequest { -public: - struct Tag { - std::string key; - std::string value; - }; - TagLiveResourcesRequest(); - ~TagLiveResourcesRequest(); - std::vector getTag() const; - void setTag(const std::vector &tag); - std::vector getResourceId() const; - void setResourceId(const std::vector &resourceId); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getResourceType() const; - void setResourceType(const std::string &resourceType); - -private: - std::vector tag_; - std::vector resourceId_; - long ownerId_; - std::string resourceType_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h b/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h deleted file mode 100644 index 3dec4a36e..000000000 --- a/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT UnTagLiveResourcesRequest : public RpcServiceRequest { -public: - UnTagLiveResourcesRequest(); - ~UnTagLiveResourcesRequest(); - bool getAll() const; - void setAll(bool all); - std::vector getResourceId() const; - void setResourceId(const std::vector &resourceId); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getResourceType() const; - void setResourceType(const std::string &resourceType); - std::vector getTagKey() const; - void setTagKey(const std::vector &tagKey); - -private: - bool all_; - std::vector resourceId_; - long ownerId_; - std::string resourceType_; - std::vector tagKey_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h b/live/include/alibabacloud/live/model/UnbanLiveMessageGroupRequest.h similarity index 56% rename from live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h rename to live/include/alibabacloud/live/model/UnbanLiveMessageGroupRequest.h index b74ecce64..f6cc38cef 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h +++ b/live/include/alibabacloud/live/model/UnbanLiveMessageGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_UNBANLIVEMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UNBANLIVEMESSAGEGROUPREQUEST_H_ #include #include @@ -26,20 +26,23 @@ namespace AlibabaCloud { namespace Live { namespace Model { -class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSyncGroupRequest : public RpcServiceRequest { +class ALIBABACLOUD_LIVE_EXPORT UnbanLiveMessageGroupRequest : public RpcServiceRequest { public: - DescribeCasterSyncGroupRequest(); - ~DescribeCasterSyncGroupRequest(); - std::string getCasterId() const; - void setCasterId(const std::string &casterId); - long getOwnerId() const; - void setOwnerId(long ownerId); + UnbanLiveMessageGroupRequest(); + ~UnbanLiveMessageGroupRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getDataCenter() const; + void setDataCenter(const std::string &dataCenter); + std::string getAppId() const; + void setAppId(const std::string &appId); private: - std::string casterId_; - long ownerId_; + std::string groupId_; + std::string dataCenter_; + std::string appId_; }; } // namespace Model } // namespace Live } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ +#endif // !ALIBABACLOUD_LIVE_MODEL_UNBANLIVEMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetCasterSyncGroupResult.h b/live/include/alibabacloud/live/model/UnbanLiveMessageGroupResult.h similarity index 69% rename from live/include/alibabacloud/live/model/SetCasterSyncGroupResult.h rename to live/include/alibabacloud/live/model/UnbanLiveMessageGroupResult.h index 238e33467..1dc2b4e50 100644 --- a/live/include/alibabacloud/live/model/SetCasterSyncGroupResult.h +++ b/live/include/alibabacloud/live/model/UnbanLiveMessageGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPRESULT_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_UNBANLIVEMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UNBANLIVEMESSAGEGROUPRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT SetCasterSyncGroupResult : public ServiceResult + class ALIBABACLOUD_LIVE_EXPORT UnbanLiveMessageGroupResult : public ServiceResult { public: - SetCasterSyncGroupResult(); - explicit SetCasterSyncGroupResult(const std::string &payload); - ~SetCasterSyncGroupResult(); + UnbanLiveMessageGroupResult(); + explicit UnbanLiveMessageGroupResult(const std::string &payload); + ~UnbanLiveMessageGroupResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_UNBANLIVEMESSAGEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h b/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h deleted file mode 100644 index 8faa9b0b8..000000000 --- a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.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_UPDATELIVETOPLEVELDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVETOPLEVELDOMAINREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT UpdateLiveTopLevelDomainRequest : public RpcServiceRequest { -public: - UpdateLiveTopLevelDomainRequest(); - ~UpdateLiveTopLevelDomainRequest(); - std::string getTopLevelDomain() const; - void setTopLevelDomain(const std::string &topLevelDomain); - std::string getDomainName() const; - void setDomainName(const std::string &domainName); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getSecurityToken() const; - void setSecurityToken(const std::string &securityToken); - -private: - std::string topLevelDomain_; - std::string domainName_; - long ownerId_; - std::string securityToken_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVETOPLEVELDOMAINREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainResult.h b/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainResult.h deleted file mode 100644 index 590efb150..000000000 --- a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainResult.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_UPDATELIVETOPLEVELDOMAINRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVETOPLEVELDOMAINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveTopLevelDomainResult : public ServiceResult - { - public: - - - UpdateLiveTopLevelDomainResult(); - explicit UpdateLiveTopLevelDomainResult(const std::string &payload); - ~UpdateLiveTopLevelDomainResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVETOPLEVELDOMAINRESULT_H_ \ No newline at end of file diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc index 75f7b9353..81e59f677 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -735,6 +735,42 @@ LiveClient::AddLiveDomainPlayMappingOutcomeCallable LiveClient::addLiveDomainPla return task->get_future(); } +LiveClient::AddLiveMessageGroupBandOutcome LiveClient::addLiveMessageGroupBand(const AddLiveMessageGroupBandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveMessageGroupBandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveMessageGroupBandOutcome(AddLiveMessageGroupBandResult(outcome.result())); + else + return AddLiveMessageGroupBandOutcome(outcome.error()); +} + +void LiveClient::addLiveMessageGroupBandAsync(const AddLiveMessageGroupBandRequest& request, const AddLiveMessageGroupBandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveMessageGroupBand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveMessageGroupBandOutcomeCallable LiveClient::addLiveMessageGroupBandCallable(const AddLiveMessageGroupBandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveMessageGroupBand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::AddLivePackageConfigOutcome LiveClient::addLivePackageConfig(const AddLivePackageConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1275,6 +1311,42 @@ LiveClient::AddTrancodeSEIOutcomeCallable LiveClient::addTrancodeSEICallable(con return task->get_future(); } +LiveClient::BanLiveMessageGroupOutcome LiveClient::banLiveMessageGroup(const BanLiveMessageGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BanLiveMessageGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BanLiveMessageGroupOutcome(BanLiveMessageGroupResult(outcome.result())); + else + return BanLiveMessageGroupOutcome(outcome.error()); +} + +void LiveClient::banLiveMessageGroupAsync(const BanLiveMessageGroupRequest& request, const BanLiveMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, banLiveMessageGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::BanLiveMessageGroupOutcomeCallable LiveClient::banLiveMessageGroupCallable(const BanLiveMessageGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->banLiveMessageGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::BatchDeleteLiveDomainConfigsOutcome LiveClient::batchDeleteLiveDomainConfigs(const BatchDeleteLiveDomainConfigsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4587,42 +4659,6 @@ LiveClient::DescribeCasterStreamUrlOutcomeCallable LiveClient::describeCasterStr return task->get_future(); } -LiveClient::DescribeCasterSyncGroupOutcome LiveClient::describeCasterSyncGroup(const DescribeCasterSyncGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCasterSyncGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCasterSyncGroupOutcome(DescribeCasterSyncGroupResult(outcome.result())); - else - return DescribeCasterSyncGroupOutcome(outcome.error()); -} - -void LiveClient::describeCasterSyncGroupAsync(const DescribeCasterSyncGroupRequest& request, const DescribeCasterSyncGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCasterSyncGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeCasterSyncGroupOutcomeCallable LiveClient::describeCasterSyncGroupCallable(const DescribeCasterSyncGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCasterSyncGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::DescribeCasterVideoResourcesOutcome LiveClient::describeCasterVideoResources(const DescribeCasterVideoResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6135,42 +6171,6 @@ LiveClient::DescribeLiveDomainRealtimeLogDeliveryOutcomeCallable LiveClient::des 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::DescribeLiveDomainRecordUsageDataOutcome LiveClient::describeLiveDomainRecordUsageData(const DescribeLiveDomainRecordUsageDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6387,42 +6387,6 @@ LiveClient::DescribeLiveDomainTrafficDataOutcomeCallable LiveClient::describeLiv 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::DescribeLiveDomainTranscodeParamsOutcome LiveClient::describeLiveDomainTranscodeParams(const DescribeLiveDomainTranscodeParamsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8439,42 +8403,6 @@ LiveClient::DescribeLiveStreamsTotalCountOutcomeCallable LiveClient::describeLiv return task->get_future(); } -LiveClient::DescribeLiveTagResourcesOutcome LiveClient::describeLiveTagResources(const DescribeLiveTagResourcesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveTagResourcesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveTagResourcesOutcome(DescribeLiveTagResourcesResult(outcome.result())); - else - return DescribeLiveTagResourcesOutcome(outcome.error()); -} - -void LiveClient::describeLiveTagResourcesAsync(const DescribeLiveTagResourcesRequest& request, const DescribeLiveTagResourcesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveTagResources(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveTagResourcesOutcomeCallable LiveClient::describeLiveTagResourcesCallable(const DescribeLiveTagResourcesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveTagResources(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::DescribeLiveTopDomainsByFlowOutcome LiveClient::describeLiveTopDomainsByFlow(const DescribeLiveTopDomainsByFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8691,78 +8619,6 @@ LiveClient::DescribeMeterLiveBypassDurationOutcomeCallable LiveClient::describeM return task->get_future(); } -LiveClient::DescribeMeterLiveInteractionDauOutcome LiveClient::describeMeterLiveInteractionDau(const DescribeMeterLiveInteractionDauRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeMeterLiveInteractionDauOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeMeterLiveInteractionDauOutcome(DescribeMeterLiveInteractionDauResult(outcome.result())); - else - return DescribeMeterLiveInteractionDauOutcome(outcome.error()); -} - -void LiveClient::describeMeterLiveInteractionDauAsync(const DescribeMeterLiveInteractionDauRequest& request, const DescribeMeterLiveInteractionDauAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeMeterLiveInteractionDau(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeMeterLiveInteractionDauOutcomeCallable LiveClient::describeMeterLiveInteractionDauCallable(const DescribeMeterLiveInteractionDauRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeMeterLiveInteractionDau(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::DescribeMeterLiveRtcDurationOutcome LiveClient::describeMeterLiveRtcDuration(const DescribeMeterLiveRtcDurationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeMeterLiveRtcDurationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeMeterLiveRtcDurationOutcome(DescribeMeterLiveRtcDurationResult(outcome.result())); - else - return DescribeMeterLiveRtcDurationOutcome(outcome.error()); -} - -void LiveClient::describeMeterLiveRtcDurationAsync(const DescribeMeterLiveRtcDurationRequest& request, const DescribeMeterLiveRtcDurationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeMeterLiveRtcDuration(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeMeterLiveRtcDurationOutcomeCallable LiveClient::describeMeterLiveRtcDurationCallable(const DescribeMeterLiveRtcDurationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeMeterLiveRtcDuration(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::DescribeMixStreamListOutcome LiveClient::describeMixStreamList(const DescribeMixStreamListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -11895,6 +11751,42 @@ LiveClient::RecoverLiveMessageDeletedGroupOutcomeCallable LiveClient::recoverLiv return task->get_future(); } +LiveClient::RemoveLiveMessageGroupBandOutcome LiveClient::removeLiveMessageGroupBand(const RemoveLiveMessageGroupBandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveLiveMessageGroupBandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveLiveMessageGroupBandOutcome(RemoveLiveMessageGroupBandResult(outcome.result())); + else + return RemoveLiveMessageGroupBandOutcome(outcome.error()); +} + +void LiveClient::removeLiveMessageGroupBandAsync(const RemoveLiveMessageGroupBandRequest& request, const RemoveLiveMessageGroupBandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeLiveMessageGroupBand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::RemoveLiveMessageGroupBandOutcomeCallable LiveClient::removeLiveMessageGroupBandCallable(const RemoveLiveMessageGroupBandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeLiveMessageGroupBand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::RemoveShowFromShowListOutcome LiveClient::removeShowFromShowList(const RemoveShowFromShowListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12399,78 +12291,6 @@ LiveClient::SetCasterSceneConfigOutcomeCallable LiveClient::setCasterSceneConfig return task->get_future(); } -LiveClient::SetCasterSyncGroupOutcome LiveClient::setCasterSyncGroup(const SetCasterSyncGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetCasterSyncGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetCasterSyncGroupOutcome(SetCasterSyncGroupResult(outcome.result())); - else - return SetCasterSyncGroupOutcome(outcome.error()); -} - -void LiveClient::setCasterSyncGroupAsync(const SetCasterSyncGroupRequest& request, const SetCasterSyncGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setCasterSyncGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SetCasterSyncGroupOutcomeCallable LiveClient::setCasterSyncGroupCallable(const SetCasterSyncGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setCasterSyncGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::SetCasterTimedEventOutcome LiveClient::setCasterTimedEvent(const SetCasterTimedEventRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetCasterTimedEventOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetCasterTimedEventOutcome(SetCasterTimedEventResult(outcome.result())); - else - return SetCasterTimedEventOutcome(outcome.error()); -} - -void LiveClient::setCasterTimedEventAsync(const SetCasterTimedEventRequest& request, const SetCasterTimedEventAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setCasterTimedEvent(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SetCasterTimedEventOutcomeCallable LiveClient::setCasterTimedEventCallable(const SetCasterTimedEventRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setCasterTimedEvent(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::SetLiveDomainCertificateOutcome LiveClient::setLiveDomainCertificate(const SetLiveDomainCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -13407,72 +13227,36 @@ LiveClient::StopRtcAsrTaskOutcomeCallable LiveClient::stopRtcAsrTaskCallable(con return task->get_future(); } -LiveClient::TagLiveResourcesOutcome LiveClient::tagLiveResources(const TagLiveResourcesRequest &request) const +LiveClient::UnbanLiveMessageGroupOutcome LiveClient::unbanLiveMessageGroup(const UnbanLiveMessageGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return TagLiveResourcesOutcome(endpointOutcome.error()); + return UnbanLiveMessageGroupOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return TagLiveResourcesOutcome(TagLiveResourcesResult(outcome.result())); + return UnbanLiveMessageGroupOutcome(UnbanLiveMessageGroupResult(outcome.result())); else - return TagLiveResourcesOutcome(outcome.error()); + return UnbanLiveMessageGroupOutcome(outcome.error()); } -void LiveClient::tagLiveResourcesAsync(const TagLiveResourcesRequest& request, const TagLiveResourcesAsyncHandler& handler, const std::shared_ptr& context) const +void LiveClient::unbanLiveMessageGroupAsync(const UnbanLiveMessageGroupRequest& request, const UnbanLiveMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, tagLiveResources(request), context); + handler(this, request, unbanLiveMessageGroup(request), context); }; asyncExecute(new Runnable(fn)); } -LiveClient::TagLiveResourcesOutcomeCallable LiveClient::tagLiveResourcesCallable(const TagLiveResourcesRequest &request) const +LiveClient::UnbanLiveMessageGroupOutcomeCallable LiveClient::unbanLiveMessageGroupCallable(const UnbanLiveMessageGroupRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->tagLiveResources(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LiveClient::UnTagLiveResourcesOutcome LiveClient::unTagLiveResources(const UnTagLiveResourcesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UnTagLiveResourcesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UnTagLiveResourcesOutcome(UnTagLiveResourcesResult(outcome.result())); - else - return UnTagLiveResourcesOutcome(outcome.error()); -} - -void LiveClient::unTagLiveResourcesAsync(const UnTagLiveResourcesRequest& request, const UnTagLiveResourcesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, unTagLiveResources(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::UnTagLiveResourcesOutcomeCallable LiveClient::unTagLiveResourcesCallable(const UnTagLiveResourcesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->unTagLiveResources(request); + return this->unbanLiveMessageGroup(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -14307,42 +14091,6 @@ LiveClient::UpdateLiveStreamWatermarkRuleOutcomeCallable LiveClient::updateLiveS return task->get_future(); } -LiveClient::UpdateLiveTopLevelDomainOutcome LiveClient::updateLiveTopLevelDomain(const UpdateLiveTopLevelDomainRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateLiveTopLevelDomainOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateLiveTopLevelDomainOutcome(UpdateLiveTopLevelDomainResult(outcome.result())); - else - return UpdateLiveTopLevelDomainOutcome(outcome.error()); -} - -void LiveClient::updateLiveTopLevelDomainAsync(const UpdateLiveTopLevelDomainRequest& request, const UpdateLiveTopLevelDomainAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateLiveTopLevelDomain(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::UpdateLiveTopLevelDomainOutcomeCallable LiveClient::updateLiveTopLevelDomainCallable(const UpdateLiveTopLevelDomainRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateLiveTopLevelDomain(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::UpdateMessageAppOutcome LiveClient::updateMessageApp(const UpdateMessageAppRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/live/src/model/AddLiveMessageGroupBandRequest.cc b/live/src/model/AddLiveMessageGroupBandRequest.cc new file mode 100644 index 000000000..871f5059c --- /dev/null +++ b/live/src/model/AddLiveMessageGroupBandRequest.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveMessageGroupBandRequest; + +AddLiveMessageGroupBandRequest::AddLiveMessageGroupBandRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveMessageGroupBand") { + setMethod(HttpRequest::Method::Post); +} + +AddLiveMessageGroupBandRequest::~AddLiveMessageGroupBandRequest() {} + +std::vector AddLiveMessageGroupBandRequest::getBannedUsers() const { + return bannedUsers_; +} + +void AddLiveMessageGroupBandRequest::setBannedUsers(const std::vector &bannedUsers) { + bannedUsers_ = bannedUsers; + for(int dep1 = 0; dep1 != bannedUsers.size(); dep1++) { + setParameter(std::string("BannedUsers") + "." + std::to_string(dep1 + 1), bannedUsers[dep1]); + } +} + +std::string AddLiveMessageGroupBandRequest::getGroupId() const { + return groupId_; +} + +void AddLiveMessageGroupBandRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); +} + +std::string AddLiveMessageGroupBandRequest::getDataCenter() const { + return dataCenter_; +} + +void AddLiveMessageGroupBandRequest::setDataCenter(const std::string &dataCenter) { + dataCenter_ = dataCenter; + setParameter(std::string("DataCenter"), dataCenter); +} + +std::string AddLiveMessageGroupBandRequest::getAppId() const { + return appId_; +} + +void AddLiveMessageGroupBandRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/UnTagLiveResourcesResult.cc b/live/src/model/AddLiveMessageGroupBandResult.cc similarity index 72% rename from live/src/model/UnTagLiveResourcesResult.cc rename to live/src/model/AddLiveMessageGroupBandResult.cc index 7256b9cef..afd6d5299 100644 --- a/live/src/model/UnTagLiveResourcesResult.cc +++ b/live/src/model/AddLiveMessageGroupBandResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Live; using namespace AlibabaCloud::Live::Model; -UnTagLiveResourcesResult::UnTagLiveResourcesResult() : +AddLiveMessageGroupBandResult::AddLiveMessageGroupBandResult() : ServiceResult() {} -UnTagLiveResourcesResult::UnTagLiveResourcesResult(const std::string &payload) : +AddLiveMessageGroupBandResult::AddLiveMessageGroupBandResult(const std::string &payload) : ServiceResult() { parse(payload); } -UnTagLiveResourcesResult::~UnTagLiveResourcesResult() +AddLiveMessageGroupBandResult::~AddLiveMessageGroupBandResult() {} -void UnTagLiveResourcesResult::parse(const std::string &payload) +void AddLiveMessageGroupBandResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/live/src/model/BanLiveMessageGroupRequest.cc b/live/src/model/BanLiveMessageGroupRequest.cc new file mode 100644 index 000000000..1d3df4500 --- /dev/null +++ b/live/src/model/BanLiveMessageGroupRequest.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::BanLiveMessageGroupRequest; + +BanLiveMessageGroupRequest::BanLiveMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "BanLiveMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +BanLiveMessageGroupRequest::~BanLiveMessageGroupRequest() {} + +std::string BanLiveMessageGroupRequest::getGroupId() const { + return groupId_; +} + +void BanLiveMessageGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); +} + +std::vector BanLiveMessageGroupRequest::getExceptUsers() const { + return exceptUsers_; +} + +void BanLiveMessageGroupRequest::setExceptUsers(const std::vector &exceptUsers) { + exceptUsers_ = exceptUsers; + for(int dep1 = 0; dep1 != exceptUsers.size(); dep1++) { + setParameter(std::string("ExceptUsers") + "." + std::to_string(dep1 + 1), exceptUsers[dep1]); + } +} + +std::string BanLiveMessageGroupRequest::getDataCenter() const { + return dataCenter_; +} + +void BanLiveMessageGroupRequest::setDataCenter(const std::string &dataCenter) { + dataCenter_ = dataCenter; + setParameter(std::string("DataCenter"), dataCenter); +} + +std::string BanLiveMessageGroupRequest::getAppId() const { + return appId_; +} + +void BanLiveMessageGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/SetCasterTimedEventResult.cc b/live/src/model/BanLiveMessageGroupResult.cc similarity index 75% rename from live/src/model/SetCasterTimedEventResult.cc rename to live/src/model/BanLiveMessageGroupResult.cc index c24eac70b..06db7ee3f 100644 --- a/live/src/model/SetCasterTimedEventResult.cc +++ b/live/src/model/BanLiveMessageGroupResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Live; using namespace AlibabaCloud::Live::Model; -SetCasterTimedEventResult::SetCasterTimedEventResult() : +BanLiveMessageGroupResult::BanLiveMessageGroupResult() : ServiceResult() {} -SetCasterTimedEventResult::SetCasterTimedEventResult(const std::string &payload) : +BanLiveMessageGroupResult::BanLiveMessageGroupResult(const std::string &payload) : ServiceResult() { parse(payload); } -SetCasterTimedEventResult::~SetCasterTimedEventResult() +BanLiveMessageGroupResult::~BanLiveMessageGroupResult() {} -void SetCasterTimedEventResult::parse(const std::string &payload) +void BanLiveMessageGroupResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/live/src/model/CreateCasterRequest.cc b/live/src/model/CreateCasterRequest.cc index 0e03c1604..e5abb0974 100644 --- a/live/src/model/CreateCasterRequest.cc +++ b/live/src/model/CreateCasterRequest.cc @@ -34,6 +34,15 @@ void CreateCasterRequest::setClientToken(const std::string &clientToken) { setParameter(std::string("ClientToken"), clientToken); } +std::string CreateCasterRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void CreateCasterRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + std::string CreateCasterRequest::getCasterName() const { return casterName_; } diff --git a/live/src/model/DescribeCasterSyncGroupRequest.cc b/live/src/model/DescribeCasterSyncGroupRequest.cc deleted file mode 100644 index f991038ad..000000000 --- a/live/src/model/DescribeCasterSyncGroupRequest.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 - -using AlibabaCloud::Live::Model::DescribeCasterSyncGroupRequest; - -DescribeCasterSyncGroupRequest::DescribeCasterSyncGroupRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterSyncGroup") { - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterSyncGroupRequest::~DescribeCasterSyncGroupRequest() {} - -std::string DescribeCasterSyncGroupRequest::getCasterId() const { - return casterId_; -} - -void DescribeCasterSyncGroupRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); -} - -long DescribeCasterSyncGroupRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterSyncGroupRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/live/src/model/DescribeCasterSyncGroupResult.cc b/live/src/model/DescribeCasterSyncGroupResult.cc deleted file mode 100644 index 734452ec6..000000000 --- a/live/src/model/DescribeCasterSyncGroupResult.cc +++ /dev/null @@ -1,69 +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; - -DescribeCasterSyncGroupResult::DescribeCasterSyncGroupResult() : - ServiceResult() -{} - -DescribeCasterSyncGroupResult::DescribeCasterSyncGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCasterSyncGroupResult::~DescribeCasterSyncGroupResult() -{} - -void DescribeCasterSyncGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSyncGroupsNode = value["SyncGroups"]["SyncGroup"]; - for (auto valueSyncGroupsSyncGroup : allSyncGroupsNode) - { - SyncGroup syncGroupsObject; - if(!valueSyncGroupsSyncGroup["HostResourceId"].isNull()) - syncGroupsObject.hostResourceId = valueSyncGroupsSyncGroup["HostResourceId"].asString(); - if(!valueSyncGroupsSyncGroup["Mode"].isNull()) - syncGroupsObject.mode = std::stoi(valueSyncGroupsSyncGroup["Mode"].asString()); - auto allResourceIds = value["ResourceIds"]["ResourceId"]; - for (auto value : allResourceIds) - syncGroupsObject.resourceIds.push_back(value.asString()); - syncGroups_.push_back(syncGroupsObject); - } - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); - -} - -std::vector DescribeCasterSyncGroupResult::getSyncGroups()const -{ - return syncGroups_; -} - -std::string DescribeCasterSyncGroupResult::getCasterId()const -{ - return casterId_; -} - diff --git a/live/src/model/DescribeCastersRequest.cc b/live/src/model/DescribeCastersRequest.cc index e603d005c..80d39f9c9 100644 --- a/live/src/model/DescribeCastersRequest.cc +++ b/live/src/model/DescribeCastersRequest.cc @@ -43,6 +43,15 @@ void DescribeCastersRequest::setPageNum(int pageNum) { setParameter(std::string("PageNum"), std::to_string(pageNum)); } +std::string DescribeCastersRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void DescribeCastersRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + std::string DescribeCastersRequest::getCasterName() const { return casterName_; } diff --git a/live/src/model/DescribeCastersResult.cc b/live/src/model/DescribeCastersResult.cc index 39be66366..048558347 100644 --- a/live/src/model/DescribeCastersResult.cc +++ b/live/src/model/DescribeCastersResult.cc @@ -71,6 +71,10 @@ void DescribeCastersResult::parse(const std::string &payload) casterListObject.startTime = valueCasterListCaster["StartTime"].asString(); if(!valueCasterListCaster["Status"].isNull()) casterListObject.status = std::stoi(valueCasterListCaster["Status"].asString()); + if(!valueCasterListCaster["ResourceGroupId"].isNull()) + casterListObject.resourceGroupId = std::stoi(valueCasterListCaster["ResourceGroupId"].asString()); + if(!valueCasterListCaster["ClientTokenId"].isNull()) + casterListObject.clientTokenId = valueCasterListCaster["ClientTokenId"].asString(); casterList_.push_back(casterListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeLiveDomainRecordDataRequest.cc b/live/src/model/DescribeLiveDomainRecordDataRequest.cc deleted file mode 100644 index 8b1c06ea8..000000000 --- a/live/src/model/DescribeLiveDomainRecordDataRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRecordDataRequest; - -DescribeLiveDomainRecordDataRequest::DescribeLiveDomainRecordDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordData") { - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainRecordDataRequest::~DescribeLiveDomainRecordDataRequest() {} - -std::string DescribeLiveDomainRecordDataRequest::getStartTime() const { - return startTime_; -} - -void DescribeLiveDomainRecordDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); -} - -std::string DescribeLiveDomainRecordDataRequest::getRecordType() const { - return recordType_; -} - -void DescribeLiveDomainRecordDataRequest::setRecordType(const std::string &recordType) { - recordType_ = recordType; - setParameter(std::string("RecordType"), recordType); -} - -std::string DescribeLiveDomainRecordDataRequest::getDomainName() const { - return domainName_; -} - -void DescribeLiveDomainRecordDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); -} - -std::string DescribeLiveDomainRecordDataRequest::getEndTime() const { - return endTime_; -} - -void DescribeLiveDomainRecordDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); -} - -long DescribeLiveDomainRecordDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainRecordDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/live/src/model/DescribeLiveDomainRecordDataResult.cc b/live/src/model/DescribeLiveDomainRecordDataResult.cc deleted file mode 100644 index dc8733b77..000000000 --- a/live/src/model/DescribeLiveDomainRecordDataResult.cc +++ /dev/null @@ -1,66 +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; - -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 allRecordDataInfosNode = value["RecordDataInfos"]["RecordDataInfo"]; - for (auto valueRecordDataInfosRecordDataInfo : allRecordDataInfosNode) - { - RecordDataInfo recordDataInfosObject; - if(!valueRecordDataInfosRecordDataInfo["Date"].isNull()) - recordDataInfosObject.date = valueRecordDataInfosRecordDataInfo["Date"].asString(); - if(!valueRecordDataInfosRecordDataInfo["Total"].isNull()) - recordDataInfosObject.total = std::stoi(valueRecordDataInfosRecordDataInfo["Total"].asString()); - auto detailNode = value["Detail"]; - if(!detailNode["FLV"].isNull()) - recordDataInfosObject.detail.fLV = std::stoi(detailNode["FLV"].asString()); - if(!detailNode["TS"].isNull()) - recordDataInfosObject.detail.tS = std::stoi(detailNode["TS"].asString()); - if(!detailNode["MP4"].isNull()) - recordDataInfosObject.detail.mP4 = std::stoi(detailNode["MP4"].asString()); - recordDataInfos_.push_back(recordDataInfosObject); - } - -} - -std::vector DescribeLiveDomainRecordDataResult::getRecordDataInfos()const -{ - return recordDataInfos_; -} - diff --git a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc deleted file mode 100644 index e035d7793..000000000 --- a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainTranscodeDataRequest; - -DescribeLiveDomainTranscodeDataRequest::DescribeLiveDomainTranscodeDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTranscodeData") { - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainTranscodeDataRequest::~DescribeLiveDomainTranscodeDataRequest() {} - -std::string DescribeLiveDomainTranscodeDataRequest::getStartTime() const { - return startTime_; -} - -void DescribeLiveDomainTranscodeDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); -} - -std::string DescribeLiveDomainTranscodeDataRequest::getDomainName() const { - return domainName_; -} - -void DescribeLiveDomainTranscodeDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); -} - -std::string DescribeLiveDomainTranscodeDataRequest::getEndTime() const { - return endTime_; -} - -void DescribeLiveDomainTranscodeDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); -} - -long DescribeLiveDomainTranscodeDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainTranscodeDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/live/src/model/DescribeLiveDomainTranscodeDataResult.cc b/live/src/model/DescribeLiveDomainTranscodeDataResult.cc deleted file mode 100644 index 19fc80dc7..000000000 --- a/live/src/model/DescribeLiveDomainTranscodeDataResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 allTranscodeDataInfosNode = value["TranscodeDataInfos"]["TranscodeDataInfo"]; - for (auto valueTranscodeDataInfosTranscodeDataInfo : allTranscodeDataInfosNode) - { - TranscodeDataInfo transcodeDataInfosObject; - if(!valueTranscodeDataInfosTranscodeDataInfo["Date"].isNull()) - transcodeDataInfosObject.date = valueTranscodeDataInfosTranscodeDataInfo["Date"].asString(); - if(!valueTranscodeDataInfosTranscodeDataInfo["Total"].isNull()) - transcodeDataInfosObject.total = std::stoi(valueTranscodeDataInfosTranscodeDataInfo["Total"].asString()); - if(!valueTranscodeDataInfosTranscodeDataInfo["Detail"].isNull()) - transcodeDataInfosObject.detail = valueTranscodeDataInfosTranscodeDataInfo["Detail"].asString(); - transcodeDataInfos_.push_back(transcodeDataInfosObject); - } - -} - -std::vector DescribeLiveDomainTranscodeDataResult::getTranscodeDataInfos()const -{ - return transcodeDataInfos_; -} - diff --git a/live/src/model/DescribeLiveTagResourcesRequest.cc b/live/src/model/DescribeLiveTagResourcesRequest.cc deleted file mode 100644 index 7db2e607a..000000000 --- a/live/src/model/DescribeLiveTagResourcesRequest.cc +++ /dev/null @@ -1,76 +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::DescribeLiveTagResourcesRequest; - -DescribeLiveTagResourcesRequest::DescribeLiveTagResourcesRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveTagResources") { - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveTagResourcesRequest::~DescribeLiveTagResourcesRequest() {} - -std::string DescribeLiveTagResourcesRequest::getScope() const { - return scope_; -} - -void DescribeLiveTagResourcesRequest::setScope(const std::string &scope) { - scope_ = scope; - setParameter(std::string("Scope"), scope); -} - -std::vector DescribeLiveTagResourcesRequest::getTag() const { - return tag_; -} - -void DescribeLiveTagResourcesRequest::setTag(const std::vector &tag) { - tag_ = tag; - for(int dep1 = 0; dep1 != tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } -} - -std::vector DescribeLiveTagResourcesRequest::getResourceId() const { - return resourceId_; -} - -void DescribeLiveTagResourcesRequest::setResourceId(const std::vector &resourceId) { - resourceId_ = resourceId; -} - -long DescribeLiveTagResourcesRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveTagResourcesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string DescribeLiveTagResourcesRequest::getResourceType() const { - return resourceType_; -} - -void DescribeLiveTagResourcesRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); -} - diff --git a/live/src/model/DescribeLiveTagResourcesResult.cc b/live/src/model/DescribeLiveTagResourcesResult.cc deleted file mode 100644 index fd794897f..000000000 --- a/live/src/model/DescribeLiveTagResourcesResult.cc +++ /dev/null @@ -1,67 +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; - -DescribeLiveTagResourcesResult::DescribeLiveTagResourcesResult() : - ServiceResult() -{} - -DescribeLiveTagResourcesResult::DescribeLiveTagResourcesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveTagResourcesResult::~DescribeLiveTagResourcesResult() -{} - -void DescribeLiveTagResourcesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allTagResourcesNode = value["TagResources"]["TagResource"]; - for (auto valueTagResourcesTagResource : allTagResourcesNode) - { - TagResource tagResourcesObject; - if(!valueTagResourcesTagResource["ResourceId"].isNull()) - tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString(); - auto allTagNode = valueTagResourcesTagResource["Tag"]["TagItem"]; - for (auto valueTagResourcesTagResourceTagTagItem : allTagNode) - { - TagResource::TagItem tagObject; - if(!valueTagResourcesTagResourceTagTagItem["Key"].isNull()) - tagObject.key = valueTagResourcesTagResourceTagTagItem["Key"].asString(); - if(!valueTagResourcesTagResourceTagTagItem["Value"].isNull()) - tagObject.value = valueTagResourcesTagResourceTagTagItem["Value"].asString(); - tagResourcesObject.tag.push_back(tagObject); - } - tagResources_.push_back(tagResourcesObject); - } - -} - -std::vector DescribeLiveTagResourcesResult::getTagResources()const -{ - return tagResources_; -} - diff --git a/live/src/model/DescribeMeterLiveInteractionDauRequest.cc b/live/src/model/DescribeMeterLiveInteractionDauRequest.cc deleted file mode 100644 index 604ba0c39..000000000 --- a/live/src/model/DescribeMeterLiveInteractionDauRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeMeterLiveInteractionDauRequest; - -DescribeMeterLiveInteractionDauRequest::DescribeMeterLiveInteractionDauRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeMeterLiveInteractionDau") { - setMethod(HttpRequest::Method::Post); -} - -DescribeMeterLiveInteractionDauRequest::~DescribeMeterLiveInteractionDauRequest() {} - -long DescribeMeterLiveInteractionDauRequest::getStartTs() const { - return startTs_; -} - -void DescribeMeterLiveInteractionDauRequest::setStartTs(long startTs) { - startTs_ = startTs; - setParameter(std::string("StartTs"), std::to_string(startTs)); -} - -std::string DescribeMeterLiveInteractionDauRequest::getServiceArea() const { - return serviceArea_; -} - -void DescribeMeterLiveInteractionDauRequest::setServiceArea(const std::string &serviceArea) { - serviceArea_ = serviceArea; - setParameter(std::string("ServiceArea"), serviceArea); -} - -std::string DescribeMeterLiveInteractionDauRequest::getAppId() const { - return appId_; -} - -void DescribeMeterLiveInteractionDauRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); -} - -long DescribeMeterLiveInteractionDauRequest::getEndTs() const { - return endTs_; -} - -void DescribeMeterLiveInteractionDauRequest::setEndTs(long endTs) { - endTs_ = endTs; - setParameter(std::string("EndTs"), std::to_string(endTs)); -} - -long DescribeMeterLiveInteractionDauRequest::getInterval() const { - return interval_; -} - -void DescribeMeterLiveInteractionDauRequest::setInterval(long interval) { - interval_ = interval; - setParameter(std::string("Interval"), std::to_string(interval)); -} - diff --git a/live/src/model/DescribeMeterLiveInteractionDauResult.cc b/live/src/model/DescribeMeterLiveInteractionDauResult.cc deleted file mode 100644 index 462615572..000000000 --- a/live/src/model/DescribeMeterLiveInteractionDauResult.cc +++ /dev/null @@ -1,66 +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; - -DescribeMeterLiveInteractionDauResult::DescribeMeterLiveInteractionDauResult() : - ServiceResult() -{} - -DescribeMeterLiveInteractionDauResult::DescribeMeterLiveInteractionDauResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeMeterLiveInteractionDauResult::~DescribeMeterLiveInteractionDauResult() -{} - -void DescribeMeterLiveInteractionDauResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["Dau"].isNull()) - dataObject.dau = valueDataDataItem["Dau"].asString(); - if(!valueDataDataItem["Timestamp"].isNull()) - dataObject.timestamp = std::stol(valueDataDataItem["Timestamp"].asString()); - data_.push_back(dataObject); - } - if(!value["PeakDau"].isNull()) - peakDau_ = value["PeakDau"].asString(); - -} - -std::vector DescribeMeterLiveInteractionDauResult::getData()const -{ - return data_; -} - -double DescribeMeterLiveInteractionDauResult::getPeakDau()const -{ - return peakDau_; -} - diff --git a/live/src/model/DescribeMeterLiveRtcDurationRequest.cc b/live/src/model/DescribeMeterLiveRtcDurationRequest.cc deleted file mode 100644 index dac0edd5b..000000000 --- a/live/src/model/DescribeMeterLiveRtcDurationRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeMeterLiveRtcDurationRequest; - -DescribeMeterLiveRtcDurationRequest::DescribeMeterLiveRtcDurationRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeMeterLiveRtcDuration") { - setMethod(HttpRequest::Method::Post); -} - -DescribeMeterLiveRtcDurationRequest::~DescribeMeterLiveRtcDurationRequest() {} - -std::string DescribeMeterLiveRtcDurationRequest::getEndTime() const { - return endTime_; -} - -void DescribeMeterLiveRtcDurationRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); -} - -std::string DescribeMeterLiveRtcDurationRequest::getStartTime() const { - return startTime_; -} - -void DescribeMeterLiveRtcDurationRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); -} - -std::string DescribeMeterLiveRtcDurationRequest::getServiceArea() const { - return serviceArea_; -} - -void DescribeMeterLiveRtcDurationRequest::setServiceArea(const std::string &serviceArea) { - serviceArea_ = serviceArea; - setParameter(std::string("ServiceArea"), serviceArea); -} - -std::string DescribeMeterLiveRtcDurationRequest::getAppId() const { - return appId_; -} - -void DescribeMeterLiveRtcDurationRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("appId"), appId); -} - -std::string DescribeMeterLiveRtcDurationRequest::getInterval() const { - return interval_; -} - -void DescribeMeterLiveRtcDurationRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); -} - diff --git a/live/src/model/DescribeMeterLiveRtcDurationResult.cc b/live/src/model/DescribeMeterLiveRtcDurationResult.cc deleted file mode 100644 index d223f227c..000000000 --- a/live/src/model/DescribeMeterLiveRtcDurationResult.cc +++ /dev/null @@ -1,102 +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; - -DescribeMeterLiveRtcDurationResult::DescribeMeterLiveRtcDurationResult() : - ServiceResult() -{} - -DescribeMeterLiveRtcDurationResult::DescribeMeterLiveRtcDurationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeMeterLiveRtcDurationResult::~DescribeMeterLiveRtcDurationResult() -{} - -void DescribeMeterLiveRtcDurationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["AudioDuration"].isNull()) - dataObject.audioDuration = std::stol(valueDataDataItem["AudioDuration"].asString()); - if(!valueDataDataItem["Timestamp"].isNull()) - dataObject.timestamp = valueDataDataItem["Timestamp"].asString(); - if(!valueDataDataItem["TotalDuration"].isNull()) - dataObject.totalDuration = std::stol(valueDataDataItem["TotalDuration"].asString()); - if(!valueDataDataItem["V480Duration"].isNull()) - dataObject.v480Duration = std::stol(valueDataDataItem["V480Duration"].asString()); - if(!valueDataDataItem["V720Duration"].isNull()) - dataObject.v720Duration = std::stol(valueDataDataItem["V720Duration"].asString()); - if(!valueDataDataItem["V1080Duration"].isNull()) - dataObject.v1080Duration = std::stol(valueDataDataItem["V1080Duration"].asString()); - data_.push_back(dataObject); - } - if(!value["AudioSummaryDuration"].isNull()) - audioSummaryDuration_ = std::stol(value["AudioSummaryDuration"].asString()); - if(!value["TotalSummaryDuration"].isNull()) - totalSummaryDuration_ = std::stol(value["TotalSummaryDuration"].asString()); - if(!value["V480SummaryDuration"].isNull()) - v480SummaryDuration_ = std::stol(value["V480SummaryDuration"].asString()); - if(!value["V720SummaryDuration"].isNull()) - v720SummaryDuration_ = std::stol(value["V720SummaryDuration"].asString()); - if(!value["V1080SummaryDuration"].isNull()) - v1080SummaryDuration_ = std::stol(value["V1080SummaryDuration"].asString()); - -} - -long DescribeMeterLiveRtcDurationResult::getV480SummaryDuration()const -{ - return v480SummaryDuration_; -} - -long DescribeMeterLiveRtcDurationResult::getV1080SummaryDuration()const -{ - return v1080SummaryDuration_; -} - -long DescribeMeterLiveRtcDurationResult::getV720SummaryDuration()const -{ - return v720SummaryDuration_; -} - -std::vector DescribeMeterLiveRtcDurationResult::getData()const -{ - return data_; -} - -long DescribeMeterLiveRtcDurationResult::getAudioSummaryDuration()const -{ - return audioSummaryDuration_; -} - -long DescribeMeterLiveRtcDurationResult::getTotalSummaryDuration()const -{ - return totalSummaryDuration_; -} - diff --git a/live/src/model/RemoveLiveMessageGroupBandRequest.cc b/live/src/model/RemoveLiveMessageGroupBandRequest.cc new file mode 100644 index 000000000..794f99374 --- /dev/null +++ b/live/src/model/RemoveLiveMessageGroupBandRequest.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::RemoveLiveMessageGroupBandRequest; + +RemoveLiveMessageGroupBandRequest::RemoveLiveMessageGroupBandRequest() + : RpcServiceRequest("live", "2016-11-01", "RemoveLiveMessageGroupBand") { + setMethod(HttpRequest::Method::Post); +} + +RemoveLiveMessageGroupBandRequest::~RemoveLiveMessageGroupBandRequest() {} + +std::string RemoveLiveMessageGroupBandRequest::getGroupId() const { + return groupId_; +} + +void RemoveLiveMessageGroupBandRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); +} + +std::string RemoveLiveMessageGroupBandRequest::getDataCenter() const { + return dataCenter_; +} + +void RemoveLiveMessageGroupBandRequest::setDataCenter(const std::string &dataCenter) { + dataCenter_ = dataCenter; + setParameter(std::string("DataCenter"), dataCenter); +} + +std::vector RemoveLiveMessageGroupBandRequest::getUnbannedUsers() const { + return unbannedUsers_; +} + +void RemoveLiveMessageGroupBandRequest::setUnbannedUsers(const std::vector &unbannedUsers) { + unbannedUsers_ = unbannedUsers; + for(int dep1 = 0; dep1 != unbannedUsers.size(); dep1++) { + setParameter(std::string("UnbannedUsers") + "." + std::to_string(dep1 + 1), unbannedUsers[dep1]); + } +} + +std::string RemoveLiveMessageGroupBandRequest::getAppId() const { + return appId_; +} + +void RemoveLiveMessageGroupBandRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/TagLiveResourcesResult.cc b/live/src/model/RemoveLiveMessageGroupBandResult.cc similarity index 70% rename from live/src/model/TagLiveResourcesResult.cc rename to live/src/model/RemoveLiveMessageGroupBandResult.cc index 26d881935..0be72e5eb 100644 --- a/live/src/model/TagLiveResourcesResult.cc +++ b/live/src/model/RemoveLiveMessageGroupBandResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Live; using namespace AlibabaCloud::Live::Model; -TagLiveResourcesResult::TagLiveResourcesResult() : +RemoveLiveMessageGroupBandResult::RemoveLiveMessageGroupBandResult() : ServiceResult() {} -TagLiveResourcesResult::TagLiveResourcesResult(const std::string &payload) : +RemoveLiveMessageGroupBandResult::RemoveLiveMessageGroupBandResult(const std::string &payload) : ServiceResult() { parse(payload); } -TagLiveResourcesResult::~TagLiveResourcesResult() +RemoveLiveMessageGroupBandResult::~RemoveLiveMessageGroupBandResult() {} -void TagLiveResourcesResult::parse(const std::string &payload) +void RemoveLiveMessageGroupBandResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/live/src/model/SetCasterSyncGroupRequest.cc b/live/src/model/SetCasterSyncGroupRequest.cc deleted file mode 100644 index 24420942d..000000000 --- a/live/src/model/SetCasterSyncGroupRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterSyncGroupRequest; - -SetCasterSyncGroupRequest::SetCasterSyncGroupRequest() - : RpcServiceRequest("live", "2016-11-01", "SetCasterSyncGroup") { - setMethod(HttpRequest::Method::Post); -} - -SetCasterSyncGroupRequest::~SetCasterSyncGroupRequest() {} - -std::string SetCasterSyncGroupRequest::getCasterId() const { - return casterId_; -} - -void SetCasterSyncGroupRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); -} - -long SetCasterSyncGroupRequest::getOwnerId() const { - return ownerId_; -} - -void SetCasterSyncGroupRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::vector SetCasterSyncGroupRequest::getSyncGroup() const { - return syncGroup_; -} - -void SetCasterSyncGroupRequest::setSyncGroup(const std::vector &syncGroup) { - syncGroup_ = syncGroup; - for(int dep1 = 0; dep1 != syncGroup.size(); dep1++) { - auto syncGroupObj = syncGroup.at(dep1); - std::string syncGroupObjStr = std::string("SyncGroup") + "." + std::to_string(dep1 + 1); - setParameter(syncGroupObjStr + ".HostResourceId", syncGroupObj.hostResourceId); - setParameter(syncGroupObjStr + ".Mode", std::to_string(syncGroupObj.mode)); - setParameter(syncGroupObjStr + ".SyncDelayThreshold", std::to_string(syncGroupObj.syncDelayThreshold)); - } -} - diff --git a/live/src/model/SetCasterTimedEventRequest.cc b/live/src/model/SetCasterTimedEventRequest.cc deleted file mode 100644 index 8c4cd437d..000000000 --- a/live/src/model/SetCasterTimedEventRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterTimedEventRequest; - -SetCasterTimedEventRequest::SetCasterTimedEventRequest() - : RpcServiceRequest("live", "2016-11-01", "SetCasterTimedEvent") { - setMethod(HttpRequest::Method::Post); -} - -SetCasterTimedEventRequest::~SetCasterTimedEventRequest() {} - -std::string SetCasterTimedEventRequest::getEventName() const { - return eventName_; -} - -void SetCasterTimedEventRequest::setEventName(const std::string &eventName) { - eventName_ = eventName; - setParameter(std::string("EventName"), eventName); -} - -std::string SetCasterTimedEventRequest::getStartTimeUTC() const { - return startTimeUTC_; -} - -void SetCasterTimedEventRequest::setStartTimeUTC(const std::string &startTimeUTC) { - startTimeUTC_ = startTimeUTC; - setParameter(std::string("StartTimeUTC"), startTimeUTC); -} - -std::string SetCasterTimedEventRequest::getCasterId() const { - return casterId_; -} - -void SetCasterTimedEventRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); -} - -long SetCasterTimedEventRequest::getOwnerId() const { - return ownerId_; -} - -void SetCasterTimedEventRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/live/src/model/TagLiveResourcesRequest.cc b/live/src/model/TagLiveResourcesRequest.cc deleted file mode 100644 index 36da62ed5..000000000 --- a/live/src/model/TagLiveResourcesRequest.cc +++ /dev/null @@ -1,67 +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::TagLiveResourcesRequest; - -TagLiveResourcesRequest::TagLiveResourcesRequest() - : RpcServiceRequest("live", "2016-11-01", "TagLiveResources") { - setMethod(HttpRequest::Method::Post); -} - -TagLiveResourcesRequest::~TagLiveResourcesRequest() {} - -std::vector TagLiveResourcesRequest::getTag() const { - return tag_; -} - -void TagLiveResourcesRequest::setTag(const std::vector &tag) { - tag_ = tag; - for(int dep1 = 0; dep1 != tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } -} - -std::vector TagLiveResourcesRequest::getResourceId() const { - return resourceId_; -} - -void TagLiveResourcesRequest::setResourceId(const std::vector &resourceId) { - resourceId_ = resourceId; -} - -long TagLiveResourcesRequest::getOwnerId() const { - return ownerId_; -} - -void TagLiveResourcesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string TagLiveResourcesRequest::getResourceType() const { - return resourceType_; -} - -void TagLiveResourcesRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); -} - diff --git a/live/src/model/UnTagLiveResourcesRequest.cc b/live/src/model/UnTagLiveResourcesRequest.cc deleted file mode 100644 index de5af7e1f..000000000 --- a/live/src/model/UnTagLiveResourcesRequest.cc +++ /dev/null @@ -1,70 +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::UnTagLiveResourcesRequest; - -UnTagLiveResourcesRequest::UnTagLiveResourcesRequest() - : RpcServiceRequest("live", "2016-11-01", "UnTagLiveResources") { - setMethod(HttpRequest::Method::Post); -} - -UnTagLiveResourcesRequest::~UnTagLiveResourcesRequest() {} - -bool UnTagLiveResourcesRequest::getAll() const { - return all_; -} - -void UnTagLiveResourcesRequest::setAll(bool all) { - all_ = all; - setParameter(std::string("All"), all ? "true" : "false"); -} - -std::vector UnTagLiveResourcesRequest::getResourceId() const { - return resourceId_; -} - -void UnTagLiveResourcesRequest::setResourceId(const std::vector &resourceId) { - resourceId_ = resourceId; -} - -long UnTagLiveResourcesRequest::getOwnerId() const { - return ownerId_; -} - -void UnTagLiveResourcesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string UnTagLiveResourcesRequest::getResourceType() const { - return resourceType_; -} - -void UnTagLiveResourcesRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); -} - -std::vector UnTagLiveResourcesRequest::getTagKey() const { - return tagKey_; -} - -void UnTagLiveResourcesRequest::setTagKey(const std::vector &tagKey) { - tagKey_ = tagKey; -} - diff --git a/live/src/model/UnbanLiveMessageGroupRequest.cc b/live/src/model/UnbanLiveMessageGroupRequest.cc new file mode 100644 index 000000000..3f3c8a0a0 --- /dev/null +++ b/live/src/model/UnbanLiveMessageGroupRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UnbanLiveMessageGroupRequest; + +UnbanLiveMessageGroupRequest::UnbanLiveMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "UnbanLiveMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +UnbanLiveMessageGroupRequest::~UnbanLiveMessageGroupRequest() {} + +std::string UnbanLiveMessageGroupRequest::getGroupId() const { + return groupId_; +} + +void UnbanLiveMessageGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); +} + +std::string UnbanLiveMessageGroupRequest::getDataCenter() const { + return dataCenter_; +} + +void UnbanLiveMessageGroupRequest::setDataCenter(const std::string &dataCenter) { + dataCenter_ = dataCenter; + setParameter(std::string("DataCenter"), dataCenter); +} + +std::string UnbanLiveMessageGroupRequest::getAppId() const { + return appId_; +} + +void UnbanLiveMessageGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/SetCasterSyncGroupResult.cc b/live/src/model/UnbanLiveMessageGroupResult.cc similarity index 73% rename from live/src/model/SetCasterSyncGroupResult.cc rename to live/src/model/UnbanLiveMessageGroupResult.cc index e1a86a41c..ccaab4f37 100644 --- a/live/src/model/SetCasterSyncGroupResult.cc +++ b/live/src/model/UnbanLiveMessageGroupResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Live; using namespace AlibabaCloud::Live::Model; -SetCasterSyncGroupResult::SetCasterSyncGroupResult() : +UnbanLiveMessageGroupResult::UnbanLiveMessageGroupResult() : ServiceResult() {} -SetCasterSyncGroupResult::SetCasterSyncGroupResult(const std::string &payload) : +UnbanLiveMessageGroupResult::UnbanLiveMessageGroupResult(const std::string &payload) : ServiceResult() { parse(payload); } -SetCasterSyncGroupResult::~SetCasterSyncGroupResult() +UnbanLiveMessageGroupResult::~UnbanLiveMessageGroupResult() {} -void SetCasterSyncGroupResult::parse(const std::string &payload) +void UnbanLiveMessageGroupResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/live/src/model/UpdateLiveTopLevelDomainRequest.cc b/live/src/model/UpdateLiveTopLevelDomainRequest.cc deleted file mode 100644 index fd36ea1b2..000000000 --- a/live/src/model/UpdateLiveTopLevelDomainRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveTopLevelDomainRequest; - -UpdateLiveTopLevelDomainRequest::UpdateLiveTopLevelDomainRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLiveTopLevelDomain") { - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveTopLevelDomainRequest::~UpdateLiveTopLevelDomainRequest() {} - -std::string UpdateLiveTopLevelDomainRequest::getTopLevelDomain() const { - return topLevelDomain_; -} - -void UpdateLiveTopLevelDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { - topLevelDomain_ = topLevelDomain; - setParameter(std::string("TopLevelDomain"), topLevelDomain); -} - -std::string UpdateLiveTopLevelDomainRequest::getDomainName() const { - return domainName_; -} - -void UpdateLiveTopLevelDomainRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); -} - -long UpdateLiveTopLevelDomainRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateLiveTopLevelDomainRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string UpdateLiveTopLevelDomainRequest::getSecurityToken() const { - return securityToken_; -} - -void UpdateLiveTopLevelDomainRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); -} - diff --git a/live/src/model/UpdateLiveTopLevelDomainResult.cc b/live/src/model/UpdateLiveTopLevelDomainResult.cc deleted file mode 100644 index adcc23a4a..000000000 --- a/live/src/model/UpdateLiveTopLevelDomainResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Live; -using namespace AlibabaCloud::Live::Model; - -UpdateLiveTopLevelDomainResult::UpdateLiveTopLevelDomainResult() : - ServiceResult() -{} - -UpdateLiveTopLevelDomainResult::UpdateLiveTopLevelDomainResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateLiveTopLevelDomainResult::~UpdateLiveTopLevelDomainResult() -{} - -void UpdateLiveTopLevelDomainResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} -